Commit Graph

72 Commits

Author SHA1 Message Date
David Ormsbee
b54ff42532 add caching to User and UserProfile
--HG--
branch : dormsbee_performance
2012-02-23 20:09:15 -05:00
David Ormsbee
f9f9dbdf53 Merged profile-cache updates 2012-02-21 19:45:05 -05:00
Piotr Mitros
f83c492720 per-section rendering works, if unclean
--HG--
branch : pmitros-section
2012-02-20 16:35:12 -05:00
Piotr Mitros
ab0f07ebd1 Code cleaned up to be slighlty more explicit
--HG--
branch : profile-cache
2012-02-19 12:30:08 -05:00
Piotr Mitros
7bea938246 Handling case of response not in cache explicitly
--HG--
branch : profile-cache
2012-02-19 12:21:57 -05:00
Piotr Mitros
88adbc9593 Merge
--HG--
branch : profile-cache
2012-02-19 12:18:34 -05:00
Piotr Mitros
b2f3a75d86 Working on case where id not in cache. Committing to merge with mainline
--HG--
branch : profile-cache
2012-02-19 12:18:19 -05:00
Bridger Maxwell
2c634d35cd Merge 2012-02-17 00:40:27 -05:00
Piotr Mitros
085cc17178 Caching problem maximum scores in profile (~10x performance boost in that section of the code)
--HG--
branch : profile-cache
2012-02-16 19:52:52 -05:00
Bridger Maxwell
3a515bfdf8 Merged in profilecleanup 2012-02-15 14:26:47 -05:00
Piotr Mitros
6e9c320a5a Major bug -- using obsolete ID type in modx_render. Minor bug -- profile page broken 2012-02-13 18:05:23 -05:00
Bridger Maxwell
a8c32923dc Rotated the profile graph labels, so the all fit
--HG--
branch : bridger-dev
2012-02-10 15:57:57 -05:00
Bridger Maxwell
1b6f058851 Added bar on progress graph to show overall grade.
--HG--
branch : bridger-dev
2012-02-10 12:18:08 -05:00
Bridger Maxwell
fd7f229ae1 Cleaning up profile to output better lists
--HG--
branch : mitx-profilecleanup
2012-02-09 14:55:20 -05:00
Bridger Maxwell
a18b19601d Fixed python 2.6 incompatibility 2012-02-04 15:02:38 -05:00
Bridger Maxwell
985211a3de Showing due dates and section types on profile page. 2012-02-04 12:45:31 -05:00
Piotr Mitros
f894353f4e No cache of courseware. This caused lots of issues 2012-02-03 23:01:26 -05:00
Piotr Mitros
6332fd78dd Fixed CSRF issue most likely introduced by move from Django templates 2012-02-03 21:23:05 -05:00
Bridger Maxwell
81e1a8dc12 Changed case discrepency between course.xml and profile page 2012-02-03 17:34:11 -05:00
Bridger Maxwell
2e91a1d7c3 Removed debug code that put in a score for midterm and final. 2012-02-03 17:21:31 -05:00
Bridger Maxwell
0d699f2895 Added links from profile to courseware. Updated names in urls to accomodate. 2012-02-03 17:05:34 -05:00
Bridger Maxwell
9b38e8c548 Merged profile graphs into default.
--HG--
branch : profiledev
2012-02-02 17:52:43 -05:00
Bridger Maxwell
25f17eac21 Graph tweaks.
--HG--
branch : profiledev
2012-02-02 16:08:58 -05:00
Bridger Maxwell
00b1bad38f Got grade overview graph drawing
--HG--
branch : profiledev
2012-02-02 14:32:44 -05:00
David Ormsbee
7e1d23308c yet another rename, from auth -> user -> student
--HG--
rename : user/__init__.py => student/__init__.py
rename : user/migrations/0001_initial.py => student/migrations/0001_initial.py
rename : user/migrations/0002_text_to_varchar_and_indexes.py => student/migrations/0002_text_to_varchar_and_indexes.py
rename : user/migrations/__init__.py => student/migrations/__init__.py
rename : user/models.py => student/models.py
rename : user/tests.py => student/tests.py
rename : user/views.py => student/views.py
2012-02-02 14:31:42 -05:00
Bridger Maxwell
5a752dffe2 Got a basic, working graph of the scores
--HG--
branch : profiledev
2012-02-01 21:04:04 -05:00
David Ormsbee
72c45e8bbb Move UserProfile and Registration out of courseware and into a renamed auth (now user)
--HG--
rename : auth/__init__.py => user/__init__.py
rename : auth/tests.py => user/tests.py
rename : auth/views.py => user/views.py
2012-02-01 19:32:18 -05:00
David Ormsbee
2cd105ceef move local auth models into courseware, remove courseware migrations 2012-02-01 16:28:03 -05:00
Bridger Maxwell
8712197df0 Simple graphing of homework and lab scores
--HG--
branch : profiledev
2012-02-01 14:32:43 -05:00
Bridger Maxwell
9ba59fe3a4 Working on adding up graded scores for sections.
--HG--
branch : profiledev
2012-01-30 13:30:39 -05:00
Bridger Maxwell
c6d2ea6afb Merge with default branch
--HG--
branch : profiledev
2012-01-30 12:39:51 -05:00
Piotr Mitros
b86ba908da Forked django middleware and moved it into the project. We'd like better django integration 2012-01-29 07:46:41 -05:00
Piotr Mitros
8125180edc Major number of minor cleanups. Fixed from e-mail, import order, ==None, etc. 2012-01-28 12:10:56 -05:00
Bridger Maxwell
c3a6ad2f8c Module ids are unique even across module types. Fix bugs where other fields were being used for an id.
--HG--
branch : profiledev
2012-01-27 16:12:56 -05:00
Piotr Mitros
fd8b1e50c2 Staging new Askbot, some work on completion framework 2012-01-26 14:26:44 -05:00
David Ormsbee
a7e746d332 Merge 2012-01-26 12:36:11 -05:00
David Ormsbee
63cb53c919 Move logging config, add tracking info to console, remove logging tests. 2012-01-25 16:30:32 -05:00
Piotr Mitros
5a5e65a918 Related bug fixed 2012-01-24 20:18:20 -05:00
Piotr Mitros
8b4efadfd8 Profile page path issue 2012-01-24 14:54:52 -05:00
Piotr Mitros
f3eb22e0e9 working on import issues 2012-01-23 23:24:30 -05:00
Piotr Mitros
150fbc80bb Fully qualified path in import. Attempting to debug staging problem 2012-01-23 22:57:56 -05:00
Piotr Mitros
4442754a86 Redundant DB queries eliminated. We're at about 5 hits per sequence w/o Askbot, and 10 with 2012-01-23 22:02:36 -05:00
Piotr Mitros
98e9d96cc9 Fixed revert 2012-01-23 18:46:21 -05:00
David Ormsbee
28bc63f108 added logging setup for settings_new_askbot.py 2012-01-23 18:27:25 -05:00
David Ormsbee
dda9290889 Simple logging so we can test loggers on staging. 2012-01-23 16:34:17 -05:00
David Ormsbee
b8087c10f9 rearrange imports 2012-01-23 13:29:12 -05:00
Piotr Mitros
11f3012214 Bug fix in profile page 2012-01-23 12:20:25 -05:00
Piotr Mitros
29d23d1594 Accidentally left in a print 2012-01-21 18:50:51 -05:00
Piotr Mitros
16ab1bb564 Vertical Module is now an x_module 2012-01-21 15:25:25 -05:00
Piotr Mitros
837e87e177 Modules moved into their own directory
--HG--
rename : courseware/capa_module.py => courseware/modules/capa_module.py
rename : courseware/html_module.py => courseware/modules/html_module.py
rename : courseware/schematic_module.py => courseware/modules/schematic_module.py
rename : courseware/video_module.py => courseware/modules/video_module.py
rename : courseware/x_module.py => courseware/modules/x_module.py
2012-01-21 13:21:50 -05:00