Pontoporeia
a2092b58a7
fix: supprimer les vidéos PeerTube lors de la suppression d'un TFE
...
- Ajout de PeerTubeService::deleteVideo() qui appelle DELETE /api/v1/videos/{uuid}
- deleteThesisFileToTrash() appelle maintenant deleteVideo() pour les fichiers peertube_ids:
- hardDeleteThesis() supprime aussi les vidéos PeerTube associées
2026-06-10 00:16:22 +02:00
Pontoporeia
ba57820016
Phase 2: Replace PeerTubeService HTTP client with Guzzle
2026-05-20 01:07:41 +02:00
Pontoporeia
728f05502c
Combine phpstan, cs-check, cs-fix into lint-php recipe; fix lint issues + test failures + duplicate detection bug
2026-05-20 00:31:19 +02:00
Pontoporeia
927ee2fe2a
feat: upload progress bar — fieldset layout, accent colors, file name display, completion animation, 800ms redirect delay; decorelate formats from fichiers; server-side poll via token; bump PeerTube embed audio player
2026-05-19 00:08:06 +02:00
Pontoporeia
cdec3e96a6
fix PeerTube upload: final working solution — simple multipart POST with CURLFile; iterated through Google-resumable PATCH protocol debugging (HTTP version negotiation, chunk body encoding, off-by-one fixes) before settling on simpler POST approach
2026-05-19 00:08:06 +02:00
Pontoporeia
1b0451581d
refactor: move Restrictions d'accès aux fichiers from contenus.php to acces.php, cleanup section
2026-05-19 00:08:06 +02:00
Pontoporeia
83a5a508ea
feat: PeerTube integration — alternate audio/video labels, FilePond pools, shared SMTP credentials, channel by name, test button, resumable upload, embed improvements, fix alt labels/curl_close/deprecation
2026-05-19 00:08:06 +02:00
Pontoporeia
03c5fd217e
feat: dual upload system — direct file storage + PeerTube API integration
...
Adds a parallel PeerTube upload system behind a feature flag (disabled by default
until upload quota is granted). When disabled, the existing direct file upload
path works unchanged.
Files:
- src/PeerTubeService.php — credential storage (encrypted), OAuth2 token
retrieval, multipart upload to /api/v1/videos/upload
- migrations/021_peertube_settings.sql — peertube_settings singleton table
+ peertube_upload_enabled site_setting (default 0)
- admin/actions/settings.php — peertube section handler
- admin/parametres.php / templates/admin/parametres.php — PeerTube UI section
- partage/fichiers-fragment.php — shows file inputs when enabled, TODO notice otherwise
- ThesisCreateController / ThesisEditController — handlePeerTubeUpload()
- tfe.php — PeerTube iframe embed detection
- AdminLogger — logPeerTubeUpdate()
2026-05-13 17:59:13 +02:00