Commit Graph

65372 Commits

Author SHA1 Message Date
Feanil Patel
69c0f71afa fix: Drop the click constraint.
Celery is already at version 5.4.0 and so it's unclear why this
dependency is here anymore.  THe latest version of click is less than
9.0.0
2024-06-11 15:41:52 -04:00
Yusuf Musleh
221e333154 feat: Use default pagination class for v2 library views (#34879)
This ensures `num_pages` is included in paginated response.
2024-06-11 11:15:25 -07:00
Feanil Patel
0b45e99128 Merge pull request #34788 from openedx/feanil/python311_reqs
feanil/python311 reqs
2024-06-11 12:59:48 -04:00
Feanil Patel
623061fde5 chore: Run make upgarde with Python 3.11 2024-06-11 11:30:22 -04:00
Feanil Patel
3660503d2d build: Update dispatch workflows to also run with 3.11 2024-06-11 11:30:22 -04:00
Feanil Patel
63ff4966b9 build: Check consistencies with Python 3.11 now. 2024-06-11 11:30:22 -04:00
Feanil Patel
ff4d084e8b fix: Update to adjust for new scipy.stats.mode behavior.
Previously the default for the `keepdims` parameter was True, but as of
SciPy 1.11.0 it is false. This is actually the behavior we want here
since we only care about the mode value and not other values.

https://docs.scipy.org/doc/scipy/release/1.11.0-notes.html#expired-deprecations
2024-06-11 11:30:22 -04:00
Feanil Patel
7f1d723713 build: Add a missing import for importlib_metadata.
This was being pulled in as a transitive dependency before but it turns
out we need this directly for the usage in
openedx/core/djangoapps/plugins/i18n_api.py

We add it to kernel.in before re-building the requirements files.
2024-06-11 11:30:22 -04:00
Alex Dusenbery
17d3e6686d feat: edx-enterprise 4.19.16 | submit create_enterprise_enrollment on commit
Helps avoid a race-condition-induced lock error.
https://github.com/openedx/edx-enterprise/releases/tag/4.19.16
2024-06-11 10:22:46 -04:00
Hamza Waleed
390a8a4644 Merge pull request #34966 from openedx/hamzawaleed01/enterprise-4.19.15
Bump edx-enterprise to 4.19.15
2024-06-11 15:17:01 +05:00
hamzawaleed01
effc78c2c9 feat: bump edx-enterprise to 4.19.15 2024-06-11 14:47:16 +05:00
Daniel Valenzuela
b98cbd4c2c feat: warn when relative dates are past due and can't be shifted 2024-06-10 22:55:16 +02:00
Kyle McCormick
a3bafb2ccd temp: build: compile python requirements with 3.8, not 3.11 (#34960)
We haven't quite dropped Py3.8 support yet, so we can't use these workflows if
they're compiling with 3.11:

* upgrade-one-python-dependency (upgrading a single, targeted dep)
* compile-python-requirements (recompiling all deps without upgrading)

So, we "downgrade" those workflows to use 3.8, for now. We should revert this
commit when we drop 3.8 support.

Note: The upgrade-python-requirements.yml workflow is still using 3.8, so this
commit will update the other workflows to match that one.
2024-06-10 15:50:06 -04:00
Tim McCormack
0eb61e28d1 feat: Start conversion of StaticContentServer from middleware into view (#34703)
See https://github.com/openedx/edx-platform/issues/34702

This necessarily involves switching from calling
`StaticContent.is_versioned_asset_path` to determine whether to handle the
request to having a hardcoded urlpattern. I've made the choice to hardcode
the other two patterns similarly rather than using imported constants. The
mapping of URL patterns to database records should be explicit (even though
we don't expect those constants to change out from under us.)

I've renamed the middleware rather than choosing a new name for the
implementation because there are other references in tests and other code.
This was the smaller change.

A note on HTTP methods: The middleware currently completely ignores the
request's HTTP method, so I wanted to confirm that only GETs were being
used in practice. This query reveals that 99.8% of requests that this
middleware handles are GET, with just a smattering of PROPFIND and OPTIONS
and a tiny number of HEAD and POST:
```
from Transaction select count(*) facet request.method
where name = 'WebTransaction/Function/openedx.core.djangoapps.contentserver.middleware:StaticContentServer'
since 4 weeks ago
```
2024-06-10 15:44:46 +00:00
Alex Dusenbery
5a25e7c8ca feat: edx-enterprise 4.19.14 | revert errant release, update mgmt command 2024-06-10 11:40:31 -04:00
renovate[bot]
6fc7e3b1e9 fix(deps): update dependency camelize to v1.0.1 2024-06-10 14:58:12 +00:00
Feanil Patel
39a1369f74 Merge pull request #34549 from salman2013/salman/add-ci-check-python-dependencies
chore: Add github workflow and script to check python depencies source
2024-06-10 09:20:27 -04:00
salman2013
35f6f5041d fix: code improvement as per PR reivew comment 2024-06-10 17:10:05 +05:00
salman2013
6a526bb1d7 fix: fix test cases 2024-06-10 16:56:52 +05:00
salman2013
7ecf49e8ca fix: fix the comments as per PR review 2024-06-10 16:49:01 +05:00
MueezKhan246
80b4f1d3ea Merge pull request #34943 from openedx/mueezkhan-edx/enterprise-version-bump-4.19.11
Bumping edx-enterprise version to 4.19.11
2024-06-10 16:43:01 +05:00
Blue
e2e7524720 fix: change text of exisint email message (#34954)
Description:
Change text of existing email message
VAN-1939
2024-06-10 13:09:18 +05:00
renovate[bot]
4608a2b6c1 fix(deps): update dependency @edx/brand-edx.org to v2.1.3 2024-06-10 07:45:56 +00:00
renovate[bot]
1e52d284f3 chore(deps): update dependency karma-spec-reporter to v0.0.36 2024-06-10 06:31:09 +00:00
renovate[bot]
49d721f74a fix(deps): update dependency moment to v2.30.1 2024-06-07 21:23:01 +00:00
renovate[bot]
08c5a1cf16 fix(deps): update dependency js-cookie to v3.0.5 2024-06-07 19:31:52 +00:00
Alison Langston
f4aa8724a7 chore: update lti-consumer-xblock version (#34948) 2024-06-07 11:24:03 -04:00
MueezKhan246
4d700e5644 Merge branch 'master' into mueezkhan-edx/enterprise-version-bump-4.19.11 2024-06-07 19:27:58 +05:00
Kyle McCormick
c3d158689c build: switch renovate.json to JSON5 for comment support (#34944)
Allows us to use comments to explain why we pin (ignore) certain deps.

Renovate docs ref: https://docs.renovatebot.com/configuration-options/#configuration-options

Closes https://github.com/openedx/edx-platform/issues/34940
2024-06-07 10:06:15 -04:00
MueezKhan246
a1f7b8e80c feat: bumping edx-enterprise version to 4.19.11 2024-06-07 13:10:05 +00:00
MushtaqRossier
ead0468965 Merge pull request #34941 from openedx/mrossier/SONIC-529
feat: Added some extra logs
2024-06-07 13:43:02 +02:00
Feanil Patel
04f9982f5b Merge pull request #34746 from openedx/feanil/update_edx_platform_maintainers
docs: Update named edx-platform maintainers.
2024-06-07 07:42:51 -04:00
Attiya Ishaque
0cb2db14a2 fix: add auto_generated_username flag in activation email (#34931) 2024-06-07 15:52:45 +05:00
Mushtaq Rossier
e8a85320ab feat: Added some extra logs 2024-06-07 09:57:22 +02:00
Braden MacDonald
e1e3c87a95 fix: searching tag refinement was sometimes not working (#34933) 2024-06-07 09:30:05 +09:30
Braden MacDonald
6bfe08c147 fix: reindex_studio was crashing if instance had too many courses (#34905) 2024-06-07 09:29:01 +09:30
Juliana Kang
cb52915370 fix: Financial Assistance Letter extend time to award and styling edits (#34913)
REV-4066
2024-06-06 16:41:54 -04:00
Deborah Kaplan
b937fd4346 feat: temporarily prevent renovate from updating this package (#34938)
* feat: temporarily prevent renovate from updating this package

Minor (and therefore presumed-safe by renovate) version updates caused
an exception on some deprecated code. Marking this package as not-safe
for renovate until that code is removed, which  will happen quite soon.
see external (2U) ticket REV-4067 for details. cc @julianajlk

FIXES: APER-3502

* feat: adding a comment

attempting to add a comment explaining the ignored dependency

Co-authored-by: Kyle McCormick <kyle@axim.org>

---------

Co-authored-by: Kyle McCormick <kyle@axim.org>
2024-06-06 16:36:49 -04:00
renovate[bot]
7f7cade131 chore(deps): update dependency @edx/stylelint-config-edx to v2.3.3 2024-06-06 16:24:10 +00:00
Diana Huang
de9a8652d4 Revert "fix(deps): update dependency moment-timezone to v0.5.45" (#34928)
This reverts commit 51ebabfd96.
2024-06-06 10:48:13 -04:00
ayesha waris
8b4adaf4bd fix: fixed creating post based on discussion restrictions settings (#34872) 2024-06-06 16:52:04 +05:00
renovate[bot]
51ebabfd96 fix(deps): update dependency moment-timezone to v0.5.45 2024-06-05 15:24:04 +00:00
Kyle McCormick
88a6855255 test: cancel old unit tests when a new PR commit is pushed (#34909)
Based on: 
* https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-and-the-default-behavior
* https://stackoverflow.com/questions/68418857/how-to-cancel-existing-runs-when-a-new-push-happens-on-github-actions-but-only
2024-06-05 08:26:04 -04:00
salman2013
87a7e879ae chore: add workflow to find dependencies 2024-06-05 17:04:57 +05:00
MushtaqRossier
f12322f3f0 Merge pull request #34917 from openedx/mrossier/SONIC-521
feat: Added extra info logs for refundable method
2024-06-05 13:33:39 +02:00
Mushtaq Rossier
eb2b51d02e feat: Added extra info logs for refundable method 2024-06-05 12:40:01 +02:00
MueezKhan246
fe07dda271 Merge pull request #34916 from openedx/mueezkhan-edx/enterprise-version-bump-4.19.8
Bumping edx-enterprise version to 4.19.8
2024-06-05 14:25:58 +05:00
MueezKhan246
1002834235 feat: bumping edx-enterprise version to 4.19.8 2024-06-05 08:54:58 +00:00
Hamza Waleed
424537ef0a Merge pull request #34915 from openedx/hamza/edx-enterprise-bump-4.19.7
feat: bump edx-enterprise to 4.19.7
2024-06-05 12:42:35 +05:00
hamzawaleed01
9e59517edf feat: bump edx-enterprise to 4.19.7 2024-06-05 12:04:27 +05:00