Stephen Sanchez
8c9f6370b8
Allow Enrollment API supports creating and upgrade course modes other than honor.
...
Fixing tests, cleaning up POST handler to be easier to read.
Wording fixed for unit test comments.
2015-03-18 17:12:02 +00:00
Clinton Blackburn
3d520f4fa8
Merge pull request #7409 from edx/clintonb/filter-empty-string
...
Fixed CourseMode Filtering Bug
2015-03-18 12:00:49 -04:00
Clinton Blackburn
a76fd944cd
Merge pull request #7410 from edx/clintonb/course-mode-admin
...
Added SKU column to CourseMode table in Django admin
2015-03-18 12:00:18 -04:00
Stephen Sanchez
321544efe6
Merge pull request #7407 from edx/sanchez/server-to-server-throttling
...
Allow services to ignore user throttling. Set a more realistic throttle for users.
2015-03-18 11:24:07 -04:00
Clinton Blackburn
783fb23fe2
Fixed CourseMode Filtering Bug
...
Commerce code has now been updated to exclude CourseMode objects with SKU set to empty string (in addition to null).
2015-03-18 11:14:36 -04:00
Clinton Blackburn
9436eacb35
Added SKU column to CourseMode table in Django admin
2015-03-18 11:10:37 -04:00
Ned Batchelder
649e45b40a
Merge pull request #7388 from edx/ned/remove-more-test-data-mock-modulestore
...
Remove useless override_settings of MODULESTORE
2015-03-18 11:08:25 -04:00
Kelketek
b66a128c05
Merge pull request #6939 from open-craft/content_libraries/previews
...
Add show/hide previews button to Content Libraries
2015-03-18 10:05:22 -05:00
Jonathan Piacenti
568acb56b0
Library setting for show/hide children previews + client-side code to toggle it.
2015-03-18 08:59:58 -05:00
Stephen Sanchez
d901b1d3e3
Allow services to ignore user throttling.
2015-03-18 13:48:32 +00:00
Awais Qureshi
263dbdafb3
Merge pull request #7363 from edx/awais786/ECOM-1162-ga-event
...
Awais786/ecom 1162 ga event
2015-03-18 17:47:20 +05:00
Ned Batchelder
425b766965
Remove TEST_DATA_MOCK_MODULESTORE
2015-03-17 17:21:52 -04:00
Will Daly
c8825652b1
Merge pull request #7398 from edx/will/fix-broken-footer-test
...
Add missing import of override_settings to fix a broken test in courseware
2015-03-17 16:46:44 -04:00
Will Daly
2bc82367ce
Add missing import of override_settings to fix a broken test in courseware
2015-03-17 16:43:29 -04:00
Awais
3a996155f5
ECOM-1162
2015-03-18 01:24:27 +05:00
Calen Pennington
8e4ee78fff
Merge pull request #7262 from edx/cale/xblock-filtered-children-tests
...
Clear children cache when binding an XBlock to a user.
2015-03-17 16:04:54 -04:00
Will Daly
9b49059e1f
Merge pull request #7383 from edx/will/ecom-1134
...
Update social media links in EdX footer.
2015-03-17 15:34:36 -04:00
Calen Pennington
60bbfc5a9c
Add @contract to _load_item
2015-03-17 13:15:19 -04:00
Calen Pennington
9e7404cd4a
Add test of courseware.views.index rendering with saved student state
2015-03-17 13:15:19 -04:00
Calen Pennington
fd746b6f13
Clean up import order in test_module_render
2015-03-17 13:15:18 -04:00
Calen Pennington
17a6cfee70
Update query counts to new reality
2015-03-17 13:15:18 -04:00
Calen Pennington
26df09e404
Add test of iterating over a course tree multiple times in the same request
2015-03-17 13:15:18 -04:00
Calen Pennington
11dcf12f14
Make XModule use the same get_children that XModuleDescriptor and XBlock do, and make it returned the same CombinedSystem
2015-03-17 13:15:18 -04:00
Calen Pennington
8a73a736e3
Correctly escape backslashes in docstring for get_content_titles
2015-03-17 13:15:18 -04:00
Calen Pennington
473420429d
Allow MongoModuleStore to use an existing CachingDescriptorSystem.
...
Prior to this change, if a CachingDescriptorSystem was prepopulated
with XBlock field data (`module_data`), then it would be used as
the DescriptorSystem for blocks loaded through it. On the other hand,
if it had to fetch new data from the modulestore, then a new
CachingDescriptorSystem would be created by the modulestore, and used
by the newly returned object.
This commit allows the modulestore get_item and get_items methods
to accept an existing CachingDescriptorSystem to augment with data
from the backing mongo store, and to use as the DescriptorSystem
for newly loaded XBlocks.
2015-03-17 13:15:18 -04:00
Calen Pennington
4ef53135ae
Add and clean up __repr__ and __str__ for XModule-related things
2015-03-17 13:15:18 -04:00
Calen Pennington
40ae5d2e1c
Merge pull request #7365 from cpennington/lms-field-data-query-counts
...
Reduce queries from FieldDataCache
2015-03-17 11:55:46 -04:00
Calen Pennington
88b9187476
Decrease the number of inserts and updates needed by DjangoKeyValueStore
2015-03-17 10:57:13 -04:00
Calen Pennington
8fbb64322b
Clarify grading variables in the CourseModule
2015-03-17 10:55:06 -04:00
Calen Pennington
de23d6defe
Clear cached children when binding an XModuleDescriptor/XBlock to a particular user
2015-03-17 10:55:06 -04:00
Calen Pennington
9379fd2711
Add tests of XBlocks/XModules with filtered children
2015-03-17 10:55:06 -04:00
Will Daly
1529c1e956
Update social media links in EdX footer.
...
Replaces some PLATFORM_* settings with a more
general setting for specifying social media
URLs in the footer.
Adds icons and titles for new social media
sites (Tumblr, Reddit, Youtube) to match
EdX.org.
2015-03-17 09:43:53 -04:00
Ned Batchelder
59ad3ccb73
Merge pull request #7357 from edx/ned/remove-unused-imports
...
Remove unused imports
2015-03-17 09:34:26 -04:00
Ned Batchelder
7d799e34f3
Remove unused imports
2015-03-17 07:10:31 -04:00
Ned Batchelder
3acf503e2b
Merge pull request #7376 from edx/ned/fix-test-instructor-dashboard
...
Fix test_instructor_dashboard.py tests
2015-03-17 06:50:06 -04:00
Andy Armstrong
37dd0ec840
Merge pull request #7327 from edx/andya/preferences-api
...
Implement full preferences API
2015-03-17 00:57:01 -04:00
Andy Armstrong
6976a33a85
Add the preferences endpoint to the User API
...
TNL-1493
See https://openedx.atlassian.net/wiki/display/TNL/User+API for details
2015-03-16 23:34:35 -04:00
Ned Batchelder
85d0a45b14
Fix test_instructor_dashboard.py tests
...
This file was never run, because of a missing __init__.py. It needs a
super() call to make the ModuleStoreTestCase work properly.
Then one test failed, because of a missed change from dollar to
configurable currency.
2015-03-16 15:34:22 -04:00
Jesse Zoldak
ba85f82edc
Merge pull request #7370 from edx/zoldak/TE-783
...
Update the bok-choy version being used. TE-783
2015-03-16 15:00:47 -04:00
Calen Pennington
2d51f6435e
Add query count tests to DjangoKeyValueStore/FieldDataCache
2015-03-16 14:57:30 -04:00
Ned Batchelder
6e8d075dd7
Merge pull request #7355 from edx/ned/fix-capitalization
...
Simple capitalization fix
2015-03-16 14:45:36 -04:00
Sarina Canelake
d2786a6423
Merge pull request #7181 from stvstnfrd/debt/envs
...
Remove old env settings files
2015-03-16 13:25:47 -04:00
Christine Lytwynec
a35264aff2
Merge pull request #7368 from edx/clytwynec/fix_test_python_opts
...
pass opts From PythonTestSuite to NoseTestSuite
2015-03-16 12:41:54 -04:00
stv
261629d7dd
Copy over context from settings file
...
Instead of referencing the example externally, we now explain the
setting inline.
2015-03-16 09:34:44 -07:00
stv
aae9e821ed
Remove dev_int LMS env settings
...
This contains hard-coded reference to out-dated courses.
2015-03-16 09:34:44 -07:00
stv
88d9b87150
Remove dev_ike LMS env settings
...
This looks to have been a personal configuration file.
2015-03-16 09:34:44 -07:00
stv
1dad4c8f9f
Remove edx4edx LMS env settings
...
Is this used? It contains MITx references.
2015-03-16 09:34:44 -07:00
stv
015053cb9b
Remove antiquated LMS envs files
...
These all date back to 2012 and are hard-coded for specific course runs.
2015-03-16 09:34:43 -07:00
Jesse Zoldak
e4a08fb868
Update the bok-choy version being used. TE-783
2015-03-16 11:57:06 -04:00
Christine Lytwynec
659e90ea95
pass opts From PythonTestSuite to NoseTestSuite
2015-03-16 11:13:31 -04:00