Chris Dodge
a60ec13d3a
fix bug with editing HTML. The save() method should now return a dictionary, not a string
2012-10-02 11:58:24 -04:00
Calen Pennington
1d8d82b7fc
Set id's on newly created components so that they are immediately editable
2012-10-01 16:06:18 -04:00
Calen Pennington
f4b8bfe428
Turn off dumping the course back into git
2012-10-01 15:32:29 -04:00
Calen Pennington
91fd6170b8
Make cloned items used uuid4 hexes for names, to ensure uniqueness. TODO: Make prettier names
2012-10-01 15:28:12 -04:00
Calen Pennington
bfeccd88f8
Enable creation of new components
2012-10-01 15:28:07 -04:00
Calen Pennington
8ca10a8356
Separate unit page from vertical implementation for editing
2012-10-01 15:19:35 -04:00
Calen Pennington
82a28f069d
Make overview page conform to section/subsection/unit format. Breaks CMS editing of existing courses
2012-10-01 15:18:50 -04:00
Calen Pennington
b305c0bae2
Make drag/drop save content immediately in seqs and verticals
2012-10-01 15:17:41 -04:00
Calen Pennington
ce3638538c
Make inline editing save to mongo and then update the preview
2012-10-01 15:17:41 -04:00
Calen Pennington
dc062f5668
Make edit and delete buttons show up on cms unit editing page
2012-10-01 15:17:41 -04:00
Calen Pennington
8a131446fe
First pass at integrating the new unit editing wireframes with the CMS
2012-10-01 15:17:40 -04:00
Calen Pennington
d534855b54
Make the overview page pull data from the db, rather than static content
2012-10-01 15:16:30 -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
Calen Pennington
ea8ab0f809
Add basic overview.html from tom's wireframe to CMS
2012-10-01 15:12:29 -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
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
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
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
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
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
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
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
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
Victor Shnayder
e4fb9ec63a
Remove is_staff from ModuleSystem
...
- now handling access control via get_module
2012-08-14 23:30:37 -04:00
ichuang
4240830e68
cms also needs replace_static_urls call fixed
2012-08-10 15:25:41 -04:00
Victor Shnayder
b46172da9b
Rename module.name and descriptor.name to url_name
...
* update templates and code references
* also a display_name property that defaults to cleaned url_name
2012-08-03 11:36:54 -04:00
Victor Shnayder
3b6f33f5a7
Fix github_sync tests
...
* CMS no longer syncs, it just imports when it gets a commit note
from github
2012-08-02 14:26:24 -04:00
Calen Pennington
477b7062d4
Merge pull request #335 from MITx/feature/cale/cms-no-roundtrip
...
Only import from github when changes are made, rather than exporting. Th...
2012-08-02 10:39:01 -07:00
Calen Pennington
052ae88111
Only import from github when changes are made, rather than exporting. This prevents bugs in the cms from preventing changes via git
2012-08-02 09:19:25 -04:00
Victor Shnayder
2f4bf5f606
Minor fixes to cms
...
* make logging work properly in cms, dev
* fix a comment
2012-08-01 19:25:47 -04:00
Victor Shnayder
119ab639d0
make cms users look like staff by default
...
* so they get the staff view of problems
* does NOT actually set User.is_staff
2012-08-01 11:48:18 -04:00