Commit Graph

58450 Commits

Author SHA1 Message Date
Calen Pennington
5bef1e14b2 Split problem metadata out from problem editing contents when rendering 2012-06-22 09:21:09 -04:00
Calen Pennington
17a4d7fd09 Call js module name dynamically, rather than statically calling the HTML module 2012-06-22 08:59:53 -04:00
ichuang
37539fdd4b revised 8.01x entry in dev_ike 2012-06-21 23:35:48 -04:00
ichuang
6566c45e6f use pipeline 2012-06-21 21:40:41 -04:00
ichuang
3cd02f6edc Merge branch 'kf-problems' of github.com:MITx/mitx into stable-edx4edx 2012-06-21 21:31:36 -04:00
ichuang
31226f58b8 updated dogfood to match latest xmodule mods in master 2012-06-21 21:28:21 -04:00
Galen Frechette
cd8051fb14 cleans up signed in users navigation 2012-06-21 17:51:37 -04:00
Kyle Fiedler
657fcd9984 Added new styles for html editing and removed a bunch of unused templates 2012-06-21 17:36:21 -04:00
ichuang
93b8ad3e4d Merge branch 'master' of github.com:MITx/mitx into stable-edx4edx 2012-06-21 16:46:56 -04:00
Kyle Fiedler
82023f6bd3 Added styles for more basic html elements and reworked design of textinput 2012-06-21 15:41:36 -04:00
Kyle Fiedler
184d0ab038 added styles for lists and paragraphs in problems 2012-06-21 15:41:36 -04:00
Calen Pennington
69290c18c3 Live editing of html modules implemented, but no saving to the backend 2012-06-21 15:33:52 -04:00
Victor Shnayder
f87433e346 folders and a bit of initial test data for xml validation 2012-06-21 15:27:19 -04:00
Victor Shnayder
0f52b31ac1 Make the LMS check_course command work again. 2012-06-21 15:23:47 -04:00
Galen Frechette
9bcdcec6ae adds about and jobs pages, cleans up header and login modal 2012-06-21 14:47:04 -04:00
Matthew Mongeau
9d0c52dfc4 Remove course title to clean up header. 2012-06-21 14:01:43 -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
bf8e70f94e check whether requestcontext exists before access 2012-06-21 11:28:02 -04:00
Victor Shnayder
325c58bda3 remove out of date README 2012-06-21 11:26:27 -04:00
Matthew Mongeau
7bd0296b9c Direct form to /courses not /info 2012-06-21 11:12:59 -04:00
Matthew Mongeau
f8ae7dc0cf Merge branch 'prototype' into dormsbee/multicourse 2012-06-21 11:06:04 -04:00
Matthew Mongeau
9202c1e2cc Redirect to /courses instead of /info 2012-06-21 11:05:32 -04:00
David Ormsbee
4239a0b308 add courses to front page 2012-06-21 11:05:32 -04:00
David Ormsbee
014109ab1a add corresponding view to new courseware url route :-P 2012-06-21 11:05:32 -04:00
David Ormsbee
d82b32b3e2 add url route to new courseware 2012-06-21 11:05:32 -04:00
David Ormsbee
a32aeac013 Add info page support with multiple courses 2012-06-21 11:05:31 -04:00
David Ormsbee
7e82f3243f Add scanning of data directory for courses.
These are then displayed at /courses.
2012-06-21 11:05:31 -04:00
Victor Shnayder
8a1e275c8d bugfix: lcp score can apparently be 0/0 2012-06-21 11:05:31 -04:00
Victor Shnayder
3961a5d8ca 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-21 11:05:31 -04:00
Victor Shnayder
17f8d04c28 Initial UI for sequence progress.
* change bottom border of links:
  red for not started
  yellow for in_progress
  green for done

* This should probably be designed at some point.
* Obvious problems: the yellow is not very visible, and lots of people are
  red/green color-blind.
2012-06-21 11:05:31 -04:00
Victor Shnayder
c4b9d339a8 Add scaffolding comments for progress tracking in video modules. 2012-06-21 11:05:31 -04:00
Calen Pennington
c35eb20e08 Fix other references to jquery after update to latest version 2012-06-21 11:05:31 -04:00
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