Mohammad Ahtasham ul Hassan
1af9803cc0
fix: fix revocation utility comparison ( #32751 )
...
* fix: fix revocation utility comparison
2023-07-15 00:14:19 +05:00
Mohammad Ahtasham ul Hassan
34766474c0
fix: fix entitlement revocation task ( #32750 )
2023-07-14 20:12:59 +05:00
Mohammad Ahtasham ul Hassan
024096a589
temp: add temporary logging for entitlement revocation ( #32746 )
...
* temp: add temporary logging for entitlement revocation
2023-07-14 16:04:17 +05:00
Shahbaz Shabbir
f6071490e8
feat: add a command to fetch unsubscribed emails from Braze
2023-07-13 18:13:14 +05:00
Mohammad Ahtasham ul Hassan
7fe5229bbb
feat: Add new entitlement expiration endpoint ( #32677 )
...
* feat: add new entitlements expiration endpoint
2023-07-13 13:38:20 +05:00
Jenkins
5379daf83e
chore: geoip2: update maxmind geolite country database
2023-07-12 17:08:57 -04:00
leangseu-edx
2025a3b55f
fix: MathJax equations flickering ( #32696 )
...
* Revert "Revert "fix: mathjax resize on sindow resize (#32606 )""
This reverts commit 9dac65a35a .
* fix: mathjax wrap overflow and flickering
2023-07-11 11:19:44 -04:00
leangseu-edx
9dac65a35a
Revert "fix: mathjax resize on sindow resize ( #32606 )"
...
This reverts commit a68fd49103 .
2023-07-07 15:20:47 -04:00
John Nagro
74e3bb9fd4
fix: correct bug in sapsf country to code mapping ( #32675 )
2023-07-06 20:28:38 +00:00
Ahtisham Shahid
b477a20ad2
Added notifications for discussions events ( #32432 )
...
* feat: added notifications for discussions app
* feat: added unit tests for handler
* feat: updated openedx-events package
* fix: updated notification creation logic and tests
* refactor: updated openedx-event version and event name
* refactor: moved logic to separate methods
2023-07-06 13:33:20 +05:00
Jenkins
5ccdd2126f
chore: geoip2: update maxmind geolite country database
2023-07-05 16:59:02 -04:00
Ben Warzeski
a68fd49103
fix: mathjax resize on sindow resize ( #32606 )
...
* fix: mathjax resize on sindow resize
* fix: add resize for mathjax in wiki and cms
2023-07-05 14:49:03 +00:00
John Nagro
6d5dcdf77a
fix: improve username generation ( #32613 )
2023-06-30 09:47:02 -04:00
Jenkins
7ef20f0b91
chore: geoip2: update maxmind geolite country database
2023-06-28 16:58:53 -04: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
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
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
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
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
Jenkins
fa93f5c3a2
chore: geoip2: update maxmind geolite country database
2023-06-21 16:58:57 -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
Moeez Zahid
9a8f08f972
fix: Handle invalid_client error for Apple migration ( #32531 )
2023-06-21 14:20:39 +05:00
Awais Qureshi
2a1cf5f0d0
chore: upgrading djangorestframework. ( #32487 )
...
* chore: upgrading djangorestframework.
2023-06-20 16:03:34 +05:00