Eemaan Amir
0a7d894981
feat: removed age restriction on profile image upload ( #36857 )
...
* feat: removed age restriction on profile image upload
* test: updated test files
* test: updated test files
* fix: fixed lint issues
* test: updated test files
* fix: fixed lint issues
2025-06-12 10:56:46 +05:00
Awais Qureshi
291c5c3a44
feat!: upgrade code and fix get_storage_class ( compatibility django42 and django52) ( #36628 )
...
* feat!: upgrade codebase for compatibility with Django 4.2 and 5.2.
2025-06-05 10:11:07 -04:00
Muhammad Adeel Tajamul
6a67719592
feat: make notification emails translatable ( #36775 )
...
* feat: make notification emails translatable
* fix: fixed failing tests
* fix: fixed xss quality check
2025-05-26 13:44:01 +05:00
Eemaan Amir
841efcc9fb
feat: update user segment attribute is_disabled when user is disabled/enabled ( #36681 )
2025-05-09 19:35:16 +05:00
Feanil Patel
8cab446f69
test: Make pytz api related tests more resilient.
...
Compare the output of our API with the library that backs them so that
we don't have brittle tests that need to be updated when the number of
timezones changes.
2025-04-23 14:29:50 -04:00
Feanil Patel
cdf26039e6
test: Remove reference to the courseware url.
...
The courseware URL is going away but it's just used here to test the
middleware. That can be test with other urls that are relevant to this
middleware.
Note, I was unable to re-produce the failures so I've put back using the
standard `reverse` logic for fetching the URL in the test.
2025-04-04 14:01:19 -04:00
Feanil Patel
d423775012
test: Replace calls to reverse('courseware')
...
We want to remove this page and URL endpoint so we're removing all the
references in the code that might point to this page. It was replaced
by the sequences page in the Learning MFE years ago but the old pages
were never cleaned up. We are replacing the calls with the URL for the
courseware in the learning MFE.
See https://github.com/openedx/edx-platform/issues/35803 for more
details.
2025-04-04 14:01:19 -04:00
sarina
1e3074a3f9
docs: Update edx.rtd.io links to docs.openedx.org
2025-04-02 12:10:56 -04:00
Hassan Raza
033bcda99d
Hraza/add embargo restricted country ( #36398 )
...
* feat: add country disabling feature in embargo app
* revert: disabled countries list in env
* fix: resolved linter issues
---------
Co-authored-by: Hassan Raza <h.raza@192.168 .1.12>
2025-03-19 12:22:45 +05:00
Ahtisham Shahid
e7100d813f
Revert "feat: refactor country disable logic into the Embargo app ( #36202 )" ( #36393 )
...
This reverts commit 72959ad9d5 .
2025-03-17 23:55:59 +05:00
Hassan Raza
72959ad9d5
feat: refactor country disable logic into the Embargo app ( #36202 )
...
* feat: add country disabling feature in embargo app
* revert: disabled countries list in env
* fix: resolved linter issues
---------
Co-authored-by: Hassan Raza <h.raza@192.168 .1.12>
2025-03-17 16:07:18 +05:00
Deborah Kaplan
29de9b2dc4
feat!: Legacy account, profile, order history removal ( #36219 )
...
* feat!: Legacy account, profile, order history removal
This removes the legacy account and profile applications, and the order
history page. This is primarily a reapplication of #31893 , which was
rolled back due to prior blockers.
FIXES: APER-3884
FIXES : openedx/public-engineering#71
Co-authored-by: Muhammad Abdullah Waheed <42172960+abdullahwaheed@users.noreply.github.com >
Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com >
2025-02-10 14:39:13 -05:00
Usama Sadiq
b6828cecaa
fix: enable pylint warnings ( #36195 )
...
* fix: enable pylint warnings
2025-01-30 17:15:33 +05:00
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