Commit Graph

63259 Commits

Author SHA1 Message Date
Muhammad Zubair
8e2612358d feat: resolved linting issues 2023-06-22 18:52:20 -04:00
Muhammad Zubair
33bc48b8de feat: resolved linting issues 2023-06-22 18:52:20 -04:00
Muhammad Zubair
2887e8967e feat: resolved linting issues 2023-06-22 18:52:20 -04:00
Muhammad Zubair
b88a34d3f5 feat: update logic and modified code 2023-06-22 18:52:20 -04:00
Muhammad Zubair
4d4f1cd1b5 chore: added a django management command to expire old entitlements and create new one against them 2023-06-22 18:52:20 -04:00
Alexander J Sheehan
b3fd3c9562 Merge pull request #32551 from openedx/asheehan-edx/bumping-enterprise-version-3.67.2
chore: bumping enterprise package version to 3.67.2
2023-06-22 16:16:26 -04:00
Alexander J Sheehan
e58af88ba1 chore: bumping enterprise package version to 3.67.2 2023-06-22 19:55:24 +00:00
Jenkins
22989f4fe8 chore(i18n): update translations 2023-06-22 12:34:48 -04:00
Alexander J Sheehan
61982ca66b Merge pull request #32548 from openedx/asheehan-edx/bumping-enterprise-version-3.67.1
chore: bumping enterprise package version to 3.67.1
2023-06-22 12:33:44 -04:00
Alexander J Sheehan
7ccdaaced8 chore: bumping enterprise package version to 3.67.1 2023-06-22 16:12:32 +00:00
Nguyen Tuan Anh
6e8328b01d test: change modulestore/tests/test_mongo.py to use ddt (#31956)
The file modulestore/tests/test_mongo.py contained some deprecated tests using 
old-style yield, this has since been deprecated by pytest.
The two outdated tests include:
- test_write, which was refactored to use ddt.data
- test_delete, which was refactored to two smaller tests 
  (test_delete_key_error, test_delete_key_default)
2023-06-22 15:43:11 +02:00
Jody Bailey
b559a61c14 fix: added response for austin masters program in CPR views (#32544)
* fix: added response for austin masters program in CPR views

* test: fixed test names and docstrings

* chore: pylint check fixes
2023-06-22 14:21:25 +02:00
Awais Qureshi
92cba6c71c fix: updating bucket to bucket_name. These are deprecated. (#32533)
* fix: updating bucket to bucket_name. These are deprecated.

https://github.com/jschneier/django-storages/blob/master/CHANGELOG.rst#17-2018-09-03
2023-06-22 16:14:22 +05:00
Zainab Amir
4792f9e792 Revert "feat: send some user traits in successful registration response (#32532)" (#32543)
This reverts commit e30bf391c9.
2023-06-22 13:33:20 +05:00
Jenkins
fa93f5c3a2 chore: geoip2: update maxmind geolite country database 2023-06-21 16:58:57 -04:00
Alejandro Matta
fd08f26e5d feat: change wording ccpa footer link (#32303)
Co-authored-by: Alejandro Matta <amatta2u@gmail.com>
2023-06-21 16:12:42 -04:00
Agrendalath
71fee4a4a0 feat!: remove block handling from runtime initialization of ReplaceURLService
BREAKING CHANGE: This removes the following deprecated shims from the runtime:
`replace_urls`, `replace_course_urls`, `replace_jump_to_id_urls`. XBlocks need
to use the `replace_urls` service instead.
2023-06-21 20:28:24 +02:00
Kyle McCormick
a903230a74 revert build: common/static/css/xmodule -> xmodule/static/css (#32291)" (#32526)
This reverts commit 5671dab975.

The original PR is causing styling issues due to broken CSS references
on studio.edx.org.

See https://github.com/openedx/edx-platform/issues/32292 for follow-up.
2023-06-21 14:23:36 -04:00
Piotr Surowiec
0137f21627 feat: move XQueueService from the runtime to ProblemBlock
The XQueueService is used only by the ProblemBlock. Therefore, we are moving 
it out of the runtime, and into the ProblemBlock, where it's initialized only 
when it's going to be used.
2023-06-21 20:08:31 +02:00
ihor-romaniuk
9e0b59fe87 fix: simplify code by using common method 2023-06-21 13:38:41 -04:00
ihor-romaniuk
efe40657b4 fix: save scroll position on exit from video xblock fullscreen mode 2023-06-21 13:38:41 -04:00
Jenkins
1a58d864e0 chore(i18n): update translations 2023-06-21 13:35:27 -04:00
Nawfal Ahmed
28ebe5221f fix: fix subscription timezone logic (#32536) 2023-06-21 18:10:20 +05:00
Mohammad Ahtasham ul Hassan
597a1f1837 fix: unrestrict enterprise learner from B2C subscriptions (#32534) 2023-06-21 15:56:35 +05:00
Moeez Zahid
9a8f08f972 fix: Handle invalid_client error for Apple migration (#32531) 2023-06-21 14:20:39 +05:00
Syed Sajjad Hussain Shah
e30bf391c9 feat: send some user traits in successful registration response (#32532)
VAN-1499
2023-06-21 13:21:30 +05:00
Ahtisham Shahid
bf4b3c628b refactor: updated api reference from unseen to seen (#32501) 2023-06-21 13:02:28 +05:00
Feanil Patel
c2c0e67a5d Merge pull request #32341 from open-craft/kshitij/remove-edx-sphinx-theme
chore: replace edx-shinx-theme with sphinx-book-theme in dev dependencies
2023-06-20 15:14:44 -04:00
Zachary Hancock
41c27e8cbd Add exams dashboard MFE to instructor dash (#32493)
* feat: use new exams mfe for lti enabled courses
2023-06-20 10:21:43 -04:00
Kyle McCormick
5671dab975 build: common/static/css/xmodule -> xmodule/static/css (#32291)
Now that all XModule SCSS is located in xmodule/static/sass,
it would make sense to co-locate the CSS there as well.

We also add a README to explain the purpose of this new folder.

In the future, we will move xmodule/js and xmodule/assets
into xmodule/static as well.

Part of: https://github.com/openedx/edx-platform/issues/32292
2023-06-20 08:05:05 -04:00
Raza Dar
aaac11cfae Merge pull request #32521 from openedx/mrazadar/PON-88/orders-and-subscriptions
Revert: History changed to Orders & Subscriptions behind a flag
2023-06-20 16:53:49 +05:00
Raza Dar
a18e418a07 feat: update: Reverted - History changed to Orders & Subscriptions 2023-06-20 16:18:54 +05:00
Awais Qureshi
2a1cf5f0d0 chore: upgrading djangorestframework. (#32487)
* chore: upgrading djangorestframework.
2023-06-20 16:03:34 +05:00
Mohammad Ahtasham ul Hassan
4048bf9fb4 feat: fix throttling for subscription service user (#32473)
* feat: add subscriptions_worker to ent access list

* fix: add throttle for entitlement APIS
2023-06-20 14:58:35 +05:00
Awais Qureshi
78e4bd0844 Revert "Revert "feat!: openedx-django-pyfs will now use boto3 to generate-urls. (#32453)" (#32477)" (#32503)
This reverts commit ee0bdecf85.
2023-06-20 14:27:29 +05:00
Muhammad Adeel Tajamul
aab3624960 feat: added parser to update existing notification on get (#32450) 2023-06-20 14:10:21 +05:00
SaadYousaf
4c36156c8c feat: add content field property to Notification model 2023-06-20 13:32:52 +05:00
Raza Dar
6c41246e85 Merge pull request #32490 from openedx/mrazadar/PON-88/orders-and-subscriptions
feat: add B2C subscription flag for header change
2023-06-20 12:47:09 +05:00
Moeez Zahid
9fd913bb03 fix: Add platform name to mobile config cache key (#32504) 2023-06-19 19:46:25 +05:00
Awais Ansari
8990035116 feat: add notifications mark as read API (#32475)
* feat: add notifications mark as read API

* chore: update description for mark as read notification URL

* refactor: resolve pylint issue

* refactor: notifications mark as read API and test cases

* feat: add translated messages in notificationsAPI response
2023-06-19 18:47:56 +05:00
Awais Qureshi
7a217bf912 fix: removed 'providing_arg from code its removed in django40. (#32474) 2023-06-19 16:49:34 +05:00
SaadYousaf
3eab837c0b feat: add management command to generate notification preferences for course 2023-06-19 16:45:28 +05:00
github-actions[bot]
4597cfc070 feat: Upgrade Python dependency learner-pathway-progress (#32505)
chore: Added management command to update LearnerPathwayProgress

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

Co-authored-by: bilaltahir21 <bilaltahir21@users.noreply.github.com>
2023-06-19 15:46:22 +05:00
Usama Sadiq
03489910ba fix: update s3 connection method (#32492)
* fix: update s3 connection method and fixing tests.
2023-06-19 15:15:48 +05:00
Kshitij Sobti
457fd46599 chore: replace edx-shinx-theme with sphinx-book-theme in dev dependencies
As part of the deprecation process for edx-sphinx-theme a previous PR switched
to sphinx-book-theme, however edx-sphinx-theme still remained as a dependency in
one place, which is now removed in this PR.
2023-06-19 15:22:25 +05:30
Moeez Zahid
2d1a6e27fc refactor: Add exception handling to Apple migration commands (#32500)
* refactor: Add exception handling to Apple migration commands

* refactor: Remove extra import
2023-06-19 14:07:24 +05:00
Jenkins
23fa9248de chore(i18n): update translations 2023-06-18 17:04:20 -04:00
Kyle McCormick
0b455e0336 build: commit XModule SCSS entrypoints of generating them (#32290)
`xmodule_assets` generated a series of SCSS "entrypoint"
files, where each entrypoint file imported from the
SCSS "sources" in xmodule/css.

This process was more complicated up until very
recently (see PRs in issue linked below for more
context). Now that the process is simpler, though,
there is no reason to generate the SCSS entrypoints;
we can just commit them to the repository instead!
So, we go from this:

    # GENERATED: SCSS entrypoints files for CMS
    common/static/xmodule/descriptors:
       AboutBlockStudio.scss
       AnnotatableBlockStudio.scss
       ...
    # GENERATED: SCSS entrypoints files for LMS
    common/static/xmodule/modules:
       AboutBlockPreview.scss
       AnnotatableBlockPreview.scss
       ...
    # VERSION CONTROLLED: SCSS source files
    xmodule/css:
      annotatable/...
      capa/...
      ...

to this:

    # VERSION CONTROLLED: All XModule SCSS
    xmodule/static/sass:
      # Source files
      include:
        annotatable/...
        capa/...
        ...
      # CMS entrypoint files
      cms:
        AboutBlockStudio.scss
        AnnotatableBlockStudio.scss
        ...
      # LMS source files
      lms:
        AboutBlockPreview.scss
        AnnotatableBlockPreview.scss
        ...

Also, we are able to remove all SCSS-related logic from the
`xmodule_assets` script and from the `HTMLSnippet` class.
XModule JS assets still need processing, but we will address
those in a separate series of PRs.

Part of: https://github.com/openedx/edx-platform/issues/32292
2023-06-16 08:51:03 -04:00
Usama Sadiq
ee0bdecf85 Revert "feat!: openedx-django-pyfs will now use boto3 to generate-urls. (#32453)" (#32477)
This reverts commit 6bef88c9f6.
2023-06-16 15:38:00 +05:00
Raza Dar
b05fe46267 feat: add B2C subscription flag for header change 2023-06-16 14:39:59 +05:00