Commit Graph

65817 Commits

Author SHA1 Message Date
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
Omar Al-Ithawi
e698cc363f chore: bump to xblock[django]==1.9.0 2024-01-12 12:29:31 +03:00
Deborah Kaplan
392110bdda feat: pep8 fixes
pep8

FIXES: APER-2851
2024-01-11 22:27:47 +00:00
Deborah Kaplan
3ac66de476 feat: adding migration
adding the migration for  the ability to manage these command configs
via django admin

FIXES: APER-2851
2024-01-11 22:17:19 +00:00
Deborah Kaplan
ce48516c90 feat: fixing a long line problem
fixing a long line problem

FIXES: APER-2851
2024-01-11 22:08:48 +00:00
Deborah Kaplan
18027adfae feat: reordering includes
undid my auto formatters reordering of the includes, because I'm
assuming that's what the lint-amnesty directives are there for. Best
practice would have a human-written comment explaining why they need to
stay there, but I'm just going have to assume it's correct, Because no
such human-written comment exists.

FIXES: APER-2851
2024-01-11 21:56:12 +00:00
Deborah Kaplan
7bdb8ee0cc Merge branch 'master' into dkaplan1/APER-2851_replicate-share-certificate-in-facebook-improvements-for-edx.org 2024-01-11 16:51:34 -05:00
Deborah Kaplan
9657645fad feat: adds a certificate template modifier
adds a management command to modify certificate templates, with a dry
run option. Inherently unsafe; just as a search and replace on the first
string match.

TODO:
* unit tests
* make sure the multi-line string replacements work via django admin

FIXES: APER-2851
2024-01-11 21:45:34 +00: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
ruzniaievdm
ff8d3eae72 feat: Unit page API as DRF 2024-01-10 11:53:36 +02: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