Commit Graph

66833 Commits

Author SHA1 Message Date
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
github-actions[bot]
940b072ae4 feat: Upgrade Python dependency edx-drf-extensions (#34114)
make forgiving JWTs the default

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

Co-authored-by: robrap <robrap@users.noreply.github.com>
2024-01-25 17:16:56 +00:00
Marcos
1315810eae Merge pull request #34105 from openedx/rijuma/update-reindex_couses-output
Updated reindex_course console output to have cleaner data and a list of failing courses
2024-01-25 12:48:57 -03:00
Marcos
a441ea96d9 fix: Updated log to have a cleaner output on failed reindexes 2024-01-25 12:09:25 -03:00
Muhammad Soban Javed
67d53dce26 chore!: upgrade Django version to 4.2 (LTS)
This reverts commit 6f32d0e6f1.
2024-01-25 18:17:43 +05:00
Brian Beggs
bca34c0993 Merge pull request #34110 from openedx/revert-34033-ase/refactor-survey-report
Revert "refactor: changed survey report message location and added a new info…"
2024-01-24 17:48:29 -05:00
Brian Beggs
48d9f29cb9 Revert "refactor: changed survey report message location and added a new info…" 2024-01-24 17:26:08 -05:00
Brian Beggs
f52c9c6736 Merge pull request #34109 from openedx/bbeggs/jquery.cookie
Chore: Upgrade the jquery cookie library.
2024-01-24 17:17:08 -05:00
Brian Beggs
c0e7fb7276 chore: Upgrade the jquery cookie library. 2024-01-24 16:54:58 -05:00
Jenkins
2bf6ffaaf1 chore: geoip2: update maxmind geolite country database 2024-01-24 15:59:35 -05:00
leangseu-edx
4a615c5d71 feat: Upgrade Python dependency ora2
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-01-24 15:23:11 -05:00
Justin Hynes
95a3f3c12b Merge pull request #34106 from openedx/jhynes/revert_33421
revert: add brand_color variable for the email templates (#33421)"
2024-01-24 14:10:43 -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
Leangseu Kim
75daee134d chore: add ora mfe to devstack env 2024-01-24 13:02:12 -05:00
Hamza Waleed
b4280d456b Merge pull request #34101 from openedx/hamzawaleed01/upgrade-edx-enterprise-d15aca1
feat: Upgrade Python dependency edx-enterprise
2024-01-24 16:14:35 +05:00
hamzawaleed01
2a870104b0 feat: Upgrade Python dependency edx-enterprise
feat: add logs to see values

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-01-24 10:44:24 +00:00
John Nagro
d15aca1804 feat: release edx-enterprise 4.10.8 (#34098) 2024-01-23 21:41:49 +00:00
Yusuf Musleh
2323b3b21a feat: Add lang auto tagging for v2 library blocks (#34056) 2024-01-23 10:00:40 -08:00
John Nagro
eaec617a4b feat: release edx-enterprise 4.10.7 (#34096) 2024-01-23 16:31:42 +00:00
Muhammad Soban Javed
6f32d0e6f1 Revert "chore!: upgrade Django version to 4.2 (LTS)" (#34095) 2024-01-23 19:07:53 +05:00
Muhammad Soban Javed
fc8e40fb10 chore!: upgrade Django version to 4.2 (LTS) (#33969)
* chore!: upgrade Django version to 4.2 (LTS)

* feat: Upgrade Python dependency Django

chore!: upgrade Django version to 4.2

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

* chore: Update common.py

* chore: Update common.py

---------

Co-authored-by: Muhammad Soban Javed <iamsobanjaved@gmai.com>
Co-authored-by: iamsobanjaved <iamsobanjaved@users.noreply.github.com>
Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
2024-01-23 16:53:34 +05: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
Marcos
e00b79c12a Merge pull request #34078 from openedx/rijuma/add-active-courses-option-to-reindex_courses
Added --active option for reindex_courses
2024-01-22 21:09:16 -03:00
John Nagro
672b8c574c feat: release edx-enterprise 4.10.6 (#34090) 2024-01-22 22:08:52 +00:00
github-actions[bot]
333049fd52 feat: Upgrade Python dependency ora2 (#34088)
Reduces duplicate workflow lookups in workflow API

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

Co-authored-by: nsprenkle <nsprenkle@users.noreply.github.com>
2024-01-22 21:12:35 +00:00
Marcos
a6dd0fe606 fix: Updated comment on test case 2024-01-22 16:57:52 -03:00
Marcos
bda102de51 feat: Added --active option for reindex_courses 2024-01-22 16:54:03 -03:00
Justin Hynes
18775cb09f Merge pull request #34074 from openedx/jhynes/APER-3121
feat: Use built-in retry features of Celery when retrying Credentials grading tasks
2024-01-22 13:37:57 -05:00
Justin Hynes
ee380b7563 feat: Use built-in retry features of Celery when retrying Credentials grading tasks 2024-01-22 18:09:44 +00:00
John Nagro
3fcd41fbb5 feat: release edx-enterprise 4.10.5 (#34086) 2024-01-22 16:08:23 +00:00
Andrew Shultz
aba09793ed Merge pull request #34070 from openedx/ashultz0/reindex-on-commit
Make re-indexing wait for the data using on_commit
2024-01-22 11:01:08 -05:00
Deborah Kaplan
611e3cc5c7 Merge pull request #34042 from openedx/dkaplan1/APER-2851_replicate-share-certificate-in-facebook-improvements-for-edx.org
feat: adds a certificate template modifier
2024-01-22 09:23:19 -05:00
Jenkins
2ae915587d chore(i18n): update translations 2024-01-21 16:04:30 -05:00
John Nagro
4cfd6ca8c7 feat: release edx-enterprise 4.10.4 (#34076) 2024-01-18 18:45:46 -05:00
Rômulo Penido
f2606ca62c fix: capitalization of "Manage Tags" menu item in Studio (#34072) 2024-01-18 12:04:07 -08:00