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
ichuang
84c38b4e9a
fix two typos in export scripts
2013-07-12 09:43:52 -04:00
ichuang
84f531af54
add export_all_courses management script to cms
2013-07-12 09:41:39 -04:00
cahrens
28115af488
The course creator view adds granted users course creator status.
...
Includes unit tests and modifications to authz.py.
2013-07-08 16:08:06 -04:00
cahrens
f1f6acb5c7
Updates to admin table view.
...
Also hooks up the granted and deny events to the course creator group.
2013-07-03 17:07:06 -04:00
cahrens
27e720cf3b
Make it clear that this should only be run once.
2013-06-27 11:00:11 -04:00
cahrens
0e0f22999d
Add doc strings.
2013-06-27 09:52:18 -04:00
cahrens
3babf53925
Handle the case of script being terminated before the user was deleted.
2013-06-27 09:44:09 -04:00
cahrens
42f71156de
Script for making all instructors content creators.
2013-06-27 08:59:04 -04:00
Chris Dodge
b443629ee8
remove invalid comments
2013-06-17 11:10:36 -04:00
Chris Dodge
85b904f176
fix sizing of the delete column
2013-06-17 11:09:52 -04:00
Calen Pennington
ea859bd6c7
Filter out the template course from the mongo modulestore get_courses function
2013-05-09 16:22:23 -04:00
Chris Dodge
b4fe23f3a2
more cleanups in CMS project
2013-04-13 21:13:34 -04:00
Chris Dodge
02dfa09c70
pylint/pep8 fixes
2013-04-05 10:53:18 -04:00
Chris Dodge
8e36197cc2
tweeks per Cale's feedback
2013-04-05 09:30:49 -04:00
Chris Dodge
73113eddc7
fix xml_attributes inspection
2013-04-04 13:38:30 -04:00
Chris Dodge
c0fc029b03
switch over the variable 'ms' to be 'store'
2013-04-04 10:33:30 -04:00
Chris Dodge
c7061a0262
add a command line utility to walk through the course and find common errors
2013-04-04 10:20:31 -04:00
Chris Dodge
ac01079502
add a command line utility to walk through the course and find common errors
2013-04-04 09:35:35 -04:00
Calen Pennington
6b64b4214f
Make relative imports explicitly relative
2013-03-15 11:23:22 -04:00
Don Mitchell
ecb136e582
Merge pull request #1586 from MITx/feature/cdodge/make-update-templates-django-admin-util
...
move call to update_templates on service startup into a django-admin com...
2013-03-04 13:11:46 -08:00