Commit Graph

64462 Commits

Author SHA1 Message Date
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
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
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
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
Omar Al-Ithawi
e698cc363f chore: bump to xblock[django]==1.9.0 2024-01-12 12:29:31 +03:00
github-actions[bot]
1f3d232509 feat: Upgrade Python dependency edx-drf-extensions (#34041)
Refactors forgiving JWT code to use username.

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

Co-authored-by: robrap <robrap@users.noreply.github.com>
2024-01-11 18:13:17 +00:00
Feanil Patel
02f8731419 Merge pull request #33502 from Zeit-Labs/shadinaif/FC-0012-OEP-58.atlas-pull
feat: FC-0012 - add atlas pull behind a flag
2024-01-11 08:57:23 -05:00
Muhammad Adeel Tajamul
e3b122b7af fix: legacy reported content will send email based on discussion settings (#34006) 2024-01-11 16:55:42 +05:00
Attiya Ishaque
5b06de4b97 feat: add work experience field. (#34034) 2024-01-11 15:53:31 +05:00
Jenkins
e3927bd34e chore: geoip2: update maxmind geolite country database 2024-01-10 15:59:21 -05:00
Kristin Aoki
4a1458b9d6 fix: videos title in content dropdown for mfe page (#34038) 2024-01-10 10:19:59 -05:00
Agrendalath
d57e5f61ea fix: add JwtRestrictedApplication check to XBlock callback 2024-01-10 08:47:08 -05:00
Ehmad Saeed⚡
ea0b6fb5f4 Merge pull request #34037 from openedx/justEhmadSaeed/upgrade-edx-enterprise-2eabfe1
feat: Upgrade Python dependency edx-enterprise
2024-01-10 18:43:31 +05:00
justEhmadSaeed
689d48c58c feat: Upgrade Python dependency edx-enterprise
refactor learner data transmission audit records to utilize the existing records

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-01-10 18:23:27 +05:00
Ahtisham Shahid
2eabfe10c0 fix: remove sender id from audiance (#34005)
fix: resolved linter errors
2024-01-10 14:52:16 +05:00
Troy Sankey
0b95b5de03 Merge pull request #34031 from openedx/pwnage101/ENT-8169-2
chore: bump edx-enterprise to 4.9.1 to add more verbose error messages
2024-01-09 15:59:59 -08:00
Troy Sankey
3b84df3ed7 chore: bump edx-enterprise to 4.9.1 to add more verbose error messages
ENT-8169
2024-01-09 15:13:13 -08:00
David Nuon
ff3d21f186 feat: bump edx-search to 3.8.2 (#34032) 2024-01-09 15:03:57 -08:00
connorhaugh
2b47b8a379 feat: make course -> lib import synchronous (#34030)
* feat: make course -> lib import synchronous

---------

Co-authored-by: Kyle McCormick <kyle@axim.org>
2024-01-09 15:54:02 -05:00
Yusuf Musleh
8d2ddd73ec feat: Add tags count for v2 library components (#33979) 2024-01-09 10:23:30 -08:00
Troy Sankey
829ac5178f Merge pull request #34022 from openedx/pwnage101/ENT-8169
chore: bump edx-enterprise to 4.9.0 to get "Setup auth org id" button
2024-01-09 09:56:36 -08:00
leangseu-edx
a11d8fb563 feat: Upgrade Python dependency ora2
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-01-09 11:06:01 -05:00
David Nuon
150bcbc30d feat: bump edx-search to 3.8.1 (#34019) 2024-01-09 08:04:52 -08:00
connorhaugh
efaef4510e fix: protect video transcript handler from scraper (#34017)
Web scrapers do annoying stuff like visit urls they shouldn't know about and cause xblock handlers to break.
I tested this by:
Making sure video transcripts worked as normal while logged in
making sure that I got no 500s in my logs while attempting to view it logged out.
2024-01-08 18:14:03 -05:00
Troy Sankey
e65b6fe0ca chore: bump edx-enterprise to 4.9.0 to get "Setup auth org id" button
Together with a config change, this version bump will add a "Setup auth
org id" button to the Change Enterprise Customer django admin screen.

ENT-8169
2024-01-08 13:53:52 -08:00
Jenkins
83d104f50d chore(i18n): update translations 2024-01-08 14:49:57 -05:00
Rômulo Penido
3c9ac69d8f chore: update openedx-learning version to 0.4.1 (#34015) 2024-01-08 10:53:50 -08:00
María Guillermina Véscovo
2dee428d06 Merge pull request #34014 from openedx/hot-fix-hide-feedback-widget-when-no-video-id
fix: prevent transcript feedback widget from appearing when there is no video_id
2024-01-08 13:37:41 -03:00
María Guillermina Véscovo
9979ea2ba9 fix: prevent transcript feedback widget from appearing when there is no
video_id
2024-01-08 13:04:35 -03:00
Navin Karkera
9cd1d7c3c8 feat: create DRF endpoint to get course index context (#33943)
* feat: create DRF endpoint to get course index context

* refactor: update serializers location and added some tests

* refactor: move modulestore usage out of views

* fix: move course index call under bulk_operations

* test: add test to track db and mongo queries

---------

Co-authored-by: ruzniaievdm <ruzniaievdm@gmail.com>
2024-01-08 09:36:56 -05:00
Justin Hynes
2209549e68 Merge pull request #34000 from openedx/jhynes/APER-2551
docs: add diagrams for course cert awarding and revocation
2024-01-05 14:13:11 -05:00
Nathan Sprenkle
b811b290fc chore: bump ORA to 6.0.22 (#34010) 2024-01-04 21:30:33 +00:00