Christina Roberts
088a713788
Merge pull request #2330 from edx/christina/export-commands
...
Export conversion script
2014-01-30 06:59:22 -08:00
cahrens
2ee964345f
Convert between export formats.
...
STUD-1196
2014-01-30 09:22:43 -05:00
David Baumgold
7cbee5e817
rename locator_string to package_id
2014-01-29 16:57:01 -05:00
David Baumgold
e10e47d8ab
Add test for specifying locator to migrate_to_split command
2014-01-29 15:11:05 -05:00
David Baumgold
cfdc5b5e96
fix docstrings
2014-01-29 15:11:05 -05:00
David Baumgold
e0c1abc11f
check for old mongo course
2014-01-29 15:11:05 -05:00
David Baumgold
e18507f188
fix pep8/pylint issues
2014-01-29 15:11:04 -05:00
David Baumgold
3eee65892b
Added command to delete split-mongo course
2014-01-29 15:11:04 -05:00
David Baumgold
c3b8d52dcd
move user-finding logic out of command
2014-01-29 15:11:04 -05:00
David Baumgold
dcc1d201ce
Can't use UserFactory in CMS tests :(
2014-01-29 15:11:03 -05:00
David Baumgold
de96a47eac
happy path unit test
2014-01-29 15:11:03 -05:00
David Baumgold
f08dc42802
Add some dummy arg parsing tests
2014-01-29 15:11:03 -05:00
David Baumgold
bbec626651
first pass on a migrate_to_split Django command
2014-01-29 15:11:03 -05:00
Carson Gee
1e809a4210
Adding missing forum permissions seeding routine to xml_import
...
Currently if a course is only imported from the command line the
forum permissions are not seeded, this adds that functionality
Switched to doing seeding outside of xmodule library
Switched to using course_items
Switching to simpler test class
2014-01-17 15:17:48 -05:00
Don Mitchell
ad3140a6e6
Cleaned up modules to reflect centralizing auth
2014-01-14 17:04:44 -05:00
Don Mitchell
3ebac80778
Replace authz fns with roles.py ones
...
STUD-1006
2014-01-14 17:04:44 -05:00
Carson Gee
ccc87337d6
Add sysadmin dashboard
...
For seeing overview of system status, for deleting and loading
courses, for seeing log of git imports of courseware. Includes command
for importing course XML from git repositories.
Added a lot of tests for additional coverage with some minor fixes
those tests discovered
2013-12-15 19:06:05 -05:00
Christina Roberts
17b5c2126c
Merge pull request #1910 from edx/christina/locations
...
Create explicit Locations.
2013-12-13 09:18:21 -08:00
cahrens
ec55d8c1a9
Create explicit Locations.
...
STUD-1030
2013-12-11 10:03:34 -05:00
David Baumgold
fb13bed947
Updating comments and docs for MITx -> edX transition
2013-12-10 13:21:18 -05:00
Nick Parlante
6122357191
Expand the edit_course_tabs help text
2013-11-06 16:39:44 -08:00
Will Daly
85203e8134
Enabled course id clash command tests
2013-11-04 16:15:20 -05:00
Don Mitchell
32a6df0f9c
Skipping new test until Jenkins mongo updated to >= 2.2
2013-11-01 14:24:01 -04:00
Don Mitchell
9cf318cec6
Course id clash command
2013-11-01 14:20:41 -04:00
Carlos Andrés Rocha
f7ff8f8b6a
Delete dump_course_structure django command on cms
...
Replaced by dump_course_structure on lms
2013-10-15 10:48:59 -04:00
John Jarvis
a517dc2085
Revert "Merge pull request #1240 from edx/dhm/config_separation"
...
This reverts commit ec01253e30 , reversing
changes made to ae8c9710e5 .
2013-10-10 13:14:08 -04:00
Don Mitchell
44d0494d33
Segregate the mongo db config from the modulestore config
...
as a first step to separating db connection from modeling
and to support location mapper and contentstore using same db config as modulestore
2013-10-08 15:01:48 -04:00
Nick Parlante
0ed1ee917e
Create edit_course_tabs management command
...
Just works on the tabs list in mongo, nothing
deeper than that.
Added implementation functions in tabs.py,
providing a first step for some future
GUI editor.
2013-10-01 10:49:51 -07:00
Chris Dodge
955e54c2e6
refactor some code out of the django-admin entry point into a help function in CMS. Update tests to use new method
2013-09-13 09:07:01 -04:00
Chris Dodge
41be20a000
define a unseeding forums permissions and call into it from delete_course
...
define a unseeding forums permissions and call into it from delete_course
define a unseeding forums permissions and call into it from delete_course
2013-09-12 14:27:57 -04:00
Adam Palay
300f7f13a6
fix pep8 and pylint errors
...
Conflicts:
cms/djangoapps/contentstore/views/course.py
common/lib/xmodule/xmodule/tests/test_combined_open_ended.py
lms/envs/common.py
2013-09-03 14:55:11 -04:00
Calen Pennington
407b02b358
Centralize startup code, and execute in all contexts
...
Inspired by: http://eldarion.com/blog/2013/02/14/entry-point-hook-django-projects/
Moves startup code to lms.startup and cms.startup, and calls the startup
methods in wsgi.py and manage.py for both projects.
2013-08-27 12:12:20 -04:00
Chris Dodge
2ba0d40d7b
fix pep8 violations
2013-08-21 20:02:58 -04:00
ichuang
42af561a17
pep8 and pylint for tests of nostatic import
2013-08-21 11:23:00 -04:00
ichuang
2249692f9a
pylint
2013-08-19 10:19:14 -04:00
ichuang
220ec522a1
Merge branch 'master' of github.com:edx/edx-platform into feature/ichuang/import-with-no-static
...
Conflicts:
common/djangoapps/static_replace/__init__.py
common/djangoapps/xmodule_modifiers.py
lms/djangoapps/courseware/courses.py
lms/djangoapps/courseware/module_render.py
2013-08-19 08:24:35 -04:00
Chris Dodge
61219169d4
change over the modulestore configuration to be a dict and use a property accessor. Also update some django-admin configs to use this means to set the runtime configuration
2013-08-15 22:58:04 -04:00
ichuang
03bcd19b8d
catch error in delete_course management script when group does not exist
2013-08-13 08:46:21 -04:00
ichuang
1b111b1d29
add ability to import course (into CMS / edge) without static content,
...
and without rewriting static links. changes xml_importer.py and
import.py
2013-08-12 20:00:46 +00:00
Chris Dodge
9da0aa2e85
rename clone.py to a more descriptive clone_course.py
2013-08-02 22:30:31 -04:00
Chris Dodge
9f07507396
add same optimizations to the clone course command
2013-08-02 22:28:53 -04:00
Chris Dodge
f57b02c199
add a metadata cache and re-compute ignore when deleting a course to speed up the whole thing as well as squelching warnings in the console output
2013-08-02 22:19:59 -04:00
David Baumgold
248793c127
Fix some pylint issues
2013-07-31 15:42:11 -04:00
cahrens
f347bd446b
Change in signature for add_user_with_status_unrequested.
2013-07-29 16:48:59 -04:00
chrisndodge
d78af5cf51
Merge pull request #294 from edx/feature/cdodge/add-dump-course-structure
...
add a new django-admin command to dump out a course structure document. ...
2013-07-19 07:04:41 -07:00
Chris Dodge
ecbf148688
add a new django-admin command to dump out a course structure document. This is response to an emergency request from Harvard researchers.
2013-07-16 16:53:01 -04:00
Don Mitchell
3722685e1a
No longer persist XModule templates
...
Instead, we use XModule field default values when creating an empty
XModule. Driven by this use case, we also allow for XModules to be
created in memory without being persisted to the database at all. This
necessitates a change to the Modulestore api, replacing clone_item with
create_draft and save_xmodule.
2013-07-16 14:33:58 -04:00
ichuang
8b6a55e2a8
fix pep-8 in export_all_courses
2013-07-12 19:58:16 -04:00
ichuang
c53dd97f79
add extra modulestore() argument to single export script
2013-07-12 10:07:02 -04:00
ichuang
08b8438dda
add extra modulestore() argument to export to make it export drafts also
2013-07-12 10:06:48 -04:00