Kyle McCormick
6d78f6aab2
fix: staff debug actions depended on legacy courseware URL ( #26658 )
...
The Staff Debug Actions didn't work in the Learning MFE
because the underlying JS depended on the URL being
formatted as /courses/<course_key>/... in order to
parse out the course key. This worked in the legacy
experience, but breaks in the chromeless xblock view,
which is rendered under the URL /xblock/<usage_key>/...
The fix is to explicitly pass the course key into the
templated courseware HTML as a data attribute.
TNL-7955
2021-02-22 15:14:31 -05:00
Ahtisham Shahid
19137e2737
Fixed staff debug on instructor page
...
added unit test js
fixed test js
updated test commetn
updated xss
2020-02-14 12:20:14 +05:00
Michael Terry
c9318c3e51
Convert learner_dashboard to es2015
2018-03-02 08:57:34 -05:00
Eric Fischer
5bc6b31e29
eslint --fix
2017-12-08 14:38:41 -05:00
noraiz-anwar
d1da044520
Throw error if messaging queue is not available
2017-08-03 14:11:25 +05:00
Sanford Student
932776159c
EDUCATOR-165 instructor task and UI for overriding learner grades.
2017-07-18 13:51:56 -04:00
Nimisha Asthagiri
aa000c1a3d
Support for rescoring a problem only if the new score is higher
...
TNL-5046
2016-10-20 15:08:54 -04:00
Brian Jacobel
ae8bc20b36
Run eslint autofixer on /lms
2016-08-05 15:29:20 -04:00
Andy Armstrong
d462c73fd8
Use the UI Toolkit's spec helpers.
2016-06-21 10:16:00 -04:00
Robert Raposa
d54f79f5bf
Switch dashboard from GET to POST.
2016-06-10 13:14:19 -04:00
muzaffaryousaf
1b0cda2430
Js test fixes for lms and lms-coffee.
2016-04-22 19:09:33 +05:00
vkaracic
0fb1bf6ff9
Fixed confirmation message display for StaffDebug actions
...
This is an addition to TNL-394:
https://openedx.atlassian.net/browse/TNL-394
Fixed the confirmation messages that didn't appear when an escapable character
is in the location name of the problem.
2015-08-04 07:59:00 +00:00
Adam
2735b2b5bb
Revert "Decorated instructor dashboard with sudo_required."
2015-07-17 12:11:38 -04:00
Vedran Karačić
c0de94295a
Merge pull request #8953 from edx/vkaracic/TNL-394-additional-testing
...
TNL-394: Additional testing
2015-07-17 16:20:46 +02:00
vkaracic
f5234b1a9b
TNL-394: Additional testing
...
This is an additional test for:
https://openedx.atlassian.net/browse/TNL-394
to test if the get_user function escapes values correctly.
2015-07-17 07:28:25 +00:00
Waheed Ahmed
bc052db1ee
Added DjangoSudo functionality for instructor dashboard and course team page
2015-07-16 11:14:11 +05:00
vkaracic
3ec3cf64cc
Added sanitization of id names
...
This is a fix for
https://openedx.atlassian.net/browse/TNL-394
escaped all escapable characters in id name strings.
2015-07-14 08:31:19 +00:00
Andy Armstrong
8627fdef32
Support adding students to a cohort via the instructor dashboard.
...
TNL-163
2014-10-01 09:22:31 -04:00
Calen Pennington
240d91daeb
Merge remote-tracking branch 'edx/master' into opaque-keys-merge-master
...
Conflicts:
cms/djangoapps/contentstore/management/commands/tests/test_import.py
cms/djangoapps/contentstore/tests/test_import.py
common/lib/xmodule/xmodule/modulestore/tests/test_mongo.py
common/lib/xmodule/xmodule/modulestore/xml_importer.py
lms/djangoapps/bulk_email/tests/test_course_optout.py
lms/djangoapps/bulk_email/tests/test_email.py
lms/djangoapps/bulk_email/tests/test_err_handling.py
lms/djangoapps/class_dashboard/tests/test_dashboard_data.py
lms/djangoapps/courseware/courses.py
lms/djangoapps/django_comment_client/base/views.py
lms/djangoapps/instructor/tests/test_email.py
lms/djangoapps/instructor/tests/test_legacy_anon_csv.py
lms/djangoapps/instructor/tests/test_legacy_download_csv.py
lms/djangoapps/instructor/tests/test_legacy_email.py
lms/djangoapps/instructor/tests/test_legacy_enrollment.py
lms/djangoapps/instructor/tests/test_legacy_forum_admin.py
lms/djangoapps/instructor/tests/test_legacy_gradebook.py
lms/djangoapps/instructor/tests/test_legacy_raw_download_csv.py
lms/djangoapps/instructor/tests/test_legacy_reset.py
lms/djangoapps/instructor/views/api.py
lms/djangoapps/instructor/views/instructor_dashboard.py
lms/djangoapps/instructor/views/legacy.py
lms/templates/courseware/instructor_dashboard.html
2014-05-13 15:30:56 -04:00
Calen Pennington
a247bb7b9e
Fix StaffDebug javascript tests
2014-05-13 12:57:22 -04:00
Sarina Canelake
a5381db070
Only show banner on legacy dash for edx.org
...
LMS-1296
2014-05-12 12:42:19 -04:00
Carson Gee
b3ec4d1b6b
Switching to new dashboard API and adding rescore to actions list
2014-05-08 19:03:14 -04:00
Carson Gee
2998a2e9b7
Code review changes
...
i18n
2014-05-07 16:16:37 -04:00
Carson Gee
5775634482
Added jasmine tests and factored out javascript functions to new file
2014-04-23 14:56:32 -04:00