Commit Graph

937 Commits

Author SHA1 Message Date
Irtaza Akram
68a626a938 fix: replace autodoc with autoapi (#35846) 2024-11-18 10:16:09 +05:00
Justin Hynes
7adecb4c6c feat!: remove skill_levels API (#35863)
Resolves issue #35302 (https://github.com/openedx/edx-platform/issues/35302).
2024-11-15 09:37:37 -05:00
Brian Mesick
e478975105 chore: Add missing PII annotations, update safelist
PII Annotations are very out of date, this commit adds most that were
missing in edx-platform, and some additional annotations to the
safelist. It is not comprehensive, several other upstream Open edX
packages also need to be updated. It also does not include removing
annotations that have been moved upstream, or been removed entirely.
Those are separate follow-on tasks.
2024-11-05 12:58:36 -05:00
Alison Langston
5043260bd6 feat: deprecate get_verification_details_by_id (#35560) 2024-09-30 11:30:46 -04:00
Feanil Patel
2a3a0c489d test: Update a test based on changes to pytz.
pytz dropped the Asia/Almaty timezone according to IANA

640c9bd426 (diff-16061815f611262054e469307ca063a4ef47e158a97784f1e91d254f074324bfR72)
2024-09-26 12:59:15 -04:00
Feanil Patel
ad78699605 test: Use the correct exception.
This test doesn't actually care about the type of the exception but use
the Requests exception that you're likely to get instead of the
edx-restapi-client/slumber one from before we dropped them.
2024-09-26 12:46:10 -04:00
Ahtisham Shahid
b50c42318c feat: added country disabling feature (#35451)
* feat: added country disabling feature
2024-09-25 14:40:08 +05:00
Deborah Kaplan
0f177e4666 feat: linting only (#35370)
Editing this file is going to cause a lot of automatic linting, so lint-only commit for nicer code review.
2024-08-26 10:20:03 -04:00
Deborah Kaplan
6071992281 feat: lint this file (#35348)
I'm about to make a bunch of changes to this file, and before I do I'm
saving it and letting the linter reformatted to our current code style
standards, so that code reviewers won't have to read a mix of lint and
code changes.

FIXES: APER-3554
2024-08-22 14:56:51 -04:00
Andrey Cañon
c370028bbd feat: modify PhoneNumberSerializer regex to allow plus symbol at the … (#35117)
* feat: modify PhoneNumberSerializer regex to allow plus symbol at the beginning
* chore: update PhonenumberSerializer docstring
2024-07-17 09:08:44 -04:00
Blue
e2e7524720 fix: change text of exisint email message (#34954)
Description:
Change text of existing email message
VAN-1939
2024-06-10 13:09:18 +05:00
Justin Hynes
9fbc6e3bf4 feat: purge name from certificate records during user retirement (#34799)
[APER-3241]

This PR updates the retirement pipeline to purge learners' names from certificate records when their account is being retired.

It also introduces a new management command that can be used by Open edX operators to purge the leftover name data (PII data) from the `certificates_generatedcertificate` table. This is designed as a one-time use data fixup, as the retirement functionality should clean this moving forward.
2024-05-16 09:17:40 -04:00
Usama Sadiq
e91029202e feat: update django-countries (#34603)
* feat: Upgrade Python dependency django-countries (#34602)
---------
Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-24 21:34:32 +05:00
Feanil Patel
9bd4474f7d test: Reduce query counts now that we dropped django-splash. 2024-04-18 12:43:33 -04:00
Taras Lytvynenko
14777af1d2 Lytvynenko/changed link parsing (#33565)
* fix:  Social link parsing approach changed

* feat: fix tests

* fix: tests

---------

Co-authored-by: Edward Zarecor <ezarecor@tcril.org>
2024-04-10 17:38:57 -04:00
Mubbshar Anwar
b6d89bcd59 fix: fir segment event (#34279)
fire segment event for PWNED_PASSWORD on registration page password validation

VAN-1830
2024-03-01 10:22:57 +05:00
salmannawaz
57b480b04f Update all edx-platform REST endpoints to support JWT Auth (#34152)
* chore: update API endpoints to support default JWT auth

The default DRF Auth classes were recently updated to allow for both JWT and Session auth by default. Any endpoint that overrides the AUTHENTICATION_CLASSES but has just session, just JWT or just both of those should be updated to remove the override.

Details in https://github.com/openedx/edx-platform/issues/33662
2024-02-13 10:46:58 -05:00
Syed Sajjad Hussain Shah
cb2a34e51f feat: logout other sessions on email change (#33846)
* feat: logout other sessions on email change

* fix: updated the approach for session invalidation

* fix: update and add tests

* fix: update tests with descriptive comments

* feat: add integration tests

* fix: store email in session update

* fix: add setting for tests

* fix: fix tests

* feat: Upgrade Python dependency edx-drf-extensions (#34135)

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: syedsajjadkazmii <syedsajjadkazmii@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: syedsajjadkazmii <syedsajjadkazmii@users.noreply.github.com>
2024-01-29 14:43:51 +05:00
Justin Hynes
426ee163bc revert: add brand_color variable for the email templates (#33421)"
This reverts commit 4ec70eb98b.

This commit introduced a new setting (`brand_color`) that does not appear to be set and is causing issues with account deletion and other parts of the courseware.

Reverting until we can understand the change better.
2024-01-24 18:47:02 +00:00
bydawen
4ec70eb98b feat: add brand_color variable for the email templates (#33421)
* feat: add brand_color variable for the email templates

* test: fix tests assertations

---------

Co-authored-by: Eugene Dyudyunov <evgen.dyudyunov@raccoongang.com>
2024-01-23 13:21:06 +05:00
Attiya Ishaque
5b06de4b97 feat: add work experience field. (#34034) 2024-01-11 15:53:31 +05:00
Kiran Chauhan
e78e6d307a fix: Added feature toggle check for account deletion API (#32846) (#33062)
---------

Co-authored-by: Edward Zarecor <ezarecor@tcril.org>
2023-12-04 15:34:51 -08:00
Jason Wesson
0650b4ff5e Merge pull request #33501 from Inferato/lytvynenko/additional_name_check
Name length validation
2023-12-04 11:55:21 -08:00
Awais Qureshi
7634301111 Upgrading pytz package (#33760)
* chore: upgrading pytz.
2023-11-22 15:04:35 +05:00
Taras Lytvynenko
369903986c Merge branch 'master' of github.com:openedx/edx-platform into HEAD 2023-11-15 16:50:51 +02:00
Glib Glugovskiy
e27f674e12 fix: remove duplicate implementation and correct the docstring 2023-11-14 21:45:18 +02:00
KyryloKireiev
da9266e31d refactor: [FC-0031] Move get_profile_image method to api 2023-11-14 21:45:18 +02:00
Taras Lytvynenko
13d7945370 test: fix tests 2023-11-14 21:11:16 +02:00
Taras Lytvynenko
4fa06c0236 test: test for length validation 2023-11-14 20:25:00 +02:00
Feanil Patel
ac2cc158f8 test: Update tests to the new return code.
When including `JwtAuthentication`, the auth_header becomes `JWT
realm="api"`. Without it, it is `None`. This changes the behavior of the
code in DRF and returns a slightly different auth response.

Relevant Code: 56946fac8f/rest_framework/views.py (L456C3-L456C3)
2023-11-01 11:03:03 -04:00
Taras Lytvynenko
25800858fc Merge branch 'master' of github.com:openedx/edx-platform into lytvynenko/additional_name_check 2023-10-30 15:07:24 +02:00
Feanil Patel
2e75ced467 Merge pull request #33186 from thezaeemaanwar/remove_badges_app
[DEPR]: lms/djangoapps/badges
2023-10-20 10:29:43 -04:00
thezaeemaanwar
0b3e4d73b6 feat!: Removed Badges App
fix: restored badges handlers

feat: remove FE code for badges

fix: resolved failing tests

fix: removed test case for badges app

fix: unused import error

fix: Response Field Count

fix: shareable account response length

fix: resolved PR comments

fix: revert settings override

feat!: Removed Badges App

fix: restored badges handlers

feat: remove FE code for badges

fix: resolved failing tests

fix: removed test case for badges app

fix: unused import error

fix: Response Field Count

fix: shareable account response length

fix: revert subscription badge
2023-10-18 20:30:04 +05:00
Deborah Kaplan
3060004a4a feat: removing deprecated coaching
Removing unused import
2023-10-18 15:09:59 +00:00
Deborah Kaplan
9f8bd36944 feat: remove deprecated coaching from edx-platform
FIXES: APER-2407
2023-10-17 18:07:12 +00:00
Feanil Patel
7202c22e1d Merge pull request #33373 from openedx/feanil/update_password_length_default
feat: Update the minimum password length.
2023-10-17 10:08:15 -04:00
Taras Lytvynenko
67780b7ecc fix: Name length validation 2023-10-16 10:22:00 +03:00
Feanil Patel
64e91d4080 test: Update to an even longer password. 2023-10-12 10:31:13 -04:00
salman2013
f2bf289021 chore: test cases 2023-10-12 15:01:14 +05:00
salman2013
4a640fec8b chore: update drf endpoints to use default authentication 2023-10-12 11:27:45 +05:00
Syed Sajjad Hussain Shah
b0f5d1e8cd fix: name field validations (#33429) 2023-10-11 05:03:41 +00:00
Feanil Patel
1e2ea85372 test: Update more tests that had short passwords. 2023-10-10 16:36:26 -04:00
KyryloKireiev
6a1f126be9 fix: (review) Add comment to Delete Account view 2023-09-25 14:12:17 +03:00
Kyrylo Kireiev
4c50ad0a43 feat: [AXIM-44] Adapt Delete Account to Bearer Authorization 2023-09-22 12:07:36 +03:00
Usama Sadiq
7710e60328 fix: fix middleware get_response parameter deprecation warning (#33067) 2023-08-22 15:52:30 +05:00
Tim McCormack
f9614533c4 Revert "feat: Pact Provider Verification for Profile Endpoint" (#32999)
Reverts openedx/edx-platform#32928 -- mistaken merge.
2023-08-14 15:04:19 +00:00
Swayam Rana
036fb3ddf7 feat: pact provider profile setup 2023-08-14 13:36:13 +00:00
John Nagro
6d5dcdf77a fix: improve username generation (#32613) 2023-06-30 09:47:02 -04:00
Muhammad Bilal Tahir
8693d5a4a6 feat: create user profile if not found in current job command 2023-06-13 17:07:17 +05:00
Muhammad Bilal Tahir
86edbbeb46 feat: management command to fetch enterprise current job in lms extended profile 2023-06-07 15:17:10 +05:00