Commit Graph

66833 Commits

Author SHA1 Message Date
Brian Mesick
3e14dd24c2 docs: Add issue comment for unpinning MyPY
Co-authored-by: Muhammad Farhan <muhammad.farhan@arbisoft.com>
2024-10-17 10:48:09 -04:00
Brian Mesick
82a0ded180 build: Propagate MyPY constraint
The MyPY constraint is propagated to development.txt
2024-10-17 10:19:03 -04:00
Brian Mesick
a451688860 build: Pin MyPY due to internal error
Currently all PRs are failing on an INTERNAL ERROR in MyPY that seems to
have been introduced in 1.12.0. This pins edx-platform to <1.12.0 until
we can find out more information and hopefully get an upstream fix.
2024-10-17 10:10:50 -04:00
iloveagent57
ecbedbcf78 feat: Upgrade Python dependency edx-enterprise
4.28.0 | Introduce default enrollment models

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-10-16 13:42:02 -04:00
edX requirements bot
178ffbbf7c chore: Upgrade Python requirements (#35651) 2024-10-16 22:14:29 +05:00
Muhammad Farhan
a99e915c2e fix: Fix pylint_django_settings plugin (#35497) 2024-10-16 21:32:50 +05:00
Régis Behmo
a15bff3ecc chore: delete unused requirements.txt file (#35637)
As far as I know, this file is unused. It was not updated since 2022. If
it is actually being used, then maybe we should use instead a file from
requirements/edx/.
2024-10-16 11:49:35 -04:00
Braden MacDonald
4ca522152f feat: Allow specifying a version when loading a v2 XBlock (#35626) 2024-10-16 08:43:20 -07:00
David Ormsbee
77e683d5b6 feat: new view & API calls to serve content library assets (#35639)
This commit adds a new view to serve static assets for content
libraries, along with Content Library API calls to add, delete, and get
metadata about these assets. These assets come from Learning Core and
should ONLY BE ACCESSED FROM STUDIO. Users must have read access to the
library in order to see an asset in that library.

This also re-implements video transcript support for content libraries
and re-enables some previously disabled tests around it.
2024-10-16 11:12:11 -04:00
Régis Behmo
bf862d89e7 feat!: hide courses in /courses based on catalog visibility
Previously, courses were always displayed on the LMS /courses page,
independently of their catalog visibility attribute. This meant that
even with visibility="none" courses were being displayed. This was very
counter-intuitive.

With this change, courses are displayed only when their visibility is
set to "both".

This change is flagged as breaking because it has the potential to
affect course catalogs in existing platforms.

To test this change, go to http(s)://LMS/courses as an anonymous user.
Pick a visible course and go to its "advanced settings" in the studio.
Set "Course visibility in catalog" to "about" or "none". Then, clear the
cache with the following command:

    ./manage.py lms shell -c "from django.core.cache import cache; cache.clear()"

Open the /courses page again: the course should no longer be visible.

Close https://github.com/openedx/wg-build-test-release/issues/330
2024-10-16 10:03:46 -04:00
ayesha waris
d8303a176c feat: added waffle flag for new notification view (#35569) 2024-10-16 17:27:04 +05:00
Muhammad Adeel Tajamul
d72e87d3f3 feat: removed extra spaces from start and end of content (#35647) 2024-10-16 13:58:40 +05:00
Muhammad Adeel Tajamul
e28a01e2bf temp: logs for unsubscribe event (#35652) 2024-10-16 11:13:06 +05:00
Peter Pinch
c3d68b13f8 Merge pull request #34432 from DmytroAlipov/add-adaptive-display-of-links 2024-10-15 17:58:28 -04:00
Kyle McCormick
2bbd8ecd18 feat!: Remove outdated Libraries Relaunch cruft (#35644)
The V2 libraries project had a few past iterations which were never
launched. This commit cleans up pieces from those which we don't need
for the real Libraries Relaunch MVP in Sumac:

* Remove ENABLE_LIBRARY_AUTHORING_MICROFRONTEND,
  LIBRARY_AUTHORING_FRONTEND_URL, and
  REDIRECT_TO_LIBRARY_AUTHORING_MICROFRONTEND, all of which are obsolete
  now that library authoring has been merged into
  https://github.com/openedx/frontend-app-authoring.
  More details on the new Content Libraries configuration settings are
  here: https://github.com/openedx/frontend-app-authoring/issues/1334

* Remove dangling support for syncing V2 (learning core-backed) library
  content using the LibraryContentBlock. This code was all based on an
  older understanding of V2 Content Libraries, where the libraries were
  smaller and versioned as a whole rather then versioned by-item.
  Reference to V2 libraries will be done on a per-block basis using
  the upstream/downstream system, described here:
  https://github.com/openedx/edx-platform/blob/master/docs/decisions/0020-upstream-downstream.rst
  It's important that we remove this support now so that OLX course
  authors don't stuble upon it and use it, which would be buggy and
  complicate future migrations.

* Remove the "mode" parameter from LibraryContentBlock. The only
  supported mode was and is "random". We will not be adding any further
  modes. Going forward for V2, we will have an ItemBank block for
  randomizing items (regardless of source), which can be synthesized
  with upstream referenced as described above. Existing
  LibraryContentBlocks will be migrated.

* Finally, some renamings:

  * LibraryContentBlock -> LegacyLibraryContentBlock
  * LibraryToolsService -> LegacyLibraryToolsService
  * LibrarySummary -> LegacyLibrarySummary

  Module names and the old OLX tag (library_content) are unchanged.

Closes: https://github.com/openedx/frontend-app-authoring/issues/1115
2024-10-15 11:32:01 -04:00
Navin Karkera
70df3deea6 feat: set collections for a library component [FC-0062] (#35600)
* feat: add & remove collections to component

Co-authored-by: Rômulo Penido <romulo.penido@gmail.com>
Co-authored-by: Chris Chávez <xnpiochv@gmail.com>
2024-10-15 15:11:54 +00:00
Justin Hynes
17122eb442 refactor: remove PII from log messages in programs tasks (#35623)
* refactor: remove PII from log messages in programs tasks

[APER-3723]

Refactors a number of log statements from the Celery tasks in the Programs Django app. This removes username (considered PII) from the log statements and opts to use LMS User ID instead.

* fix: quality
2024-10-15 08:33:36 -04:00
Fatima Sohail
af69cbe671 feat: waffle flag based switch to ses for goal reminder email (#35615)
* feat: waffle based switch to ses for goal reminder email

* test: added test cases for ace message parameters

* feat: updated logic to specify channel name

* chore: update edx-ace version
2024-10-14 19:20:02 +05:00
Attiya Ishaque
cf8ed149d4 fix: fix track selection (#35648) 2024-10-14 16:45:04 +05:00
Attiya Ishaque
319dd7f38c feat: remove all the commerce coordinator (#35527) 2024-10-14 13:12:38 +05:00
Dima Alipov
e4c69565f4 feat: adaptive display of links
Do not display the 'Learn more' and 'Share feedback' links for
banner that is enabled by the context_course.discussions_settings
flag if the URLs for these links are not set in the settings.
2024-10-12 13:07:39 +02:00
Braden MacDonald
5b809673b6 refactor: get rid of XBlockRuntimeSystem for v2 libraries (#35624) 2024-10-11 17:23:32 +00:00
github-actions[bot]
b8c79abd2c feat: Upgrade Python dependency edx-enterprise (#35625)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: kiram15 <31229189+kiram15@users.noreply.github.com>
2024-10-11 11:05:01 -06:00
Diana Huang
0cc9dee4e3 Revert "fix(deps): update dependency @edx/frontend-component-cookie-policy-banner to v2.6.0"
This reverts commit a39367b11a.
2024-10-11 10:58:42 -04:00
Diana Huang
8ee942e411 fix: Pin select jobs to ubuntu 22.04.
Using Ubuntu 24.04 breaks Mongo installation
and some thing involving lxml/xmlsec. We are
going to pin this until we're ready to upgrade both.
2024-10-11 10:58:42 -04:00
Diana Huang
96c682a25b Revert "feat: Use jammy repositories for mongo installation."
This reverts commit a245dec4f4.
2024-10-11 10:58:42 -04:00
Diana Huang
e99769b0dd Revert "feat: Unpin xmlsec and lxml."
This reverts commit 6c045c7b39.
2024-10-11 10:58:42 -04:00
renovate[bot]
a39367b11a fix(deps): update dependency @edx/frontend-component-cookie-policy-banner to v2.6.0 2024-10-11 09:56:57 -04:00
Diana Huang
6c045c7b39 feat: Unpin xmlsec and lxml.
We are now on Python 3.11 and running tests
on the latest version of Ubuntu, which seems to mean
we don't need these pins anymore. In fact, it seems
to break while on these pins.
2024-10-10 15:38:15 -04:00
Diana Huang
a245dec4f4 feat: Use jammy repositories for mongo installation.
Unclear if there was a change in the focal repositories
or if there was an issue with something else. The noble
repositories don't support 7.0, so we're stuck here
until we upgrade to 8.0.
2024-10-10 15:38:15 -04:00
Katrina Nguyen
f2ad10801c Merge pull request #35618 from openedx/katrinan029/upgrade-edx-enterprise-7316111
feat: Upgrade Python dependency edx-enterprise
2024-10-09 09:21:41 -07:00
Katrina Nguyen
d7f7ca17a5 Merge remote-tracking branch 'origin' into katrinan029/upgrade-edx-enterprise-7316111 2024-10-09 15:56:51 +00:00
Alison Langston
243b1b4e2e feat: update management command to manually create verified names (#35619)
* feat: update management command to manually create verified names

* fix: update function name
2024-10-09 11:16:02 -04:00
Deborah Kaplan
f1a9286f73 chore: changing codeowners for several components (#35574)
making sure the codeowners for some maintainership is accurate.
2024-10-09 09:45:05 -04:00
Hunia Fatima
f5b88392a5 chore: cleanup constraint file and format it (#35601)
* chore: cleanup constraint file and format it
2024-10-09 14:44:07 +05:00
Muhammad Adeel Tajamul
7cf12d861c chore: removed style from email digest content (#35592) 2024-10-09 13:56:58 +05:00
katrinan029
0a4d24adec feat: Upgrade Python dependency edx-enterprise
version bump

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-10-08 22:21:15 +00:00
Braden MacDonald
7316111b35 fix: Improve v2 library block permissions checks for read-only authors (#35598) 2024-10-08 10:22:41 -07:00
KyryloKireiev
1eec8b80e4 fix: [AXM-549] Use more efficient query 2024-10-08 17:47:43 +03:00
Kyrylo Kireiev
3bd2031ec0 Merge branch 'master' into kireiev/AXM-549/feat/upstream_PR_active_inactive_courses_API 2024-10-08 17:03:51 +03:00
github-actions[bot]
15a1295777 feat: Upgrade Python dependency edx-name-affirmation (#35616)
3.0.1 contains changes to integrate the name affirmation app with the new platform VerificationAttempt model

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

Co-authored-by: alangsto <46360176+alangsto@users.noreply.github.com>
2024-10-08 09:50:09 -04:00
Michael Roytman
257f2dea5e Merge pull request #35606 from openedx/michaelroytman/COSMO-521-expiration_datetime-VerificationAttempt-IDVerificationService
VerificationAttempt.expiration_datetime field may be None.
2024-10-07 17:12:28 -04:00
michaelroytman
59b9bb88e1 fix: VerificationAttempt.expiration_datetime field may be None.
This commit fixes a bug introduced by the new VerificationAttempt model. The expiration_datetime field is nullable. Other IDV models in the verify_student application have a default value for expiration_date, so they are typically not null, despite being nullable.

This commit updates code that queries this field to function correctly when the value of expiration_datetime is None. In this case, a None expiration_datetime indicates a non-expiring attempt.
2024-10-07 15:54:55 -04:00
Jeremy Ristau
f6c37b4dc8 Merge pull request #35607 from openedx/update-course-creator-notification
chore: Remove edge reference in notification
2024-10-07 15:00:57 -04:00
Raymond Zhou
22b81165e7 chore: calc version bump (#35590) 2024-10-07 14:39:23 -04:00
Diana Huang
3d637ebb04 docs: Add README for third_party_auth. (#35608) 2024-10-07 18:34:38 +00:00
Troy Sankey
c32c95fb9c Merge pull request #35605 from openedx/bbeggs/ent--9585
chore: Update edx-enterprise to 4.27.0 ENT-9585
2024-10-07 10:26:27 -07:00
Jeremy Ristau
1d94cf3c2a chore: Remove edge reference in notification 2024-10-07 12:47:53 -04:00
Brian Beggs
9aeefef4cc chore: Update edx-enterprise to 4.27.0 ENT-9585 2024-10-07 12:09:10 -04:00
Awais Qureshi
a2bd8a7525 upgrade get_students_features api with DRF( 7th api ) (#35323)
* feat: upgrading simple api to drf compatible.
2024-10-07 16:09:32 +05:00