Awais Jibran
3e6670d1a4
PLAT-643
...
Fixed cms course export
2015-06-09 11:19:46 +05:00
E. Kolpakov
3b348b7d3f
Tests for reindex library management command
2015-04-17 12:20:31 +03:00
E. Kolpakov
4d3750a526
Pylint fixes
2015-04-15 13:32:32 +03:00
E. Kolpakov
0b2b9fe2e8
Added management command to manually reindex libraries
2015-04-15 13:01:05 +03:00
Ned Batchelder
a84735057d
Move common/lib/*.py to openedx/core/lib
...
This makes these files importable, and puts them into the new best guess
as to where files should live.
2015-03-23 12:40:24 -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
stv
b9ed4b6561
Fix Pylint: E1305(too-many-format-args)
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
Calen Pennington
6c0982b214
Force GitExportError messages to be unicode objects
2015-02-26 12:31:41 -05:00
cahrens
78a8fd807a
If existing course is found on import, make sure dest_course_id is correct.
...
TNL-1362
2015-02-09 10:00:33 -05:00
cahrens
840b42a9f1
Specify old mongo modulestore.
...
Testing migration from old mongo to split.
2015-02-09 09:26:06 -05:00
cahrens
29e235213c
Update for default store being split.
...
Note that now 2 courses can be imported where the only difference between them is run.
2015-02-09 09:26:04 -05:00
cahrens
e66e2eda20
Use old mongo store to create courses.
...
export_courses_to_output_path uses old mongo locator to create directory structure.
2015-02-09 09:26:04 -05:00
cahrens
4e6c532717
Force usage of the old mongo modulestore.
...
The way that assets are accessed (the usage of _id) seems specific to old mongo and fails with split.
2015-02-09 09:26:04 -05:00
Calen Pennington
03a05fd9d4
Always call super(..).setUp() from setUp
2015-02-04 09:09:14 -05:00
Ned Batchelder
fb595c89f3
Fix a number of incorrect translation string uses
...
These were found by the new pylint checker I wrote! :)
2015-02-02 22:38:27 -05:00
Braden MacDonald
025f046b04
Fix errors with libraries when old mongo is default (first) modulestore
2015-01-21 11:01:52 -08:00
Adam Palay
ba102b4a66
fix quality violation
2015-01-12 13:52:15 -05:00
Don Mitchell
2bf3966716
Add a fix_not_found command to get rid
...
of dangling children references to blocks.
TNL-1141
2015-01-12 10:42:52 -05:00
Adam Palay
7837607ca9
only recusively delete modules if all their parents are marked for deletion (PLAT-333)
...
update '_delete_item' method for draft only modules and update delete_orphans management command
fix test_courseware which fails due to invalid future date
2015-01-05 14:54:17 -05:00
John Eskew
94ea35d3be
Export modulestore-stored asset metadata as XML to exported course.
...
Import asset metadata XML into modulestore.
Optimize importing many items of asset metadata by avoiding multiple
round-trips to MongoDB.
2014-12-16 15:42:38 -05:00
Christine Lytwynec
b9668acb32
fix git_export tests
2014-12-12 15:06:49 -05:00
stv
16afc89b9b
Fix PEP8: E241 multiple spaces after ','
2014-11-10 19:31:09 -08:00
Carson Gee
d02747ff60
Merge pull request #5910 from mitocw/cg/git_export_error_output
...
Correct unresolved ugettext_lazy error strings in git_export command
2014-11-10 16:33:51 -05:00
Carson Gee
3816ac2ab0
Correct unresolved ugettext_lazy error strings in git_export command
2014-11-10 15:23:08 -05:00
stv
5677b143db
Fix PEP8: W391 blank line at end of file
2014-11-10 11:00:18 -08:00
stv
cf9308144d
Fix PEP8: E302 expected 2 blank lines, found 1
2014-11-10 11:00:11 -08:00
muhammad-ammar
fcaa783e43
Unit Test Improvements
...
TE-489
2014-10-31 11:55:13 +00:00
Don Mitchell
2ac069a6ae
Merge pull request #5653 from edx/dhm/PLAT-189
...
Add command line command to create course in either split or mongo
2014-10-22 09:41:55 -04:00
Don Mitchell
a4d13dc42c
Add command line command to create course in either split or mongo
...
PLAT-189
2014-10-21 16:34:36 -04:00
Don Mitchell
f89a6944de
Re-enable the unit tests and fix
2014-10-21 13:14:21 -04:00
Don Mitchell
4fc8ed8e7a
Fix command line migrator
2014-10-20 14:34:33 -04:00
Don Mitchell
4ca5012f3c
Use split to test views
2014-09-29 11:25:55 -04:00
Calen Pennington
0e7e266a5b
Push bulk_write_operations up into ModuleStoreRead, and rename to remove reference to writes
2014-08-27 16:29:48 -04:00
Nimisha Asthagiri
84992cdfa5
Refactor xml_importer.py for easier reading.
...
Remove post-publish step.
2014-08-08 14:41:57 -04: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
zubair-arbi
70e5044f47
update export_all_courses management command to count and list all failed export courses
2014-08-05 14:09:02 +05:00
Tim Babych
51a8dc2326
Make test_export_all_courses do not rely on the order in which files are returned by os.walk().
2014-07-24 19:22:26 +03:00
zubair-arbi
cfa873cc1d
ignore MAC meta files on import and also remove any such files from the course
...
STUD-1725
2014-07-21 13:16:00 +05:00
Nimisha Asthagiri
d7cf8b7fa0
Implement close_connections and drop_database on modulestores.
2014-07-14 16:01:10 -04:00
Don Mitchell
639658913d
Refactor split migrator
...
LMS-2936
Also, a bunch of ancillary cleanups.
Conflicts:
common/lib/xmodule/xmodule/modulestore/tests/test_publish.py
Conflicts:
cms/djangoapps/contentstore/management/commands/migrate_to_split.py
cms/djangoapps/contentstore/management/commands/tests/test_rollback_split_course.py
common/lib/xmodule/xmodule/modulestore/__init__.py
common/lib/xmodule/xmodule/modulestore/mixed.py
common/lib/xmodule/xmodule/modulestore/mongo/draft.py
common/lib/xmodule/xmodule/modulestore/split_migrator.py
common/lib/xmodule/xmodule/modulestore/split_mongo/split.py
common/lib/xmodule/xmodule/modulestore/tests/test_split_migrator.py
common/lib/xmodule/xmodule/modulestore/tests/test_split_w_old_mongo.py
2014-07-14 11:20:29 -04:00
Nimisha Asthagiri
ea32529866
Fix all modulestore calls to pass in user ids.
2014-07-09 21:10:12 -04:00
Nimisha Asthagiri
f5abef88c2
LMS-2947 remove get_error_courses in Split.
...
LMS-2950 move delete_course to Mongo.
2014-07-09 21:10:12 -04:00
Nimisha Asthagiri
ce9aea80b1
Move context_managers to base class, overridden by mixed.
2014-07-09 15:55:53 -04:00
Don Mitchell
cc6dfbbc75
Asset support in split
...
LMS-2876
2014-07-07 17:11:43 -04:00
Nimisha Asthagiri
eecff6e0aa
ModulestoreEnum class.
2014-06-27 14:37:35 -04:00
Nimisha Asthagiri
a9213509c3
Enable Mixed Modulestore STUD-1540
...
Refactor get_parent_locations STUD-1663
2014-06-26 18:00:11 -04:00
Mat Peterson
3a35121099
Useless code path in import_from_xml causing errors removed
2014-06-20 13:21:40 +00:00
Calen Pennington
cfcbdc0145
Move to OpaqueKey implementations from the external library
...
[LMS-2757]
2014-05-29 17:03:35 -04:00
Don Mitchell
84da71d923
Ensure all cms commands accept either deprecated or new syntax for keys
...
LMS-2712
2014-05-15 17:09:12 -04:00