Commit Graph

66291 Commits

Author SHA1 Message Date
Feanil Patel
1d913bee8b Merge pull request #36063 from openedx/feanil/geoip2-bot-update-country-database-953140a
Update GeoLite Database
2025-01-06 11:22:17 -05:00
feanil
320e3bbc22 chore: geoip2: update maxmind geolite country database 2025-01-06 10:48:53 -05:00
Roman Edirisinghe
b510ceff93 fix: remove duplicate (unclosed) tag (#35682)
This PR removes some bad (duplicated) markup in the static tab file. The current behavior leads to an unclosed HTML tag, which can be confirmed by viewing the document source.
2025-01-02 19:43:16 +00:00
Kyle D. McCormick
d36560d8c6 refactor: UsageKeyV2Serializer should be a BaseSerializer
...not a Serializer, as it overrides to_representation to a str rather
than a dictionary.

This type error arose during the djangorestframework-stubs upgrade in
the previous commits.
2025-01-02 14:42:09 -05:00
Kyle D. McCormick
50944e9d75 build: Very explicitly annotate a model field so that it passes mypy
This clunky yet type-safe workaround to this django-stubs issue, which
arose when we upgraded django-stubs in the previous commits:
https://github.com/typeddjango/django-stubs/issues/1802
2025-01-02 14:42:09 -05:00
Kyle D. McCormick
a5b773ce7b build: upgrade django-stubs and djangorestframework-stubs
...now that we're on django>=4.2
2025-01-02 14:42:09 -05:00
Kyle D. McCormick
88b8da3e49 docs: Remove the last couple mentions of Paver from the codebase
Part of: https://github.com/openedx/edx-platform/issues/34467
2025-01-02 14:05:15 -05:00
kdmccormick
8a720c1b7b build!: Recompile Python dependencies, without Paver
BREAKING CHANGE: Removes libsass from requirements/edx/base.txt.
Operators will need to install requirements/edx/assets.txt in order to
compile Sass.

Commit generated by workflow `kdmccormick/edx-platform/.github/workflows/compile-python-requirements.yml@refs/heads/master`

Part of: https://github.com/openedx/edx-platform/issues/34467
2025-01-02 14:05:15 -05:00
Kyle D. McCormick
75e3107863 fix: Move implicit dependencies from paver.in to kernel.in
There are three packages which edx-platform needs in order to run which
were being installed transitively via paver.in. Since we are removing
paver.in, these dependencies need to be transferred into kernel.in:

* psutil
* pymemcache
* wrapt

Part of: https://github.com/openedx/edx-platform/issues/34467
2025-01-02 14:05:15 -05:00
Kyle D. McCormick
2d5543a9ae feat!: Remove Paver
BREAKING CHANGE: Removes all remaining Paver commands including
`pavelib/prereqs.py:*` and `pavelib/assets.py:*`.

BREAKING CHANGE: Removes `./manage.py [lms|cms] compile_sass`, which
was just a wrapper around Paver commands.

BREAKING CHANGE: Removes paver.txt. Operators should install testing.txt
instead.

Part of: https://github.com/openedx/edx-platform/issues/34467
2025-01-02 14:05:15 -05:00
salmannawaz
38dc4eab5d chore: Ensure the return code is handled correctly to account for any unexpected behavior. (#36068)
* chore: Ensure the return code is handled correctly to account for any unexpected behavior.
2025-01-02 23:48:21 +05:00
Peter Pinch
e934c07aed Merge pull request #36054 from mitodl/anas/remove-md4
refactor!: remove md4 and related ENABLE_BLAKE2B_HASHING feature flag
2025-01-02 12:09:21 -05:00
Eemaan Amir
645e8985c2 chore: added a new info log to course update email (#36067)
* chore: added a new info log to course update email

* chore: added a new info log to course update email
2025-01-01 17:05:56 +05:00
Ahtisham Shahid
ab6947fb77 fix: resolved key error in notification pref apis (#36064) 2025-01-01 15:45:26 +05:00
Muhammad Adeel Tajamul
b369345dc1 fix: fixed notification generated event for grouped notifications (#36065) 2025-01-01 14:17:44 +05:00
Ahtisham Shahid
953140aa1b fix: resolved edx.course.goal.email.filtered parsing error (#36059) 2024-12-26 14:34:46 +05:00
Daniel Valenzuela
85f412864f fix: render library v2 assets with whitespace (#35974)
Assets that contain whitespace fail to be rendered when uploaded to library v2
2024-12-24 13:51:03 +00:00
Muhammad Anas
0de7569b68 refactor!: remove md4 and related ENABLE_BLAKE2B_HASHING feature flag 2024-12-24 13:12:18 +05:00
Muhammad Adeel Tajamul
81f825ff15 fix: new discussion post should only be grouped if old notification is not seen (#36032) 2024-12-24 07:47:38 +05:00
Abdur Rahman Asad
bfcaa138ff fix: log correct time and duration for video subsections (#36019)
* fix: log correct time and duration for video subsections

If a subsection of a video is added to a course using advanced settings, show and log correct start and end times to the users.

* test: add unit tests
2024-12-23 12:51:00 +05:30
Kyle McCormick
644e7e786a build!: requirements/edx-sandbox/py38.txt (#36049)
This was a temporary backcompat alias to requirements/edx-sandbox/quince.txt.

Developers relying on this file to run a python3.8 sandbox should:
* first, switch to requirements/edx-sandbox/quince.txt, which works with
* python3.8 and then, upgrade their codejail sandbox to a newer `<release>.txt`
* since python3.8 is EOL.

See the readme in this directory for more details.
2024-12-20 20:02:33 +00:00
jawad khan
76cceaa298 feat: Populate notification context with post, comment and response ids (#36008)
* feat: Populate notification context with post, comment and response ids
2024-12-20 15:23:47 +05:00
Kyle McCormick
edbcadae8e revert: build: unpin django-stubs now that we're on django >=4.2 (#36051)
This reverts commit b391fb5400,
which was unintentionally pushed to master instead of a PR.
2024-12-19 20:20:53 +00:00
Kyle D. McCormick
b391fb5400 build: unpin django-stubs now that we're on django >=4.2 2024-12-19 14:16:57 -05:00
Ahtisham Shahid
85a5890dd1 feat: added api to update all notification preferences for user (#35795) 2024-12-19 19:04:16 +05:00
Muhammad Adeel Tajamul
930989e5e6 fix: fixed notification generated event for grouped notifications (#36048) 2024-12-19 16:57:27 +05:00
Kyle McCormick
54250632d8 docs: ADR for Fixing Quality and JS Checks (#35741)
This is a record of the various existing CI issues we faced and the trade-offs
we made to move forward while replacing the Paver CI commands as part of:
https://github.com/openedx/edx-platform/issues/34467
2024-12-18 19:09:43 +00:00
Marlon Keating
ab765ce8f9 Merge pull request #36047 from openedx/marlonkeating/upgrade-edx-enterprise-e2a4b9e
feat: Upgrade Python dependency edx-enterprise
2024-12-18 10:30:32 -08:00
Marlon Keating
e1fa16166e Merge branch 'master' into marlonkeating/upgrade-edx-enterprise-e2a4b9e 2024-12-18 10:03:31 -08:00
Kyle D. McCormick
29d4c69e57 build!: Rejigger "npm run test" to be more intuitive
This is technically a breaking change, but these commands were added a
week ago and were not yet documented, so I'm not worried about breaking
anyone's workflow with this commit.
2024-12-18 11:26:49 -05:00
Kyle D. McCormick
41d28f3ce3 docs: Turn old static asset plan into a retroactive ADR 2024-12-18 11:26:49 -05:00
Kyle D. McCormick
4c0d94e367 docs: Update testing guide 2024-12-18 11:26:49 -05:00
marlonkeating
bdb1ae5315 feat: Upgrade Python dependency edx-enterprise
This change adds support for the page_size query parameter on the enterprise-customer-members endpoint.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-12-18 16:19:29 +00:00
Ahtisham Shahid
e2a4b9e524 fix: updated goal reminder email time logger (#36045) 2024-12-18 15:38:05 +05:00
github-actions[bot]
98214a5416 feat: Upgrade Python dependency edx-enterprise (#36042)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: bcitro <67378070+bcitro@users.noreply.github.com>
2024-12-17 15:22:01 -05:00
github-actions[bot]
882475dd5e feat: Upgrade Python dependency edx-enterprise (#36041)
Bump version of edx-enterprise to v5.5.0.

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

Co-authored-by: adamstankiewicz <2828721+adamstankiewicz@users.noreply.github.com>
2024-12-17 17:02:36 +00:00
Brandon Bodine
2f918e15b7 Merge pull request #36037 from openedx/BrandonHBodine/upgrade-edxval-fb56042
feat: Upgrade Python dependency edxval
2024-12-17 08:49:49 -07:00
Tim McCormack
f0eb0da1ba Revert "temp: Add temporary monitoring for large memcache keys (#36034)" (#36040)
This reverts commit fb56042bdc. We have the data we need.
2024-12-17 10:35:08 -05:00
Brandon Bodine
e2ca4b0091 Merge branch 'master' into BrandonHBodine/upgrade-edxval-fb56042 2024-12-17 08:08:55 -07:00
Bryann Valderrama
5bf0b2704f feat: add schedule queryset request filter integration (#35982)
* feat: add schedule queryset request filter integration

* chore: remove try-except when running filter

* chore: upgrade openedx-filters to v1.12.0

* test: add filter unit tests

* test: inherit of ModuleStoreTestCase

* fix: add missing attribute in resolver instance
2024-12-17 09:52:56 -05:00
Awais Qureshi
53de406537 feat!: upgrade bulk_beta_modify_access to drf ( 30 ) (#35604)
* feat!: upgrading api to DRF.
2024-12-17 16:35:22 +05:00
BrandonHBodine
9d2f890f1e feat: Upgrade Python dependency edxval
Bumping edxval to pull in new release

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-12-16 22:07:46 +00:00
Tim McCormack
fb56042bdc temp: Add temporary monitoring for large memcache keys (#36034)
We'd like to finish the removal of MD4 key hashing, but want to know if
cutting over to BLAKE2b will cause too large a cache turnover. Hopefully
this monitoring will give us some insight into the rate of large keys.
2024-12-16 15:01:40 -05:00
Kyle McCormick
39a93766d6 build!: Remove Dockerfile and image building workflows (#36006)
These are not maintained by the Open edX community.

https://github.com/openedx/public-engineering/issues/263
2024-12-16 12:43:43 -05:00
Navin Karkera
971afe6095 feat: api to restore soft-deleted component [FC-0076] (#35993)
Adds API to handle restoring soft-deleted library blocks.
2024-12-13 13:17:46 -05:00
Adolfo R. Brandes
f4d110c896 feat: Reimplement the Zooming Image Tool
This recreates the Zooming Image Tool template for the HTML block.  It
does it in such a way that doesn't depend on any external resources:
both the loupe code and sample image are inlined.

Some benefits to this version are:

* We can now maintain the loupe javascript code properly

* Because the javascript is included in the contents of the block
  itself, the course author can customize it as needed

* As opposed to the previous iteration, the magnified image URL is now
  optional: if it's not present, the regular image will be used for
  magnification

* There can now be two or more instances of the tool in the same unit.

This also removes some CSS left over from the previous iteration.
2024-12-13 11:34:28 -03:00
Régis Behmo
7f80c1afa1 fix: adequate course key type in forum v2 (#36022)
When checking whether forum v2 is enabled, the course waffle flag
argument should be a CourseKey, not a str.
2024-12-12 16:11:53 +05:00
Dima Alipov
c6dbb16736 fix: selection of users for sending email
Course team members are included in "Learners in the track"
emails recipients.
2024-12-12 15:03:36 +05:30
github-actions[bot]
f358ef3851 feat: Upgrade Python dependency edx-enterprise (#36011)
Added a management command to update the Social Auth UID's

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

Co-authored-by: zamanafzal <11922730+zamanafzal@users.noreply.github.com>
Co-authored-by: Zaman Afzal <zamanafzal@gmail.com>
2024-12-12 14:19:29 +05:00
Ahtisham Shahid
d88fa76d52 chore: added logs for goal reminder email (#35958) 2024-12-12 13:25:47 +05:00