6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-01-09 16:36:29 +00:00
Commit Graph

2038 Commits

Author SHA1 Message Date
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
Kyle D. McCormick
4a30c4ab35 feat: enhance importdemocourse ; add importdemolibraries 2024-02-08 10:38:27 -05:00
Overhang.IO
ee5eca7d7f Merge remote-tracking branch 'origin/master' into nightly 2024-02-08 10:36:19 +00:00
Régis Behmo
487ca89885 chore: add missing test fixture and changelog entry
We somehow forgot to include these files in a previous commit...
2024-02-08 11:21:30 +01:00
Overhang.IO
505ce8a8dd Merge remote-tracking branch 'origin/master' into nightly 2024-02-07 09:36:35 +00:00
Régis Behmo
60a5f25c9b fix: save env on plugins enable
Environment was not updated correctly on `tutor plugins enable ...`
because of a caching issue. To bypass this issue, we improve the caching
mechanism and introduce a new `lru_cache` decorator.

Close #989.
2024-02-07 10:15:35 +01:00
Régis Behmo
b597af481c chore: remove useless test file
This test fixture has been happily living in the test folder for 4
years...
2024-02-07 10:15:35 +01:00
Overhang.IO
2d2ae3f927 Merge remote-tracking branch 'origin/master' into nightly 2024-01-30 09:03:47 +00:00
Kshitij Sobti
2924b92cea fixup!: Apply review feedback 2024-01-30 09:47:32 +01:00
Kshitij Sobti
f7174fbdce fix: Fix tutor when using docker compose versions > 2.24.1 2024-01-30 09:47:32 +01:00
Overhang.IO
a21f920146 Merge remote-tracking branch 'origin/master' into nightly 2024-01-25 16:15:50 +00:00
Régis Behmo
07cbd69ce3 v17.0.1 2024-01-25 16:55:26 +01:00
Overhang.IO
a4f43c8e41 Merge remote-tracking branch 'origin/master' into nightly 2024-01-23 09:59:50 +00:00
Muhammad Faraz Maqsood
e106787927
doc: update steps to release a new version
close #983

---------

Co-authored-by: Muhammad Faraz  Maqsood <faraz.maqsood@a006-01130.home>
2024-01-23 10:36:48 +01:00
Overhang.IO
aa55fd43f8 Merge remote-tracking branch 'origin/master' into nightly 2024-01-23 08:12:14 +00:00
Régis Behmo
a04d57f526 docs: extra hooks functions and utilities 2024-01-23 09:06:23 +01:00
Overhang.IO
779a68e173 Merge remote-tracking branch 'origin/master' into nightly 2024-01-22 12:30:40 +00:00
Muhamed Cicak
7fdc8fc1ff
docs: fix google analytics example
Fixed extra indentation for the Google Analytics plugin example. The extra indentation makes the plugin fail when being activated.
2024-01-22 13:25:01 +01:00
Overhang.IO
d68cb47ea6 Merge remote-tracking branch 'origin/master' into nightly 2024-01-22 12:22:19 +00:00
ravikhetani
b832f519ca
fix: correctly render .webp and .otf files in env
This partially addresses #985.

---------

Co-authored-by: Ravi Khetani <r.khetani@institute.global>
2024-01-22 13:18:29 +01:00
Régis Behmo
94d5afa637 fix: security issues with jinja2 and pycryptodome
See:
https://github.com/overhangio/tutor/security/dependabot/32
https://github.com/overhangio/tutor/security/dependabot/29
2024-01-22 13:16:08 +01:00
Overhang.IO
035cdcd5a9 Merge remote-tracking branch 'origin/master' into nightly 2024-01-22 12:04:32 +00:00
Régis Behmo
bfeb860299 docs: remove useless openedx hooks section
That section was empty anyway.
2024-01-22 12:49:12 +01:00
Régis Behmo
61dcbdc5c8 fix: don't apply security fixes in nightly 2024-01-22 11:17:26 +01:00
Overhang.IO
5aee301226 Merge remote-tracking branch 'origin/master' into nightly 2024-01-22 10:08:27 +00:00
Régis Behmo
efd8df600d security: fix JWT scopes in XBlock callbacks
See:
https://github.com/openedx/edx-platform/security/advisories/GHSA-qx8m-mqx3-j9fm
https://github.com/openedx/edx-platform/pull/34047
2024-01-22 10:39:15 +01:00
Overhang.IO
2081f141c1 Merge remote-tracking branch 'origin/master' into nightly 2024-01-12 11:37:16 +00:00
Régis Behmo
9d3d9e60f5 ci: fix reference to personal access token
Turns out, github.token is not a PAT
https://github.com/actions/add-to-project/issues/462#issuecomment-1712561302
2024-01-12 12:28:45 +01:00
Overhang.IO
ca4d0bb916 Merge remote-tracking branch 'origin/master' into nightly 2024-01-12 11:17:02 +00:00
Régis Behmo
ab158fb939 ci: fix github token in auto-add to project 2024-01-12 12:13:29 +01:00
Syed Muhammad Dawoud Sheraz Ali
4e3e3e14e5
build: Github action to auto-add new issues and PRs to project 2024-01-12 12:10:53 +01:00
Overhang.IO
ff4a302366 Merge remote-tracking branch 'origin/master' into nightly 2024-01-12 11:00:01 +00:00
Régis Behmo
9f3f74a998 docs: fix minor issues 2024-01-12 11:50:24 +01:00
Overhang.IO
8cab65d114 Merge remote-tracking branch 'origin/master' into nightly 2024-01-08 09:46:53 +00:00
Abdul-Muqadim-Arbisoft
fdd230f353
docs: more precise contribution instructions 2024-01-08 10:22:28 +01:00
Omar Al-Ithawi
53ebfd45be feat: add atlas pull with global settings 2024-01-08 10:13:31 +01:00
Overhang.IO
90814737fd Merge remote-tracking branch 'origin/master' into nightly 2023-12-21 09:23:47 +00:00
Régis Behmo
a9f0d021b1 docs: demo.openedx.edly.io -> sandbox.openedx.edly.io 2023-12-21 10:01:07 +01:00