Commit Graph

1465 Commits

Author SHA1 Message Date
Thomas Tracy
44187fb4d2 Fix courserun_key name to properly be picked up by snowflake (#25605) 2020-11-17 10:18:07 -05:00
edX Transifex Bot
1ca41a7861 fix(i18n): update translations 2020-11-15 16:34:09 -05:00
Kyle McCormick
151bd13666 Use full names for common.djangoapps imports; warn when using old style (#25477)
* Generate common/djangoapps import shims for LMS
* Generate common/djangoapps import shims for Studio
* Stop appending project root to sys.path
* Stop appending common/djangoapps to sys.path
* Import from common.djangoapps.course_action_state instead of course_action_state
* Import from common.djangoapps.course_modes instead of course_modes
* Import from common.djangoapps.database_fixups instead of database_fixups
* Import from common.djangoapps.edxmako instead of edxmako
* Import from common.djangoapps.entitlements instead of entitlements
* Import from common.djangoapps.pipline_mako instead of pipeline_mako
* Import from common.djangoapps.static_replace instead of static_replace
* Import from common.djangoapps.student instead of student
* Import from common.djangoapps.terrain instead of terrain
* Import from common.djangoapps.third_party_auth instead of third_party_auth
* Import from common.djangoapps.track instead of track
* Import from common.djangoapps.util instead of util
* Import from common.djangoapps.xblock_django instead of xblock_django
* Add empty common/djangoapps/__init__.py to fix pytest collection
* Fix pylint formatting violations
* Exclude import_shims/ directory tree from linting
2020-11-10 07:02:01 -05:00
Thomas Tracy
ead2825b14 Re-add course key to segment unenroll tracker (#25516) 2020-11-03 15:51:48 -05:00
edX Transifex Bot
a62843e764 fix(i18n): update translations 2020-10-20 12:27:28 -04:00
Jeremy Bowman
d19368525b DEPR-43 Remove most of the shoppingcart app (#24692)
Removed most of the deprecated shoppingcart app, leaving just enough to allow us to cleanly remove the related database tables later. Also removed the relevant Django settings that weren't in use elsewhere.
2020-10-14 14:24:52 -04:00
adeelehsan
a50215031e Merge pull request #25227 from edx/aehsan/van-81/suppressed_email_for_forgot_password
suppressed email in forgot password banner
2020-10-06 14:41:27 +05:00
Thomas Tracy
6d88ad96cb Ttracy/mb 618 modal fast follow (#25217)
* Fix ref on multiselect button to prevent if from staying open
2020-10-05 10:05:41 -04:00
adeelehsan
0f96e595ee suppressed email in forgot password banner
VAN-81
2020-10-05 17:34:38 +05:00
edX Transifex Bot
b7cd41f100 fix(i18n): update translations 2020-10-04 17:40:16 -04:00
Thomas Tracy
f605ce3763 Fix aria-hidden on info icon (#25167)
* Fix aria-hidden on info icon

* caps
2020-09-30 12:26:56 -04:00
Diana Huang
657da20c6e DEPR-43 - Remove JS that refers to shoppingcart receipt page. (#24890)
https://openedx.atlassian.net/browse/DEPR-43

Co-authored-by: Jeremy Bowman <jbowman@edx.org>
2020-09-29 16:08:42 -04:00
Thomas Tracy
bf0de81c57 Ttracy/demographics bugs 19 20 (#25148)
* Focus first input when loading a wizard page

* Add aria-hidden to info icon:
2020-09-29 13:37:19 -04:00
Justin Hynes
77d63c57f0 Merge pull request #25138 from edx/jhynes/MB-600_demographics-link-new-tab
MB-600 | Open demographics modal link in new tab
2020-09-29 10:21:04 -04:00
Thomas Tracy
b1ed288915 Fix form auto-filling "prefer not to respond" (#25126)
An issue with 2 options having the same react child key. This makes the
keys more unique.
2020-09-29 09:42:13 -04:00
Justin Hynes
66821bb1e1 MB-600 | Open demographics modal link in new tab
[MB-600]
- Update demographics modal to open embedded link in new tab
2020-09-29 09:33:21 -04:00
Justin Hynes
e200215421 MICROBA-596 | Adjust style of MultiSelect dropdown in demographics modal
[MICROBA-596]
- Add space between checkbox and label
- Adjust spacing between end of MultiSelect dropdown choices and next question
2020-09-28 16:03:39 -04:00
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