Commit Graph

29158 Commits

Author SHA1 Message Date
Max Rothman
1f3a4a87ab Update newrelic agent for monitoring celery tasks 2015-03-18 10:52:47 -04: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
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
David Baumgold
c6992688ac Merge pull request #7314 from edx/load-tender-js-from-tenderapp-subdomain
Define TENDER_SUBDOMAIN so that we can still use vanity URLs
2015-03-16 10:44:00 -04:00
Sarina Canelake
0a385c04f1 Merge pull request #7366 from edx/sarina/20150316-update-translations
Update translations (autogenerated message)
2015-03-16 10:35:34 -04:00
Sarina Canelake
3569e7fef5 Update translations (autogenerated message) 2015-03-16 10:32:27 -04:00
Jesse Zoldak
90211a137a Merge pull request #7367 from edx/revert-6167-patch-5
Revert "To support UNICODE xblock.location"
2015-03-16 10:27:40 -04:00
Jesse Zoldak
26afdf768c Revert "To support UNICODE xblock.location" 2015-03-16 10:15:41 -04:00
Waqas Khalid
1b44f1e237 Merge pull request #7044 from edx/waqas/make-lms-mathjax-independent
Lms should be independent of mathjax
2015-03-16 18:47:32 +05:00
Waqas Khalid
a8457c4fb4 Merge pull request #6871 from edx/waqas/studio-mathjax-unit-problem
Unit page doesn't load when mathjax is down
2015-03-16 18:47:06 +05:00
Mark Hoeber
5efabb1c4b Merge pull request #7307 from edx/markhoeber-enrollment-api-doc-fix
Add Mocks to Enrollment API Doc Config
2015-03-16 09:28:29 -04:00
Sarina Canelake
dadc47c22a Merge pull request #6167 from fmyzjs/patch-5
To support UNICODE xblock.location
2015-03-16 09:05:10 -04:00
Waqas Khalid
729dd24c82 Unit page doesn't load when mathjax is down
When mathjax is down studio page doesn't work as
it wait for mathjax to load. I replaced the hard
dependency with soft dependency now unit page can
load with mathjax.
2015-03-16 15:12:01 +05:00