Commit Graph

65817 Commits

Author SHA1 Message Date
Yagnesh1998
751411951d feat: Remove block_structure.invalidate_cache_on_publish waffle flag … (#32517)
* feat: Remove block_structure.invalidate_cache_on_publish waffle flag depr33.

* feat: Update test_signals.py

* feat: Update signals.py

---------

Co-authored-by: Edward Zarecor <ezarecor@tcril.org>
2023-06-29 10:57:41 -04:00
Jenkins
7ef20f0b91 chore: geoip2: update maxmind geolite country database 2023-06-28 16:58:53 -04:00
Alexander J Sheehan
0302489189 Merge pull request #32596 from openedx/asheehan-edx/bumping-enterprise-version-3.67.6
chore: bumping enterprise package version to 3.67.6
2023-06-28 16:37:38 -04:00
Alexander J Sheehan
f673e8cc42 chore: bumping enterprise package version to 3.67.6 2023-06-28 20:16:39 +00:00
Edward Zarecor
a436c04b3e Merge branch 'master' into fix-FB-share 2023-06-28 16:35:43 +02:00
Jody Bailey
92301a245f fix: field adjustments to product recommendations endpoint (#32593)
* fix: field adjustments to product recommendations endpoint

* chore: formatting for files

* chore: indenting fix

* chore: removed f-strings
2023-06-28 15:46:33 +02:00
Rajendra Kadam
ad3b5610f1 test: remove unused helper functions from test_views.py
Since they were not used anywhere, it is ideal to delete them.

It would be redundant to keep them.
2023-06-28 14:35:53 +05:30
Kyle McCormick
478c301df5 docs: improve filters & events links in Hooks guide (#32588)
* point to upstream repos, not eduNEXT forks
* link to guides, not just source repos
* fix spelling of Open edX
2023-06-27 19:10:54 +00:00
Braden MacDonald
12a8d99824 feat: Copy/Paste associated static assets along with components (#32346)
* refactor: improve typing of StaticFile named tuple
* feat: copy static asset files into the clipboard
* feat: paste static assets
* feat: show notification in studio about pasted assets
* fix: HTML XBlocks would lose the editor="raw" setting when copy-pasted.
* feat: copy python_lib.zip to the clipboard when it seems to be in use
2023-06-27 12:06:43 -07:00
Alexander J Sheehan
32a3e2a94f Merge pull request #32586 from openedx/asheehan-edx/bumping-enterprise-version-3.67.5
chore: bumping enterprise package version to 3.67.5
2023-06-27 12:22:58 -04:00
Alexander J Sheehan
f34c777825 chore: bumping enterprise package version to 3.67.5 2023-06-27 15:53:24 +00:00
Awais Qureshi
4aca4d3fbb chore: Rename the bucket to bucket_name. (#32576)
https://github.com/jschneier/django-storages/blob/master/CHANGELOG.rst#1101-2020-09-13
2023-06-27 13:17:28 +05:00
Katrina Nguyen
85fee783c1 Merge pull request #32583 from openedx/openedx/knguyen2/ENT-6713
chore: edx-enterprise version bump
2023-06-26 13:00:53 -07:00
knguyen2
35cb53ad8e chore: edx-enterprise version bump 2023-06-26 19:34:06 +00:00
Kira Miller
6ab64b5a96 Merge pull request #32580 from openedx/kiram15/ENT-6882
chore: edx-enterprise version bump
2023-06-26 12:25:39 -06:00
Agrendalath
6c435bb68c feat: remove field-data service from runtime initialization 2023-06-26 19:21:22 +02:00
Agrendalath
5f46ea52cd feat: remove field data binding from the runtime 2023-06-26 19:21:22 +02:00
Kira Miller
b046282b22 chore: edx-enterprise version bump 2023-06-26 17:11:54 +00: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
Edward Zarecor
0ad7ab30f2 Merge branch 'master' into edx-depr31 2023-06-26 13:02:28 +02: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