Calen Pennington
d919d2ae46
Teach LMS how to render XBlockAsides
...
[PLAT-217]
2014-12-13 08:26:28 -05:00
David Baumgold
36e77c7463
Fixing pep8 issues
2014-12-11 13:04:49 -05:00
Calen Pennington
14e6f3cc2b
Don't query for the user every time in FieldDataCache, just use the user_id instead
2014-12-03 11:00:03 -05:00
Don Mitchell
4faed64859
Generalize bulk_operations logic
...
LMS-11366
2014-09-10 15:35:28 -04:00
Don Mitchell
b28af4fdaa
Temporarily disable bulk operations b/c old mongo
...
does too much work on exit and doesn't handle nesting
2014-09-04 17:28:17 -04:00
Calen Pennington
0e7e266a5b
Push bulk_write_operations up into ModuleStoreRead, and rename to remove reference to writes
2014-08-27 16:29:48 -04:00
Don Mitchell
e624ff3b04
Make path_to_location use bulk_write_operation for performance.
2014-08-27 16:29:47 -04:00
Mat Peterson
4f6088cbd1
Fixed some isinstance errors with opaque-keys
2014-07-11 15:40:08 -04:00
Calen Pennington
cfcbdc0145
Move to OpaqueKey implementations from the external library
...
[LMS-2757]
2014-05-29 17:03:35 -04:00
Calen Pennington
76235c1027
Allow cross course references in the LMS
2014-05-20 11:44:09 -04:00
Calen Pennington
155ffe37ca
Merge remote-tracking branch 'edx/master' into opaque-keys-merge-master
...
Conflicts:
cms/djangoapps/contentstore/views/item.py
cms/djangoapps/contentstore/views/tests/test_container.py
cms/djangoapps/contentstore/views/tests/test_tabs.py
common/lib/xmodule/xmodule/modulestore/mongo/draft.py
lms/djangoapps/certificates/management/commands/gen_cert_report.py
lms/djangoapps/certificates/queue.py
lms/djangoapps/certificates/views.py
lms/djangoapps/courseware/module_render.py
lms/djangoapps/courseware/tests/test_module_render.py
lms/djangoapps/instructor/views/api.py
lms/djangoapps/instructor/views/instructor_dashboard.py
lms/djangoapps/instructor/views/legacy.py
lms/djangoapps/shoppingcart/tests/test_models.py
lms/djangoapps/verify_student/views.py
2014-05-09 15:29:32 -04:00
Don Mitchell
7be81341d7
Revert StudentModule.module_state_key to field rather than computed property
2014-05-09 10:41:12 -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
Jason Bau
f8c062b6ce
lti 2.0 result service rest endpoint
2014-04-29 12:01:12 -07:00
Jason Bau
a160428b9b
Move FieldDataCache assert to check both get and get_or_create
2014-02-27 20:06:16 -08:00
Ned Batchelder
1932c126b8
Rename DbModel to KvsFieldData.
2014-01-14 13:09:36 -05:00
Calen Pennington
a6a004314a
Use block type, rather than class names for StudentPreference field storage in LMS
2014-01-09 15:59:16 -05:00
Calen Pennington
52ab2b1313
Make FieldDataCache use the user from scope_ids, rather than its pre-configured user
...
Co-author: Ned Batchelder <ned@edx.org >
2013-11-26 16:29:35 -05:00
Calen Pennington
6b474724ac
Make XModuleDescriptor and XModule act as a single class
...
By transparently proxying between the XModuleDescriptor and the XModule,
and between their runtimes, we can make them act as a single class, so
that we can swap in an actual XBlock instead.
2013-10-08 15:29:17 -04:00
Calen Pennington
8201b1412e
Use XBlock 0.3
2013-09-06 09:45:59 -04:00
Diana Huang
3f9431e8cf
Provide implicit saves for XBlocks and XModules.
...
Update existing tests and provide new ones to test new paradigm.
2013-07-18 16:37:34 -04:00
Sarina Canelake
f0c9aa3916
Provide set_many methods for Lms and Mongo KeyValueStores
...
Refactor new set_many and update XBlock version number.
2013-07-18 15:30:13 -04:00
Felix Sun
c00721bbe6
Fixed the preferences scope of xblock.
...
Added self to authors.
Conflicts:
AUTHORS
CHANGELOG.rst
2013-06-20 10:17:25 -04:00
Calen Pennington
99424a9716
Merge pull request #1792 from MITx/fix/ichuang/duplicate-entry-error
...
fix IntegrityError duplicate entry issue with module_data Scope.student_state update
2013-04-04 11:57:59 -07:00
Calen Pennington
039ccb83cc
Migrate to the open source XBlock repo
2013-04-04 10:55:31 -04:00
ichuang
025c5df16e
fix IntegrityError duplicate entry issue with module_data Scope.student_state update
2013-04-01 21:51:45 +00:00
Calen Pennington
154a441033
Only use .pk for queries, and not on inserts
2013-03-20 13:24:25 -04:00
Calen Pennington
cbed66280a
Fix pep8 and pylint errors
2013-03-20 13:20:28 -04:00
Calen Pennington
36443163f6
Force instantiation of the user before querying
...
Without accessing .pk, it's possible for the user object to still be a
SimpleLazyObject, which breaks Django's query engine
http://stackoverflow.com/questions/11875737/django-filtering-drafts-by-user-causes-error
2013-03-20 12:59:34 -04:00
Calen Pennington
b7680f3157
Fix tests except for conditional module and open ended grading
2013-03-05 15:04:59 -05:00
Alexander Kryklia
059b9f66e3
poll and conditional finished
2013-02-15 18:48:39 +02:00
Ned Batchelder
9d34767e6a
Fix the remaining module storage tests.
2013-02-01 15:45:43 -05:00
Calen Pennington
592d044864
Fix more tests
2013-01-24 14:37:46 -05:00
Ned Batchelder
ac9d162d86
Fix a failing test. Pennington's Law strikes again.
2013-01-24 13:07:55 -05:00
Calen Pennington
993c24b72b
WIP: Model data caching work
2013-01-23 14:51:07 -05:00
Calen Pennington
789ac3fc87
Use the XBlock library as the base for XModule, so that we can incrementally rely on more and more of the XBlock api
2013-01-04 16:19:58 -05:00
Calen Pennington
6427dd6742
WIP: Get the cms running. Component previews work
2013-01-02 09:07:02 -05:00
Calen Pennington
9c5a922eee
Create tables for all known scopes, and add tests of the LmsKeyValueStore
2012-12-28 14:55:32 -05:00