Commit Graph

65475 Commits

Author SHA1 Message Date
Hamzah Ullah
57fd67158c chore: Upgrade edx-enterprise to 4.21.4 (#35110) 2024-07-10 15:33:12 -04:00
Deborah Kaplan
360159c642 feat: linting before touching all these files (#35108)
* feat:  linting before touching all these files

All these files are old enough, relative either to our current linting
rules or our current linter automation,  that modifying anything in them
either makes the linter cranky or wants to reformat  the entire file.
Rather than mixing cleanup with code changes, this commit just lints
this set of files to our current standards.
2024-07-10 14:29:53 -04:00
Hamza Waleed
f019367b5e Merge pull request #35107 from openedx/hamzawaleed01/upgrade-edx-enterprise-7124559
feat: Upgrade Python dependency edx-enterprise
2024-07-10 20:29:13 +05:00
Kyrylo Kireiev
53174178f3 feat: [FC-0047] Extend mobile API with course progress and primary courses on dashboard view (#34848)
* feat: [AXM-24] Update structure for course enrollments API (#2515)
---------
Co-authored-by: Glib Glugovskiy <glib.glugovskiy@raccoongang.com>

* feat: [AXM-53] add assertions for primary course (#2522)
---------
Co-authored-by: monteri <36768631+monteri@users.noreply.github.com>

* feat: [AXM-297] Add progress to assignments in BlocksInfoInCourseView API (#2546)
---------
Co-authored-by: NiedielnitsevIvan <81557788+NiedielnitsevIvan@users.noreply.github.com>
Co-authored-by: Glib Glugovskiy <glib.glugovskiy@raccoongang.com>
Co-authored-by: monteri <36768631+monteri@users.noreply.github.com>
2024-07-10 20:07:41 +05:00
hamzawaleed01
1cc7b2230d feat: Upgrade Python dependency edx-enterprise
chore: rename PAs django group name

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-07-10 14:57:50 +00:00
Deborah Kaplan
7124559906 feat: updating readmes for program/cert/creds apps (#35104)
The LMS `certificates` app `README`  has been, and the
openedx core `credentials` and `programs` READMEs  have been created.
This will clarify not only what the limited responsibilities
of each of these django apps is, but also the way they interact with
each other.

FIXES: APER-2929
2024-07-10 10:34:16 -04:00
Brian Beggs
96da9902c6 Merge pull request #35097 from openedx/bbeggs/ENT-9187
feat: check for session existance before cache access. ENT-9187.
2024-07-09 08:05:35 -04:00
Syed Sajjad Hussain Shah
67a1401f8a fix: should autogenerate username in tpa pipeline if feature is enabled (#35101) 2024-07-09 08:39:36 +00:00
Brian Beggs
7568e91a76 feat: check for session existance before cache access. ENT-9187. 2024-07-08 18:02:17 -04:00
Katrina Nguyen
3e090014f6 Merge pull request #35096 from openedx/knguyen/version-bump
chore: version bump
2024-07-08 12:40:51 -07:00
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
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