Commit Graph

809 Commits

Author SHA1 Message Date
Nimisha Asthagiri
4b53f4df27 Studio video upload CSV download changes. 2015-01-09 20:48:48 -05:00
Greg Price
8d8ca83d94 Add download button to Studio video upload page
The button downloads the CSV data containing all video URLs.
2015-01-09 19:45:31 -05:00
Brian Talbot
f128629f48 fixing styling and class syntax (to new FA-based classes) for missing UI elements 2015-01-09 12:01:26 -05:00
Chris
c5d2dd7536 Upgrading Font Awesome vendor files from 3.2.1 to 4.2.0
* updating vendor files
* updating class syntax (to new FA-based classes) for all UI elements
* correcting broken tests
2015-01-06 15:24:12 -05:00
Syed Hassan Raza
1e11baede4 Add aria-disabled attribute
TNL-997
2015-01-06 17:21:49 +05:00
Chris
578c96a8c3 Studio video upload feature template and styling
Co-authored-by: Greg Price <gprice@edx.org>
2014-12-15 13:22:02 -05:00
Greg Price
61cb51596d Add front end for Studio video upload feature
Co-authored-by: Chris <crodriguez@edx.org>
Co-authored-by: Mark Hoeber <hoeber@edx.org>
2014-12-15 13:09:59 -05:00
Jim
fb9320afc1 Limit Upload File Sizes to GridFS.
This commit puts a limit on the size of files that
course staff can upload to MongoDB. The limit is
enforced on the frontend in javascript as well
as backend via the /upload endpoint.

The limit is hard-coded in cms/envs/common.py and
may be changed according to the user's custom
needs.

If the user tries to upload a file that's too
large, an error message will pop up, with a
customizable url that pointing the user to an
external page with an alternate upload procedure.
This url is specified im cms/envs/common.py.
If not set, this url will not be displayed.
2014-12-09 13:30:45 -08:00
polesye
b6d8291996 TNL-772: Fix course time settings. 2014-11-20 14:56:12 +02:00
cahrens
08ce09bde7 Display validation messages for any xblock on the container page.
TNL-683
2014-11-06 15:48:55 -05:00
zubair-arbi
dd71ca0f8a fix click event for actual target
TNL-138
2014-11-03 09:37:02 -05:00
Daniel Friedman
355a3b45ad Merge pull request #5764 from edx/dan-f/highlight-active-unit-in-outline
Highlight active unit in studio container page's outline
2014-10-30 13:13:34 -04:00
Daniel Friedman
3b3b3dcd9e Show current unit in unit outline.
TNL-291
2014-10-30 11:08:49 -04:00
zubair-arbi
293ac9277a show warning on navigate away from import page only for first two stages
TNL-554
2014-10-24 16:22:33 +05:00
Oleg Marshev
f020d1c584 Show date and time on Schedules and Details in UTC (TNL-85). 2014-10-03 11:17:00 +03:00
cahrens
2286366c90 Remove unused files, add missing spec file. 2014-10-02 15:05:17 -04:00
zubair-arbi
fc7d491cdc show upload progress on import course view + display last import status on import page load
STUD-2017
2014-09-08 17:51:51 +05:00
Se Won Jang
11d260910f Implemented Validation for Course Advanced Setting
This commit adds validation for course advanced settings. Currently when course
administrators make invalid changes in the Settings/Advanced Settings tab,
they're not notified through a new modal window of the list of invalid settings
changes.

* Extending CourseMetadata
    - Previously, we only had update_from_json method in CourseMetadata.py,
      and it was only validating one field every POST request.
    - Now we have validate_and_update_from_json method that encapsulates the
      functionality of update_from_json into a validation call
    - To avoid discrepancy of validation standards between modules, validation
      uses the from_json method implemented to each field in xblock.

* Different Response in advanced settings ajax requests
    - After receiving a POST ajax request, course.py calls
      validate_and_update_from_json, and sends a json object of either:
        1) valid course metadata model
        2) error objects

* Error Messages shown in validation-error-modal
    - error objects passed through ajax are shown in a separate modal.
2014-08-26 11:24:38 -07:00
Christina Roberts
85ede381c5 Merge pull request #4923 from edx/zub/bugfix/tnl56-dragdropintocollapsedunit
populate children of unit collapsed drop location
2014-08-22 13:03:37 -04:00
cahrens
4946d601d2 Verify children are rendered before allowing drop into collapsed parent.
TNL-56
2014-08-22 11:20:13 -04:00
Andy Armstrong
3ac3a3152a Merge pull request #4913 from edx/andya/handle-component-errors
Fix Studio to gracefully handle xblock JavaScript errors
2014-08-21 18:20:16 -04:00
Andy Armstrong
d451c3e91d Fix Studio to gracefully handle xblock JavaScript errors
TNL-46

I've changed Studio to catch JavaScript errors when rendering xblocks, log the error, but to then continue as normal. This means that the user is still able to interact with the xblock to delete, duplicate etc. This seems reasonable as the xblock is only rendered as a WYSIWYG representation so if it isn't fully interactive that shouldn't be a big problem.
2014-08-21 17:31:19 -04:00
Ben McMorran
d943204199 Fix i18n on course outline and show error message for long names 2014-08-21 12:11:28 -04:00
Ben McMorran
baee2da278 Improve javascript test coverage 2014-08-21 12:11:28 -04:00
Ben McMorran
1778c15703 Refactor dismissNotification uses into shared logic in view_utils 2014-08-21 12:11:27 -04:00
Ben McMorran
63603d70f4 Refactor shared course creation validation into create_course_utils 2014-08-21 12:11:27 -04:00
Ben McMorran
2839ad8711 PR cleanup 2014-08-21 12:11:26 -04:00
Ben McMorran
6c8b418331 Test notification dismissal on course listing page 2014-08-21 12:11:25 -04:00
Ben McMorran
319b53bb3c Add jasmine test for notification dismissal on course outline 2014-08-21 12:11:24 -04:00
Ben McMorran
4fcb6c925a Add jasmine tests for course_rerun.js 2014-08-21 12:09:13 -04:00
Brian Talbot
d695de24dc Studio: addressing course re-run PR feedback 2014-08-21 12:09:13 -04:00
Mat Peterson
497bb39f88 Fixed bug in dismissing errored rerun notification and another with empty reruns fields 2014-08-21 12:09:12 -04:00
Mat Peterson
18a6a0487b added JS to outline page after bulk publishing rewrite 2014-08-21 12:09:12 -04:00
Mathew Peterson
9f8f64cffe Course Reruns UI
Studio: adding course re-run-centric static template rendering

* initial HTML for dashboard states
* initial HTML for new course re-run view/form
* initial HTML placeholder for outline alert UI

Conflicts:
	cms/templates/index.html

Studio: adding styling for course re-run-centric views

* adding new view/page mast-wizard type
* refactoring create course/element form styling
* adding course re-run view specific styling
* adding courses processing styling (w/ alerts and status)

Course rerun server-side updates: support display_name and DuplicateCourseError.

Studio: further design revisions and tweaks from feedback

* removing new window attribute from re-run control
* removing links from processing courses
* revising look/feel of dismiss action on dashboard + alert
* correcting font-weight of dashboard processing title
* adding extra space to course rerun action on dashboard
* re-wording secondary cancel action on rerun view

Conflicts:
	cms/templates/index.html

Added interation on unsucceeded courses in dashboard

Studio: removing 'rel=external' property from course re-run actions

Studio: removing hover styles for processing courses

Fixed value bug in split and set course listing to display run

moved task.py for rerun
2014-08-21 12:09:12 -04:00
Tim Babych
a986b46cb1 Merge pull request #4750 from edx/anton/publish-unit-from-course-outline
Publish sections/subsections/units from course outline.
2014-08-21 18:19:14 +03:00
polesye
732bcbdeb6 STUD-1911, STUD-1932: Publish sections, subsections and units from course outline. 2014-08-21 17:34:06 +03:00
cahrens
7ce547f0a5 Fix for "ui-sortable" existing in HTML within HTML module. 2014-08-20 15:54:43 -04:00
Ben McMorran
12a5781725 Add ability to set staff lock from course outline 2014-08-16 15:58:42 -04:00
cahrens
fffabeba4c Change wording of "remove staff lock" message. 2014-08-07 12:27:37 -04:00
Brian Talbot
90fe25b4ff Studio: revising size and field layout of outline settings modal 2014-08-07 12:27:36 -04:00
Ben McMorran
0b06712645 Remove specific wording for live content warning 2014-08-07 12:27:35 -04:00
Ben McMorran
e4635aaa69 Don't release date if it hasn't been changed.
STUD-2056
2014-08-07 12:27:35 -04:00
Ben McMorran
9b6c9fead9 Remove staff lock field when removing staff lock 2014-08-07 12:27:35 -04:00
cahrens
04be309ec4 Cleanup from rebase. 2014-08-07 12:27:28 -04:00
cahrens
fbc886aab9 Store the expanded locators on the page.
STUD-2038
2014-08-07 12:27:28 -04:00
Ben McMorran
d514f363fc Integrate UI text strings from doc
STUD-1856

Display "IS VISIBLE TO" when released and published

Reword staff lock prompt and notifications

Change "View Published Version" to "View Live Version"

Change "Unit Tree Location" to "Unit Location in Course"

Switch live content warning based on unpublished changes

Reword discard changes confirmation prompt

Reword unit location tip

Add "Edit the name" popup text for sections and subsections

Fix popup text for section and subsection titles

Add popup text for new section, subsection, and unit buttons

Reword popup for View Live button and add tests

Reword notification when removing staff lock

Update MessageView when has_changes changed

Change "Published" to "Published (not yet released)"

Change "Unpublished (Staff only)" to "Visible to Staff Only"
2014-08-07 12:27:26 -04:00
cahrens
650bdc2fe7 Drag and drop support on the course outline page. 2014-08-07 12:27:24 -04:00
polesye
e8ae3d1b4a Fix Group Configuration Page after rebase. 2014-08-07 12:27:23 -04:00
Alexander Kryklia
a63cc0b30f Edit section/subsection release dates and grading types.
Fix bok_choy test by changing course separator.
Change format of the modal title to '[Subsection/Section Name] Settings'.
Improve bok_choy test stability.
Studio: correcting modal window size name for outline settings editor
Specify full date in bok_choy tests.
Refactor bok_choy tests.
Remove .modal-editor from basic-modal.underscore
Set classes in modal window dynamically.
Studio: revising outline edit modal tip content and overall size
Rename isEditable to isEditableOnCourseOutline.
Interpolate display name.
Use graded instead of format as flag.
Studio: revising outline settings edit modal size
Fix selectors in bok_choy tests.
2014-08-07 12:27:17 -04:00
Ben McMorran
ce06e7f7e7 Fix delete messages in course outline
STUD-2019
2014-08-07 12:27:16 -04:00