Commit Graph

920 Commits

Author SHA1 Message Date
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
Matt Hughes
044f172cb1 perf: pull user's profile information for serialization w/ ret. arch
JIRA:CR-5812
2023-05-30 09:33:45 -04:00
Ali Nawaz
9c06ef5c17 chore: log the user triggering the retirement flow
chore: change user retirement permissions to allow support staff
2023-04-13 02:29:39 +05:00
Saad Ali
14e122f37c fix: retire_user mgmt cmd to handle string and bytes inputs 2023-03-29 15:24:13 +05:00
Saad Ali
96ff100e9b chore: Update retire_user management command (#31966)
This update brings a django admin interface to upload a CSV file using the file access api. The management command is updated to access the uploaded files to retire users.
2023-03-27 15:20:35 -04:00
Henrry Pulgarin
d7ca7c14cd feat: add openedx-filters hook to account settings before rendering it context (#31295) 2023-03-09 13:17:44 -04:00
Muhammad Abdullah Waheed
90c4ca6e47 Revert "FC-0001: Account pages -> micro-frontend (#30336)" (#31888)
This reverts commit 0f02c7b3d9.
2023-03-07 17:41:56 -05:00
Sagirov Evgeniy
0f02c7b3d9 FC-0001: Account pages -> micro-frontend (#30336)
* feat: Account pages. Learner Profile page

* feat: Account pages. Account Settings page

* feat: Account pages. Removed unused styles

* feat: Account pages. Removed unused toggles

* feat: fixed tests and pylint errors

* feat: update redirect to account settings for student_dashboard

* feat: fix pylint errors
2023-03-07 17:41:52 +05:00
Justin Hynes
91b3486d2f docs: Add documentation on how to use the Extended Profile feature of the User API/UserProfile
[APER-2285]

Adds documentation on how to use the "Extended Profile" feature of edx-platform.
2023-02-28 13:49:13 -05:00
Justin Hynes
c6a548e419 temp: remove temp logging added around extended_profile functionality
[APER-2247]

This reverts commit 1359a6d6bb. This logging is no longer needed as the feature is working as expected (and we figured out the issue causing unexpected/missing results).
2023-02-08 10:54:56 -05:00
Daniel Nuzzo-Mueller
f6a5a99958 chore: linting fix 2023-02-06 14:34:03 -05:00
Daniel Nuzzo-Mueller
b3690ef88b chore: Try to fix linting 2023-02-06 14:34:03 -05:00
Daniel Nuzzo-Mueller
640569b81d chore: Add limit parameter to get_retirement_users view 2023-02-06 14:34:03 -05:00
Justin Hynes
1359a6d6bb temp: add some logging around extended profile update functionality
I am trying to persist/save data through an "extended profile field" in Stage but the data isn't saving. I have this working locally with devstack but don't understand why it's not working in Stage.

This PR adds some logging so I can do some debugging in Stage and try and pinpoint if/where the issue is occurring.
2023-02-02 12:51:47 -05:00
Justin Hynes
2d347eaa4d revert: temp: add some logging around extended profile update functionality
This reverts commit c52ba9d26a after the `final_checks_before_prod` stage of our deployment pipeline failed.
2023-02-02 09:05:57 -05:00
Justin Hynes
cf4edc4da6 Merge pull request #31690 from openedx/jhynes/aper-2247_logging
temp: add some logging around extended profile update functionality
2023-02-02 07:40:23 -05:00
Ned Batchelder
12765a7a59 refactor(test): use @skip_unless_lms uniformly 2023-02-01 13:52:26 -08:00
Justin Hynes
c52ba9d26a temp: add some logging around extended profile update functionality
I am trying to persist/save data through an "extended profile field" in Stage but the data isn't saving. I have this working locally with devstack but don't understand why it's not working in Stage.

This PR adds some logging so I can do some debugging in Stage and try and pinpoint if/where the issue is occurring.
2023-02-01 12:57:33 -05:00