Commit Graph

1448 Commits

Author SHA1 Message Date
Albert (AJ) St. Aubin
1b298deaad Suppress Hotjar on demographic collection modal 2020-09-28 13:29:21 -04:00
edX Transifex Bot
d74f6d9800 fix(i18n): update translations 2020-09-27 17:34:20 -04:00
Thomas Tracy
331952550c Modal Bugfixes (#25101)
- fixes an issue with the keyboard not properly opening the multiselect
- Adds missing aria-label
- properly disables "clear all" on multiselect when theres an error
2020-09-25 15:27:14 -04:00
Justin Hynes
055595e39e MICROBA-595 | Add default option to work status choices
[MICROBA-595]
- Add default option to work status choices
2020-09-24 15:30:35 -04:00
Thomas Tracy
132898b991 Trap focus in modal and other a11y work (#25063) 2020-09-23 14:51:08 -04:00
Nimisha Asthagiri
8739eac924 Merge pull request #24207 from shadinaif/shadinaif/instructor_dashboard_js
Resolve errors in browser console caused by Instructor Dashboard
2020-09-23 07:04:57 -04:00
Thomas Tracy
a7d7de3418 Change around POST code for demographics modal (#25019)
* Change around POST code for demographics modal

CSRF tokens were not working on stage when the user does not have an
entry in the demographics db when using the modal. This restructures the
code a bit and hopefully fixes the problem.

* Remove logs

* Rework things into smaller digestable functions
2020-09-21 12:56:06 -04:00
Ahtisham Shahid
cf735e411d New vs Old Data-Download UI. (#24840)
Created new UI for Data download in instructors dashboard

Co-authored-by: Awais Jibran <awaisdar001@gmail.com>
2020-09-21 17:25:47 +05:00
Shadi Naif
6c65e10826 Avoid processing unavailable tabs in instructor dashboard 2020-09-21 12:16:28 +03:00
Shadi Naif
03c344f005 Remove unused InstructorAnalytics from JS file 2020-09-21 12:16:28 +03:00
edX Transifex Bot
172d963635 fix(i18n): update translations 2020-09-20 17:33:24 -04:00
Thomas Tracy
2bac015648 Add CSRF to post requests to demographics (#24999)
* Add CSRF to post requests to demographics

* Reorganize code
2020-09-17 09:35:02 -04:00
Thomas Tracy
35bbf068a6 Add CSRF code to demographics modal (#24998)
* Add CSRF tokens to demographics modal PATCH

We have temporarilly copied over the CSRF code from frontend-platform to
use with the demographics modal. This code is most likely temporary and
is not maintained like frontend-platform.
2020-09-16 15:12:07 -04:00
Thomas Tracy
edc9705af7 Fix demographics wizard bug - pages not showing. (#24983)
* Fix demographics wizard bug - pages not showing.

This bug was caused by uglifyjs in 2 ways:
- uglify strips out type information. This was mitigated by using the
  React.Children tools to prevent the type information from being
striped out.
- uglify mangles names of components. We were searching for components
  by a string of the name. This was solved by using the name property
directly off of the component, as opposed to a string.

* Clean up the children function
2020-09-15 13:52:58 -04:00
Thomas Tracy
0151b80ab7 A modal used to collect demographics information (#24956)
* A modal used to collect demographics information

Add checkmark to final page (#24957)

Remove themeing to get ready for staging

MICROBA-574 | Dismiss CTA after learner finishes answering modal questions (#24965)

[MICROBA-574]
- Dismiss CTA after learner finishes answering demographics questions
- Cleanup comments

* Various initial bugfixes

- fixes 2 issues with the multiselect dropdown erasing state
- prevents input higher than 255 characters in the self describe
- fixes 400 errors when the user selects a default option
- Removes additional page count section

- Re-adding deleted JS file. Can't clean this up until after we cutover to using the new Demographics modal

* Add translatable string to clear button

* Remove extra page counter from the header for the third time

* Remove unneeded template context

Co-authored-by: Matt Tuchfarber <mtuchfarber@edx.org>
Co-authored-by: Justin Hynes <jhynes@edx.org>
2020-09-14 09:28:06 -04:00
edX Transifex Bot
ee2a1495ff fix(i18n): update translations 2020-09-13 17:44:38 -04:00
uzairr
c68155f76f Modify the api response
Update the api response so that it cannot contain the response
in the form of HTML which may prove vulnerable for MFE in future.

VAN-14
2020-09-10 12:39:09 +05:00
edX Transifex Bot
7a7cb2f984 fix(i18n): update translations 2020-08-30 17:48:44 -04:00
Waheed Ahmed
13b3764f20 Allow entitlements to be used past course has ended.
Allow entitlements to be used past the course has ended but
upgrade deadline is still in future for already enrolled
learners.

PROD-1497
2020-08-24 13:20:11 +05:00
edX Transifex Bot
21edb9f2b4 fix(i18n): update translations 2020-08-23 17:38:59 -04:00
Mahyar Damavand
6062aaa860 Put two messages inside interpolate function to be extracted 2020-08-19 22:51:29 +04:30
Ahtisham Shahid
6e507e1a49 Revert "Instructor Dashboard Redesign" (#24802)
* Revert "New vs Old Data-Download UI. (#24094)"

This reverts commit 52669c47f1.

* Fixed linter issues
2020-08-19 17:17:20 +05:00
Ahtisham Shahid
52669c47f1 New vs Old Data-Download UI. (#24094)
updated css

temp fixex

Updated js code for data download

updated js hooks for new UI

fixed ui and navigation

reset paver file

Removed unused changes

Initial tests added

Initial tests added

fixed style issues

Created new tests for data download

Fixed A11y and quality issues

Updated test file and removed new

fixed Accesibility issues

fixed code style in spec

removed old data download file

Moved problem grade report

Updated html to fix accessiblity issue

Fixed accessiblity issues

Created waffle flag for data download

added doc strign in doc

renamed waffles file

Break down Html and fixed tests

Removed extra js and updated comments

Removed extra js and updated comments

renamed var fixed styling

fixed js test fail

Fixed styling issues

updated description texts

Updated problem selector UI

Fixed Jest test for react component

removed depricated default param

added class instead of style

updated snapshot

Co-authored-by: Awais Jibran <awaisdar001@gmail.com>
2020-08-18 13:15:30 +05:00
edX Transifex Bot
0dbfcbbf3b fix(i18n): update translations 2020-08-09 17:38:49 -04:00
Uzair Rasheed
6b0be2cb6b Merge pull request #191 from edx/security-fix/fix-xss-in-file-upload
Fix xss while rendering file-upload
2020-07-30 10:59:35 +05:00
Jeff Chaves
87f444fd44 ENT-3143: display message banner guiding user to their enterprise LP if enabled (#24625)
* display message banner guiding user to their enterprise LP if enabled

* adding new sass class name to use same styling as recovery email alert
2020-07-29 11:55:02 -04:00
Diane Kaplan
c2cdedbd1f make comment more general, to allow for future changes (#24618) 2020-07-28 09:34:43 -04:00
Diane Kaplan
725e0bbd2c [REV-1205] Add doc location comment so future devs can easily find it (#24615) 2020-07-27 14:55:16 -04:00
JJ
b77d4c9490 [REV-1257] Add upsell tracking for upgrading all programs button on program dashboard (#24589)
Added upsell tracking to the course upgrade all button on the program dashboard so we have a better understanding of when users are clicking our upsell links.
2020-07-27 09:21:46 -04:00
edX Transifex Bot
0c51f37318 fix(i18n): update translations 2020-07-26 17:46:29 -04:00
JJ
1f3965be29 [REV-1257] Add upsell tracking for program dashboard's courses
This PR updates the track_ecommerce_events.js to allow imports into webpacked code & 
adds upsell tracking to the course upgrade buttons on the program dashboard. We are doing this so we have a better understanding of when users are clicking our upsell links.
2020-07-24 12:38:41 -04:00
Ali Akbar
b7fdee226b Merge pull request #185 from edx/sustaining/security-fixes
Sustaining Xsslint security fixes
2020-07-22 13:56:54 +05:00
uzairr
1f9ff0b108 Fix xss while rendering file-upload 2020-07-22 02:40:19 +05:00
edX Transifex Bot
d0b138479f fix(i18n): update translations 2020-07-19 17:36:28 -04:00
Ali-D-Akbar
a89553f1c3 PROD-1727 2020-07-15 10:48:41 +05:00
SaadYousaf
2db2342314 PROD-1729 2020-07-15 10:48:41 +05:00
SaadYousaf
e7338cd180 PROD-1732 2020-07-15 10:48:41 +05:00
SaadYousaf
ffde1c4bc2 PROD-1731 2020-07-15 10:48:41 +05:00
JJ
36e07f6be8 [REV-1205] Add ecommerce event tracking to course dashboard upgrade button (#24338)
Create a Javascript function to log upsell events to & attach the eventing to the course dashboard upsell button. The revenue squad is looking for more insight into which buttons users are clicking to get to the checkout page.
2020-07-09 09:28:03 -04:00
edX Transifex Bot
ce9d22254b fix(i18n): update translations 2020-06-28 17:45:57 -04:00
edX Transifex Bot
4f6aad45c8 fix(i18n): update translations 2020-06-21 17:35:47 -04:00
edX Transifex Bot
8c9c536e82 fix(i18n): update translations 2020-06-11 11:50:40 -04:00
edX Transifex Bot
be7abfa271 fix(i18n): update translations 2020-06-11 11:01:12 -04:00
edX Transifex Bot
aa3501c63a fix(i18n): update translations 2020-06-11 09:56:32 -04:00
Adeel Khan
2383fb3fa6 Improving user locked out logic.
This patch improves on the user locked
out logic by providing a helping message
near locked out. This would help reduce
retries by giving user the option to use
password reset flow to fix the issue.

PROD-1505
2020-06-09 09:36:42 +05:00
edX Transifex Bot
2315d0a0eb fix(i18n): update translations 2020-06-07 17:55:18 -04:00
edX Transifex Bot
740550491d fix(i18n): update translations 2020-05-31 17:35:59 -04:00
hasnain.naveed
c51dc9db20 ENT-2818 | Added enterprise slug login's url on edx login page. 2020-05-28 19:58:46 +05:00
Nimisha Asthagiri
5b3f5ee85a commerce app: remove code related to shoppingcart (#23974)
Part of DEPR-43 - https://openedx.atlassian.net/browse/DEPR-43

Co-authored-by: Jeremy Bowman <jbowman@edx.org>
2020-05-28 09:46:12 -04:00
Jansen Kantor
f4a2303013 EDUCATOR-5043: remove grades from program progress page (#23940)
* remove grades from program progress page
2020-05-08 14:46:20 -04:00