ichuang
3a664753b4
minor changes - test this branch with more courses (8.01x, 6.00x)
2012-07-08 22:05:21 -04:00
ichuang
0daf7b0497
merging of stable-edx4edx into master - bugfixes and debugging
2012-07-08 19:03:29 -04:00
ichuang
4356ec5c45
default course to settings.COURSE_DEFAULT
2012-07-08 17:00:08 -04:00
ichuang
9b90068e03
Merge branch 'stable-edx4edx' of github.com:MITx/mitx
...
Conflicts:
common/lib/xmodule/seq_module.py
common/lib/xmodule/xmodule/capa_module.py
lms/djangoapps/courseware/module_render.py
lms/djangoapps/courseware/views.py
lms/djangoapps/multicourse/multicourse_settings.py
2012-07-08 16:52:36 -04:00
ichuang
63aa451d67
use course = settings.COURSE_DEFAULT.replace('_',' ') for default accordion
2012-07-02 11:29:45 -04:00
Calen Pennington
6612beab46
Acknowledge the fact that right now keystore is really just a module store. If we need a keystore that returns other objects, we can reexctract the base class into it's own module again
2012-07-02 11:15:37 -04:00
Calen Pennington
79987666df
Lazily load module definition and metadata as needed, rather than immediately
2012-07-02 10:50:27 -04:00
Calen Pennington
51a790173f
Only set the default etree parser options in the module that is starting the xml parsing
2012-07-02 10:35:40 -04:00
Calen Pennington
b5cd01841c
Merge remote-tracking branch 'origin/master' into cpennington/lms-descriptors
...
Conflicts:
lms/djangoapps/courseware/grades.py
2012-07-02 10:31:26 -04:00
Calen Pennington
3cf29af8fe
Make location into a named tuple, and use it more as a first class entity, rather than URL for identifying content
2012-07-02 10:17:59 -04:00
Calen Pennington
7ac8fecb38
Rename XModule[Descriptor].type to .category to be parallel to Location
2012-07-02 09:01:08 -04:00
ichuang
b3cc34c3d4
add debugging to courseware debug (tricky with https behind gunicorn)
2012-07-01 13:16:09 -04:00
ichuang
23128ced67
courseware views now goes to default chapter and section if unprovided
...
- uses multicourse settings (default_chapter and default_section)
- it would be nice to use course_settings instead, but that is not
currently compatible with multicourse
2012-07-01 12:51:14 -04:00
ichuang
7e25e30ac1
Merge branch 'master' of github.com:MITx/mitx into stable-edx4edx
2012-07-01 12:26:04 -04:00
ichuang
0f1ae7f03b
Merge branch 'master' of github.com:MITx/mitx into stable-edx4edx
2012-06-29 16:22:49 -04:00
Calen Pennington
87d80835c0
Initialize StudentModule with the max_score
2012-06-29 12:45:46 -04:00
Calen Pennington
f25478b3d4
Consolidate access to metadata, and allow some of it to be inherited between modules
2012-06-29 12:45:46 -04:00
Calen Pennington
2a9eba3886
Removing content_parser
2012-06-29 12:45:46 -04:00
Calen Pennington
c7f95695c5
Fix check_course command
2012-06-29 12:45:46 -04:00
Calen Pennington
3a26b98027
Remove errant print line left over from debugging
2012-06-29 12:45:18 -04:00
Calen Pennington
3fdae56a27
Remove dead code
2012-06-29 12:45:18 -04:00
Calen Pennington
d7ee03874d
Make staff histograms work again
2012-06-29 12:45:18 -04:00
Calen Pennington
c837cf797d
Remove some unused code from content_parser
2012-06-29 12:45:18 -04:00
Calen Pennington
506c281bcc
Make gradesheet work again
2012-06-29 12:45:18 -04:00
Calen Pennington
35af8101d7
Make grade graph on profile work correctly
2012-06-29 12:45:18 -04:00
Calen Pennington
23195e9d76
Make user profiles work again after the switch to an XMLModuleStore. Staff user histograms are still broken
2012-06-29 12:45:17 -04:00
Calen Pennington
7d16dbbcb4
Clean up module_render.py
2012-06-29 12:42:48 -04:00
Calen Pennington
2011861444
Get capa problems to display from a keystore
2012-06-29 12:42:48 -04:00
Calen Pennington
de07b8b345
Begin using a Keystore for XML parsing. Still broken: sequence icons, custom tags, problems, video js
2012-06-29 12:40:50 -04:00
Bridger Maxwell
cbe5c612b4
Used dictionary update for cleaner course settings code.
2012-06-28 14:04:50 -04:00
Bridger Maxwell
201f093981
Removed old import.
2012-06-28 12:34:45 -04:00
Bridger Maxwell
621680e340
Removed old global course settings file.
2012-06-28 12:31:29 -04:00
Bridger Maxwell
51d6b3f096
Changed course settings to be a json file. Moved it to its own file.
2012-06-28 12:04:03 -04:00
Calen Pennington
2fde7f4c6d
Minor fixes from pull request 131
2012-06-28 08:39:12 -04:00
ichuang
3f60c76fad
Merge branch 'ps-fix-problem' of github.com:MITx/mitx into stable-edx4edx
2012-06-27 19:14:32 -04:00
Bridger Maxwell
bf4f946f0d
Put in a fix for the Profile page (a bug was showing up for new users). A basecamp discussion will be started on the issue.
2012-06-27 14:47:16 -04:00
ichuang
caa14922bb
edx4edx configuration running on content server. Notes:
...
- django debug commented out in lms/envs/dev.py (temporarily - need cleanup)
- email backend set
- index page modified for edx4edx
2012-06-26 14:04:56 +00:00
ichuang
b59b80871a
add edit link to module pages with filenames (html & problem)
...
uses new 'github_url' dict key in multicourse_settings
this replaces the previous "quickedit" functionality
2012-06-24 14:46:02 -04:00
Victor Shnayder
0f52b31ac1
Make the LMS check_course command work again.
2012-06-21 15:23:47 -04:00
Victor Shnayder
da204cf5d8
Started update of check_course script. It runs again now.
...
TODO:
- support picking a different course name
- make it use current module rendering path, get that working.
2012-06-21 11:48:19 -04:00
Victor Shnayder
98d513ac80
bugfix and added comments
...
* wasn't passing namespace properly in parse_course_file
2012-06-21 11:45:49 -04:00
Victor Shnayder
63b3999ef1
Big refactor of content_parser
...
* Separate out all xml processing code from django code
* Preparing to move the content parsing parts into common/lib/xmodule (?)
2012-06-20 19:16:55 -04:00
Victor Shnayder
5e7535fbfb
Progress tracking cleanup.
...
* use clearer names for the two status strings passed to js
* add functions to do canonical conversion of progress to js string
* fix updating bug in sequence.coffee
* add some todo comments and other docs to make future expansion easier
2012-06-20 16:04:03 -04:00
Victor Shnayder
b24c4d4626
Fix render of lms index with no chapter or section.
2012-06-20 11:31:21 -04:00
Calen Pennington
c317521468
Merge pull request #126 from MITx/victor/progress-tracking
...
Victor/progress tracking
2012-06-20 07:33:48 -07:00
Calen Pennington
7710e7a6a4
Merge pull request #125 from MITx/victor/fix_accordion
...
Fix accordion rendering bug
2012-06-20 05:36:41 -07:00
Victor Shnayder
b963d8b534
Initial progress display.
...
* add module_from_xml param to I4xSystem
* use it to implement xmodule.get_children()
* fix a few comments here and there
* Render-time progress display for seq and vertical modules.
- Computes fraction of subproblems done.
* Pass problem state back to js during ajax calls.
* general cleanup in capa_module.py
* add progress_changed and progress fields to json returned from each ajax handler
* Coffeescript changes to hook up sequence tracking of problem progress
* net result: sequence 'a' tags now have a progress class
* properly set css class on initial load
* fire event when progress changes after ajax calls
* also save state in 'progress' property of problems-wrapper tag
* event handler finds those tags, computes updated progress
2012-06-19 18:28:45 -04:00
Victor Shnayder
39c57af849
remove obsolete comment
2012-06-19 16:37:33 -04:00
Victor Shnayder
a6fc27acd6
Fix accordion rendering bug
...
* needed to clean the chapter and section vars before rendering
2012-06-19 16:19:45 -04:00
Calen Pennington
51cd7566a0
Merge pull request #119 from MITx/victor/render-path-cleanup
...
put lambda function back in, as requested during code review
2012-06-18 10:21:41 -07:00