Commit Graph

60639 Commits

Author SHA1 Message Date
Jawayria
91f80b444e Merge pull request #29401 from edx/jawayria/bom-2606-14
chore: Applied lint-amnesty on lms/djangoapps
2021-12-20 18:59:11 +05:00
Jawayria
75187e6a12 Merge pull request #29417 from edx/jawayria/bom-2606-18
chore: Applied lint-amnesty on lms/djangoapps
2021-12-20 18:58:58 +05:00
Jawayria
6d8a77ad15 Merge pull request #29402 from edx/jawayria/bom-2606-13
chore: Applied lint-amnesty on lms/djangoapps/discussion
2021-12-20 18:58:25 +05:00
Jawayria
949c7d8892 Merge pull request #29383 from edx/jawayria/bom-2606-11
chore: Applied lint-amnesty on lms/djangoapps/{course_home_api, course_wiki}
2021-12-20 18:57:54 +05:00
Awais Jibran
80e12af963 refactor: Adding some debug logs. (#29639) 2021-12-20 18:26:10 +05:00
Jawayria
332f0f1ea7 chore: Applied lint-amnesty on lms/djangoapps/discussion 2021-12-20 16:25:03 +05:00
Jawayria
846c9e95dc chore: Applied lint-amnesty on lms/djangoapps/{course_home_api, course_wiki} 2021-12-20 16:14:49 +05:00
Jawayria
c727359a37 Merge pull request #29381 from edx/jawayria/bom-2606-7
chore: Applied lint-amnesty on lms/djangoapps/{bulk_email, bulk_enroll}
2021-12-20 16:13:38 +05:00
Jawayria
efe22f19ab chore: Applied lint-amnesty on lms/djangoapps 2021-12-20 16:06:29 +05:00
Jawayria
1caae59c1a chore: Applied lint-amnesty on lms/djangoapps/{edxnotes, experiments} 2021-12-20 16:05:02 +05:00
Jawayria
52a9d7e62a Merge pull request #29378 from edx/jawayria/bom-2606-10
chore: Applied lint-amnesty on lms/djangoapps/{course_api, course_blocks}
2021-12-20 15:36:58 +05:00
Jawayria
9434dc22dd Merge pull request #29379 from edx/jawayria/bom-2606-9
chore: Applied lint-amnesty on lms/djangoapps/{certificates, course_goals}
2021-12-20 15:36:38 +05:00
Jawayria
d465779ba0 Merge pull request #29380 from edx/jawayria/bom-2606-8
chore: Applied lint-amnesty on lms/djangoapps/{ccx, commerce}
2021-12-20 15:36:24 +05:00
Jawayria
4ce693b081 Merge pull request #29382 from edx/jawayria/bom-2606-6
chore: Applied lint-amnesty on lms/djangoapps/{badges, branding}
2021-12-20 15:35:06 +05:00
Waheed Ahmed
a85880ce46 chore: change ratelimit key for POST email param (#29638) 2021-12-20 15:09:59 +05:00
edX Transifex Bot
a42c1aa8cb chore(i18n): update translations 2021-12-19 16:40:09 -05:00
Jansen Kantor
7b2731dd06 chore: bump submissions to 3.4.3 and ora 3.7.7 (#29634) 2021-12-17 14:16:14 -05:00
Michael Roytman
492b17899b Merge pull request #29626 from edx/mroytman/MST-1254-change-_does_name_change_require_verification-to-use-passing-cert-statuses
Do Not Prevent Learner From Changing Name if Learner Is Not Enrolled in Verified Mode or Learner Has Non-Passable Certificate
2021-12-17 11:04:35 -05:00
Jawayria
2145358836 chore: Applied lint-amnesty on lms/djangoapps/{badges, branding} 2021-12-17 16:20:30 +05:00
Jawayria
3207710aa3 chore: Applied lint-amnesty on lms/djangoapps/{bulk_email, bulk_enroll} 2021-12-17 16:19:09 +05:00
Jawayria
5c9613bafd chore: Applied lint-amnesty on lms/djangoapps/{ccx, commerce} 2021-12-17 16:17:51 +05:00
Jawayria
826fc33274 chore: Applied lint-amnesty on lms/djangoapps/{certificates, course_goals} 2021-12-17 16:16:51 +05:00
Jawayria
59002b5702 chore: Applied lint-amnesty on lms/djangoapps/{course_api, course_blocks} 2021-12-17 16:05:40 +05:00
Zainab Amir
bc156a6d04 feat: send perf-lang custom attribute (#29632) 2021-12-17 14:12:48 +05:00
Long Lin
dee42c6498 chore: bump edx-enterprise version 2021-12-16 15:47:04 -05:00
michaelroytman
ea3dc9cad6 fix: Do Not Prevent Learner From Changing Name With Non-Verified Enrollment/Non-Passable Certificate
The _does_name_change_require_verification(user_profile, old_name, new_name) method of the accounts user_api determines whether a learner can change their name from old_name to new_name. Originally, it delegated solely to the NameChangeValidator class of the edx-name-affirmation API, which ran a set of checks against the name change. One of said checks was asserting that learners with one or more certificates could not change their name without completing IDV.

This pull request changes this behavior.

Learners may have certificates that are not in a passable status (e.g. "unverified"). We only want to require IDV for name changes for learners that have passing statuses. The existing code prevented learners from changing their name if they had any certificates at all, irrespective of the certificate status. This change only considers certificates in a passable status.

Additionally, learners may have certificates and also not be enrolled in any "verified" seats. For example, despite edX no longer offering "honor" seats, learners may have enrollments in "honor" modes, which grant certificates but are not considered "verified" enrollment modes. IDV requires that a learner be enrolled in a "verified" seat in order to complete IDV. Prior to this change, learners that were navigated to IDV to validate a name change were unable to complete IDV. This change introduce a check that a learner is in a "verified" mode in addition to using the NameChangeValidator. This prevents the account MFE from navigating an IDV-ineligible learner to IDV.

MST-1254: https://openedx.atlassian.net/browse/MST-1254
2021-12-16 14:26:07 -05:00
Waheed Ahmed
c1e4109396 fix: org image url in save for later event props (#29625) 2021-12-16 22:55:07 +05:00
Bianca Severino
93e5d6ce50 Merge pull request #29544 from edx/bseverino/remove-idv-upgrade
[MST-1195] Hide course upgrade on dashboard if there is no SKU
2021-12-16 12:02:53 -05:00
Julia Eskew
05ff94a993 feat: Change the text of the Studio button to add an HTML component
to read "Text" and display a text icon instead of a "</>" icon.
2021-12-16 11:59:10 -05:00
Bianca Severino
ae8e9672a1 feat: hide course upgrade on dashboard if there is no SKU 2021-12-16 11:19:31 -05:00
Zainab Amir
85c6cea965 fix: use settings instead of config (#29622) 2021-12-16 18:00:31 +05:00
Zainab Amir
063d11a866 fix: update save_for_later api endpoint (#29620)
fix: update save_for_later api endpoint
2021-12-16 14:47:52 +05:00
Syed Muhammad Dawoud Sheraz Ali
74cce08c48 Merge pull request #29445 from regisb/regisb/fix-language-cookie-samesite
fix: language cookie "samesite" attribute
2021-12-16 14:42:04 +05:00
Jawayria
0d2eb75f09 Merge pull request #29602 from edx/jawayria/fix-ugettext-lms7
fix: replace 'ugettext' with 'gettext' in lms
2021-12-16 14:12:39 +05:00
Muhammad Soban Javed
ac7a42d196 Merge pull request #29520 from edx/iamsobanjaved/pytest-warnings-gha
test: save pytest warning reports to GHA artifacts
2021-12-16 14:10:15 +05:00
Jawayria
da009d6bdd Merge pull request #29600 from edx/jawayria/fix-ugettext-lms5
fix: replace 'ugettext' with 'gettext' in lms
2021-12-16 13:59:18 +05:00
Jawayria
1bcb9adfe1 Merge pull request #29601 from edx/jawayria/fix-ugettext-lms6
fix: replace 'ugettext' with 'gettext' in lms
2021-12-16 13:59:06 +05:00
Jawayria
d96d3a2187 Merge pull request #29603 from edx/jawayria/fix-ugettext-lms4
fix: replace 'ugettext' with 'gettext' in lms
2021-12-16 13:58:53 +05:00
Jawayria
e8be2e7923 Merge pull request #29604 from edx/jawayria/fix-ugettext-lms3
fix: replace 'ugettext' with 'gettext' in lms
2021-12-16 13:58:42 +05:00
Jawayria
750ed8c837 Merge pull request #29605 from edx/jawayria/fix-ugettext-lms1
fix: replace 'ugettext' with 'gettext' in lms
2021-12-16 13:58:31 +05:00
Jawayria
df5345afe6 fix: replace 'ugettext' with 'gettext' in lms 2021-12-16 13:23:36 +05:00
Jawayria
b2113696c9 fix: replace 'ugettext' with 'gettext' in lms 2021-12-16 13:22:40 +05:00
Jawayria
8e93280ec4 fix: replace 'ugettext' with 'gettext' in lms 2021-12-16 13:20:29 +05:00
Jawayria
0c7e37bc38 fix: replace 'ugettext' with 'gettext' in lms 2021-12-16 13:19:40 +05:00
Jawayria
3dfbb9f44e fix: replace 'ugettext' with 'gettext' in lms 2021-12-16 13:18:28 +05:00
Jawayria
f72a6e3a79 fix: replace 'ugettext' with 'gettext' in lms 2021-12-16 13:15:27 +05:00
Régis Behmo
53b8a80668 fix: language cookie "samesite" attribute
The language cookie "samesite" attribute was always set to "None", even in
non-secure environments, such as the devstack. This was causing client-side
warnings in non-https environments, and the language cookie was not properly
set.
2021-12-16 09:04:26 +01:00
edX Transifex Bot
b401ecb3e7 geoip2: update maxmind geolite country database 2021-12-15 16:19:32 -05:00
Ned Batchelder
e39f9c503a build: suppress Django deprecation warnings (#29528)
Suppress them both in tests (via setup.py and pytest.ini)
and in management command & application runs
(via logsettings.py).

Developers aren't looking at these warnings; they'll be dealt with in a
formal process for upgrading Django.  Suppress them for now so that
important information isn't lost in the noise.
2021-12-15 10:45:12 -05:00
Zainab Amir
dd610118a7 feat: create braze alias and event (#29612) 2021-12-15 19:07:25 +05:00