Commit Graph

64496 Commits

Author SHA1 Message Date
John Nagro
eaec617a4b feat: release edx-enterprise 4.10.7 (#34096) 2024-01-23 16:31:42 +00:00
Muhammad Soban Javed
6f32d0e6f1 Revert "chore!: upgrade Django version to 4.2 (LTS)" (#34095) 2024-01-23 19:07:53 +05:00
Muhammad Soban Javed
fc8e40fb10 chore!: upgrade Django version to 4.2 (LTS) (#33969)
* chore!: upgrade Django version to 4.2 (LTS)

* feat: Upgrade Python dependency Django

chore!: upgrade Django version to 4.2

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

* chore: Update common.py

* chore: Update common.py

---------

Co-authored-by: Muhammad Soban Javed <iamsobanjaved@gmai.com>
Co-authored-by: iamsobanjaved <iamsobanjaved@users.noreply.github.com>
Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
2024-01-23 16:53:34 +05:00
bydawen
4ec70eb98b feat: add brand_color variable for the email templates (#33421)
* feat: add brand_color variable for the email templates

* test: fix tests assertations

---------

Co-authored-by: Eugene Dyudyunov <evgen.dyudyunov@raccoongang.com>
2024-01-23 13:21:06 +05:00
Marcos
e00b79c12a Merge pull request #34078 from openedx/rijuma/add-active-courses-option-to-reindex_courses
Added --active option for reindex_courses
2024-01-22 21:09:16 -03:00
John Nagro
672b8c574c feat: release edx-enterprise 4.10.6 (#34090) 2024-01-22 22:08:52 +00:00
github-actions[bot]
333049fd52 feat: Upgrade Python dependency ora2 (#34088)
Reduces duplicate workflow lookups in workflow API

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

Co-authored-by: nsprenkle <nsprenkle@users.noreply.github.com>
2024-01-22 21:12:35 +00:00
Marcos
a6dd0fe606 fix: Updated comment on test case 2024-01-22 16:57:52 -03:00
Marcos
bda102de51 feat: Added --active option for reindex_courses 2024-01-22 16:54:03 -03:00
Justin Hynes
18775cb09f Merge pull request #34074 from openedx/jhynes/APER-3121
feat: Use built-in retry features of Celery when retrying Credentials grading tasks
2024-01-22 13:37:57 -05:00
Justin Hynes
ee380b7563 feat: Use built-in retry features of Celery when retrying Credentials grading tasks 2024-01-22 18:09:44 +00:00
John Nagro
3fcd41fbb5 feat: release edx-enterprise 4.10.5 (#34086) 2024-01-22 16:08:23 +00:00
Andrew Shultz
aba09793ed Merge pull request #34070 from openedx/ashultz0/reindex-on-commit
Make re-indexing wait for the data using on_commit
2024-01-22 11:01:08 -05:00
Deborah Kaplan
611e3cc5c7 Merge pull request #34042 from openedx/dkaplan1/APER-2851_replicate-share-certificate-in-facebook-improvements-for-edx.org
feat: adds a certificate template modifier
2024-01-22 09:23:19 -05:00
Jenkins
2ae915587d chore(i18n): update translations 2024-01-21 16:04:30 -05:00
John Nagro
4cfd6ca8c7 feat: release edx-enterprise 4.10.4 (#34076) 2024-01-18 18:45:46 -05:00
Rômulo Penido
f2606ca62c fix: capitalization of "Manage Tags" menu item in Studio (#34072) 2024-01-18 12:04:07 -08:00
Andy Shultz
7b7a0d3773 fix: make reindexing wait for the data using on_commit
includes a very long comment explaining this for future developers
2024-01-18 12:57:38 -05:00
Deborah Kaplan
b4bf07660e feat: fixes from code review
improving a comment

FIXES: APER-2851
2024-01-18 15:14:24 +00:00
Deborah Kaplan
a35a6f908e feat: linter
Fixing a linter air

FIXES: APER-2851
2024-01-18 13:49:22 +00:00
Deborah Kaplan
e0ef013f02 feat: fixing some codestyle/lint errors
not sure why the manual linter didn't complain

FIXES: APER-2851
2024-01-17 22:00:30 +00:00
Deborah Kaplan
35d041e144 Merge branch 'master' into dkaplan1/APER-2851_replicate-share-certificate-in-facebook-improvements-for-edx.org 2024-01-17 16:48:51 -05:00
Deborah Kaplan
994b8a3d49 feat: adding tests to modify cert template
Re-factored to make the code more testable, and added some more tests,
also improved dry run logging

FIXES: APER-2851
2024-01-17 21:41:21 +00:00
Jenkins
11cbf0d6f7 chore: geoip2: update maxmind geolite country database 2024-01-17 15:59:24 -05:00
MueezKhan246
1efdd1abcb Merge pull request #34069 from openedx/MueezKhan246/upgrade-edx-enterprise-0a0d8d8
feat: Upgrade Python dependency edx-enterprise
2024-01-18 01:39:25 +05:00
Deborah Kaplan
f89c6ff677 Merge branch 'master' into dkaplan1/APER-2851_replicate-share-certificate-in-facebook-improvements-for-edx.org 2024-01-17 09:42:07 -05:00
MueezKhan246
380783270a feat: Upgrade Python dependency edx-enterprise
removed unencrypted user credentials data columns

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-01-17 13:49:07 +00:00
MueezKhan246
0a0d8d8fee Merge pull request #34068 from openedx/MueezKhan246/upgrade-edx-enterprise-00630cf
feat: Upgrade Python dependency edx-enterprise
2024-01-17 14:59:20 +05:00
MueezKhan246
c651f84748 feat: Upgrade Python dependency edx-enterprise
Added json field in learner transmission audit to record 3 most response status information

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-01-17 09:31:16 +00:00
Deborah Kaplan
7c78473b0c Merge branch 'master' into dkaplan1/APER-2851_replicate-share-certificate-in-facebook-improvements-for-edx.org 2024-01-16 18:09:03 -05:00
Deborah Kaplan
cccb960f20 feat:tests for certificate template modifier
still needs mocks for all tests to work

FIXES: APER-2851
2024-01-16 23:07:51 +00:00
Asespinel
00630cf22d refactor: changed survey report message location and added a new info… (#34033)
* refactor: changed survey report message location and added a new informative sent state

* chore: added Generate and Send text on button

* chore: added comment to new state column and added reference to static jquery.

* fix: fixed non Attribute error when a report hasn't been sent yet
2024-01-16 16:25:05 -05:00
ahmed-zubair-1998
73a446d85b perf: Reduce database calls when generating problem responses report (#33940)
During the process of generatinng report for problem responses,
there are two places where N + 1 query problem exist. In both
cases, `StudentModule` objects are fetched and looped over where
`student.username` field for each object is accessed. This result
in a seperate database call to get the username for each student
response.

This problem is fixed by creating a join to fetch the related
table in the original query using `select_related`. In a test
conducted on report having 5000 `StudentModule` objects, the
number of queries for the request reduced from 8363 to 29. The
total time taken for the task reduced from 23764 ms to 7394 ms.
2024-01-16 13:41:15 -05:00
github-actions[bot]
3078042e89 feat: Upgrade Python dependency ora2 (#34064)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: jansenk <jansenk@users.noreply.github.com>
2024-01-16 16:44:09 +00:00
Deborah Kaplan
817c8f28cd Merge branch 'master' into dkaplan1/APER-2851_replicate-share-certificate-in-facebook-improvements-for-edx.org 2024-01-16 11:06:32 -05:00
Kyle D. McCormick
ef0fc97a2d fix: in generate_block_key, get the usage key's block_id, not usage_id
UsageKeys don't have a usage_id field. This line would have crashed
if run.
2024-01-16 09:37:40 -05:00
Kyle D. McCormick
e8b60aef60 fix: move BlockKey and derived_key to avoid cyclical import
After we merged this PR: https://github.com/openedx/edx-platform/pull/33920
this error began popping up in logs:

    Unable to load XBlock 'staffgradedxblock'
    ....
    ImportError: cannot import name 'get_course_blocks' from
    partially initialized module 'lms.djangoapps.course_blocks.api'
    (most likely due to a circular import) ...

The root cause was the new imports of `derived_key` and `BlockKey` into
xmodule/library_content_block.py. Those new imports come from
xmodule/modulestore/store_utilities.py, which runs
`XBlock.load_classes()` at the module level, which fails because we are
still in the process of loading xmodule/library_content_block.

As a solution, we move both `derived_key` and `BlockKey` to
xmodule/util/keys.py. We could potentially move that file to opaque-keys
eventually, depending on how well we think that those concepts generalize.

Also:

* We rename the function from derived_key to derive_key, as
  functions should be verbs.
* We combine the first to parameters of derive_key (a source ContextKey
  and a source BlockKey) into a single parameter (a source UsageKey). In
  my opinion, this makes the function call easier to understand.
2024-01-16 09:37:40 -05:00
SaadYousaf
d772ed1519 feat: add new tracking event for course updates. 2024-01-16 14:41:26 +05:00
Lewis M. Kabui
780e908bbb fix: Replace deprecated .warn method with .warning (#34057)
The `logging.Logger.warn` method has been deprecated since Python 3.3
and is due to be removed all together in Python 3.13. See
https://github.com/python/cpython/pull/105377

`logging.Logger.warning` is the preferred and recommended way to log
warnings.

Fixes https://github.com/openedx/public-engineering/issues/149

Co-authored-by: Lewis M. Kabui <lewisemm@users.noreply.github.com>
2024-01-16 14:27:06 +05:00
Muhammad Adeel Tajamul
692b3ac4b2 fix: removed enable_discussion_mfe from email content (#34061) 2024-01-16 12:12:55 +05:00
MueezKhan246
d56c2465af Merge pull request #34054 from openedx/MueezKhan246/upgrade-edx-enterprise-3ccd2d1
feat: Upgrade Python dependency edx-enterprise
2024-01-15 20:10:02 +05:00
MueezKhan246
ebb60847a0 feat: Upgrade Python dependency edx-enterprise
replacing non encrypted fields of moodle config model with encrypted ones

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-01-15 13:05:56 +00:00
Jenkins
3ccd2d1ba6 chore(i18n): update translations 2024-01-14 16:04:24 -05:00
github-actions[bot]
2cd1410d99 feat: Upgrade Python dependency ora2 (#34050)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: jansenk <jansenk@users.noreply.github.com>
2024-01-12 18:13:49 +00:00
Chris Chávez
90879d167f feat: Tag count in components on Studio Unit page(#33928) 2024-01-12 09:35:23 -08:00
Feanil Patel
019888f3d1 Merge pull request from GHSA-qx8m-mqx3-j9fm
fix: add `JwtRestrictedApplication` check to XBlock callback
2024-01-12 11:26:28 -05:00
Feanil Patel
e7fc0c6b6f Merge pull request #33698 from Zeit-Labs/i18n-service-oep58
feat: `atlas pull` for XBlock translations | FC-0012
2024-01-12 09:50:15 -05:00
ayesha waris
2fd1f7bd90 chore: removed enable_course_live and enable_big_blue_button flag flags (#33998)
* chore: removed enable_course_live flag

* chore: removed enable_big_blue_button flag

* fix: fixing failed test cases
2024-01-12 15:24:46 +05:00
ayesha waris
53270f17b3 chore: removed and merged multiple flags into enable_discussions_mfe flag (#33983) 2024-01-12 15:07:00 +05:00
Omar Al-Ithawi
a5251cc705 feat: atlas pull for XBlock translations 2024-01-12 12:49:46 +03:00