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
Ned Batchelder
7c8a90229e
Use 'is None' and 'is not None'
2013-03-04 10:57:25 -05:00
Ned Batchelder
97f1e04282
Fix some 2-space indents
2013-03-04 10:57:25 -05:00
Chris Dodge
f21ff7bbfa
update comment
2013-03-04 09:15:53 -05:00
Chris Dodge
f057ec5a04
add new file to commit
2013-03-04 08:29:56 -05:00
Chris Dodge
20540fbc2d
update usage feedback
2013-03-01 15:52:27 -05:00
Chris Dodge
816b0edfb0
add another command line argument to allow users to only simulate a delete (i.e. show what items would be deleted). This is a handy sanity checker.
2013-02-25 16:00:35 -05:00
Calen Pennington
cfae1cdf62
Pep8 autofixes
2013-02-06 11:13:50 -05:00
Chris Dodge
1cb2a6724d
add some additional logging for optional verbosity
2013-01-14 22:31:21 -05:00
Chris Dodge
625237601f
Merge branch 'feature/cale/cms-master' of github.com:MITx/mitx into feature/cdodge/export
...
Conflicts:
common/lib/xmodule/xmodule/contentstore/content.py
common/lib/xmodule/xmodule/contentstore/mongo.py
2012-12-27 14:16:40 -05:00
Chris Dodge
fe408be1cc
message edit
2012-12-27 10:32:07 -05:00
Chris Dodge
7088821233
fix command error message. There are really only two arguments supported (the optional 6 had been removed, but I forgot to change the message
2012-12-27 10:30:26 -05:00
Chris Dodge
28d9827468
fix up some thumbnail issues. Also we need to manage the user permissions when we clone and delete course
2012-12-27 10:20:28 -05:00
Chris Dodge
b40a8a3e9e
implement course clone and delete functionality from the command line
2012-12-20 13:55:15 -05:00
Chris Dodge
10b417c85e
initial checkin of export
2012-12-13 11:53:52 -05:00
Chris Dodge
fff3782884
cleave xlint entry point in xml_importer.py to be separate from the import method
2012-11-26 11:05:57 -05:00