Nimisha Asthagiri
ea32529866
Fix all modulestore calls to pass in user ids.
2014-07-09 21:10:12 -04:00
Nimisha Asthagiri
a9213509c3
Enable Mixed Modulestore STUD-1540
...
Refactor get_parent_locations STUD-1663
2014-06-26 18:00:11 -04:00
Calen Pennington
cfcbdc0145
Move to OpaqueKey implementations from the external library
...
[LMS-2757]
2014-05-29 17:03:35 -04:00
Diana Huang
db0cd78152
Remove some outdated code.
2014-05-22 15:39:29 -04:00
Calen Pennington
9811926d97
Make course ids and usage ids opaque to LMS and Studio [partial commit]
...
This commit updates lms/djangoapps/courseware.
These keys are now objects with a limited interface, and the particular
internal representation is managed by the data storage layer (the
modulestore).
For the LMS, there should be no outward-facing changes to the system.
The keys are, for now, a change to internal representation only. For
Studio, the new serialized form of the keys is used in urls, to allow
for further migration in the future.
Co-Author: Andy Armstrong <andya@edx.org >
Co-Author: Christina Roberts <christina@edx.org >
Co-Author: David Baumgold <db@edx.org >
Co-Author: Diana Huang <dkh@edx.org >
Co-Author: Don Mitchell <dmitchell@edx.org >
Co-Author: Julia Hansbrough <julia@edx.org >
Co-Author: Nimisha Asthagiri <nasthagiri@edx.org >
Co-Author: Sarina Canelake <sarina@edx.org >
[LMS-2370]
2014-05-06 10:08:32 -04:00
Carlos Andrés Rocha
e5c042aa4f
Improve dump_course_ids test for unicode course_ids
2014-03-14 10:21:31 -04:00
Carlos Andrés Rocha
9ecf2c00c0
Support unicode in course ids when dumping all courses
...
Fixes: AN-657
2014-03-12 18:02:05 -04:00
Sarina Canelake
87495891b6
Fix some simple pep8 and pylint violations
2014-03-07 12:20:28 -05:00
Ned Batchelder
1bd213beba
Remove unused imports.
2014-02-10 14:07:50 -05:00
Calen Pennington
b0bed170de
Enable (and test) xml export of pure XBlocks
...
[LMS-179]
[LMS-209]
[LMS-1345]
2014-02-05 13:02:40 -05:00
Calen Pennington
46109bb3e8
Use XBlock xml serialization and deserialization
...
XModules continue to use their own interface for xml, but provide an
adaptor that makes the the XBlock interface available.
[LMS-179]
2014-01-14 13:28:47 -05:00
Ned Batchelder
b6bd293266
Clean up some pre-existing formatting.
2014-01-14 13:09:35 -05:00
Brian Wilson
d0fea42902
Add tests for inherited metadata to test_dump_course, and move to commands/tests dir.
2014-01-03 10:32:42 -05:00
Brian Wilson
4569ee9daa
Add options to dump_course_structure to output inherited metadata.
2014-01-03 10:32:42 -05:00
Carson Gee
ccc87337d6
Add sysadmin dashboard
...
For seeing overview of system status, for deleting and loading
courses, for seeing log of git imports of courseware. Includes command
for importing course XML from git repositories.
Added a lot of tests for additional coverage with some minor fixes
those tests discovered
2013-12-15 19:06:05 -05:00
Carlos Andrés Rocha
b797e34deb
Allow the export_course command to dump results to stdout
2013-10-28 11:47:44 -04:00
Carlos Andrés Rocha
7852b10753
Add command to dump a course to stdout as a tar.gz file
2013-10-15 10:48:59 -04:00
Carlos Andrés Rocha
8cc8608276
Add command to dump the structure of a course as a JSON
2013-10-15 10:48:59 -04:00
Carlos Andrés Rocha
956a960c63
Add command to dump the course_ids available to the LMS
2013-10-15 10:48:59 -04:00
Calen Pennington
8201b1412e
Use XBlock 0.3
2013-09-06 09:45:59 -04:00
Calen Pennington
7d79f4fe37
Move mitxmako initialization to a startup module, called by lms.startup and cms.startup for both management commands and when run via wsgi
...
[DEVPAIN-7]
2013-08-28 10:56:07 -04:00
Ned Batchelder
900e794c02
Only quiet the particular logger we think is too noisy.
2013-07-18 11:53:21 -04:00
Ned Batchelder
3d67c506a3
Use TransactionTestCase, to keep other tests from failing, even though it slows them down.
2013-07-18 11:16:46 -04:00
Ned Batchelder
10f062cf18
Records should be sorted by created,id so that timestamp ties will be broken by id.
2013-07-18 11:16:46 -04:00
Ned Batchelder
83cb3d1924
Add batch and sleep arguments so we can control the speed from the command line.
2013-07-18 11:16:46 -04:00
Ned Batchelder
3a49136f03
Quiet some debug output, get transactions right.
2013-07-18 11:16:46 -04:00
Ned Batchelder
07aad29684
The clean_history management command to remove excess courseware_studentmodulehistory records.
2013-07-18 11:16:46 -04:00
Ned Batchelder
61b53713d2
Remove unused imports from lms, as detected by pylint.
2013-06-19 16:56:34 -04:00
Brian Wilson
4c511c3c66
add progress logging
2013-04-04 11:14:52 -04:00
Brian Wilson
b11f0e17f7
respond to feedback
2013-04-03 10:22:43 -04:00
Brian Wilson
b6f95c71ce
change command to handle file input instead
2013-04-02 16:20:46 -04:00
Brian Wilson
29731ec40b
management command to remove excess input_state entries
2013-03-29 15:20:34 -04:00
Calen Pennington
531eb80eb2
Merge remote-tracking branch 'origin/master' into feature/alex/poll-merged
...
Conflicts:
cms/djangoapps/contentstore/tests/test_contentstore.py
cms/djangoapps/contentstore/views.py
common/lib/xmodule/xmodule/combined_open_ended_module.py
common/lib/xmodule/xmodule/open_ended_grading_classes/combined_open_ended_modulev1.py
common/lib/xmodule/xmodule/open_ended_grading_classes/open_ended_module.py
common/lib/xmodule/xmodule/open_ended_grading_classes/openendedchild.py
common/lib/xmodule/xmodule/peer_grading_module.py
common/lib/xmodule/xmodule/tests/test_combined_open_ended.py
common/lib/xmodule/xmodule/tests/test_self_assessment.py
lms/djangoapps/open_ended_grading/tests.py
2013-03-13 12:18:04 -04:00
Brian Wilson
47e708e713
fix pylint and pep8 warnings
2013-03-12 15:49:48 -04:00
Brian Wilson
6aed059d5f
Change date and remove filtering by grade. Add check for student_answers.
2013-03-12 14:55:27 -04:00
Brian Wilson
fe0447093c
add management command to regrade partial-credit problems affected by get_npoints bug.
2013-03-12 14:00:18 -04:00
Calen Pennington
4f555f6480
Merge remote-tracking branch 'origin/master' into feature/cale/xmodule-storage-model
...
Conflicts:
cms/djangoapps/contentstore/course_info_model.py
cms/djangoapps/contentstore/module_info_model.py
cms/djangoapps/contentstore/tests/factories.py
cms/djangoapps/contentstore/tests/test_course_settings.py
cms/djangoapps/contentstore/views.py
cms/djangoapps/models/settings/course_details.py
cms/djangoapps/models/settings/course_grading.py
cms/templates/edit_subsection.html
common/djangoapps/mitxmako/shortcuts.py
common/djangoapps/static_replace.py
common/djangoapps/util/converters.py
common/djangoapps/xmodule_modifiers.py
common/lib/xmodule/setup.py
common/lib/xmodule/xmodule/abtest_module.py
common/lib/xmodule/xmodule/capa_module.py
common/lib/xmodule/xmodule/course_module.py
common/lib/xmodule/xmodule/discussion_module.py
common/lib/xmodule/xmodule/error_module.py
common/lib/xmodule/xmodule/html_module.py
common/lib/xmodule/xmodule/js/src/video/display.coffee
common/lib/xmodule/xmodule/mako_module.py
common/lib/xmodule/xmodule/modulestore/mongo.py
common/lib/xmodule/xmodule/modulestore/store_utilities.py
common/lib/xmodule/xmodule/modulestore/xml.py
common/lib/xmodule/xmodule/modulestore/xml_importer.py
common/lib/xmodule/xmodule/raw_module.py
common/lib/xmodule/xmodule/self_assessment_module.py
common/lib/xmodule/xmodule/seq_module.py
common/lib/xmodule/xmodule/template_module.py
common/lib/xmodule/xmodule/tests/__init__.py
common/lib/xmodule/xmodule/tests/test_export.py
common/lib/xmodule/xmodule/tests/test_import.py
common/lib/xmodule/xmodule/video_module.py
common/lib/xmodule/xmodule/x_module.py
common/lib/xmodule/xmodule/xml_module.py
lms/djangoapps/courseware/access.py
lms/djangoapps/courseware/courses.py
lms/djangoapps/courseware/grades.py
lms/djangoapps/courseware/models.py
lms/djangoapps/courseware/module_render.py
lms/djangoapps/courseware/tests/tests.py
lms/djangoapps/courseware/views.py
lms/djangoapps/django_comment_client/utils.py
lms/templates/staff_problem_info.html
lms/templates/video.html
rakefile
2013-02-07 15:12:30 -05:00
Calen Pennington
cfae1cdf62
Pep8 autofixes
2013-02-06 11:13:50 -05:00
Calen Pennington
993c24b72b
WIP: Model data caching work
2013-01-23 14:51:07 -05:00
Calen Pennington
84cb0ce99b
Move inheritance logic out into a separate file in the modulestore
2012-12-28 14:56:42 -05:00
Victor Shnayder
d815d50aee
Remove obsolete eager flag for xml modulestore
...
* has to be eager
2012-08-30 19:26:50 -04:00
Victor Shnayder
f44d794e63
Add course_id to StudentModule
...
* Update all uses.
2012-08-21 15:01:54 -04:00
Victor Shnayder
f2197227c1
add out-of-date message to check_course
2012-08-20 09:26:16 -04:00
Victor Shnayder
c6c95c63ac
Keep each course's descriptors separate
...
* apply policy per-course, even if multiple courses share course and org fields
* keep descriptors separate in xml store, so that if two such courses
change the same module in different ways, it works. Such edits will need to
merged on CMS import...
* add get_instance(course_id, location) method to replace get_item(location).
Update all the call sites
* tests, including a 2nd toy course with same course and org.
2012-08-20 09:26:16 -04:00
ichuang
6e3eff304e
{} -> {0} etc in .format statements
2012-08-16 16:22:26 -04:00
Victor Shnayder
a4d67bab33
Add support metadata in policy.json
...
* if there is a policy.json in the course dir, read it
* file format is a dict with keys {category}/{url_name}, and values metadata dictionaries
* apply the policy, overwriting keys that are in the xml
* then do metadata inheritance, inheriting any overwritten keys.
* also a management cmd to generate a policy.json from a course dir.
2012-08-15 14:36:06 -04:00
Bridger Maxwell
baa2b14405
Changed interface of StudentModuleCache. Other changes from code review.
2012-08-06 16:36:53 -04:00
Bridger Maxwell
2348f71cc6
Merge remote-tracking branch 'origin/master' into MITx/feature/bridger/fast_course_grading
...
Conflicts:
lms/djangoapps/courseware/grades.py
lms/djangoapps/courseware/views.py
2012-08-06 11:48:42 -04:00
Bridger Maxwell
854508b006
Removed the unnecessary creation of StudentModules when calling module_render's get_module.
2012-08-03 14:30:45 -04:00
Victor Shnayder
0b2069c619
make clean_xml script work with stringified errors
2012-08-03 11:53:35 -04:00