Commit Graph

66274 Commits

Author SHA1 Message Date
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
Régis Behmo
065adf398e feat: reapply forum v2 changes (#36002)
* feat: Reapply "Integrate Forum V2 into edx-platform"

This reverts commit 818aa343a2.

* feat: make it possible to globally disable forum v2 with setting

We introduce a setting that allows us to bypass any course waffle flag
check. The advantage of such a setting is that we don't need to find the
course ID: in some cases, we might not have access to the course ID, and
we need to look for it... in forum v2.

See discussion here: https://github.com/openedx/forum/issues/137

* chore: bump openedx-forum to 0.1.5

This should fix an issue with index creation on edX.org.
2024-12-12 12:18:33 +05:00
Maria Grimaldi
f96f92677f chore: [FC-0074] drop hooks docs in favor of latest in docs.openedx.org (#35921) 2024-12-11 19:22:57 +01:00
Kyle McCormick
3e9158e9a8 build(eslint): Ignore Symlinks and Reduce Violation Limit (#36010)
Background: We have a large number of standing eslint violations in our
legacy frontends. Rather than fixing or amnesty-ing all of them, we've
opted to use a simple integer limit of violations. Exceeding this
limit causes the quality check to fail.

Before we moved eslint off of Paver [1], the limit was unreasonably
high (probably due to deprecations that removed violation-rich frontend
code). This was good, except for the fact that we essentially weren't
catching when new violations creeped into the JS code.

So, in [1], we lowered the limit down to the lowest possible value,
which we thought was 1285. However, we've found that this made the check
flaky-- turned out, we have been unintentionally double-counting various
violations due to the symlinks in edx-platform. Some of those symlinks'
existence is dependent on whether and how `npm ci` and `npm run build`
have been run. As a result, 1285 would pass in some contexts, and fail
in other contexts.

The fix is to simply add all the relevant edx-platform symlinks to
.eslintignore. This allows us to lower the violations limit to 734.

[1] https://github.com/openedx/edx-platform/pull/35159
2024-12-11 17:06:53 +00:00
Navin Karkera
aeddb8a922 feat: allow blocks lower than units to be bookmarked
Adds support to jump/scroll to blocks lower than units if bookmarked. It
also fixes an issue with bookmark visit url function where it was not
passing query params.
2024-12-11 20:06:07 +05:30
salmannawaz
1573c7b07f build: replace paver quality tests and js commands (#35159) 2024-12-11 19:15:17 +05:00
iloveagent57
ee30f1b60f feat: Upgrade Python dependency edx-enterprise
fix: edx-enterprise 5.4.1 | unenrolled defaults are now not enrollable

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-12-10 16:16:01 -05:00
Feanil Patel
1bd3ace13d Merge pull request #36000 from openedx/timmc/rm-waffle-ref
docs: Remove mention of storage_backing_for_cache flag
2024-12-10 12:10:17 -05:00
Muhammad Soban Javed
c4992c9a26 Merge pull request #35628 from mfarhan943/mfarhan/drop-py38-add-py312
Update tox.ini to remove Python 3.8 support
2024-12-10 17:09:02 +05:00
Muhammad Soban Javed
02a8549b8f Merge branch 'master' into mfarhan/drop-py38-add-py312 2024-12-10 15:54:18 +05:00
Tim McCormack
b6774f59f3 docs: Remove mention of storage_backing_for_cache flag
The Waffle switch `block_structure.storage_backing_for_cache` was removed in https://github.com/openedx/edx-platform/pull/35185 -- this is just a lingering reference in a setting comment.
2024-12-09 17:20:34 -05:00
Adolfo R. Brandes
394a459dec feat: remove the broken Zooming Image Tool
The Zooming Image Tool does not load properly, currently, and even if it
did, relying on an external Javascript to function across releases is
not something we can support.  Thus, we remove it from the list of HTML
block templates until such time as a more robust solution is found.
2024-12-09 13:05:40 -03:00
Daniel Valenzuela
eadf5e2d79 fix: render library assets named xblock-
The previous pattern for matching was too broad and would break
the rendering of assets that were prefixed with "xblock".
2024-12-09 10:05:01 -05:00
renovate[bot]
9d9a68528f fix(deps): update dependency webpack to v5.97.1 (#35990)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 13:01:01 +00:00
renovate[bot]
7dc4c66365 fix(deps): update dependency @babel/preset-react to v7.26.3 (#35989)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 12:55:35 +00:00
renovate[bot]
96b3bdad19 fix(deps): update dependency sass to v1.82.0 (#35988)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 12:51:28 +00:00
renovate[bot]
dedd278944 fix(deps): update dependency sass-loader to v16.0.4 (#35987)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 12:42:29 +00:00
Muhammad Ammar
4bda0aba7c Merge pull request #35986 from openedx/muhammad-ammar/upgrade-edx-enterprise-b07464b
feat: Upgrade Python dependency edx-enterprise
2024-12-09 14:59:26 +05:00