6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-01-10 17:24:44 +00:00
Commit Graph

1975 Commits

Author SHA1 Message Date
Kyle McCormick
c84a741edc
feat!: remove dependency on Paver scripts (#1042)
BREAKING CHANGE: `openedx-assets` is replaed with `npm run` subcommands.
For details, see the changelog entry.
For further details and rationale, see the upstream DEPR ticket:
https://github.com/openedx/edx-platform/issues/31895
2024-05-16 15:09:15 -04:00
Syed Muhammad Dawoud Sheraz Ali
c7b4327c52
feat: upgrade Open edX image to Python 3.11 (#1056) 2024-05-09 12:55:38 +05:00
David Ormsbee
c3d35af807
fix: allow course import from Course Authoring MFE (#1063)
Remove CORS_ALLOW_HEADERS setting from the LMS/Studio config template. This
setting, which holds site-agnostic application logic, is now consistently set
to a reasonable value upstream by LMS and CMS config. Using the upstream values
fixes a bug where course import in Studio using the new Course Authoring MFE
was broken in Tutor deployments because it required additional headers to be
allowed (content-range and content-disposition)

Co-authored-by: Kyle McCormick <kyle@axim.org>
2024-05-08 16:31:02 -04:00
Overhang.IO
9738eb051a Merge remote-tracking branch 'origin/master' into nightly 2024-04-30 07:49:02 +00:00
Abdul-Muqadim-Arbisoft
14612dd094
docs: Update Google SMTP Setup to Use Application-Specific Passwords (#1046)
* docs: replace deprecated 'Less Secure Apps' with 'App-Specific Passwords' in Google SMTP guide
2024-04-30 12:22:39 +05:00
Syed Muhammad Dawoud Sheraz Ali
db6f4d18ce
FEAT!: upgrade mongo to v7 (#1029)
* FEAT!: upgrade mongo to v7
2024-04-30 11:04:58 +05:00
Braden MacDonald
943bee6cbe
docs: improve the "Working on edx-platform Python dependencies" section (#1048) 2024-04-26 11:12:41 +05:00
Overhang.IO
e6cb076038 Merge remote-tracking branch 'origin/master' into nightly 2024-04-25 11:45:58 +00:00
ravikhetani
3d3abeb8ef
Add the ability to patch proxy config for Caddy (#1033)
* Add the ability to patch proxy config for Caddy
2024-04-25 16:24:20 +05:00
Kyle McCormick
21e32fc390
revert: revert: chore: upgrade to node 18 in edx-platform
This reverts commit b1ffba23c9,
restoring the Node 16->18 upgrade.

Upstream PR: https://github.com/openedx/edx-platform/pull/34503
2024-04-23 12:22:16 -04:00
Overhang.IO
4c723dfe89 Merge remote-tracking branch 'origin/master' into nightly 2024-04-16 07:31:40 +00:00
Danyal Faheem
675719e48e
docs: add git clone eof error troubleshooting (#1009) 2024-04-16 12:07:09 +05:00
Kyle McCormick
b1ffba23c9
Revert "chore: upgrade to node 18 in edx-platform" (#1040)
This reverts commit ab2689a3fb,
as the upstream Node upgrade was reverted: https://github.com/openedx/edx-platform/pull/34496
2024-04-11 14:47:20 -04:00
Overhang.IO
124f082a17 Merge remote-tracking branch 'origin/master' into nightly 2024-04-11 09:41:40 +00:00
DawoudSheraz
d8993f6293 v17.0.4 2024-04-11 11:15:59 +02:00
Régis Behmo
ab2689a3fb chore: upgrade to node 18 in edx-platform
Without this fix, openedx Docker image building fails with the following
error:

     	> [linux/arm64 nodejs-requirements 4/4] RUN
	--mount=type=bind,from=edx-platform,source=/package.json,target=/openedx/edx-platform/package.json
	--mount=type=bind,from=edx-platform,source=/package-lock.json,target=/openedx/edx-platform/package-lock.json
	--mount=type=bind,from=edx-platform,source=/scripts/copy-node-modules.sh,target=/openedx/edx-platform/scripts/copy-node-modules.sh
	--mount=type=cache,target=/root/.npm,sharing=shared     npm
	clean-install --no-audit --registry=https://registry.npmjs.org/:
	95.51 npm notice
	95.51 npm notice New major version of npm available! 8.3.1 -> 10.5.1
	95.51 npm notice Changelog:
	   <https://github.com/npm/cli/releases/tag/v10.5.1>
	95.51 npm notice Run `npm install -g npm@10.5.1` to update!
	95.51 npm notice
	95.51 npm ERR! code EINTEGRITY
	95.51 npm ERR!
	   sha512-sWMb40chzlUOKrHZCGpZoUrVnGm6khfL/fAMKO8vLtUR8yOmWIVVN7MRmep3/DSFhy1Hilon6qAH+UbLZgGG0w==
	integrity checksum failed when using sha512: wanted
	sha512-sWMb40chzlUOKrHZCGpZoUrVnGm6khfL/fAMKO8vLtUR8yOmWIVVN7MRmep3/DSFhy1Hilon6qAH+UbLZgGG0w==
	but got
	sha512-P9aZDwDEAVgAbdHG/ViapRzAUJ6zBSq/4I1lJFluIbrld6Sv6LI+HT2J4dgWqtfaCgIyDnHBHSHiJ/anter7wQ==.
	(11488 bytes)
2024-04-10 11:31:36 +02:00
Overhang.IO
8dc65eb1bf Merge remote-tracking branch 'origin/master' into nightly 2024-04-09 17:54:50 +00:00
Syed Muhammad Dawoud Sheraz Ali
52abe65c69
feat: update release to quince.3 (#1037) 2024-04-09 22:33:46 +05:00
Overhang.IO
e2bafaee20 Merge remote-tracking branch 'origin/master' into nightly 2024-04-02 13:26:54 +00:00
Kyle McCormick
24e2f0d1f6
docs: fix typo in MOUNTED_DIRECTORIES guide (#1028) 2024-04-02 09:12:15 -04:00
Overhang.IO
afde4d94e9 Merge remote-tracking branch 'origin/master' into nightly 2024-03-29 11:09:22 +00:00
Syed Muhammad Dawoud Sheraz Ali
431ddc97fb
docs: Create SECURITY.md (#1023)
* docs: Create SECURITY.md
2024-03-29 15:48:17 +05:00
Overhang.IO
0ff65264a8 Merge remote-tracking branch 'origin/master' into nightly 2024-03-27 11:06:13 +00:00
Syed Muhammad Dawoud Sheraz Ali
178104522e
security: update redis
See the list of vulnerabilities fixed since 7.2.1: https://github.com/redis/redis/releases
2024-03-27 11:43:53 +01:00
Overhang.IO
0cd11250c3 Merge remote-tracking branch 'origin/master' into nightly 2024-03-26 13:42:51 +00:00
Régis Behmo
c5c563523d v17.0.2 2024-03-26 14:40:14 +01:00
hinakhadim
e0a39fe45d fix: Add tutor-indigo in plugins file for tutor[full] 2024-03-26 14:37:03 +01:00
Overhang.IO
86161ffd42 Merge remote-tracking branch 'origin/master' into nightly 2024-03-26 12:26:08 +00:00
Syed Muhammad Dawoud Sheraz Ali
f84e621cf6
build: add python 3.12 checks alongside 3.8 (#1008)
* build: add python 3.12 checks alongside 3.8

* docs: Py312 docs build
2024-03-26 17:03:45 +05:00
Overhang.IO
404332b801 Merge remote-tracking branch 'origin/master' into nightly 2024-03-21 09:53:59 +00:00
Syed Muhammad Dawoud Sheraz Ali
0e37449f40
fix: ensure mounted installable packages are installed as expected
Close #1016.
2024-03-21 09:58:36 +01:00
Omar Al-Ithawi
116a8b9e5d feat: atlas pull for plugins and xblocks 2024-03-21 08:57:01 +01:00
Overhang.IO
eb69d3e808 Merge remote-tracking branch 'origin/master' into nightly 2024-03-05 11:43:37 +00:00
DawoudSheraz
f211b982fd build: remove auto-add for PRs 2024-03-05 16:28:59 +05:00
Overhang.IO
67174aedcd Merge remote-tracking branch 'origin/master' into nightly 2024-02-22 11:09:15 +00:00
Régis Behmo
13c420cb0a fix: build error due to missing EOL 2024-02-22 12:03:45 +01:00
Overhang.IO
c29eaa8caa Merge remote-tracking branch 'origin/master' into nightly 2024-02-22 10:54:55 +00:00
Régis Behmo
3401a71b18 fix: merge conflicts due to edx-platform patches in nightly
When building the nightly images, some patches fail because they come
from the master branch. To address this, we apply certain patches only
if we are not in nightly mode.
2024-02-22 11:49:31 +01:00
Overhang.IO
acd2ce27de Merge remote-tracking branch 'origin/master' into nightly 2024-02-19 09:02:37 +00:00
Régis Behmo
59b1987ff1 fix: infinite cache growth
See the discussion here: https://github.com/overhangio/tutor/pull/984
And the upstream PR here: https://github.com/openedx/edx-platform/pull/34210

The tl;dr is that the Redis course structure cache was growing without
bounds. While the upstream fix should resolve that issue, we decided
that Tutor should have a maxmemory limit and an eviction policy set for
operational safety.

Thus, Redis now has a 4gb maxmemory. If you need more memory on your
instance, you should implement the "redis-conf" patch.

To manually expire existing keys, run:

    tutor local run cms ./manage.py cms shell -c "from django.core.cache import caches; c = caches['course_structure_cache']; [c.expire(key, 604800) for key in c.keys('*')]"
2024-02-19 09:43:40 +01:00
Overhang.IO
0cf42d9dc7 Merge remote-tracking branch 'origin/master' into nightly 2024-02-19 08:38:48 +00:00
Régis Behmo
208937d9d3 chore: upgrade cryptography in dev
Fix vulnerabilities:
https://github.com/overhangio/tutor/security/dependabot/33
https://github.com/overhangio/tutor/security/dependabot/34
2024-02-19 09:21:38 +01:00
Overhang.IO
e2cfafda57 Merge remote-tracking branch 'origin/master' into nightly 2024-02-09 22:11:37 +00:00
Régis Behmo
f103f056cd v17.0.2 2024-02-09 23:06:25 +01:00
Régis Behmo
b69a8c7adc ci: fix bundle building 2024-02-09 23:06:25 +01:00
Overhang.IO
8d1294c67f Merge remote-tracking branch 'origin/master' into nightly 2024-02-09 21:43:07 +00:00
Régis Behmo
b2b373f534 v17.0.2 2024-02-09 22:24:04 +01:00
Régis Behmo
439b7d08f0 feat: upgrade to quince.2 2024-02-09 22:16:15 +01:00
Abdul-Muqadim-Arbisoft
d99b2feeb3 fix: remove pkg_resources for python 3.12 compatibility
pkg_resources is available in python 3.12 only if setuptools is
explicitely installed, which is not always the case. We fix that by
replacing all usage of pkg_resources with importlib_resources and
importlib_metadata.

Close #966
2024-02-09 22:06:30 +01:00
Overhang.IO
330a403133 Merge remote-tracking branch 'origin/master' into nightly 2024-02-08 15:43:49 +00:00