tutor/tutor
Régis Behmo 4b14d20c5e feat: overridable lms/cms max upload size
Users want to be able to override the request `max_size` to upload
larger files. But they will not be able to if the patch is placed after
the `request` directive. So we move the patch statement before the
directive. Also, we wrap the `request_body` directives within `handle`
statements. If not, then different sizes are not managed properly.

To override the max upload size in the cms, add the following to the
"caddyfile-cms" patch:

    handle_path /import/* {
        request_body {
            max_size 500MB
        }
    }

See discussion:
https://discuss.openedx.org/t/how-to-update-caddyfile-using-tutor-plugin/8944
2023-02-07 10:19:54 +01:00
..
commands feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
core fix: ModuleNotFoundError: No module named 'tutor.core' 2023-01-31 10:33:48 +01:00
hooks docs: fix incorrect catalog references 2023-01-31 15:46:15 +01:00
plugins feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
templates feat: overridable lms/cms max upload size 2023-02-07 10:19:54 +01:00
__about__.py v15.2.0 2023-01-19 20:35:54 +01:00
__init__.py Tutor v3 complete rewrite 2019-02-09 20:30:01 +01:00
bindmounts.py feat: pluggable `local/dev/k8s do <job>` commands 2022-11-15 09:46:08 +01:00
config.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
env.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
exceptions.py Tutor v3 complete rewrite 2019-02-09 20:30:01 +01:00
fmt.py feat: upgrade to Maple 2021-12-20 21:21:36 +01:00
images.py feat: migrate to plugins.v1 with filters & actions 2022-04-15 15:30:54 +02:00
interactive.py fix: Swahili locale name 2022-11-28 12:23:02 +01:00
py.typed feat: add py.typed for typing extensions 2022-10-26 12:28:16 +02:00
serialize.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
tasks.py feat: pluggable `local/dev/k8s do <job>` commands 2022-11-15 09:46:08 +01:00
types.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
utils.py feat: pluggable `local/dev/k8s do <job>` commands 2022-11-15 09:46:08 +01:00