Commit Graph

861 Commits

Author SHA1 Message Date
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
polesye
83fbdc2ac4 TNL-481: Add RequireJS Optimizer. 2014-10-20 17:33:21 +03: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
Andy Armstrong
8627fdef32 Support adding students to a cohort via the instructor dashboard.
TNL-163
2014-10-01 09:22:31 -04:00
Nimisha Asthagiri
2930e29a01 LMS-11373 Fix Studio drag and drop race condition. 2014-09-11 10:53:05 -04:00
Ben Patterson
32071af4b6 TE-468 JS test improvement: test for attributes specifically
This test is failing in a different test environment (Solano) because
the built html has reversed the order of the width and height attributes
from what we are expecting. This change focuses the assertion to the
pieces that are important (as noted in the unchanged comment above
the assertion).
2014-09-10 16:59:28 -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
Andy Armstrong
d00bf940ae Merge pull request #4941 from edx/zub/story/tnl56-dragdropintocollapsedunittests
add tests for drag and drop unit into collapsed subsection on course out...
2014-08-26 19:13:26 -04: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
zubair-arbi
b6a2330631 add tests for drag and drop unit into collapsed subsection on course outline page 2014-08-26 18:19:23 +05:00
Alexander Kryklia
095b07275e Unflag Group Configurations, Render only existing children in staff view of split_test. 2014-08-22 16:43:54 -04: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
Oleg Marshev
7506a479c6 Allow one group in a group configuration. 2014-08-22 11:52:35 +03: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
bb90c30767 Make refresh clickable while courses are processing 2014-08-21 12:11:30 -04:00
Ben McMorran
ab3a8c96d3 Add test for failed course creation 2014-08-21 12:11:28 -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
7bf9c1a7fd Add test for non URL characters 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
Mat Peterson
0088978281 Set GlobalStaff permissions on reruns 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
8e3b532768 Fixed bug in dismissing rerun failure notification 2014-08-21 12:09:12 -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
Oleg Marshev
a94e942480 BLD-1125: Validation of content experiments after managing a group. 2014-08-14 16:34:21 +02:00
Tim Babych
7234d39bcc Documentation: create_sinon.js - update referenced JIRA issue. 2014-08-13 17:57:51 +03:00
cahrens
fffabeba4c Change wording of "remove staff lock" message. 2014-08-07 12:27:37 -04:00
cahrens
59d44c54b1 Updates after rebase. 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