Commit Graph

65817 Commits

Author SHA1 Message Date
Taras Lytvynenko
14777af1d2 Lytvynenko/changed link parsing (#33565)
* fix:  Social link parsing approach changed

* feat: fix tests

* fix: tests

---------

Co-authored-by: Edward Zarecor <ezarecor@tcril.org>
2024-04-10 17:38:57 -04:00
Stanislav Lunyachek
cfcd526d2b fix: Space around techers images on course about page 2024-04-10 23:14:01 +03:00
Feanil Patel
bf82569976 Merge pull request #34495 from openedx/feanil/upgrade-user-util-1e9f36c
feat: Upgrade Python dependency user-util
2024-04-10 13:16:01 -04:00
connorhaugh
df3c38ce2e feat: add heartbeat to authoring api (#34449)
* feat: add heartbeat to authoring api
2024-04-10 10:28:30 -04:00
Feanil Patel
eb26333ca6 Revert "chore: upgrade to node 18" (#34496)
* Revert "chore: upgrade to node 18"

* Revert "fix: bump npm from 10.2.x to 10.5.x"

This reverts commit b6662d4ee0.

* Revert "fix: replace outdated webpack plugins"

This reverts commit b204f1b572.

* Revert "build: Remove the `npm bin` calls from package.json"

This reverts commit 4e3dd161ff.

* fix: fix bad conflict resolution.

---------

Co-authored-by: Diana Huang <dkh@edx.org>
2024-04-10 09:58:42 -04:00
feanil
ba28d248a6 feat: Upgrade Python dependency user-util
Add Python 3.11 Support

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-04-10 09:39:39 -04:00
Feanil Patel
20f94e5b18 Merge pull request #34500 from openedx/feanil/update_new_asset_commands
build: Remove the `npm bin` calls from package.json
2024-04-10 09:01:33 -04:00
Feanil Patel
4e3dd161ff build: Remove the npm bin calls from package.json
That command no longer exists with newer versions of NPM but the build
path for `npm run` includes the `node_modules/bin` directory now so it's
also not necessary.
2024-04-09 15:48:01 -04:00
Feanil Patel
41953bb3b2 Merge pull request #34498 from brian-smith-tcril/fix-prod-webpack-config
fix: replace outdated webpack plugins
2024-04-09 15:25:40 -04:00
Feanil Patel
f8eececaee Merge pull request #34497 from brian-smith-tcril/bump-npm
fix: bump npm from 10.2.x to 10.5.x
2024-04-09 14:51:23 -04:00
Brian Smith
b204f1b572 fix: replace outdated webpack plugins 2024-04-09 14:28:12 -04:00
Brian Smith
b6662d4ee0 fix: bump npm from 10.2.x to 10.5.x 2024-04-09 14:15:47 -04:00
Feanil Patel
b2f06ef672 chore: Update event-tracking to a python 3.11 compatible version. 2024-04-09 11:52:08 -04:00
Feanil Patel
70d22741fc chore: Update edx-when to a python 3.11 compatible version. 2024-04-09 11:47:08 -04:00
Feanil Patel
e5f2216743 chore: Update super-csv to a python 3.11 compatible version. 2024-04-09 11:24:09 -04:00
Feanil Patel
3a1df29126 chore: Update openedx-calc to a python 3.11 compatible version. 2024-04-09 11:24:09 -04:00
Feanil Patel
150f762a92 chore: Update code-annotations to a python 3.11 compatible version. 2024-04-09 11:24:09 -04:00
Feanil Patel
dbce490906 chore: Update edx-rest-api-client to a python 3.11 compatible version. 2024-04-09 11:24:09 -04:00
Feanil Patel
8ca9acda74 chore: Update edx-toggles to a python 3.11 compatible version. 2024-04-09 11:24:09 -04:00
Feanil Patel
ffcf7c26ef chore: Update crowdsourcehinter-xblock to a python 3.11 compatible version. 2024-04-09 11:24:09 -04:00
Feanil Patel
1e9f36c54d Merge pull request #34311 from brian-smith-tcril/node-18
chore: upgrade to node 18
2024-04-09 11:16:29 -04:00
Glenn R. Martin
294c6a7768 fix: feedback from Shafqat 2024-04-09 11:12:57 -04:00
Glenn R. Martin
9e56c1d04b fix: broken lms test for CC switching in Ecommerce Service 2024-04-09 11:09:49 -04:00
github-actions[bot]
968a120c7b feat: Upgrade Python dependency edx-enterprise (#34494) 2024-04-09 19:46:57 +05:00
Sarina Canelake
8dadac636d docs: Point to Tutor in README
Since we have deprecated Devstack, update the platform README to point to Tutor.
2024-04-09 10:45:47 -04:00
Brian Smith
8fb63bb0cf chore(deps): update deps to support node 18 2024-04-09 10:32:54 -04:00
Brian Smith
2511556e95 chore: test updating node to 16.20 2024-04-09 10:32:54 -04:00
Brian Smith
5fa163a769 chore: add .nvmrc to match node version in Dockerfile 2024-04-09 10:32:54 -04:00
ruzniaievdm
a8586e5114 feat: display error notifications on the Unit page (#34450) 2024-04-09 09:52:35 -04:00
Pooja Kulkarni
3c7e16255a feat: add new endpoint for cloning course (#31794)
Co-authored-by: Maxim Beder <maxim@opencraft.com>
2024-04-09 15:05:10 +05:30
Chris Chávez
ddb407a3f2 feat: handle tags when importing/exporting courses (#34356) 2024-04-08 11:39:46 -07:00
Ben Lu
54eeedf3a4 Merge pull request #34400 from openedx/add-JWT-kid-for-verification-when-use-asymmetric-key
feat: add kid when encoding and signing JWT with asymmetric key
2024-04-08 12:53:49 -05:00
Rodrigo Martin
b42e66bcdc fix(AU-1855): Fix email WCR email subject variable text (#34488)
* fix(AU-1855): Fix email WCR email subject variable text

* fix(AU-1855): Add filter force_escape before blockstrans
2024-04-08 13:42:15 -03:00
Alexander J Sheehan
ada5ad973a Merge pull request #34487 from openedx/alex-sheehan-edx/upgrade-edx-enterprise-b706e60
feat: Upgrade Python dependency edx-enterprise
2024-04-08 11:42:03 -04:00
alex-sheehan-edx
c2e4faa068 feat: Upgrade Python dependency edx-enterprise
enterprise version bump

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-04-08 14:56:03 +00:00
Glenn R. Martin
fc3a8f7ebb chore: exception handling 2024-04-08 10:32:22 -04:00
Saleem Latif
b706e600a0 Merge pull request #34481 from openedx/saleem-latif/upgrade-edx-enterprise-a1f08d8
feat: Upgrade Python dependency edx-enterprise
2024-04-08 15:25:11 +05:00
saleem-latif
78eb317303 feat: Upgrade Python dependency edx-enterprise
chore: edx-enterprise version upgrade to 4.14.0

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-04-08 09:40:36 +00:00
Irtaza Akram
a1f08d85bd Merge pull request #34398 from openedx/xblock2
upgrade xblock==2.0
References:
- https://github.com/openedx/public-engineering/issues/15
- https://github.com/openedx/XBlock/pull/680
2024-04-08 14:30:38 +05:00
Michael Roytman
7a9672944a Merge pull request #34478 from openedx/michaelroytman/COSMO-238-idv-approval-management-command
Add must_retry as valid status to approve_id_verifications management command.
2024-04-05 15:04:55 -04:00
michaelroytman
541bc6f5cb feat: add must_retry as valid status to approve_id_verifications management command
Sometimes, submissions to an IDV provider fail, which results in an IDV attempt moving from the "ready" status into the "must_retry" status instead of the "submitted" status.

We would like to approve these attempts too.
2024-04-05 14:01:45 -04:00
Kyle McCormick
a27cda2fd9 revert: "build: remove dependency on Python sass module (#34439)" (#34476)
This reverts commit a08a10c396.

compile_sass.py had a bug which was caught by 2U's pipeline, but not
by local testing.
2024-04-05 11:59:58 -04:00
Rodrigo Martin
e768d6d9e5 feat: send email after course reset completion (#34460)
* feat: send email after course reset completion

* fix: lint test

* fix: clean code

* fix: correct expected email parts

* fix: logs

* fix: email assertion
2024-04-05 12:27:21 -03:00
Kyle McCormick
a08a10c396 build: remove dependency on Python sass module (#34439)
Instead of using libsass-python's `sass` module, which is incompatible
with Python 3.11, we now directly use libsass-python's `_sass` module,
which directly binds to the underlying C++ libsass library.

This ensures that the Sass build will not a blocker for the edx-platform
Python 3.11 upgrade, which needs to land in Redwood.

For more details, see the docstring at scripts/compile_sass.py#L167
2024-04-05 10:50:05 -04:00
Feanil Patel
b819ea17f6 Merge pull request #34474 from openedx/feanil/even_more_package_updates
feanil/even more package updates
2024-04-04 16:02:10 -04:00
Maria Grimaldi
e3dfbf2847 fix: fix typo in share embed link editor (#34470) 2024-04-04 14:09:11 -04:00
Bryann Valderrama
85620ec73c feat: add grading method support for problems with multiple attempts (#33911)
A new field in the Problem settings for choosing a Grading Method. Currently, the only Grading Method is the Last Score. From now on, when turning the feature flag on, the new grading methods available for configuration in Studio are:
- Last Score (Default): The last score made is taken for grading.
- First Score: The first score made is taken for grading.
- Highest Score: The highest score made is taken for grading.
- Average Score: The average of all scores made is taken for grading.
2024-04-04 14:04:25 -04:00
Kyle D. McCormick
24db4dfb53 build: compile/watch sass with new npm scripts
`paver` commands are deprecated for managing static assets. Starting in
Sumac, only `npm run` commands will be supported for managing static
assets.

To ease the transition, both `paver` and `npm run` commands will work in
Redwood. However, we want to stop using the *implementations* of the
`paver` asset commands right now, as they are blocking the Python 3.11
upgrade. This will also make the removal of `paver` commands more
straightforward come Sumac.

So, this commit turns these commands/functions:
* paver compile_sass (used by configuration)
* paver watch_sass (used by configuration and devstack)
* pavelib/assets.py:_compile_sass (used by Tutor)

into very thin wrappers around the new `npm run` commands. Each of these
paver routines now raise a loud deprecation warning, including a message
of the `npm run` command that the operator can switch to.
We expect no impact to site operators or end users.

https://github.com/openedx/edx-platform/issues/31895
2024-04-04 10:31:02 -04:00
Kyle D. McCormick
bd82b1d75a docs: npm scripts for static assets are no longer experimental :) 2024-04-04 10:31:02 -04:00
Kyle D. McCormick
3b8d018e4b fix: simplify npm run watch-sass so that it is more reliable
The implementation of `npm run watch-sass` was trying really hard
to recompile precisely only the Sass that needed to be recompiled, but in
order to do so, it had to spin up several `watchmedo` processes
per theme. These processes would trigger one another sometimes, leading
to infinite recompilation loops.

Rather than figure out all the dependency directions and messing with
`watchmedo`, I've opted to simplify the script to invoke a single
`watchmedo` process per theme. A single theme recompiles within
seconds, so I think this is a good compromise, one which makes the
script easier to reason about will help me move pass this legacy
assets work.
2024-04-04 10:31:02 -04:00