Chris Dodge
f17b48fff3
fix problem introduced when rebasing master and manually resolving conflicts
2012-10-01 15:19:05 -04:00
Chris Dodge
116c7ed31d
fix typo bug on PermissionDenied exception raising
2012-10-01 15:14:16 -04:00
Chris Dodge
d241d5553c
add error response when trying to remove a user which does not exist
2012-10-01 15:14:16 -04:00
Chris Dodge
ea8e875d7d
fix url mapping bug in url.py and include import reference to remove_user_from_course_group
2012-10-01 15:14:16 -04:00
Chris Dodge
580e620b22
add distinct 'admin' role separate from 'editors'. Only 'admins' should be able to add/remove editors.
2012-10-01 15:13:20 -04:00
Chris Dodge
27016465f4
support some simple authorization scheme to view/edit courses
2012-10-01 15:13:19 -04:00
Chris Dodge
84a0603754
shimmy around the upload_asset widget to at least not mess up the edit unit rendering. Now it'll always be at the bottom
2012-09-28 11:42:11 -04:00
Chris Dodge
1ee7646cfc
per feedback, use reverse() when generating callback urls. Also generate thumbnails when ingesting static images. We'll need these handy for the CMS UI.
2012-09-28 10:20:57 -04:00
Chris Dodge
adad3c550b
Support asset library references in CapaModule. Also some code refactoring/cleanup. Preparing for review and submit
2012-09-27 12:31:45 -04:00
Chris Dodge
39e64c1e56
work in progress. Need to commit before rebasing to master
2012-09-27 10:24:53 -04:00
Chris Dodge
7512b78eb2
work-in-flight for uploading/serving of static content for courses
2012-09-27 10:24:53 -04:00
Chris Dodge
85e6c23386
work-in-flight for uploading/serving of static content for courses
2012-09-27 10:24:53 -04:00
Calen Pennington
d4377d4ada
Make imports into the CMS ignore broken modules, while still loading bad xml as error modules in the LMS
2012-09-25 10:10:44 -04:00
Calen Pennington
33f9eae3e8
Set data_dir based on parent data_dir when cloning new content in the CMS
2012-09-25 10:10:44 -04:00
Calen Pennington
d8736914d4
Display an error descriptor for a preview when a descriptor can be loaded but a module can't
2012-09-25 10:10:44 -04:00
Calen Pennington
7d8095cd97
Initial port of templates into filesystem based storage
2012-09-25 10:10:44 -04:00
Calen Pennington
2554413291
Hook up link to create modules from templates
2012-09-25 10:10:44 -04:00
Calen Pennington
eb20e47160
Remove drag-and-drop handles from navigation until we actually are going to enable them
2012-09-25 10:10:44 -04:00
Calen Pennington
57d0dd1b0b
Pass location to get_containing_courses
2012-09-25 10:01:20 -04:00
Calen Pennington
335b4bb04b
Add method to find courses that contain a particular module location
2012-09-25 09:23:07 -04:00
Calen Pennington
2223d2007b
Only display the LMS link if it's set up, and don't error if it isn't
2012-09-25 09:18:54 -04:00
Calen Pennington
c7209a736e
Add links from the editing page for the cms to the corresponding page in the lms
2012-09-25 09:18:54 -04:00
Chris Dodge
a85b255271
Define 'system metadata' which should not be editable by the end user. When posting back metadata edits, we need to fetch a copy of the existing metadata and apply the changes.
2012-09-24 16:54:46 -04:00
Chris Dodge
e6445ceaa0
adjust implementation to reflect feedback from Calen. Also limit the jQuery selection to be within the metadata-edit region, just to avoid picking up other elements decorated with that attribute
2012-09-24 13:03:34 -04:00
Chris Dodge
03fbacd4e1
Merge branch 'cdodge/meta-data-cms-editing' of github.com:MITx/mitx into cdodge/meta-data-cms-editing
...
Conflicts:
cms/static/coffee/src/models/module.coffee
2012-09-21 15:24:09 -04:00
Chris Dodge
4b6eabec5f
Support editing of metadata on Sequences
2012-09-21 14:29:19 -04:00
Chris Dodge
d51f127afa
work-in-progress: As a problem author, I would like to be able to edit module metadata
2012-09-21 14:29:19 -04:00
Chris Dodge
a7b7fd52d9
Support editing of metadata on Sequences
2012-09-21 13:56:53 -04:00
Chris Dodge
1cd81a2a4f
work-in-progress: As a problem author, I would like to be able to edit module metadata
2012-09-21 09:14:28 -04:00
Victor Shnayder
27cd9c9f82
Remove unused 'module' parameter from replace_{static,course}_urls
2012-09-20 01:12:33 -04:00
Calen Pennington
d7dffb034b
Merge pull request #721 from MITx/feature/cale/cms-remove-wips
...
Feature/cale/cms remove wips
2012-09-18 12:44:08 -07:00
Calen Pennington
da4206f170
Remove scratch pad ui WIPs, until we decide we actually want it
2012-09-18 15:31:32 -04:00
Calen Pennington
1e54023d36
Don't make bottom save & update button as wip
2012-09-18 15:28:43 -04:00
Calen Pennington
07d4f43f80
Use display names for module edit links in the cms
2012-09-18 15:26:37 -04:00
Calen Pennington
d7cbd1c814
Don't do extra json conversion/de-conversion for data/children going to the cms
2012-09-18 15:07:35 -04:00
Calen Pennington
bb06a926bb
Make saving also save the children in the #sortable element (TODO: name the #sortable element better)
2012-09-18 13:19:30 -04:00
Calen Pennington
c1ce5a87ac
Move sequence nav into xmodule
2012-09-18 13:19:01 -04:00
Calen Pennington
0492c8e3bd
Enable wip flag
2012-09-18 13:17:52 -04:00
Calen Pennington
0758d21d6a
Re-enable wip markers in cms css
2012-09-18 10:44:12 -04:00
Calen Pennington
d17e2aada9
Remove trailing '/' from ajax_urls
2012-09-17 14:19:07 -04:00
Kyle Fiedler
7a248f0154
Added fixes to some style and one Cale fix to get things working properly
2012-09-11 14:05:07 -04:00
Victor Shnayder
6017aa698b
add ENABLE_DISCUSSION_SERVICE: "False" to cms config
2012-09-06 17:28:12 -04:00
Calen Pennington
7702907662
Make module system handle not having a user, and pass a user in when previewing in the cms
2012-09-05 13:29:30 -04:00
Victor Shnayder
f81f94ec67
Allow location url_names to contain ':', mapping to / on file load
...
* New format: {tag}://{org}/{course}/{category}/{name}[@{revision}]
* Updated tests, code
* Added test chapter with : in url_name in toy course
* added test html page with : in url_name
* added a note to docs
2012-08-27 11:37:22 -04:00
Kyle Fiedler
8a112b0cca
Added fix for cms sass
2012-08-21 16:01:48 -04:00
Kyle Fiedler
20d9e6e86d
Made save buttons blue, finished remaining askbot bugs, and removed all instances of -red
2012-08-20 15:45:05 -04:00
Calen Pennington
3b36fbf914
Move mitxmako out of common lib, and pass template rendering function into MongoModuleStore
2012-08-16 12:49:42 -04:00
Victor Shnayder
e4fb9ec63a
Remove is_staff from ModuleSystem
...
- now handling access control via get_module
2012-08-14 23:30:37 -04:00
Calen Pennington
c4bed2c128
Add basic authentication support for requests made to the xqueue server
2012-08-14 11:59:47 -04:00
Calen Pennington
91b6bb649c
Move queue interface url and auth into configuration, rather than hardcoding it
2012-08-14 11:59:46 -04:00