Commit Graph

30630 Commits

Author SHA1 Message Date
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
Ned Batchelder
81d17c516e Fix or remove tearDown methods that don't use super.
Update edx-lint to the version that checks if tearDown uses super.

Convert a number of tearDown methods into addCleanup.

Remove some unneeded tearDown methods: no need to call patch.stopall if
none of them were started with patch.start.
2015-03-17 15:14:52 -04:00
Martyn James
a495bb5f9e Addresses problem with 'up' and 'down' errors within SOL-289 2015-03-17 15:12:38 -04:00
brianhw
bafc7c53d3 Merge pull request #7392 from open-craft/library-capa-problems
Remove use of to_deprecated_string in sandbox regex check.
2015-03-17 14:17:19 -04:00
brianhw
15cc1446e5 Merge pull request #7393 from edx/revert-7387-library-capa-problems
Revert "Remove use of to_deprecated_string in sandbox regex check."
2015-03-17 14:15:41 -04:00
brianhw
7f5c54dd31 Revert "Remove use of to_deprecated_string in sandbox regex check." 2015-03-17 14:09:55 -04:00
Kelketek
8b190da956 Merge pull request #7387 from open-craft/library-capa-problems
Remove use of to_deprecated_string in sandbox regex check.
2015-03-17 12:43:19 -05: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
Jonathan Piacenti
85c81e4579 Remove use of to_deprecated_string in sandbox regex check. 2015-03-17 16:43:53 +00: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
brianhw
498e62ef63 Merge pull request #7386 from edx/adam/revert-mathjax-change
Revert "Lms should be independent of mathjax"
2015-03-17 11:27:54 -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
Adam Palay
71ab971c72 Revert "Lms should be independent of mathjax"
This reverts commit 4a086f54d5.
2015-03-17 10:44:48 -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
Omar Al-Ithawi
3d107c04eb Keep platform_name in the password_reset_confirm.html always TNL-1654 2015-03-17 10:24:20 +02: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
Stephen Sanchez
b50e004b2d Merge pull request #7375 from edx/sanchez/update_aws_settings_for_ecommerce
Add E-Commerce settings to AWS settings.
2015-03-16 17:00:20 -04:00
Stephen Sanchez
f552df3363 Modify commerce view to work without ecommerce configuration. 2015-03-16 20:21:12 +00:00
Clinton Blackburn
b3354dda31 Merge pull request #7372 from edx/clintonb/no-honor-mode-fix
Fixed bug for courses without an honor mode
2015-03-16 15:50:30 -04:00
Usman Khalid
c40ab513ff Merge pull request #7373 from edx/usman/ora-release-2015-03-16
Update ora2 to release-2015-03-16T17.59.
2015-03-17 00:45:28 +05: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
Stephen Sanchez
081f5b4e53 Add E-Commerce settings to AWS settings. 2015-03-16 19:31:15 +00: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
Clinton Blackburn
d6046d786d Fixed bug for courses without an honor mode 2015-03-16 14:56:08 -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
Usman Khalid
5fdc8d666d Update ora2 to release-2015-03-16T17.59. 2015-03-16 23:00:51 +05: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
Will Daly
2cbe6fdecb Merge pull request #7371 from edx/will/django-rest-framework-cors-csrf
Skip CSRF referer check for cross-domain requests.
2015-03-16 12:30:30 -04:00