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

2005 Commits

Author SHA1 Message Date
Syed Muhammad Dawoud Sheraz Ali
cbd20d3ef8
v18.1.1 (#1091) 2024-07-04 12:15:58 +05:00
Danyal Faheem
08549141e2
fix: add turn on mysql-native-password authentication plugin to fix broken connection for users upgrading from Tutor 15 or earlier (#1090)
* fix: add --mysql-native-password=ON param to fix broken connection, fixes #1089
For tutor instances that were created with tutor 15 and earlier and then upgraded to tutor 18, the launch process would fail as MySQL connection could not be made. This is because mysql-native-password was removed in MySQL 8.4.0. We turn it on temporarily to fix failing connections.
2024-07-04 11:32:53 +05:00
Régis Behmo
dce1138d65 v18.1.0 2024-06-25 17:50:11 +02:00
Illia Shestakov
c8ce86b979 fix: do not fail on start when there are no persistent volume claims
Persistent volume claims are being created alongside with other objects
to acheive that.
2024-06-25 17:48:07 +02:00
Danyal Faheem
c4fd3062f0
feat!: upgrade default mysql charset and collation to utf8mb4 2024-06-25 15:01:58 +02:00
Régis Behmo
d9a2c24d34 fix: docker build deprecation warnings
With the latest Docker upgrade, we got the following warnings during
build:

    FromAsCasing: 'as' and 'FROM' keywords' casing do not match
    LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format
2024-06-21 17:23:51 +02:00
Régis Behmo
617a2a8e61
Merge pull request #1059 from overhangio/redwood
Upgrade to Redwood
2024-06-19 23:01:18 +02:00
DawoudSheraz
0ba4a22786 v18.0.0 upgrade to redwood 2024-06-19 22:56:13 +02:00
Overhang.IO
a6b0b68602 Merge remote-tracking branch 'origin/master' into nightly 2024-06-13 08:56:43 +00:00
Syed Muhammad Dawoud Sheraz Ali
ad6045db75 v17.0.6 2024-06-13 10:18:45 +02:00
Régis Behmo
fc29241446 feat: cache edx-platform checkout in image build
Similar to what we need with the MFE image, we leverage Docker's ADD
directive to implement caching of the edx-platform git checkout step.

See: https://github.com/overhangio/tutor-mfe/pull/163
https://docs.docker.com/reference/dockerfile/#add
2024-06-10 18:07:28 +02:00
Overhang.IO
41330ce448 Merge remote-tracking branch 'origin/master' into nightly 2024-06-10 15:35:46 +00:00
Régis Behmo
eb0660a55a chore: upgrade jinja2,black,requests,idna,cryptography
Address several security issues raised by Dependabot.
2024-06-10 17:19:42 +02:00
Overhang.IO
62108906d3 Merge remote-tracking branch 'origin/master' into nightly 2024-06-10 13:49:43 +00:00
Régis Behmo
a53f916382 docs: improvements to the "troubleshooting" page
I tried to remove as many "you" pronouns as possible. Also, clarify
instructions on the "images build" resource issue.
2024-06-10 15:39:06 +02:00
Danyal Faheem
f4b500321d
fix: run permissions for windows with HOST_USER_ID or 1000 (#1074) 2024-06-10 17:44:11 +05:00
rohan-saeed
3d5e8fa455
feat!: upgrade mysql to 8.4.0 (#1071) 2024-06-07 18:14:53 +05:00
Kyle McCormick
cf6ac56a13
perf: use COPY --link to increase Docker cache hit frequency (#1073)
The --link flag is a feature of Docker BuildKit which tells Docker to
treat the COPY'd layer independently of previous layers, enabling more
aggressive build caching. For more details, see this Docker blog post [1].

When using COPY --link to copy files from a stage that does not contain
/etc/passwd, we must --chown with $APP_USER_ID rather than app.
Otherwise, the build would fail with "unknown user id".

[1] https://www.docker.com/blog/image-rebase-and-improved-remote-cache-support-in-new-buildkit/
2024-06-05 10:17:06 -04:00
Overhang.IO
5db5e792cc Merge remote-tracking branch 'origin/master' into nightly 2024-05-28 15:26:12 +00:00
Jason Mok
fa5201b848
chore: remove obsolete version property in Compose (#1070)
Close https://github.com/overhangio/tutor/issues/1066
2024-05-28 11:12:30 -04:00
Overhang.IO
2d4562b91a Merge remote-tracking branch 'origin/master' into nightly 2024-05-28 06:52:11 +00:00
Abdul-Muqadim-Arbisoft
d682b74053
feat: add IS_FILE_RENDERED filter to enhance file processing flexibility (#1062) 2024-05-28 11:06:51 +05:00
Overhang.IO
9e0ff48483 Merge remote-tracking branch 'origin/master' into nightly 2024-05-23 17:36:41 +00:00
DawoudSheraz
3d52a84096 v17.0.5 2024-05-23 18:38:05 +02:00
Kyle McCormick
f5dbd5465d
fix: clean translations before pulling them (#1026)
If one is using a bind-mounted edx-platform directory,
they may already have pulled translations. This will cause
the Docker build to fail with:

    CommandError: "/openedx/edx-platform/conf/plugins-locale/plugins" should be empty before running atlas pull.

To fix this, we simply clean out the edx-platform translation
target directories before pulling in the Dockerfile.
2024-05-22 09:54:52 -04:00
Overhang.IO
77e6d34821 Merge remote-tracking branch 'origin/master' into nightly 2024-05-22 10:38:43 +00:00
Syed Muhammad Dawoud Sheraz Ali
e3eb72db2a
security: add upstream security patch in dockerfile (#1068) 2024-05-22 14:32:58 +05:00
Overhang.IO
810177863d Merge remote-tracking branch 'origin/master' into nightly 2024-05-21 06:56:06 +00:00
Andrew Bonnell
2520d93fb0
Add CONFIG_USER Filter (#1021) 2024-05-21 11:01:05 +05:00
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
Sarina Canelake
5d2d7fadef
chore: Remove outdated info, update language (#1055) 2024-05-14 18:30:38 +05: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