Agrendalath
5f46ea52cd
feat: remove field data binding from the runtime
2023-06-26 19:21:22 +02:00
Phillip Shiu
8072c3e9ef
temp: fix entitlements_to_expire should be capped at entitlements_count ( #32579 )
2023-06-26 16:44:18 +00:00
Muhammad Zubair
ddf8c32844
Merge pull request #32577 from openedx/zubair/phil-add-standard-logging
...
temp: added standard logging and removed celery logging
2023-06-26 20:08:21 +05:00
Muhammad Zubair
2d0a8b44b7
feat: fixed failing checks related to linting and tests
2023-06-26 19:46:25 +05:00
Muhammad Zubair
3f84b14b92
feat: removed unnecessary ignore-liting message
2023-06-26 18:59:25 +05:00
Muhammad Zubair
4519ca405e
chore: added standard logging and removed celery logging
2023-06-26 18:47:17 +05:00
Zainab Amir
2fd3dc1840
feat: add utm_campaign to registration event ( #32574 )
2023-06-26 17:05:07 +05:00
Muhammad Zubair
83feb5430e
Merge pull request #32568 from openedx/pshiu/zubair-expire_create_entitlements_command
...
temp: save results & add tests/fixes for expire_and_create_entitlements
2023-06-26 16:02:12 +05:00
Muhammad Zubair
87953991e0
feat: removed extra blank line
2023-06-26 15:40:09 +05:00
Phillip Shiu
e115cd9873
test: for entitlements tasks.expire_and_create_entitlements
2023-06-25 22:48:21 -04:00
Phillip Shiu
82338bd375
fix: SyntaxError: use CourseEntitlement.objects, not .object
2023-06-25 22:12:10 -04:00
Phillip Shiu
2af47c7128
temp: remove celery ignore_result=True
...
We are lacking information in Flower about our Celery tasks that are
marked as successful but are actually failing.
Attempt to remove ignore_result=True to see if this is suppressing
valuable debugging information.
2023-06-25 22:11:08 -04:00
Jenkins
1a3ddd969f
chore(i18n): update translations
2023-06-25 17:04:48 -04:00
Phillip Shiu
fb9bf9325e
temp: fix use len(list) not list.count() in expire_and_create_entitlements ( #32565 )
2023-06-23 21:05:49 +00:00
Phillip Shiu
886227c88b
temp: fix EncodeError for username in expire_and_create_entitlements ( #32564 )
...
On running the management command, we get the folowing error:
kombu.exceptions.EncodeError: Object of type User is not JSON serializable
Pass a string of the username instead in the parameters of the tasks
created by the expire_and_create_entitlements management command.
2023-06-23 18:08:51 +00:00
Phillip Shiu
5996ae098b
temp: fix EncodeError & correct EntitlementSupportDetail action name in expire_and_create_entitlements ( #32562 )
...
* fix: EntitlementSupportDetail.action is EXPIRE, not EXPIRED
* fix: pass list of entitlement ids, not QuerySet subset for Celery json parser
On running the management command, we get the folowing error:
kombu.exceptions.EncodeError: Object of type CourseEntitlement is not JSON serializable
Pass a list of ints instead of a QuerySet object in the parameters of
the tasks created by the expire_and_create_entitlements management
command.
2023-06-23 14:31:12 +00:00
Nawfal Ahmed
80d151b404
feat: add marketing url to subscription upsell ( #32560 )
2023-06-23 12:54:15 +00:00
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