Jonathan Piacenti
eab0cbdd85
Better fix for open ended grading.
2015-07-21 14:39:19 +00:00
Jonathan Piacenti
a6ae44a0db
Add ability to activate a child block via jump_to_id.
2015-07-21 14:39:18 +00:00
tlindaliu
e0840d2d43
MA-849: Change has_access return type
...
New classes for the return type, and changes to the has_access function and tests to make them compatible.
2015-07-19 20:42:29 -04:00
Sarina Canelake
8283c07e32
Remove superfluous-parens pylint violations
...
Skipped 'print' statement violations, as print() is Py3k syntax.
2015-07-13 17:33:28 -04:00
Usman Khalid
64ff890ff8
Disable ORA 1 tabs in LMS if combinedopeneded is disabled in LMS.
...
TNL-2305
2015-07-03 20:58:42 +05:00
Diana Huang
7461a2fd37
Refactor and merge CourseViewType and CourseTab.
...
TNL-2321
2015-06-08 15:18:39 -04:00
Diana Huang
dae137feaa
Convert all tabs to the new plugin framework.
2015-06-02 15:05:16 -04:00
Ned Batchelder
cc5c1001d1
Fix simplifiable-range pylint warnings.
2015-06-02 09:47:13 -04:00
Ben Patterson
176770efad
Revert "Enable PyContracts during tests"
...
This reverts commit 4312c0e763 .
2015-05-22 15:05:11 -04:00
Calen Pennington
4312c0e763
Enable PyContracts during tests
2015-05-20 15:07:18 -04:00
Ned Batchelder
7d799e34f3
Remove unused imports
2015-03-17 07:10:31 -04:00
stv
e7e9a16379
Fix Pylint: W0403(relative-import)
2015-03-13 20:20:04 -07:00
Jonathan Piacenti
8ad4d081fb
Added library import and export via .tar.gz'd XML files.
2015-03-10 21:29:29 +00:00
Adam
2057f7db38
Merge pull request #6929 from edx/release
...
Release
2015-02-09 11:14:41 -05:00
Calen Pennington
4851062987
Don't instantiate bogus modulestores just to get template rendering in old ORA
2015-02-06 15:20:59 -05:00
Calen Pennington
b353ed2ea2
Better support specifying of modulestore configuration in test cases
...
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]
2015-02-04 09:09:14 -05:00
Calen Pennington
03a05fd9d4
Always call super(..).setUp() from setUp
2015-02-04 09:09:14 -05:00
Calen Pennington
d919d2ae46
Teach LMS how to render XBlockAsides
...
[PLAT-217]
2014-12-13 08:26:28 -05:00
Calen Pennington
980f30c17f
Move lms.lib.xblock into lms.djangoapps.lms_xblock in preparation add database backed configuration to it
2014-12-12 21:45:21 -05:00
David Baumgold
36e77c7463
Fixing pep8 issues
2014-12-11 13:04:49 -05:00
Jesse Zoldak
bf3b87bc64
Clean up all modulestore testcases
...
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
2014-12-02 07:09:36 -05:00
stv
b215d771b7
Fix PEP8: E128 continuation line under-indented
...
for visual indent
2014-11-24 20:46:50 -05:00
stv
4d30aedf4e
Fix PEP8: E127 continuation line over-indented
...
for visual indent
2014-11-24 20:46:50 -05:00
stv
6763c5dd74
Fix PEP8: E126 continuation line over-indented
...
for hanging indent
2014-11-24 20:46:44 -05:00
stv
2ce5a6ceed
Fix PEP8: E125 continuation line
...
does not distinguish itself from next logical line
2014-11-24 20:46:44 -05:00
stv
500499b678
Fix PEP8: E231 missing whitespace after '[:,]'
2014-11-10 19:31:05 -08:00
stv
cf9308144d
Fix PEP8: E302 expected 2 blank lines, found 1
2014-11-10 11:00:11 -08:00
Sarina Canelake
725e4908e3
Remove more pep8 violations
2014-11-04 07:37:41 -05:00
Braden MacDonald
a8f622af7f
Consistently ensure dog_stats_api tags are formatted correctly
2014-10-09 12:35:26 -07:00
Nimisha Asthagiri
d2b59cb6e0
get_items API: have qualifiers be a separate parameter instead of assuming kwargs.
2014-08-08 12:38:42 -04:00
jsa
d96de4249d
Merge branch 'release'
2014-08-07 16:22:39 -04:00
Waheed Ahmed
05b87fd99b
Implemented process_response method to clear requestcontext global variable in mako middleware.
...
LMS-6622
2014-08-06 19:58:20 +05:00
David Baumgold
5457775cfe
Replace check_for_get_code with assert_request_status_code
...
More flexible, uses the word "assert", method instead of function
2014-08-05 13:36:49 -04:00
Sarina Canelake
2aea261d48
Merge branch 'release'
...
Conflicts:
common/djangoapps/course_modes/views.py
common/djangoapps/student/tests/test_roles.py
common/djangoapps/student/views.py
common/lib/opaque_keys/opaque_keys/__init__.py
common/lib/opaque_keys/opaque_keys/tests/test_opaque_keys.py
common/lib/xmodule/xmodule/contentstore/mongo.py
lms/djangoapps/certificates/management/commands/gen_cert_report.py
lms/djangoapps/notes/views.py
2014-06-10 16:59:23 -04:00
Sarina Canelake
a9cad6a5bb
Fix logging bug in openended grading
2014-06-09 15:16:18 -04:00
Calen Pennington
cfcbdc0145
Move to OpaqueKey implementations from the external library
...
[LMS-2757]
2014-05-29 17:03:35 -04:00
Don Mitchell
08aaa97bfb
Serialize course_key at last possible code junction
2014-05-20 11:58:03 -04:00
Don Mitchell
bf8ca487bb
fix staff_grading server error
2014-05-12 16:25:27 -04:00
Calen Pennington
cd746bf8e5
Make course ids and usage ids opaque to LMS and Studio [partial 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]
2014-05-08 12:09:23 -04:00
Waheed Ahmed
9067ebe815
Fixed import of "dog_stats_api" in staff_grading_service.py.
...
LMS-2521
2014-04-09 18:11:40 +05:00
Stephen Sanchez
751bd71a7b
Merge remote-tracking branch 'origin/release'
2014-04-03 11:06:09 -04:00
Adam Palay
8935166c7a
Revert "Open ended panel headings not internationalized."
...
This reverts commit eb9133aeb6 .
ORA-352
2014-04-02 11:06:41 -04:00
Calen Pennington
0513e144b1
Actually push json parsing all the way down to the bottom of the GradingService get and post methods
2014-04-01 14:04:17 -04:00
Calen Pennington
c9a5e9b88d
Record metrics about the staff grading service
2014-04-01 14:04:17 -04:00
Calen Pennington
6430e7e98c
Make GradingServices always return dictionaries, rather than sometimes returning strings
2014-04-01 14:04:16 -04:00
Calen Pennington
6c06b39b3f
Centralize when json parsing of responses from controller_query_service happens
2014-04-01 10:10:54 -04:00
Waheed Ahmed
eb9133aeb6
Open ended panel headings not internationalized.
...
LMS-2169
2014-03-31 11:25:10 +05:00
Waheed Ahmed
741881b360
Internationalization fixed for error msg on staff grading page.
...
LMS-2195
2014-03-17 12:38:20 +05:00
Don Mitchell
0b262e7cea
Merge pull request #2660 from edx/dbarch/parse_course_id
...
Dbarch/parse course
2014-02-24 13:24:00 -05:00
Don Mitchell
81a92e4bfc
Consolidate course_id triple parsing
2014-02-24 11:45:59 -05:00