Calen Pennington
67d66184a7
Push set_many save() calls into per-type caches
2015-05-20 15:07:25 -04:00
Calen Pennington
97c2513ed8
Push set_many object creation down into per-type caches
2015-05-20 15:07:24 -04:00
Calen Pennington
a0555d4cdc
Add more documentation to DjangoOrmFieldCache
2015-05-20 15:07:24 -04:00
Calen Pennington
7a9923e289
Inline find_or_create
2015-05-20 15:07:24 -04:00
Calen Pennington
6ce7cc771a
Move has logic down into per-scope caches
2015-05-20 15:07:23 -04:00
Calen Pennington
43d41d6648
Move delete logic down into per-scope caches
2015-05-20 15:07:23 -04:00
Calen Pennington
d1fae17ca2
Move the logic from find into the methods that use it
2015-05-20 15:07:23 -04:00
Calen Pennington
3bcd5ceb50
Push has down into FieldDataCache from DjangoKeyValueStore
2015-05-20 15:07:23 -04:00
Calen Pennington
9338b6a480
Push delete down into FieldDataCache from DjangoKeyValueStore
2015-05-20 15:07:22 -04:00
Calen Pennington
ebb3c906ff
Push set_many down into FieldDataCache from DjangoKeyValueStore
2015-05-20 15:07:22 -04:00
Calen Pennington
951c19d789
Push get down into FieldDataCache, from DjangoKeyValueStore
2015-05-20 15:07:22 -04:00
Calen Pennington
5df3c22651
Push cache_key transformations inside the cache objects
2015-05-20 15:07:21 -04:00
Calen Pennington
29606a170d
Extract common django-orm-backed-cache functionality
2015-05-20 15:07:21 -04:00
Calen Pennington
7909bee511
Stop leaking private _data members from per-scope caches
2015-05-20 15:07:21 -04:00
Calen Pennington
01cf2a3225
Store cache objects, rather than dictionaries generated by cache objects
2015-05-20 15:07:21 -04:00
Calen Pennington
21bcf55dba
Extract _all_block_types and _all_usage_keys out of cache class
2015-05-20 15:07:20 -04:00
Calen Pennington
4463f71148
Separate caching for particular fields from instantiating the cache
2015-05-20 15:07:20 -04:00
Calen Pennington
0d37ec8099
Change the central cache to store at two levels: first by scope, then by cache key
2015-05-20 15:07:20 -04:00
Calen Pennington
645d2a727f
Move field_object -> cache_key transformations to the scope-specific caches
2015-05-20 15:07:19 -04:00
Calen Pennington
7353d40b16
Push field_object iteration inside _retrieve_fields, and rename to _cache_fields
2015-05-20 15:07:19 -04:00
Calen Pennington
9059727672
Extract cache instantiation into classes per-scope
2015-05-20 15:07:19 -04:00
Calen Pennington
fd0c47bc42
Extract query chunking from FieldDataCache
2015-05-20 15:07:18 -04:00
Calen Pennington
4312c0e763
Enable PyContracts during tests
2015-05-20 15:07:18 -04:00
Chris Dodge
f655e7c380
need to urlencode the course_id when constructing the registration redirect query string
2015-05-20 14:05:00 -04:00
Sarina Canelake
c7424dd7ae
Supply default url for XQA server
2015-05-19 14:19:04 -04:00
David Baumgold
37ab2fc16a
Wrap block with license info in LMS only
2015-05-18 14:35:08 -04:00
David Baumgold
2159d34128
Added a simple XBlockMixin for courseware licenses
...
This allows course authors to choose between two difference licenses for their
course content: All Rights Reserved, or Creative Commons. In the backend, XBlocks
that wish to allow custom licenses need only inherit from LicenseMixin, which
adds a `license` field as a string.
License information is displayed in the Studio editor view, and just below the
rendered XBlock in the LMS. In addition, if the course block itself has a custom
license set, this license will display just below the main body of the page
on courseware pages.
This entire feature is gated behind the LICENSING feature flag.
2015-05-18 14:34:28 -04:00
christopher lee
5cef287c5d
MA-635 Block Mobile Content for unfulfilled milestones
...
Previously, the mobile api did not check for pre-requisite courses
or entrance exams. This change checks for these milestones and then
returns course content accordingly.
2015-05-15 09:39:54 -04:00
Ned Batchelder
7c704f3959
Move xmodule_modifiers.py to openedx/core/lib/xblock_utils.py
2015-05-14 16:03:50 -04:00
Daniel Friedman
3acd7a008c
Refactor and add tests for new grade report.
...
* Handle grading errors
2015-05-13 06:58:02 -04:00
Daniel Friedman
9269ec3b00
Add new instructor task for weighted problems
2015-05-12 16:32:00 -04:00
Diana Huang
7df9ab9c14
Extend the Score namedtuple to know about module locations.
2015-05-12 16:32:00 -04:00
David Ormsbee
69af4113c2
Merge pull request #7979 from edx/ormsbee/new_relic_xb_tx_reporting
...
Customize the transaction name sent to New Relic for XBlock handlers.
2015-05-11 11:06:47 -04:00
Phil McGachey
73b854e4f0
[LTI Provider] Adding signals for scoring events
2015-05-11 07:45:50 -04:00
David Ormsbee
f1f34b5ddf
Customize the transaction name sent to New Relic for XBlock handlers.
...
Currently, all XBlock/XModule handlers are lumped together in the
same transaction (courseware.module_render:handle_xblock_callback).
This makes it difficult to pinpoint problems with specific handlers.
With this change, the transaction name will now look like:
OpenAssessmentBlockWithMixins.save_submission
CapaDescriptorWithMixins.xmodule_handler/problem_show
2015-05-08 16:53:01 -04:00
Adam
58b34e1cc4
Merge pull request #7974 from edx/merge-release-to-master
...
Merge release to master
2015-05-08 14:24:14 -04:00
Adam Palay
8243d934e4
Merge remote-tracking branch 'origin/release' into merge-release-to-master
...
Conflicts:
common/test/acceptance/tests/video/test_video_times.py
2015-05-08 10:23:04 -04:00
Adam Palay
afec81b662
prevent overly nesting _field_data (TNL-2050)
2015-05-07 14:05:27 -04:00
Christine Lytwynec
ddb1ae667e
Split lms unittests into multiple shards
2015-05-07 09:17:26 -04:00
muzaffaryousaf
f5de0bbf43
Enable unit preview by default.
...
TNL-1261
2015-05-06 12:40:44 +05:00
Ned Batchelder
6fd60f21b5
Merge pull request #7358 from edx/ned/add_dunder_init_files
...
Add missing __init__.py files
2015-04-30 10:50:49 -04:00
Ned Batchelder
777be12ada
Add missing __init__.py files
2015-04-30 07:43:08 -04:00
Awais
19ab698f4c
ECOM-1284 enabling re-generate certs.
2015-04-30 14:15:33 +05:00
Phil McGachey
31790ab415
[LTI Provider] Wiring up LTI views to the courseware template
2015-04-27 11:52:26 -04:00
Adam
9a35c51e6e
Merge pull request #7724 from edx/release
...
Release
2015-04-16 13:40:41 -04:00
Adam Palay
987ea8551e
fix quality violation
2015-04-16 10:13:36 -04:00
Adam Palay
9196817abb
Revert "Decrease the number of inserts and updates needed by DjangoKeyValueStore"
...
This reverts commit 88b9187476 .
2015-04-15 17:41:11 -04:00
Marko Jevtić
a3aecb2014
Merge pull request #7548 from edx/mjevtic/SOL-531
...
(SOL-531)(SOL-532) Course Cards update on the homepage;
2015-04-14 16:17:34 +02:00
marjev
939a3672d4
(SOL-531)(SOL-532)Course Cards update; A link to course discovery page has been added to the OpenEdX homepage
2015-04-14 14:58:06 +02:00
David Ormsbee
03c3bbb379
Merge pull request #6636 from jazkarta/feature-pocs
...
MIT CCx (was Personal Online Courses)
2015-04-11 11:15:43 -04:00