- 06 Aug, 2012 4 commits
- 04 Aug, 2012 6 commits
- 03 Aug, 2012 3 commits
-
-
Victor Shnayder committed
-
Victor Shnayder committed
-
* update templates and code references * also a display_name property that defaults to cleaned url_name
Victor Shnayder committed
-
- 02 Aug, 2012 3 commits
-
-
* got rid of the hackish conversions between ' ' and '_' * use url_name and display_name where appropriate * update templates to match.
Victor Shnayder committed -
Victor Shnayder committed
-
ichuang committed
-
- 01 Aug, 2012 10 commits
-
-
Victor Shnayder committed
-
* call error tracker when needed * remove duplicate logging--just add info and re-raise * xml modulestore uses error tracker to capture load errors * add unstyled list of import errors to courseware homepage!
Victor Shnayder committed -
Victor Shnayder committed
-
* simplify logic--tracker just tracks errors. Trackers should not raise, and are not be responsible for logging. * adapted code to use trackers. * Started cleanup of error handling code: - if need to add info and re-raise, just do that. No logging. - if working around a problem, log and track as needed.
Victor Shnayder committed -
Victor Shnayder committed
-
* change references and tests * add staff/non-staff display * added is_staff to ModuleSystem
Victor Shnayder committed -
Victor Shnayder committed
-
* also bugfix for load_definition in html_module * a bit of refactoring of Location checking code in mongo.py
Victor Shnayder committed -
* html files are now stored as follows: If the html file is valid xml, store as html/stuff.xml If it's not, store as html/stuff.xml, which contains <html meta1="..." filename="stuff.html">, and html/stuff.html, which actually contains the contents. Warn if the contents are not parseable with lxml's html parser, but don't error. * for parseable html, strip out the html tag when storing, so that it isn't rendered into the middle of a page * lots of backcompat to deal with paths. Can go away soon. * fix output ordering in clean_xml
Victor Shnayder committed -
Got profile page working again. The grader for each course is now defined in the data dir as grading_policy.json.
Bridger Maxwell committed
-
- 31 Jul, 2012 6 commits
- 27 Jul, 2012 8 commits
-
-
* add course and org to full/course.xml * fix error path in clean_xml script * commit rakefile change needed by c5334f150c
Victor Shnayder committed -
* move askbot repo into mitx as a submodule * set settings as in 85865f7221 * remove test_mongo env. * Refactor tests to use new config structure. * Add real integration tests--not working due to bugs in course xml. Turned off.
Victor Shnayder committed -
* new env file to run integration tests with mongo backend - needs askbot to get db in the right state - needs wiki to load pages successfully - not using migrations to make it run faster * import test courses, check that each page loads without erroring. * fix NonePointerException in index view to make tests pass * misc formatting cleanups
Victor Shnayder committed -
* add fix for the file export code--remove tag tail and text, not just the children.
Victor Shnayder committed -
* More tests for mongo modulestore, including tweaks to test files * add location_to_id method to CourseDescriptors * Implement path_to_location method in mongo.py - TODO: does not handle position in sequences yet. * fix bug in jump_to view.
Victor Shnayder committed -
* Clean up test data for simple, toy courses * clean up test_mongo.py * write initial test for path_to_location * hook up view to use path_to_location Next: actually implement it :)
Victor Shnayder committed -
* catch exceptions and return a 404 if course not found * add Location.is_valid(), tests * stub of jumpto/ view.
Victor Shnayder committed -
* uses xml modulestore, and new error_handler hook
Victor Shnayder committed
-