Commit Graph

65817 Commits

Author SHA1 Message Date
Ben Lu
a189bdd9fb feat: add auth JWKS endpoint
Adds an endpoint to expose JWT_PUBLIC_SIGNING_JWK_SET to other services
2024-01-31 10:15:42 -06:00
Leangseu Kim
206ddd11ad chore: revert change to Mathjax 2024-01-31 10:05:33 -05:00
Muhammad Soban Javed
3a16811bb4 Merge pull request #34150 from openedx/revert-34113-iamsobanjaved/django-42-lts
Revert "chore!: upgrade Django version to 4.2 (LTS)"
2024-01-31 18:29:55 +05:00
Muhammad Soban Javed
790e364097 Revert "chore!: upgrade Django version to 4.2 (LTS)" 2024-01-31 17:14:43 +05:00
Hamza Waleed
e1cfaa5bd8 Merge pull request #34148 from openedx/hamzawaleed01/upgrade-edx-enterprise-cd8e2d2
feat: Upgrade Python dependency edx-enterprise
2024-01-31 16:32:41 +05:00
hamzawaleed01
211fa9387e feat: Upgrade Python dependency edx-enterprise
feat: update cornerstone client to store API calls in DB

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-01-31 10:33:56 +00:00
Muhammad Soban Javed
cd8e2d2d03 Merge pull request #34113 from openedx/iamsobanjaved/django-42-lts
chore!: upgrade Django version to 4.2 (LTS)
2024-01-31 15:17:52 +05:00
Awais Qureshi
82edbc635c Merge branch 'master' into iamsobanjaved/django-42-lts 2024-01-31 13:46:58 +05:00
github-actions[bot]
a8206c1251 feat: Upgrade Python dependency edx-enterprise (#34144)
Added management command to fix `LearnerDataTransmissionAudit` table records.

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

Co-authored-by: zamanafzal <zamanafzal@users.noreply.github.com>
Co-authored-by: Zaman Afzal <zamanafzal@gmail.com>
2024-01-31 12:25:56 +05:00
Kaustav Banerjee
d0a49d1a01 fix: add missing function import in certificate template (#33904)
* fix: add missing function import in certificate template
* test: add test case to check certificates generated when GA4 is enabled
2024-01-31 09:18:34 +10:30
Deborah Kaplan
b75f8b0ed1 feat: tweaks from code review
wording, switching to using a constant, fixing a string concat

FIXES: APER-3146
2024-01-30 21:34:56 +00:00
Alejandro Cardenas
4b7ef2697e feat: add state sent to state column (#34127) 2024-01-30 15:14:14 -05:00
Alejandro Cardenas
3bf3aeaf31 refactor: change survey report message location (#34126)
* refactor: change survey report message location
2024-01-30 15:13:54 -05:00
Adolfo R. Brandes
cbe865a77f Merge pull request #34036 from raccoongang/ruzniaievdm/feat/unit-page-drf
feat: [FC-0044] Unit page API as DRF
2024-01-30 19:23:12 +00:00
Deborah Kaplan
f7a9efbf6b feat: lint
autoformat errors

FIXES: APER-3146
2024-01-30 18:59:13 +00:00
Deborah Kaplan
a387737daf Merge branch 'master' into dkaplan1/APER-3146_investigate-fix-exception-handling-in-program-cert-revocation 2024-01-30 12:40:34 -05:00
Deborah Kaplan
adae7e3e25 feat: relinting
Trying with new autoformat settings.

FIXES: APER-3146
2024-01-30 17:39:57 +00:00
Asespinel
76330b36b0 feat: added setting to disable the survey report banner entirely (#34092)
* feat: added setting to disable the survey report banner entirely

* fix: fixed unit test with new setting

* refactor: changed conditions for better code readability

* feat: added exception to stop the report from generating if the setting is set to false

* chore: updated the readme file to include the new setting

* refactor: move survey settings to common and disable admin by setting

* docs: typos in README

Co-authored-by: Tim McCormack <tmccormack@edx.org>

* refactor: set default values to survey report settings

* refactor: rename ENABLE_SURVEY_REPORT setting to SURVEY_REPORT_ENABLE

* test: fix quality tests

---------

Co-authored-by: Alejandro Cardenas <alecar.main@gmail.com>
Co-authored-by: Tim McCormack <tmccormack@edx.org>
2024-01-30 12:29:09 -05:00
Deborah Kaplan
bde84117c3 feat: linting error
* unused import
* format

FIXES: APER-3146
2024-01-30 16:36:14 +00:00
Deborah Kaplan
02baf07a03 Merge branch 'master' into dkaplan1/APER-3146_investigate-fix-exception-handling-in-program-cert-revocation 2024-01-30 10:56:16 -05:00
Deborah Kaplan
918f32ab40 feat: fixed one test
* fixed one test to accommodate a slightly modified workflow
* allowed the automated linter  to match current standards

Note:  as part of this process, I realized a lot of the tests in `programs/tests/test_tasks.py` are somewhat problematic. Some aren't real unit tests (allow calls to something other than the system under test), at least one for that reason it won't run on local at all, and some mock the wrong part of the system  or just don't match current flow.  I'm not modifying them as part of this, but they should be looked at.

FIXES: APER-3146
2024-01-30 15:53:29 +00:00
edX requirements bot
cc8f83792c chore: Updating Python Requirements (#34140) 2024-01-30 17:44:28 +05:00
Saleem Latif
fd92527fd3 Merge pull request #34141 from openedx/saleem-latif/upgrade-edx-enterprise-039583f
feat: Upgrade Python dependency edx-enterprise
2024-01-30 14:20:40 +05:00
irfanuddinahmad
2fb3eaad52 Merge pull request #34130 from openedx/iahmad/ENT-8117
feat: Added XblockMixin for skill tagging
2024-01-30 14:18:10 +05:00
IrfanUddinAhmad
0b7e27390c feat: Added XblockMixin for skill tagging 2024-01-30 13:22:19 +05:00
Awais Qureshi
79f1c66553 Merge branch 'master' into iamsobanjaved/django-42-lts 2024-01-30 12:53:33 +05:00
saleem-latif
9db7e57b9b feat: Upgrade Python dependency edx-enterprise
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-01-30 07:51:29 +00:00
Ahtisham Shahid
039583f88f feat: added reported notification type (#34067) 2024-01-30 12:07:49 +05:00
Ahtisham Shahid
d4536ed79d fix: resolved cookie js bug on import page (#34139) 2024-01-29 20:06:19 +00:00
Deborah Kaplan
ffd4a54a10 Merge pull request #34118 from openedx/dkaplan1/APER-1322_certs-with-invalidation-records-arent-in-the-unavailable-status
feat: data migration for some ancient legacy problems
2024-01-29 12:27:24 -05:00
Deborah Kaplan
253853119f Merge branch 'master' into dkaplan1/APER-1322_certs-with-invalidation-records-arent-in-the-unavailable-status 2024-01-29 11:52:34 -05:00
Deborah Kaplan
1c049a3f39 feat: switching to a defined enum
feedback from code review

FIXES: APER-1322
2024-01-29 16:48:52 +00:00
github-actions[bot]
c456781067 feat: Upgrade Python dependency ora2 (#34137)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: jansenk <jansenk@users.noreply.github.com>
2024-01-29 16:36:26 +00: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
Ahtisham Shahid
7f850d6a27 fix: resolved js error in course export (#34134) 2024-01-29 14:30:44 +05:00
Saad Yousaf
928e810b33 Revert "temp: add temporary logs for course wide notifications" 2024-01-29 12:42:39 +05:00
Alex Dusenbery
ceb248b624 fix: edx-enterprise 4.10.11 2024-01-28 15:19:47 -05:00
Omar Al-Ithawi
867eeff993 feat: atlas pull plugins translation 2024-01-27 12:05:05 +03:00
Deborah Kaplan
ae3ce9c498 feat: fix exception handling in program cert revocation
To determine whether or not we need to  revoke any program certificates, we first run get_revokable_program_uuids. This calls get_certified_programs, which calls get_credentials, which uses the OpenEdx Core  utility method get_api_data. get_api_data makes the API call inside a try block, does raise_for_status  also inside the try block, and then catches the exception, logs it, and returns an empty result to the caller.

This means that on a failure to call the credentials API, get_credentials can’t  tell the difference between a failure to hit the API (because credentials is, as it sometimes is during a notify_programs run, overloaded), or a learner with no program certificates. In this particular case, this is absolute failure, incorrect behavior.

* Adds a new flag, `raise_on_error`  which will make `get_api_data` log the exception and then re-raise the HTTPError,  defaulting to false in order to avoid changing the behavior on any other callers
* Also: my editor reformatted all of the touched files to our modern code standards, and it seemed appropriate to let it do that.
* Also: added type hints in some cases, because they helped me write the code and debug. Our test suite definitely  reports mypy  results on type errors so we are verifying that hints are correct.

FIXES: APER-3146
2024-01-26 22:20:30 +00:00
John Nagro
5c58eb47bd feat: release edx-enterprise 4.10.10 (#34128) 2024-01-26 15:29:48 +00:00
edX requirements bot
6d32baaa28 Python Requirements Update (#34123)
* chore: Updating Python Requirements
* fix: pin lxml<5.0
* chore: Updating Python Requirements (#34125)

---------

Co-authored-by: Usama Sadiq <usama.sadiq@arbisoft.com>
2024-01-26 18:16:54 +05:00
github-actions[bot]
253db2f6d1 feat: Upgrade Python dependency django-pipeline (#34124)
fix: upgrade django-pipeline package

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

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-01-26 17:34:11 +05:00
Usama Sadiq
a91d4827d5 Pin optimizely sdk (#34121)
* fix: pin optimizely-sdk==4.1.1

* fix: update optmizely-sdk constraint

* feat: Upgrade Python dependency optimizely-sdk (#34120)

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

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

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-01-26 15:43:28 +05:00
Muhammad Soban Javed
f6333130bc Merge pull request #34119 from openedx/iamsobanjaved/upgrade-Django-67d53dc
feat: Upgrade Python dependency Django
2024-01-26 13:01:33 +05:00
iamsobanjaved
9472adc465 feat: Upgrade Python dependency Django
chore: upgrade Django to latest patch version

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-01-26 07:54:53 +00:00
Deborah Kaplan
5fedbc6a69 Merge branch 'master' into dkaplan1/APER-1322_certs-with-invalidation-records-arent-in-the-unavailable-status 2024-01-25 17:33:54 -05:00
Deborah Kaplan
f14d279dad feat: data migration for some ancient legacy problems
one time data migration for  certificates that ended up in a broken
state (not marked is unavailable, but having invalidation records).

FIXES: APER-1322
2024-01-25 22:13:02 +00:00
Chris Chávez
5838d68efc feat: Tagging UX refinements - refresh tag count on edit (#34059)
* style: drawer-cover color updated for all tagging drawers
* feat: Update TagList component when a tag is updated on Manage tags drawer
* feat: Refactor TagCount to be able to refresh the count
* feat: Sync tag count in units
2024-01-25 10:33:47 -08:00
Jillian
7535f9d581 feat: tagging: serialize object permissions to REST API (#34004) 2024-01-25 10:12:17 -08:00
Rebecca Graber
4445aa6b1f feat: bring in new client id configuration from ebk (#34115) 2024-01-25 13:07:05 -05:00