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