Commit Graph

65398 Commits

Author SHA1 Message Date
Alex Dusenbery
cb6e69f64b feat: edx-enterprise 4.20.5
submit the create_enterprise_enrollment task with a configurable countdown
2024-06-17 10:15:30 -04:00
Glib Glugovskiy
0153086b61 fix: add edit permissions for limited staff only in LMS 2024-06-17 10:00:39 -04:00
renovate[bot]
68b3a38248 chore(deps): update dependency eslint-import-resolver-webpack to v0.13.8 2024-06-14 21:06:34 +00:00
Muhammad Sameer Amin
7d11c889bb Merge pull request #34989 from openedx/sameeramin/upgrade-edx-enterprise-3c571f3
feat: Upgrade Python dependency edx-enterprise
2024-06-14 15:57:53 +05:00
sameeramin
9e762d4d75 feat: Upgrade Python dependency edx-enterprise
feat: Makes ``career_engagement_network_message`` field nullable in ``EnterpriseCustomer``.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-06-14 10:02:15 +00:00
Alex Dusenbery
3c571f33c6 feat: edx-enterprise-4.20.2 | cancel-fulfillment endpoint is now idempotent 2024-06-13 13:57:23 -04:00
Brandon Bodine
cb7fcabfb4 Merge pull request #34988 from openedx/brandonhbodine/devstack-cors-update
chore: update CSRF_TRUSTED_ORIGINS to include MFE
2024-06-13 11:14:33 -06:00
Prashant Makwana
0928816075 chore: bumping enterprise version to 4.20.1 (#34987) 2024-06-13 13:01:33 -04:00
Brandon Bodine
bafa16e7ff chore: update CSRF_TRUSTED_ORIGINS to include MFE 2024-06-13 10:29:36 -06:00
Feanil Patel
6c2cf87137 Merge pull request #34981 from openedx/feanil/remove_unnecessary_package
fix: Remove the unused edx-custom-a11y-rules package.
2024-06-13 12:24:04 -04:00
Usama Sadiq
f7b6fcb6b4 build: upgrade edxapp docker image to python 3.11 (#34982)
* build: upgrade edxapp docker image to python 3.11
---------

Co-authored-by: Tim McCormack <tmccormack@edx.org>
2024-06-13 21:15:00 +05:00
Juliana Kang
0fc990cf08 chore: Upgrade moment-timezone to v0.5.45 (#34968)
REV-4067
2024-06-13 11:57:23 -04:00
Feanil Patel
944e0588a2 Merge pull request #34811 from irtazaakram/bleach#33209
Replace deprecated bleach package
2024-06-13 10:17:31 -04:00
Ejaz Ahmad
db800dbb94 Merge pull request #34979 from openedx/jajjibhai008/upgrade-edx-enterprise-f256684
feat: Upgrade Python dependency edx-enterprise
2024-06-13 17:16:49 +05:00
Feanil Patel
57350c309b chore: Run npm install to update the lock file. 2024-06-13 07:46:27 -04:00
Feanil Patel
98b5ba5017 fix: Remove the unused edx-custom-a11y-rules package.
This package was only used by bok-choy which was archived a while ago.
We just missed the fact that this package was also a node dependency.

See https://github.com/openedx/public-engineering/issues/13 for more
details.
2024-06-13 07:42:22 -04:00
jajjibhai008
78b282c526 feat: Upgrade Python dependency edx-enterprise
feat: Added a new field show_videos_in_learner_portal_search_results in the EnterpriseCustomer

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-06-13 10:33:46 +00:00
renovate[bot]
f256684646 fix(deps): update dependency whatwg-fetch to v2.0.4 2024-06-12 15:25:02 +00:00
Justin Hynes
1e653d74e7 fix: remove broken management command (and celery task) logic (#34972)
[APER-3385]

This PR fixes an existing management command that now has incorrect logic. We have recently done a lot of work to
improve certificate-related date business logic to fix data inconsistencies between systems. Instead of maintaining
separate and duplicated logic for sending date data to Credentials, instead we can use an existing (and tested)
Celery task that will determine and send the correct date to the Credentials IDA.

Additionally, the original version of this management command skipped self-paced courses completely. This is no
longer the case as we _know_ that there are self-paced courses that have been associated with a certificate available
date because of bugs in the product. This management command will serve as a means to do a mass data fixup for data stored by the Credentials IDA.
2024-06-12 09:44:11 -04:00
Juliana Kang
66fa388dea fix: Remove trial logic using moment-timezone in B2C Subs Programs (#34939)
REV-4067
2024-06-12 09:41:44 -04:00
Irtaza Akram
ceb19b3113 Merge branch 'master' into bleach#33209 2024-06-12 17:12:01 +05:00
Muhammad Sameer Amin
5a9c383414 Merge pull request #34976 from openedx/sameeramin/upgrade-edx-enterprise-221e333
feat: Upgrade Python dependency edx-enterprise
2024-06-12 15:59:35 +05:00
sameeramin
6d053bef1e feat: Upgrade Python dependency edx-enterprise
Adds new fields enable_learner_portal_sidebar_message and learner_portal_sidebar_content in EnterpriseCustomer.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-06-12 04:35:01 +00: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
Irtaza Akram
b8008a887d Merge branch 'master' into bleach#33209 2024-06-11 13:07:27 +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
Deborah Kaplan
68b052620a Merge branch 'master' into bleach#33209 2024-06-10 11:27:12 -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