Commit Graph

65817 Commits

Author SHA1 Message Date
Kyle McCormick
265701c01d feat!: remove library_sourced block (#33257)
Originally, we planned to add support for V2 libraries and for static
(hand-selected) library block reference via new block type: library_sourced.

We have since decided that it would be better to add those capabilities
in-place to the existing library_content block. This will ease V1->V2
library migration and make adoption of the new features easier for current
library users. It will also avoid duplication of logic between two block types,
we we fear would be error-prone. For details, see this ADR:
 https://github.com/openedx/edx-platform/pull/33231

So, we are removing the library_sourced block.
This block has existed in edx-platform for a few years now, but was not
enabled by default and never officially supported. It was only usable via the
experimental V2 content library feature. Operators who added library_sourced
blocks to their course will now see them render as `HiddenBlock` instances, i.e.:

> ERROR: "library_sourced" is an unknown component type...

This should not impact other component types in such courses and should not
impact import/export.
2023-09-15 10:04:38 -04:00
Kristin Aoki
e820162572 fix: add public video share valid course key check (#33260) 2023-09-15 09:05:59 -04:00
Ahtisham Shahid
202e79093c fix: Integraty error in enrollments api (#33265) 2023-09-15 17:41:20 +05:00
Muhammad Adeel Tajamul
5fcad886cb fix: notification tray icon was not visible to non-verified users (#33247) 2023-09-15 16:14:24 +05:00
Ahtisham Shahid
6ff8e42bba fix: removed user object from logs (#33264) 2023-09-15 07:44:26 +00:00
Nathan Sprenkle
548d302610 chore: ORA bump to 5.4.0 (#33255) 2023-09-14 14:06:57 -04:00
German
d3a6615deb chore: update location config for devstack-experimental (#33256)
* Update location in devstack-experimental to fix issue while re-indexing
* Updated the devstack.py to point to edx.devstack.elasticsearch710 host
* Enabed the ENABLE_COURSEWARE_INDEX and ENABLE_COURSEWARE_SEARCH
2023-09-14 14:21:47 -03:00
Robert Raposa
5953b1140b docs: update documentation link in README (#33244) 2023-09-14 11:56:17 -04:00
Jansen Kantor
88b6f3894e fix: turn off atomic requests for course api get views (#33230)
* fix: turn off atomic requests for course api get views

* test: fix test
2023-09-14 10:40:28 -04:00
salmannawaz
648a30249a Deprecation of edx-user-state-client repo (#33218)
* chore: add code for edx-user-state-client in edx-platform
2023-09-14 18:53:37 +05:00
Awais Qureshi
529069726d chore: removing django-history pin. (#33250)
* chore: removing django-history pin.
2023-09-14 15:09:02 +05:00
Muhammad Umar Khan
fdae21a5e7 chore: unpin redis client version (#33215) 2023-09-14 14:19:39 +05:00
Ahtisham Shahid
90ca72a34e chore: added log to track changes in user notification pref (#33237)
* chore: added log to track changes in user notification pref
2023-09-14 13:31:00 +05:00
github-actions[bot]
0592b762d6 feat: Upgrade Python dependency edx-enterprise (#33242)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: kiram15 <kiram15@users.noreply.github.com>
Co-authored-by: Kira Miller <31229189+kiram15@users.noreply.github.com>
2023-09-13 15:19:17 -06:00
Jenkins
0ae63dea7d chore: geoip2: update maxmind geolite country database 2023-09-13 16:59:15 -04:00
Yusuf Musleh
ee1b6b8a6d fix: Copy/Paste unit with python_lib.zip (#33164)
This fixes the issue when pasting a copied unit that contains
python_lib.zip file into another course. The python_lib.zip file was not
being correctly copied over to the new course's Files & Uploads page.
2023-09-13 12:22:55 -07:00
Yusuf Musleh
ac9aa91eb7 fix: Vertically center align Unit paste spinner (#33169) 2023-09-13 12:22:43 -07:00
Diana Huang
282b934299 fix: Add code owner to celery task. (#33238)
Ensures that the code owner attribute is set
on celery task run for entitlements.
2023-09-13 12:01:58 -04:00
Feanil Patel
52c7403ba9 Merge pull request #33157 from openedx/feanil/minimal_config_updates
feat: Be able to recieve e-mails in dev mode.
2023-09-13 11:09:14 -04:00
Kristin Aoki
f9c1af775c feat: change problem default display name (#33240) 2023-09-13 11:08:48 -04:00
Omar Al-Ithawi
3b869dd041 feat: install atlas translation tool (#32952)
Add the openedx-atlas to the kernel.in so it's available in all
environments including Atlas, Devstack and Native installation.
2023-09-13 08:11:07 -04:00
Irtaza Akram
71d99c8b1e Merge pull request #33132 from openedx/fix-got-both-positional-and-keyword-arguments-for-field
[Django 4.2]: Fix: got both positional and keyword arguments for field
2023-09-13 15:35:57 +05:00
Irtaza Akram
4191a37303 fix: expected query count django 4.2 (#33235) 2023-09-13 13:05:40 +05:00
Alexander J Sheehan
933485d348 Merge pull request #33221 from openedx/alex-sheehan-edx/upgrade-edx-enterprise-3aa1fdd
feat: Upgrade Python dependency edx-enterprise
2023-09-12 11:47:56 -04:00
alex-sheehan-edx
ae46cca395 feat: Upgrade Python dependency edx-enterprise
edx enterprise version bump

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-09-12 14:30:53 +00:00
Maria Grimaldi
dae1c75227 Merge branch 'master' into JF/fix_certificate_palm 2023-09-12 08:25:02 -04:00
Usama Sadiq
cc9721e808 fix: remove django-ipware constraint (#33225)
* fix: remove django-ipware constraint
2023-09-12 17:17:38 +05:00
edX requirements bot
9c23483bb0 chore: Updating Python Requirements (#33222) 2023-09-12 14:10:59 +05:00
Muhammad Adeel Tajamul
8ed6756809 fix: fixed unregistered task in new thread notification (#33223) 2023-09-12 14:02:31 +05:00
Omar Al-Ithawi
3aa1fdd42b chore: remove duplicate apt dependencies from Dockerfile (#32982)
The following dependencies were duplicated in the same command:
 - libxml2-dev
 - libxmlsec1-dev
 - libxslt1-dev

This contribution is part of the [FC-0012 project](https://openedx.atlassian.net/l/cp/XGS0iCcQ) which is sparked by the [Translation Infrastructure update OEP-58](https://open-edx-proposals.readthedocs.io/en/latest/architectural-decisions/oep-0058-arch-translations-management.html#specification).
2023-09-11 12:43:00 -04:00
SaadYousaf
ca9b008a46 fix: fix notification generated event to include only users with preferences enabled. 2023-09-11 17:19:54 +05:00
Awais Qureshi
26bf329eb7 [django42] sha1 is removed in django42 version. (#33129)
* fix: fixing django42 issue. sha1 is removed in 42 version.
2023-09-11 15:30:42 +05:00
SaadYousaf
d4fbc3037c fix: make updates to notification related events 2023-09-11 11:49:40 +05:00
Kira Miller
175fb0caf8 fix: version bump (#33208)
* fix: version bump

* fix: retrigger tests
2023-09-08 18:13:05 +00:00
ruzniaievdm
3978375abf feat: create course home api DRF (#33173) (#33204) 2023-09-08 08:39:31 -04:00
Justin Hynes
ad8ed5311d Merge pull request #31578 from DmytroAlipov/fix-FB-share
fix: share certificate in FB
2023-09-08 07:33:59 -04:00
Awais Qureshi
22cc66eaf7 fix: in django42 QuerySet.update_or_create() save only fields passed … (#33174)
* fix: in django42 QuerySet.update_or_create() save only fields passed in defaults
2023-09-08 14:48:07 +05:00
Edward Zarecor
03f00d535e Merge branch 'master' into fix-FB-share 2023-09-07 16:09:14 -04:00
Alexander J Sheehan
561593e170 Merge pull request #33199 from openedx/alex-sheehan-edx/upgrade-edx-enterprise-7da9984
feat: Upgrade Python dependency edx-enterprise
2023-09-07 13:43:45 -04:00
alex-sheehan-edx
c1f81934c5 feat: Upgrade Python dependency edx-enterprise
enterprise version bump 4.1.10

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-09-07 13:22:14 -04:00
connorhaugh
e788143564 test: remove flaky libraries asset test (#33195) 2023-09-07 17:20:20 +00:00
Artur Gaspar
7da99848a7 fix: edxnotes visibility in courseware and courseware API (#33096)
This retrieves user preferences for edxnotes visibility by:
1. Adding a `bind_course_for_student` method to course overview model.
2. Using a bound XBlock in the `toggle_notes.html` template.

The previously used unbound course instance was returning a default value.
2023-09-07 17:59:51 +02:00
Babatunde Olusola
6e2c43e4e0 refactor: update codejail test condition (#32955)
Skip the test for codejail if the codejailservice api is not enabled.
It fixes running this test case in Tutor.
2023-09-07 17:08:30 +02:00
Maria Grimaldi
750ee00353 feat: add instructor dashboard filter integration (#32448)
This PR adds a new filter to modify the instructor dashboard rendering process. For example: modify the section tabs of the instructor context --that specifies which tabs to render, adding a brand new one defined in a different plugin. The use case we're currently testing is to add a new tab to the instructor dashboard, which renders management information about an Xblock.
2023-09-07 10:02:56 -04:00
John Nagro
bcc59f57f9 feat: release edx-enterprise 4.1.9 (#33192) 2023-09-07 13:47:56 +00:00
connorhaugh
901ac926bd Revert "feat: create course home api DRF (#33173)" (#33194)
This reverts commit e480a79d9c. as it failed final checks before prod: 
https://github.com/openedx/edx-platform/actions/runs/6098198385/job/16548257136
2023-09-07 13:22:53 +00:00
Muhammad Adeel Tajamul
e524af5c7c feat: added notification_expiry_days in notification count api (#33187) 2023-09-07 13:54:54 +05:00
Jansen Kantor
fb49c150a2 chore: remove ora constraint (#33177)
* chore: remove ora constraint

* chore: requirements compile
2023-09-06 14:28:45 -04:00
ruzniaievdm
e480a79d9c feat: create course home api DRF (#33173) 2023-09-06 10:05:25 -04:00
Sagirov Evgeniy
c5d1807c81 feat!: remove most Old Mongo functionality (#31134)
This commit leaves behind just enough Old Mongo (DraftModulestore)
functionality to allow read-only access to static assets and the
root CourseBlock. It removes:

* create/update operations
* child/parent traversal
* inheritance related code

It also removes or converts tests for this functionality.

The ability to read from the root CourseBlock was maintained for
backwards compatibility, since top-level course settings are often
stored here, and this is used by various parts of the codebase,
like displaying dashboards and re-building CourseOverview models.

Any attempt to read the contents of a course by getting the
CourseBlock's children will return an empty list (i.e. it will look
empty).

This commit does _not_ delete content on MongoDB or run any sort of
data migration or cleanup.
2023-09-06 10:01:31 -04:00