- 04 Feb, 2015 2 commits
-
-
The existing pattern of using `override_settings(MODULESTORE=...)` prevented us from having more than one layer of subclassing in modulestore tests. In a structure like: @override_settings(MODULESTORE=store_a) class BaseTestCase(ModuleStoreTestCase): def setUp(self): # use store @override_settings(MODULESTORE=store_b) class ChildTestCase(BaseTestCase): def setUp(self): # use store In this case, the store actions performed in `BaseTestCase` on behalf of `ChildTestCase` would still use `store_a`, even though the `ChildTestCase` had specified to use `store_b`. This is because the `override_settings` decorator would be the innermost wrapper around the `BaseTestCase.setUp` method, no matter what `ChildTestCase` does. To remedy this, we move the call to `override_settings` into the `ModuleStoreTestCase.setUp` method, and use a cleanup to remove the override. Subclasses can just defined the `MODULESTORE` class attribute to specify which modulestore to use _for the entire `setUp` chain_. [PLAT-419]
Calen Pennington committed -
Calen Pennington committed
-
- 02 Dec, 2014 1 commit
-
-
Move modulestore config for tests to an importable location Disable pylnt warning for lms imports in common tests Refactor all testcases that loaded all xml courses TE-610 TE-489
Jesse Zoldak committed
-
- 01 Dec, 2014 2 commits
-
-
Sarina Canelake committed
-
Sarina Canelake committed
-
- 25 Nov, 2014 1 commit
-
-
stv committed
-
- 31 Oct, 2014 1 commit
-
-
TE-489
muhammad-ammar committed
-
- 03 Oct, 2014 2 commits
- 24 Sep, 2014 1 commit
-
-
polesye committed
-
- 12 Sep, 2014 1 commit
-
-
TNL-24
jsa committed
-
- 10 Sep, 2014 1 commit
-
-
Daniel Friedman committed
-
- 05 Sep, 2014 1 commit
-
-
When the thread is closed user can't able to report the thread and it gives the error. User can now report thread even it is closed. TNL-151
Waqas Khalid committed
-
- 03 Sep, 2014 1 commit
-
-
Daniel Friedman committed
-
- 29 Aug, 2014 2 commits
-
-
Co-authored-by: jsa <jsa@edx.org>
Greg Price committed -
Also change server to pass post type through to the comments service.
Greg Price committed
-
- 10 Jul, 2014 1 commit
-
-
Nimisha Asthagiri committed
-
- 16 Jun, 2014 1 commit
-
-
jsa committed
-
- 08 May, 2014 1 commit
-
-
This commit adds the non-courseware lms/djangoapps and lms/lib. These keys are now objects with a limited interface, and the particular internal representation is managed by the data storage layer (the modulestore). For the LMS, there should be no outward-facing changes to the system. The keys are, for now, a change to internal representation only. For Studio, the new serialized form of the keys is used in urls, to allow for further migration in the future. Co-Author: Andy Armstrong <andya@edx.org> Co-Author: Christina Roberts <christina@edx.org> Co-Author: David Baumgold <db@edx.org> Co-Author: Diana Huang <dkh@edx.org> Co-Author: Don Mitchell <dmitchell@edx.org> Co-Author: Julia Hansbrough <julia@edx.org> Co-Author: Nimisha Asthagiri <nasthagiri@edx.org> Co-Author: Sarina Canelake <sarina@edx.org> [LMS-2370]
Calen Pennington committed
-
- 28 Mar, 2014 1 commit
-
-
Calen Pennington committed
-
- 12 Mar, 2014 1 commit
-
-
The wrong permission was being checked for pinning/unpinning, so a sufficiently clever student could pin and unpin threads. JIRA: FOR-499
Greg Price committed
-
- 20 Feb, 2014 1 commit
-
-
JIRA: FOR-470
jsa committed
-
- 18 Feb, 2014 1 commit
-
-
Greg Price committed
-
- 13 Feb, 2014 1 commit
-
-
Some messages generated by the comments service are not readily translated because they come from third-party libraries. Thus, we plan to try to avoid showing any comments service generated message to the user. This check preempts the only end-user-visible CS-generated error message that we are presently aware of.
Greg Price committed
-
- 12 Feb, 2014 1 commit
-
-
Greg Price committed
-
- 14 Jan, 2014 2 commits
-
-
Greg Price committed
-
Greg Price committed
-
- 03 Dec, 2013 1 commit
-
-
David Baumgold committed
-
- 08 Nov, 2013 1 commit
-
-
Calen Pennington committed
-
- 16 Oct, 2013 1 commit
-
-
Logging the duration of each request will allow us to determine whether there is a significant difference in the latency reported by the comments service and that observed by the LMS. Each request will be assigned a unique identifier to allow correlation of the reported latency on each end.
Greg Price committed
-
- 11 Oct, 2013 1 commit
-
-
Previously, authentication was done using a URL parameter, which would appear in various logs. Now, authentication is done more appropriately with an HTTP header. Note that this requires cs_comments_service commit cf39aabdd160176ebf206ca19d3ee030161a0b47 or later.
Greg Price committed
-
- 27 Aug, 2013 1 commit
-
-
Cleaned up files with muliline imports Cleaned up files that do not use these imports Misread comment
Jay Zoldak committed
-
- 21 Aug, 2013 1 commit
-
-
Modified navigation tests to use MixedModulestore Updated factories to find editable modulestore Updated test_submitting_problems Updated test_tabs.py Updated test_view_authentication Updated test_views Updated courseware/tests/tests.py Updated test_masquerade Updated test_module_render Pylint fixes Updated video and word cloud tests Updated course wiki tests Updated license and open_ended tests. One open_ended test still failing due to Mako initialization issues Updated staticbook Updated django_comment_client tests Updated instructor tests Updated instructor task tests Updated external_auth tests Updated course_groups
Will Daly committed
-
- 27 Jun, 2013 1 commit
-
-
Make the UrlResetMixin load the urlconf after resetting it, and fix the comment client test that was leaving ENABLE_DISCUSSION_SERVICE at True
Jay Zoldak committed
-
- 10 Jun, 2013 1 commit
-
-
Create a mixin class that can be used for tests that customize urls.py to force django to reload it, so that they don't break other tests.
Calen Pennington committed
-
- 16 May, 2013 5 commits
-
-
Jay Zoldak committed
-
Your Name committed
-
Kevin Chugh committed
-
Kevin Chugh committed
-
Jay Zoldak committed
-