mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
fix: update dev server PHP limits in justfile to match large video uploads
The just dev command hardcodes upload_max_filesize=512M and post_max_size=520M via -d flags, which override .user.ini. Raised to 8192M/8704M to match the JS-side 8GB video size caps. Also raised max_execution_time and max_input_time to 600s to accommodate large file transfers and PeerTube uploads.
This commit is contained in:
4
TODO.md
4
TODO.md
@@ -1,7 +1,7 @@
|
||||
# TODO
|
||||
|
||||
> Last updated: 2026-06-15
|
||||
> Context: Fix FilePond CSRF + adminOld return type; restore soft-deleted anglais/néerlandais languages
|
||||
> Context: Multiple fixes for upload flow: CSRF staleness, adminOld return type, PHP upload limits, FormData crash, soft-deleted languages
|
||||
|
||||
## Pending
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
- [x] #filepond-csrf-stale Fix FilePond CSRF token going stale when autosave rotates it `(file-upload-filepond.js)` ✓
|
||||
- [x] #adminold-return-type Fix adminOld closure return type from `:string` to `:string|array` `(FormBootstrap.php)` ✓
|
||||
- [x] #restore-languages Un-soft-delete anglais (id=2) and néerlandais (id=71) in dev DB ✓
|
||||
- [x] #php-upload-limits Increase PHP upload_max_filesize to 8G, post_max_size to 8.5G `(.user.ini)` ✓
|
||||
- [x] #formdata-fieldset-crash Remove leftover debug console.log that called new FormData(fieldset) `(admin/footer.php)` ✓
|
||||
|
||||
- [x] #csp-media-iframe-fix Fix CSP `frame-ancestors 'none'` blocking PDF iframes — replaced `try_files` redirect with direct `fastcgi_pass` in `location = /media` so `add_header` CSP override survives internal nginx redirect `(nginx/xamxam.conf)` ✓
|
||||
|
||||
|
||||
Reference in New Issue
Block a user