- 20 Sep, 2012 2 commits
-
-
Bridger Maxwell committed
-
Bridger Maxwell committed
-
- 10 Sep, 2012 1 commit
-
-
Victor Shnayder committed
-
- 06 Sep, 2012 2 commits
-
-
Victor Shnayder committed
-
Victor Shnayder committed
-
- 05 Sep, 2012 3 commits
-
-
Victor Shnayder committed
-
Victor Shnayder committed
-
- courseware index view now redirects to most recent chapter, or first - simplify the view a bit
Victor Shnayder committed
-
- 01 Sep, 2012 1 commit
-
-
Arjun Singh committed
-
- 30 Aug, 2012 2 commits
-
-
* has to be eager
Victor Shnayder committed -
* it now works in the context of a specific course_id * add tracking of parent locations to xml modulestore * adjust lots of tests, including some refactoring * NOT working yet: jumping to the right position in a sequence.
Victor Shnayder committed
-
- 27 Aug, 2012 1 commit
-
-
* All access checks now done for the "user" param, ignoring request.user - This matters for xqueue callbacks and for instructor view of student progress * An effect of this change is that if a student couldn't see their own 'progress' tab, the course instructor won't be able to see it either
Victor Shnayder committed
-
- 20 Aug, 2012 1 commit
-
-
Bridger Maxwell committed
-
- 17 Aug, 2012 1 commit
-
-
Calen Pennington committed
-
- 16 Aug, 2012 2 commits
-
-
ichuang committed
-
Calen Pennington committed
-
- 15 Aug, 2012 3 commits
-
-
Bridger Maxwell committed
-
* error modules now hidden via access control * get_module() returns None if user doesn't have access
Victor Shnayder committed -
* All access control logic is now in access.py * It exports a single method for general use: has_access(user, object, action) - possible actions depend on object type (e.g. 'see_exists', 'enroll', 'staff') * Removed DARK_LAUNCH feature flag--it is now the default behavior * Replaced check_course with three separate more focused functions that use has_access Minor things: * note on using pdb in testing * moved time parsing helper into timeparse.py * x_modules now have a .start attribute (None if not in metadata)
Victor Shnayder committed
-
- 13 Aug, 2012 1 commit
-
-
* if the course metadata have enrollment_start and/or enrollment_end, only allow normal users to enroll post start and pre end. * If DARK_LAUNCH is on, staff can enroll outside the window
Victor Shnayder committed
-
- 12 Aug, 2012 1 commit
-
-
* pass user to check_course * if dark launch feature enabled, users with staff access to course can see courseware before start date. Students still can't. * tests. * Remaining: enrollment view has custom access control. Need to check it.
Victor Shnayder committed
-
- 10 Aug, 2012 3 commits
-
-
Victor Shnayder committed
-
Victor Shnayder committed
-
* need to actually return 404 codes to clients when DEBUG=False * add option to make nose more verbose and drop to pdb on error
Victor Shnayder committed
-
- 07 Aug, 2012 1 commit
-
-
* test enrolls in course before testing pages * support github edit links with new file structure * Some pep8 cleanups
Victor Shnayder committed
-
- 01 Aug, 2012 1 commit
-
-
Victor Shnayder committed
-
- 27 Jul, 2012 2 commits
-
-
* 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
-