Commit Graph

6956 Commits

Author SHA1 Message Date
David Ormsbee
05c5ac3482 Allow people who haven't activated to reset their password. 2012-10-11 11:04:18 -04:00
Tom Giannattasio
00e2f093b9 removed extra padding on nested sections 2012-10-10 16:19:03 -04:00
Tom Giannattasio
6f60af71fd tweaked collapsible selector to target the proper section; functionality like this should have its own class to avoid selector conflicts, but it may be too late to fix this now 2012-10-10 16:14:32 -04:00
Victor Shnayder
db17580710 Chemcalc refactor, improvement
* Move tests into a separate file
* add a chemical_equations_equal function to compare equations, not expressions
* rename some internal functions with a leading _
2012-10-10 15:49:09 -04:00
Victor Shnayder
d10b568c13 Add chemcalc to capa package, to context for customresponse 2012-10-10 15:49:09 -04:00
Victor Shnayder
c30f57022b Move more tests around, start prep for inputtype refactor 2012-10-10 15:48:33 -04:00
Александр
f374a33606 added not hidden field 2012-10-10 20:54:17 +03:00
Calen Pennington
bfb49133d1 Merge pull request #843 from MITx/feature/cdodge/subsection-edit-page
Feature/cdodge/subsection edit page
2012-10-10 10:26:27 -07:00
Calen Pennington
7c3d5d58b7 Fix up how parent locations interact w/ draft mode when creating new units 2012-10-10 12:49:53 -04:00
Calen Pennington
5f0e237ab0 Store the id of the publishing user on publish 2012-10-10 12:49:53 -04:00
Calen Pennington
0aa79ed479 Remove extraneous TODO comment 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
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
05c02f0d5f Fixing tests from changes around draft mode 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
Александр
42bd9e8b9e added test information 2012-10-10 19:36:03 +03:00
Александр
c4359b6f24 added crystresponse 2012-10-10 19:35:09 +03:00
Calen Pennington
bb50402b3f Merge pull request #850 from MITx/feature/jarv/staff-account
Adding django-admin/rake command to set the staff bit
2012-10-10 06:55:41 -07:00
John Jarvis
bd45dbd8d4 Adding django-admin/rake command to set the staff bit 2012-10-10 09:46:30 -04:00
kimth
61b3857134 Don't function call on null 2012-10-10 03:46:17 +00:00
Александр
708c11a1ea added input type 2012-10-09 19:13:54 +03:00
David Ormsbee
57e4f0dd6b Merge pull request #839 from MITx/feature/victor/per-course-status
Feature/victor/per course status
2012-10-09 08:29:22 -07:00
Александр
758e76dc14 added js to input for cr 2012-10-09 15:08:43 +03:00
Victor Shnayder
9e02b3ce34 Move tests around:
- move progress tests into test_progress.py
- move grader tests into test_graders.py
- move the capa tests into capa/tests/
2012-10-08 15:52:18 -04:00
Victor Shnayder
bcf835532b Pass course_id instead of course to get_site_status_msg
* makes testing easier -- don't need course objects
2012-10-08 14:06:58 -04:00
Victor Shnayder
61e574ee22 Revert "Make script type checking more strict"
Don't want to break existing problems.

This reverts commit 811422a18d.
2012-10-08 13:05:30 -04:00
Victor Shnayder
811422a18d Make script type checking more strict
- check for known script type instead of ignoring js and perl
2012-10-08 10:59:39 -04:00
Victor Shnayder
3765226b85 shorter impl of is_file 2012-10-08 10:58:59 -04:00
Victor Shnayder
ef1dda67b3 formatting in xqueue_interface.py 2012-10-08 10:58:38 -04:00
Victor Shnayder
93cc9a8e5b formatting cleanup in responsetypes and inputtypes 2012-10-08 10:58:04 -04:00
Victor Shnayder
405012587d formatting 2012-10-08 10:55:45 -04:00
Victor Shnayder
bd7c00ea22 formatting cleanup in correctmap.py 2012-10-08 10:55:30 -04:00
Victor Shnayder
775456b987 formatting cleanups in capa_problem.py 2012-10-08 10:54:59 -04:00
Victor Shnayder
c3e07660df formatting cleanup in calc.py 2012-10-08 10:51:37 -04:00
Chris Dodge
0cf6a1179a wip - trigger display message when release data is different than parent release date 2012-10-08 10:43:46 -04:00
Victor Shnayder
ddcd166b72 make tests pass without LMS settings 2012-10-07 23:09:26 -04:00
Victor Shnayder
9e43664498 Add support for per-course site status.
Now looks for a status_message.json file, looks for 'global' and ${course.id} keys. Return any global message and any course-specific message, joined by <br>.

fab files need to be updated to use this new format (new filename, possibly also help manage per-course messages, or at least test for valid json)
2012-10-07 23:09:26 -04:00
Bridger Maxwell
62400c4c92 Added starting_index conf to AssignmentFormatGrader. Added a bit of forwards compatibility for new grading policies. 2012-10-06 14:52:48 -04: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
Victor Shnayder
7e304abec2 Merge pull request #833 from MITx/feature/rocha/openid-djangostore
Fix error when creating empty associations
2012-10-05 10:57:45 -07:00
Carlos Andrés Rocha
193ca7b34b Fix error when creating empty associations
Also renamed some variables to make them more distinguishable
2012-10-05 13:46:49 -04:00
Victor Shnayder
8578320e3d move output right/wrong image to top left of each test instead of center 2012-10-05 13:06:26 -04:00
Victor Shnayder
9496064943 Merge pull request #821 from MITx/feature/rocha/openid-djangostore
Use django cache for OpenID provider store
2012-10-05 08:41:18 -07:00
Chris Dodge
758c446929 wip on setting date/times on subsection page 2012-10-05 09:56:07 -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