Peter Fogg
7fc8fcde7b
Merge pull request #752 from edx/peter-fogg/unlimited-graceperiod
...
Allow grace periods of > 24 hours.
2013-08-21 13:00:15 -07:00
Peter Fogg
eb5b6cc6ea
Allow grace periods of > 24 hours.
2013-08-21 14:37:12 -04:00
Peter Fogg
32de5aa09f
Fix up some SASS issues.
2013-08-21 11:03:40 -04:00
Peter Fogg
b539a4cb94
Update copy to include PNGs, add tests, remove default MIME type.
2013-08-21 09:42:01 -04:00
Peter Fogg
f9aecb2778
Add support for PNGs as course images.
...
Also change the file uploader to accept multiple file types.
2013-08-21 09:42:00 -04:00
Peter Fogg
e4302e62d2
Allow course image uploads in the settings page.
...
Authors can upload an image (or choose an existing one) from the
settings page, using the in-context uploader from PDF
textbooks. Includes tests for backwards compatibility with XML courses
-- they used a magic filename (images/course_image.jpg) which is
mapped to a location in the Mongo contentstore.
Still needs some UX work, though the backend plumbing is there.
2013-08-21 09:42:00 -04:00
Peter Fogg
ce1a13f32c
Generalize file uploader.
...
Previously the file upload dialog was PDF- and textbook-specific. The
changes are adding parameters to the FileUpload model for the file
type, and adding an onSuccess callback to the UploadDialog view. Also
moved upload-specific SASS into its own file.
2013-08-21 09:42:00 -04:00
Peter Fogg
38165efd18
Fix failing grade label being editable but not saved.
2013-08-20 12:42:36 -04:00
Peter Fogg
a93d7229ac
Fix grade range names not being editable.
2013-08-15 16:30:14 -04:00
chrisndodge
ece4ec3f57
Merge pull request #533 from edx/fix/cdodge/use-static-shorthand-for-asset-urls
...
To increase portability of courses, have the Asset Index page display the classic /static/... URL shorthand.
2013-08-08 06:32:35 -07:00
David Baumgold
6e784d606f
Merge pull request #596 from edx/db/ff-subsection-datetime-bug
...
Fix Firefox subsection datetime bug
2013-08-07 09:25:17 -07:00
Peter Fogg
9c84440501
PR comment cleanup.
2013-08-06 13:23:33 -04:00
Brian Talbot
3e654550c8
Studio: corrects minor styling/formatting for multi-value metadata fields
2013-08-06 13:23:33 -04:00
Brian Talbot
99458e7223
Studio: revises visual layout/presentation of multi-value metadata fields
2013-08-06 13:23:33 -04:00
Peter Fogg
08c5f955aa
Unstyled prototype for new list editor design.
2013-08-06 13:23:33 -04:00
Peter Fogg
74b815274f
Add a list view for metadata editor.
...
This is to be used with VideoAlpha's functionality allowing a choice
of multiple HTML5 video sources.
2013-08-06 13:23:33 -04:00
David Baumgold
55b68168e7
Cleanup/reformatting
2013-08-06 11:29:45 -04:00
Chris Dodge
b8bc1d0171
remove redudent asset_url return value when uploading files
2013-08-05 16:15:03 -04:00
Peter Fogg
1ebedc9a4b
Don't show update in the DOM on AJAX error.
2013-08-01 17:17:36 -04:00
Peter Fogg
d2194b2211
Notifications for course updates.
2013-08-01 13:23:41 -04:00
Peter Fogg
4a77693f4a
Show notification on course outline reorder.
2013-08-01 09:41:27 -04:00
David Baumgold
4f5c2cce75
Re-added missing render() call
2013-07-30 11:22:13 -04:00
David Baumgold
372992244c
Removed course_info_handouts AJAX load
2013-07-29 14:30:16 -04:00
David Baumgold
5b9e283552
Load course info update template on page instead of via AJAX
2013-07-29 14:29:04 -04:00
David Baumgold
eac14615cd
Load advanced_entry template on page, rather than via AJAX
2013-07-29 14:28:40 -04:00
Peter Fogg
6eac259c08
Merge pull request #415 from edx/peter-fogg/notification-stories
...
Peter fogg/notification stories
2013-07-23 09:05:10 -07:00
David Baumgold
b51aa31231
PDF uploader dialog refers to "PDF" instead of "asset"
2013-07-22 12:54:16 -04:00
Peter Fogg
c4a21fc906
Merge pull request #403 from edx/peter-fogg/fix-stud-421
...
Validate date/time settings when typed in directly.
2013-07-22 08:41:04 -07:00
Peter Fogg
75edc65748
Use Backbone notifications for setting graded status.
2013-07-22 11:37:09 -04:00
Peter Fogg
58f147c161
Change delete asset prompt to Warning type for consistency.
2013-07-18 11:47:40 -04:00
Peter Fogg
5c0fd18910
Validate date/time settings when typed in directly.
...
The changeTime event isn't fired when the user types in the field, but
only when clicking on the time in the dropdown. I'd consider this a
timepicker bug, but for now we can just listen to the user typing in
the field and update the value (and thus validate) like we do with
other field types.
2013-07-15 11:00:43 -04:00
David Baumgold
a6f349dab9
Studio i18n
2013-07-12 16:25:39 -04:00
Peter Fogg
8b13ff3dff
Merge pull request #376 from edx/peter-fogg/rename-notification-save
...
Rename CMS.Views.Notification.Saving to Mini.
2013-07-11 14:25:44 -07:00
Peter Fogg
5b4524d75e
Merge pull request #301 from edx/peter-fogg/explicit-course-settings
...
Peter fogg/explicit course settings
2013-07-11 14:09:07 -07:00
Peter Fogg
6e94960488
Fix many validation bugs and failing tests.
2013-07-11 16:09:59 -04:00
Peter Fogg
c2f0b7d4e9
Fix validation in many cases, and ensure that the notification bar pops up correctly.
2013-07-11 15:53:51 -04:00
Peter Fogg
9c8f63726f
Rename CMS.Views.Notification.Saving to Mini, in line with its more diverse modern usage.
2013-07-11 13:13:08 -04:00
Peter Fogg
f3837009af
Remove ellipsis from internationalized notifications.
2013-07-11 11:26:17 -04:00
Peter Fogg
ec13349ae3
Remove outdated deleteKeys from advanced settings.
2013-07-11 09:11:59 -04:00
Peter Fogg
3d4f9268da
Make sure that changing grading cutoffs triggers a save confirmation, and reliable reverting of changes.
2013-07-11 09:11:59 -04:00
Peter Fogg
9094f1890b
Change course settings to require explicit save.
...
Rather than asynchronously saving when a setting is updated, we now
prompt the user to confirm their changes and only persist the data if
they hit the save button. Lettuce tests are updated to expect this
behavior and some new ones are added.
2013-07-11 09:11:07 -04:00
Peter Fogg
164a469e9d
Factor showNotificationBar out into ValidatingView.
...
When all settings require an explicit save, this functionality will be
shared between each view (with slight changes, e.g. click handlers.)
2013-07-11 09:11:07 -04:00
David Baumgold
1a0d6d21bb
Forgot to call show() on saving notification
2013-07-09 19:16:43 -04:00
David Baumgold
eba5928009
Added a comment
2013-07-09 19:16:43 -04:00
David Baumgold
fe8587566f
All textbook chapters must have name and asset_path
...
Previously, for a textbook with only one chapter, we allowed that chapter to
not have a title -- under the assumption that it would be shown as a monolithic
textbook, instead of a chaptered textbook. However, the UI doesn't support that
idea, the code was getting a bit messy, and there was no real benefit to the idea
of not having to specify a chapter title. This commit removes that special case,
and ensures that all textbook chapters must have a name and an asset path.
2013-07-09 19:16:43 -04:00
David Baumgold
e7088d50fd
Display error message when trying to upload a non-PDF file as a PDF textbook
2013-07-09 19:16:11 -04:00
David Baumgold
ca2339f15e
Remove unneeded arguments
...
They are the defaults now
2013-07-09 19:16:10 -04:00
Frances Botsford
b41d23747a
PDF Textbooks: implemented "View Live" link
2013-07-09 19:16:09 -04:00
David Baumgold
2a92a14054
Wrote simple lettuce tests for pdf textbooks
2013-07-09 19:16:09 -04:00
David Baumgold
2b9ed46440
Save chapter information more frequently
2013-07-09 19:16:09 -04:00