Commit Graph

65817 Commits

Author SHA1 Message Date
Katrina Nguyen
0e6353f531 Merge branch 'master' into knguyen/version-bump 2024-07-08 11:37:55 -07:00
Tim McCormack
9146ab29f7 test: Delete flaky test DeprecatedRestApiClientTest::test_tracking_context (#35094)
Deleted according to flaky test process:
https://2u-internal.atlassian.net/wiki/spaces/TE/pages/12812492/Flaky+Test+Process

Flaky test ticket: https://2u-internal.atlassian.net/browse/CR-6899

Failed multiple times with this error, but not consistently:

```
FAILED lms/djangoapps/commerce/tests/__init__.py::DeprecatedRestApiClientTest::test_tracking_context - requests.exceptions.ConnectionError: HTTPSConnectionPool(host='ecommerce.example.com', port=443): Max retries exceeded with url: /api/v2/baskets/1/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f0708b91f50>: Failed to establish a new connection: [Errno -2] Name or service not known'))
```

Note that there is another test class with a name differing by only one
letter earlier in this file, `DeprecatedRestApiClientTests` (plural), with
a method with the same name. That one hasn't been failing.
2024-07-08 18:31:34 +00:00
katrinan029
c5a295acb3 chore: version bump 2024-07-08 17:55:04 +00:00
Hamza Waleed
f729c97de8 Merge pull request #35093 from openedx/hamzawaleed01/upgrade-edx-enterprise-57dd213
feat: Upgrade Python dependency edx-enterprise
2024-07-08 20:58:46 +05:00
hamzawaleed01
7f63b4a25c feat: Upgrade Python dependency edx-enterprise
feat: add is_mobile transformer for CSOD

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-07-08 15:21:36 +00:00
Attiya Ishaque
57dd2135a6 fix: update autogenerated username functionality (#35052) 2024-07-05 14:23:22 +05:00
Muhammad Ammar
6e9e854076 Merge pull request #35089 from openedx/ammar/use-xpert-ai
feat: use xpert ai
2024-07-04 23:39:10 +05:00
muhammad-ammar
6a04752005 feat: use xpert ai 2024-07-04 18:17:02 +05:00
Muhammad Adeel Tajamul
89a237bec1 fix: added https protocol in email unsubscribe url (#35087) 2024-07-04 16:29:22 +05:00
Muhammad Adeel Tajamul
a763fd80d2 feat: added email headers for notification cadence email (#35078) 2024-07-04 11:51:58 +05:00
Feanil Patel
7da377eb12 Merge pull request #35079 from huniafatima-arbi/huniafatima/replace-deprecated-github-actions
fix: replace deprecated github actions
2024-07-03 08:08:13 -04:00
Yusuf Musleh
c625a8d387 [FC-0059] feat: Add order query param to lib v2 API (#35005)
* feat: Add `order` query param to lib v2 API

* test: Add tests for lib v2 `order` field
2024-07-03 00:21:00 +09:30
Hunia Fatima
1f6ce56834 Merge branch 'master' into huniafatima/replace-deprecated-github-actions 2024-07-02 17:16:02 +05:00
Hunia Fatima
41bc954975 fix: replace deprecated github actions 2024-07-02 17:07:17 +05:00
Ejaz Ahmad
2717e5c50e Merge pull request #35077 from openedx/jajjibhai008/upgrade-edx-enterprise-3aaf35e
feat: Upgrade Python dependency edx-enterprise
2024-07-02 17:03:28 +05:00
jajjibhai008
fccc89c977 feat: Upgrade Python dependency edx-enterprise
chore: update python requirements in edx-enterprise

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-07-02 11:09:02 +00:00
Muhammad Abdullah Waheed
3aaf35e7ab chore: added app_name identifier for registration segment event (#35063) 2024-07-02 15:31:47 +05:00
Ahtisham Shahid
cc62389e70 fix: updated info logs to debug (#35050) 2024-07-02 14:09:01 +05:00
Zaman Afzal
06264e7321 feat: Update social_user uid using csv from admin panel (#35048) 2024-07-02 14:08:27 +05:00
Katrina Nguyen
e7daa0453a Merge pull request #35054 from openedx/knguyen2/version-bump
chore: version bump
2024-07-01 12:09:39 -07:00
katrinan029
e54bf2974c chore: version bump 2024-07-01 18:36:29 +00:00
Diana Huang
28ad8395bf Revert "fix(deps): update dependency @edx/frontend-component-cookie-policy-ba…" (#35053)
This reverts commit c0b7414fb8.
2024-07-01 13:50:57 -04:00
renovate[bot]
c0b7414fb8 fix(deps): update dependency @edx/frontend-component-cookie-policy-banner to v2.4.0 2024-07-01 16:30:01 +00:00
Kyle McCormick
12f63ddb55 refactor: extract save_xblock_to_user_clipboard Python API (#35027)
Previously, the logic for copying an XBlock's OLX to the clipboard
was directly in a POST view handler. This commit extracts it into a
Python API function.

In addition to following architectural guidelines [1], this change will
help me develop the Content Libraries Relaunch, as I need a way to
locally test library content reference via copy-paste while the UX for
it is still being developed.

[1] https://docs.openedx.org/projects/openedx-proposals/en/latest/best-practices/oep-0049-django-app-patterns.html
2024-07-01 15:43:29 +00:00
github-actions[bot]
a11d7c0f3d feat: Upgrade Python dependency edx-enterprise (#35051)
Added SFTP connection testing support in admin panel

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

Co-authored-by: zamanafzal <11922730+zamanafzal@users.noreply.github.com>
Co-authored-by: Zaman Afzal <zamanafzal@gmail.com>
2024-07-01 18:03:51 +05:00
Feanil Patel
eb560f0a39 Merge pull request #35049 from openedx/feanil/geoip2-bot-update-country-database-032bf04
Update GeoLite Database
2024-07-01 06:14:24 -04:00
feanil
a3ebf7e2d6 chore: geoip2: update maxmind geolite country database 2024-07-01 03:07:07 +00:00
Rodrigo Martin
032bf044c6 feat(AU-2042): Show Google disclaimer on VideoBlock bottom section (#35040)
* feat(AU-2042): Show Google disclaimer on VideoBlock bottom section

* feat(AU-2042): Remove unnecessary classname prop
2024-06-28 13:15:31 -03:00
Fateme Khodayari
a5359d2e23 fix: course progress url returned based on course_home_mfe_progress_tab_is_active 2024-06-28 15:58:15 +03:30
Muhammad Adeel Tajamul
98dfb12943 feat: added unsubsribe url for email notifications (#34967) 2024-06-28 11:22:09 +05:00
github-actions[bot]
6945bfae61 feat: Upgrade Python dependency edx-enterprise (#35046)
* feat: Upgrade Python dependency edx-enterprise

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

* fix: one space to force push

---------

Co-authored-by: kiram15 <31229189+kiram15@users.noreply.github.com>
Co-authored-by: Kira Miller <kira.miller15@yahoo.com>
2024-06-27 14:42:00 -06:00
Hamza Waleed
6d7fd926d1 Merge pull request #35037 from openedx/hamzawaleed01/upgrade-edx-enterprise-3bc03b3
feat: Upgrade Python dependency edx-enterprise
2024-06-27 18:49:59 +05:00
hamzawaleed01
8d4ec2e7e7 Merge branch 'master' of github.com:openedx/edx-platform into hamzawaleed01/upgrade-edx-enterprise-3bc03b3 2024-06-27 15:56:41 +05:00
Ahtisham Shahid
15e2834825 chore: removed obsolete feature flags (#34942) 2024-06-27 13:58:54 +05:00
Deborah Kaplan
8c40057c10 feat: switching to celery native backoff for cert awarding (#35009)
* feat: switching to celery native backoff for cert awarding

Our homegrown backoff/retry was good enough for a while, but we ran into
a huge disabling event when too many changes were made simultaneously.
Since this code was first written, celery has built in good back
off/retry functionality, including jitter, to make sure that all the
retries don't happen simultaneously.

* Switches to using celery native backoff
* Refactors a huge try/catch block so the exception handling is on
  smaller subsets of code

FIXES: APER-3510

* feat: switching to celery native backoff for cert awarding

* Fixed the grammar in a couple of comments
* fixed a couple of lending errors

FIXES: APER-3510

* feat: limiting PII in logs per code review

per code review

FIXES: APER-3510

* feat: code review feedback

* removing some more PII from logs, even where it was not requested
* circuit breaker returned from grading attempt if course key is bad
* add missing tests for that functionality

FIXES: APER-3510

* feat:  improved logging

per code review, adding a log message explaining certificate mode
issues

FIXES: APER-3510

* feat:  fixing a bad string

lint error, and left off the format string modifier

FIXES: APER-3510

* feat: style

linter error

FIXES: APER-3510
2024-06-26 11:45:28 -04:00
hamzawaleed01
a610c4b79a feat: Upgrade Python dependency edx-enterprise
feat: Update permissions to grant access to provisioning admins

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-06-26 13:32:39 +00:00
ayesha waris
3bc03b33ac fix: fixed permissions for voted (#34993)
* fix: fixed permissions for voted

* fix: fixed test cases
2024-06-26 15:55:48 +05:00
Nathan Sprenkle
deb5b0f038 feat: add filter to hook render of XBlock (#34865)
* Bumps openedx-filters to 1.9.0
* Adds filter to hook render of XBlock
* Disables a too-many-statements warning on render_xblock function
2024-06-25 11:17:20 -04:00
Feanil Patel
a26e4b4963 Merge pull request #35034 from irtazaakram/GHartifactissue#34985
fix: gha artifact upload issues
2024-06-25 10:17:43 -04:00
Irtaza Akram
4fa1a4b6b3 fix: github action artifact upload issue 2024-06-25 16:46:10 +05:00
Robert Raposa
c596736117 fix: delete flaky TestGetCourseUserPartitions tests (#35029)
The following TestGetCourseUserPartitions tests were deleted:
- test_enrollment_track_partition_not_added_if_conflict
- test_enrollment_track_partition_not_added_if_disabled

For details, see:
https://github.com/openedx/edx-platform/issues/35028
2024-06-24 17:22:04 -04:00
Chris Chávez
4fd60c4536 feat: Create content in library permission added to API response (#34934) 2024-06-24 12:15:57 -07:00
Syed Sajjad Hussain Shah
5e3181ce61 Revert "feat: add register intent prop for login segement call (#34891)" (#35021)
This reverts commit a2aa6bd2db.
2024-06-24 12:58:31 +05:00
Troy Sankey
2adee016aa Merge pull request #35022 from openedx/pwnage101/upgrade-edx-enterprise-ad368de
feat: Upgrade Python dependency edx-enterprise
2024-06-21 09:10:21 -07:00
pwnage101
2a0a6552e6 feat: Upgrade Python dependency edx-enterprise
enterprise enrollment/unenrollment enhancements

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-06-21 15:15:23 +00:00
Jorg Are
ad368de72a Merge pull request #34977 from openedx/hajorg/au-2070-youtube-videos-id
feat: get youtube videos edx_video_id for a course
2024-06-21 10:47:48 +01:00
hajorg
cf6c55a9aa feat: get youtube videos edx_video_id for a course 2024-06-21 08:49:16 +01:00
renovate[bot]
2bdc3410df fix(deps): update dependency popper.js to v1.16.1 2024-06-20 20:34:08 +00:00
renovate[bot]
4205024f04 chore(deps): update dependency stylelint-formatter-pretty to v1.1.4 2024-06-20 14:22:12 +00:00
Feanil Patel
e4c72808a9 Merge pull request #34998 from openedx/feanil/test_with_node_20
build: Add node 20 to the test matrix.
2024-06-20 09:26:16 -04:00