Commit Graph

2297 Commits

Author SHA1 Message Date
Victor Shnayder
cc8ebf3b08 minor edits to address Calen's comments. 2012-06-21 10:59:47 -04:00
Calen Pennington
8a48aaac03 Add note about optional revision in location 2012-06-21 10:59:47 -04:00
Victor Shnayder
04dd8ee6d1 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 10:59:47 -04:00
Victor Shnayder
fd48e49ae5 Add Progress class and tests 2012-06-21 10:59:47 -04:00
Victor Shnayder
e6250f8114 remove obsolete comment 2012-06-21 10:59:47 -04:00
Victor Shnayder
762132b18c Fix accordion rendering bug
* needed to clean the chapter and section vars before rendering
2012-06-21 10:59:46 -04:00
Prem Sichanugrist
1870160f37 Update jQuery and jQuery-UI to latest version 2012-06-21 10:59:46 -04:00
Calen Pennington
18b2a9dfe9 Rename test directory for consistancy 2012-06-21 10:59:46 -04:00
Calen Pennington
b0e94a5fd3 Remove old pre-compiled css 2012-06-21 10:59:46 -04:00
Calen Pennington
4cb285f1f9 Switch the cms over to using django-pipeline 2012-06-21 10:59:46 -04:00
Calen Pennington
4ddf48e1b2 Add comment about None in Locations 2012-06-21 10:59:46 -04:00
Calen Pennington
1cca7948b6 Remove extra word in doc string 2012-06-21 10:59:46 -04:00
Calen Pennington
eef28891d8 Remove reference to instructor module 2012-06-21 10:59:46 -04:00
Calen Pennington
b2f23181aa Change name of XModuleSystem to DescriptorSystem at usage sites 2012-06-21 10:59:46 -04:00
Calen Pennington
82898978fa Cleanup intertwined descriptor and keystore code 2012-06-21 10:59:46 -04:00
Calen Pennington
e0ffd36ac4 Add documentation of mongo query syntax usage 2012-06-21 10:59:45 -04:00
Calen Pennington
369a11c43e Remove unused code 2012-06-21 10:59:45 -04:00
Calen Pennington
3f3aacae61 Remove unused urls 2012-06-21 10:59:45 -04:00
Calen Pennington
a41327614c Fix string layout for readability 2012-06-21 10:59:45 -04:00
Calen Pennington
3096c20e11 Cleanup and test Location, and add the ability to specify a revision 2012-06-21 10:59:45 -04:00
Calen Pennington
e0ba9ca8c0 Get rid of references to askbot 2012-06-21 10:59:45 -04:00
Calen Pennington
645a190f3a Search for course specifically in navigation view 2012-06-21 10:59:45 -04:00
Calen Pennington
7ce4f001d1 Conform to new TODO standards 2012-06-21 10:59:45 -04:00
Piotr Mitros
b4d81e141f Documentation for rapid merge 2012-06-21 10:59:44 -04:00
Piotr Mitros
0c21d9db65 Rapid pull/history 2012-06-21 10:59:44 -04:00
Piotr Mitros
3e87e3f91b Code standards 2012-06-21 10:59:44 -04:00
Calen Pennington
7fd87f6cd9 Remove old template that is no longer relevant 2012-06-21 10:59:44 -04:00
Calen Pennington
0abeaffa0e Remove copy/paste instructor module. It was a bad idea anyway. =) 2012-06-21 10:59:44 -04:00
Calen Pennington
5878cb443d Move libraries that can only be imported in the context of django into common/djangoapps 2012-06-21 10:59:44 -04:00
Calen Pennington
898e417f0b Delay initializition of the MongoKeyStore until required 2012-06-21 10:59:44 -04:00
Calen Pennington
b6514fa5eb Make tests pass when running on cms 2012-06-21 10:59:44 -04:00
Victor Shnayder
d7a8679aae put lambda function back in, as requested during code review 2012-06-21 10:59:44 -04:00
Calen Pennington
2b0b74a682 Ignore .egg-info directories 2012-06-21 10:59:44 -04:00
Piotr Mitros
8516d631dc Courseware can have same random seed in multiple problems for exam. Slight hack. 2012-06-21 10:59:43 -04:00
Victor Shnayder
6003fee9f9 Small cleanups in response to Calen + Piotr's comments 2012-06-21 10:59:43 -04:00
Calen Pennington
da71515bfa Add categories and XModuleDescriptors for all module types that are used at the top level of a course 2012-06-21 10:59:43 -04:00
Calen Pennington
bb2910fce5 Read week headings from mongodb 2012-06-21 10:59:43 -04:00
ichuang
31871a0548 modify capa_problem to add <include file="foo"> functionality 2012-06-21 10:59:43 -04:00
Victor Shnayder
b5536d98d7 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 10:59:43 -04:00
Victor Shnayder
e527a6cf66 added rednose to requirements (adds color output to nose) 2012-06-21 10:59:43 -04:00
Victor Shnayder
5f2c029477 fix typo in comment in student view 2012-06-21 10:59:42 -04:00
Kyle Fiedler
f9b1e42a58 Added more styles and markup for sequence 2012-06-21 10:59:42 -04:00
Kyle Fiedler
e8b4fc218b Added scratch on the calendar view and added handles on the calendar view 2012-06-21 10:59:42 -04:00
Kyle Fiedler
13d8b3dc4a Added more styels to the section view and default section view 2012-06-21 10:59:42 -04:00
Calen Pennington
22f5c5c73d Successfully read course children out of mongodb 2012-06-21 10:59:42 -04:00
Prem Sichanugrist
432a8e5fd8 Use existential operator 2012-06-21 10:59:42 -04:00
Kyle Fiedler
6ba19953de Continued on week view styles 2012-06-21 10:59:42 -04:00
Kyle Fiedler
a5f0f38d35 Added volume images 2012-06-21 10:59:42 -04:00
Kyle Fiedler
e768680f59 Added some styles to clean up volume slider 2012-06-21 10:59:42 -04:00
Prem Sichanugrist
6facc631a2 Make sure we don't show volume control on iOS 2012-06-21 10:59:42 -04:00