Commit Graph

65817 Commits

Author SHA1 Message Date
Victor Shnayder
2723f0519d Fix render of lms index with no chapter or section. 2012-06-21 11:05:31 -04:00
Victor Shnayder
b8c248fd75 minor edits to address Calen's comments. 2012-06-21 11:05:31 -04:00
Calen Pennington
4590f9763f Add note about optional revision in location 2012-06-21 11:05:30 -04:00
Victor Shnayder
b5368f2a4f 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-21 11:05:30 -04:00
Victor Shnayder
6dc481516c Add Progress class and tests 2012-06-21 11:05:30 -04:00
Victor Shnayder
4a6722778e remove obsolete comment 2012-06-21 11:05:30 -04:00
Victor Shnayder
40871e0eed Fix accordion rendering bug
* needed to clean the chapter and section vars before rendering
2012-06-21 11:05:30 -04:00
Prem Sichanugrist
3e2031cd43 Update jQuery and jQuery-UI to latest version 2012-06-21 11:05:30 -04:00
Calen Pennington
a392d5a4c1 Rename test directory for consistancy 2012-06-21 11:05:30 -04:00
Calen Pennington
592f124070 Remove old pre-compiled css 2012-06-21 11:05:29 -04:00
Calen Pennington
d147638d07 Switch the cms over to using django-pipeline 2012-06-21 11:05:29 -04:00
Calen Pennington
1898691544 Add comment about None in Locations 2012-06-21 11:05:29 -04:00
Calen Pennington
591175b680 Remove extra word in doc string 2012-06-21 11:05:29 -04:00
Calen Pennington
568cf10f7e Remove reference to instructor module 2012-06-21 11:05:29 -04:00
Calen Pennington
09d53f1018 Change name of XModuleSystem to DescriptorSystem at usage sites 2012-06-21 11:05:29 -04:00
Calen Pennington
b0b728c711 Cleanup intertwined descriptor and keystore code 2012-06-21 11:05:28 -04:00
Calen Pennington
05dcd76bf1 Add documentation of mongo query syntax usage 2012-06-21 11:05:28 -04:00
Calen Pennington
2aea7df602 Remove unused code 2012-06-21 11:05:28 -04:00
Calen Pennington
34fdce8902 Remove unused urls 2012-06-21 11:05:28 -04:00
Calen Pennington
4dcca12483 Fix string layout for readability 2012-06-21 11:05:28 -04:00
Calen Pennington
f2598426ce Cleanup and test Location, and add the ability to specify a revision 2012-06-21 11:05:28 -04:00
Calen Pennington
52621eb5aa Get rid of references to askbot 2012-06-21 11:05:28 -04:00
Calen Pennington
bde622d4f9 Search for course specifically in navigation view 2012-06-21 11:05:28 -04:00
Calen Pennington
092d64aa52 Conform to new TODO standards 2012-06-21 11:05:28 -04:00
Piotr Mitros
de90c8e2b0 Documentation for rapid merge 2012-06-21 11:05:27 -04:00
Piotr Mitros
3b9945e04e Rapid pull/history 2012-06-21 11:05:27 -04:00
Piotr Mitros
c24b8cec7d Code standards 2012-06-21 11:05:27 -04:00
Calen Pennington
3e887bc5c7 Remove old template that is no longer relevant 2012-06-21 11:05:27 -04:00
Calen Pennington
73b7a2e667 Remove copy/paste instructor module. It was a bad idea anyway. =) 2012-06-21 11:05:27 -04:00
Calen Pennington
21ae3799f7 Move libraries that can only be imported in the context of django into common/djangoapps 2012-06-21 11:05:27 -04:00
Calen Pennington
86205c21ff Delay initializition of the MongoKeyStore until required 2012-06-21 11:05:27 -04:00
Calen Pennington
d8d22ea57b Make tests pass when running on cms 2012-06-21 11:05:27 -04:00
Victor Shnayder
2aa6193a00 put lambda function back in, as requested during code review 2012-06-21 11:05:27 -04:00
Calen Pennington
2e6c8c5234 Ignore .egg-info directories 2012-06-21 11:05:26 -04:00
Piotr Mitros
0a7542c281 Courseware can have same random seed in multiple problems for exam. Slight hack. 2012-06-21 11:05:26 -04:00
Victor Shnayder
d485b9be9e Small cleanups in response to Calen + Piotr's comments 2012-06-21 11:05:26 -04:00
Calen Pennington
896c7daf36 Add categories and XModuleDescriptors for all module types that are used at the top level of a course 2012-06-21 11:05:26 -04:00
Calen Pennington
8baf8c81b2 Read week headings from mongodb 2012-06-21 11:05:26 -04:00
ichuang
54c8d3f6b9 modify capa_problem to add <include file="foo"> functionality 2012-06-21 11:05:26 -04:00
Victor Shnayder
7358b01cc4 Clean and refactor courseware/views.py and module_render.py
* Refactor index() so that it makes sense to me and hopefully others :)
* Rename preloaded cache of student modules to student_module_cache
* Fix line length and whitespace throughout
* add docstrings and other comments
* a few behavior-preserving tweaks to the code to make it clearer.
* Separate codepaths for with-module and without-module in index view
* Remove default chapter + section, since they don't exist anyway in course.xml
2012-06-21 11:05:26 -04:00
Victor Shnayder
cf6ea3d593 added rednose to requirements (adds color output to nose) 2012-06-21 11:05:25 -04:00
Victor Shnayder
30f6db8e20 fix typo in comment in student view 2012-06-21 11:05:25 -04:00
Kyle Fiedler
efe158378f Added more styles and markup for sequence 2012-06-21 11:05:25 -04:00
Kyle Fiedler
b48ac79ad3 Added scratch on the calendar view and added handles on the calendar view 2012-06-21 11:05:25 -04:00
Kyle Fiedler
2b9d47bbea Added more styels to the section view and default section view 2012-06-21 11:05:25 -04:00
Calen Pennington
2d2a16dd70 Successfully read course children out of mongodb 2012-06-21 11:05:25 -04:00
Prem Sichanugrist
8dc28549c2 Use existential operator 2012-06-21 11:05:25 -04:00
Kyle Fiedler
e9ce333999 Continued on week view styles 2012-06-21 11:05:25 -04:00
Kyle Fiedler
2d97c0fc05 Added volume images 2012-06-21 11:05:25 -04:00
Kyle Fiedler
66b2e58fc9 Added some styles to clean up volume slider 2012-06-21 11:05:25 -04:00