Commit Graph

6541 Commits

Author SHA1 Message Date
Calen Pennington
ebf2f7de60 Make enum for unit states 2012-10-10 12:49:52 -04:00
Calen Pennington
0aa79ed479 Remove extraneous TODO comment 2012-10-10 12:49:52 -04:00
Calen Pennington
bd5d5f1419 Make location view state update as the state changes on the unit page 2012-10-10 12:49:52 -04:00
Tom Giannattasio
81b6d75796 tweaked disabled button 2012-10-10 12:49:52 -04:00
Calen Pennington
bfb5f333a9 Disable save draft button when there is nothing to save 2012-10-10 12:49:52 -04:00
Calen Pennington
28ea662855 Save a draft before publishing it 2012-10-10 12:49:52 -04:00
Calen Pennington
7ccdc5d42a Grey out inactive items when changing state in unit editing view 2012-10-10 12:49:52 -04:00
Calen Pennington
9d6a7ffed1 Link release dates message to correct subsection edit page 2012-10-10 12:49:52 -04:00
Calen Pennington
5dcf388b1c Add line numbers and wrapping to xml, json, and html editors 2012-10-10 12:49:52 -04:00
Calen Pennington
e99aa117d7 Make publish and unpublish recursive operations 2012-10-10 12:49:51 -04:00
Calen Pennington
b079b336db Make updating children and data of a draft make the correct checks for whether the document is already a draft or not 2012-10-10 12:49:51 -04:00
Calen Pennington
310f26a6de Basic implementation of draft, public and private modes 2012-10-10 12:49:51 -04:00
Calen Pennington
2b030f7aaf Clean up how tests use modulestores 2012-10-10 12:49:51 -04:00
Calen Pennington
05c02f0d5f Fixing tests from changes around draft mode 2012-10-10 12:49:51 -04:00
Calen Pennington
1585286c55 Pass onDelete to newly created ModuleEdit views 2012-10-10 12:49:51 -04:00
Calen Pennington
b6c93b61fd Mark published_date as system metadata 2012-10-10 12:49:51 -04:00
Calen Pennington
1328fc5ac0 Store published date in module metadata, and display it on draft pages 2012-10-10 12:49:51 -04:00
Calen Pennington
1a8532d8ad Make it possible to create, edit, and publish a draft 2012-10-10 12:49:51 -04:00
Calen Pennington
8da3723445 Clone the full item as a draft if it doesn't already exist when doing a draft editing operation 2012-10-10 12:42:15 -04:00
Calen Pennington
75f8b7c98d Add Draft module store that is used whenever any item is update in the CAS (but not during import, and not for templates) 2012-10-10 12:42:14 -04:00
Calen Pennington
6079c57111 Merge pull request #846 from MITx/feature/tomg/waiting-class
waiting class added
2012-10-09 12:39:10 -07:00
Tom Giannattasio
9cb6331c06 removed users template 2012-10-09 15:32:23 -04:00
Calen Pennington
008b8a686d Merge pull request #844 from MITx/feature/cdodge/cms-unified-user-database
adhere to the naming conventions of user groups (instructor_* and staff_...
2012-10-09 12:29:30 -07:00
Tom Giannattasio
002f813b75 pulled spinner out into its own class in case we need to add it directly 2012-10-09 15:28:53 -04:00
Tom Giannattasio
2441f8960e added waiting classes 2012-10-09 15:26:12 -04:00
Chris Dodge
a80e8ce3d5 respond to Cale pull request comments. Update access.py (LMS) to use the same 'check for legacy group name first' logic. Add SECRET_KEY setting to the CAS project so that auth tokens from CAS are accepted in the LMS 2012-10-09 15:11:07 -04:00
Chris Dodge
68945fdc77 adhere to the naming conventions of user groups (instructor_* and staff_* of the LMS AuthZ implementation). While we're keeping our authz.py implementation - which is duplicative of LMS's access.py - in order to minimize code churn/risk-of-regression, there is data compatibility so the two systems will interpret the data the same way 2012-10-09 13:14:31 -04:00
Calen Pennington
f43c340c2b Merge pull request #835 from MITx/feature/tomg/cas-toast
added toast notification styles and basic js implementation
2012-10-09 06:25:03 -07:00
Tom Giannattasio
446915189f added toast notification styles and basic js implementation 2012-10-09 09:15:10 -04:00
Calen Pennington
5df71a0c3e Merge pull request #836 from MITx/feature/tomg/cms-ff-styles
cross-browser css3
2012-10-09 06:10:10 -07:00
Calen Pennington
97fb8be6ba Merge pull request #832 from MITx/feature/cdodge/subsection-edit-page
Feature/cdodge/subsection edit page
2012-10-09 06:08:15 -07:00
Chris Dodge
d55769861e check if 'delete metadata field' is not in the list of system metadata 2012-10-05 14:45:07 -04:00
Calen Pennington
0ef56bb06c Merge pull request #830 from MITx/feature/tomg/cms-style-cleanup
Random style updates
2012-10-05 11:06:06 -07:00
Chris Dodge
95e15c4455 time/date setting on Release Date and Due date 2012-10-05 13:17:51 -04:00
Tom Giannattasio
24247dc0b9 cross-browser css3 2012-10-05 10:29:36 -04:00
Chris Dodge
758c446929 wip on setting date/times on subsection page 2012-10-05 09:56:07 -04:00
Tom Giannattasio
1e68123e09 fixed sign up to log in text 2012-10-05 09:21:20 -04:00
Tom Giannattasio
842306addd updated styles and template for unit location tree 2012-10-05 09:18:10 -04:00
Tom Giannattasio
fbae5d9e71 fixed courseware overview search positioning 2012-10-04 17:08:19 -04:00
Tom Giannattasio
61ea9d3678 fixed log in header and overview search 2012-10-04 17:08:19 -04:00
Tom Giannattasio
ebd3f28de8 added padding to xmodule units 2012-10-04 17:08:19 -04:00
Chris Dodge
3b38070d38 Merge branch 'feature/cale/cms-master' of github.com:MITx/mitx into feature/cdodge/subsection-edit-page 2012-10-04 14:54:50 -04:00
Chris Dodge
c3aa86f1fb remove template_dir_name from Vertical and Sequence descriptors so that it uses the default template dir 2012-10-04 14:53:43 -04:00
Calen Pennington
580164e192 Merge pull request #826 from MITx/feature/cdodge/subsection-edit-page
Feature/cdodge/subsection edit page
2012-10-04 11:01:37 -07:00
Chris Dodge
fe42f6fd22 address pull request feedback 2012-10-04 14:00:25 -04:00
Chris Dodge
48d84c2e3d support reordering of units inside subsection list 2012-10-04 13:44:46 -04:00
Chris Dodge
d93bf63dff save display_name and subtitle metadata 2012-10-04 13:05:45 -04:00
Chris Dodge
29c142e3dc need to wire through the new unit template location to the edit unit page 2012-10-04 11:09:28 -04:00
Chris Dodge
322c4c0ba6 Merge branch 'feature/cale/cms-master' of github.com:MITx/mitx into feature/cdodge/subsection-edit-page
Conflicts:
	cms/djangoapps/contentstore/views.py
	cms/templates/widgets/units.html
2012-10-04 11:03:37 -04:00
Chris Dodge
45b82f3a45 update creating a new unit to use an empty template. Also twiddle the units.html and base.js where we put the unit Location on the <li> element 2012-10-04 10:58:48 -04:00