mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-26 00:29:18 +02:00
refactor: move Restrictions d'accès aux fichiers from contenus.php to acces.php, cleanup section
This commit is contained in:
19
TODO.md
19
TODO.md
@@ -1,5 +1,24 @@
|
||||
# TODO
|
||||
|
||||
## Move Restrictions d'accès aux fichiers to acces.php
|
||||
|
||||
- [x] Remove fieldset from templates/admin/contenus.php
|
||||
- [x] Add fieldset to templates/admin/acces.php
|
||||
- [x] Load $siteSettings in admin/acces.php controller
|
||||
- [x] Update redirect in settings.php for formulaire_restrictions → /admin/acces.php
|
||||
|
||||
## Fix PeerTube upload — Google-resumable protocol adherence
|
||||
|
||||
- [x] Use Location header from init response (not reconstruct URL from JSON body)
|
||||
- [x] Switch chunk method from PUT → PATCH (Google-resumable variant)
|
||||
- [x] Use actual file MIME type in chunk Content-Type (not application/octet-stream)
|
||||
- [x] Ensure chunk size is multiple of 256 KB
|
||||
- [x] Add PATCH/HEAD methods to httpRequest()
|
||||
- [x] Add CURLOPT_HEADERFUNCTION to capture response headers
|
||||
- [x] Disable CURLOPT_FOLLOWLOCATION to preserve Location header
|
||||
- [x] Add cancelUpload() helper for Delete-on-error cleanup
|
||||
- [ ] Test with actual PeerTube instance
|
||||
|
||||
## HTMX Toast Feedback for Settings Checkboxes (contenus.php)
|
||||
|
||||
- [x] Add `hx-target` response divs to the three fieldsets in contenus.php
|
||||
|
||||
Reference in New Issue
Block a user