Commit Graph

63277 Commits

Author SHA1 Message Date
github-actions[bot]
ef0fa643f5 feat: Upgrade sphinx and removed edx-sphinx-theme 2023-06-23 16:07:49 +05:00
Muhammad Zubair
a00c21f850 Merge pull request #32528 from openedx/zubair-expire_create_entitlements_command
temp: [REV-3574] create management command expire_and_create_entitlements
2023-06-23 15:17:56 +05:00
Phillip Shiu
5dfe83d154 chore: quality 2023-06-22 22:52:10 -04:00
Phillip Shiu
eee3db8820 perf: run select count(*) only once for entitlements.count()
Not much of an optimization, but might shave a couple seconds if the
number of entitlements on production are large.

Django will use the _result_cache if the QuerySet has already been
retrieved:

107865780a/django/db/models/query.py (L597-L598)
2023-06-22 22:42:49 -04:00
Phillip Shiu
d4ae7bfa06 fix: use newly created (not expired) entitlement id in logs and support records 2023-06-22 22:37:45 -04:00
Phillip Shiu
c973059ae7 feat: add start/end/length log information at beginning of each expire_and_create_entitlements task 2023-06-22 22:37:17 -04:00
Phillip Shiu
9dfa5563f5 feat: remove hardcodes of exceptional course uuids and username for support notes
The values of these may vary across our environments, so it may be
useful for testing to be able to set these from the management command
arguments.
2023-06-22 22:10:59 -04:00
Phillip Shiu
0ca47c7119 fix: use get_user_model() for E5102 imported-auth-user
Don't import django.contrib.auth.models.User model. Use
django.contrib.auth.get_user_model() instead.

36ea72b37c/pylint_django/checkers/auth_user.py (L18-L22)
2023-06-22 18:52:20 -04:00
Muhammad Zubair
43ea99e3a6 feat: skipped linting check 2023-06-22 18:52:20 -04:00
Muhammad Zubair
3e9038efcc feat: removed extra comma 2023-06-22 18:52:20 -04:00
Muhammad Zubair
ee968a1431 feat: fixed linting issues 2023-06-22 18:52:20 -04:00
Muhammad Zubair
825d161d1a feat: fixeid linting issues 2023-06-22 18:52:20 -04:00
Muhammad Zubair
1484750c8a feat: updated query to avoid enntitlements with with course run. 2023-06-22 18:52:20 -04:00
Muhammad Zubair
f674e35d1b feat: fixed linting issues 2023-06-22 18:52:20 -04:00
Muhammad Zubair
aefdc750a6 feat: incorporated feedback comments 2023-06-22 18:52:20 -04:00
Muhammad Zubair
3133628007 feat: incorporated feedback comments 2023-06-22 18:52:20 -04:00
Muhammad Zubair
a9afb4fb5b feat: added user in support_details object 2023-06-22 18:52:20 -04:00
Muhammad Zubair
a0d3c21295 feat: incorporated feedback comments 2023-06-22 18:52:20 -04:00
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