refactor: unify FilePond edit previews + clean upload UI and shared fragments

* Move shared `fichiers-fragment.php` from `partage/` to `templates/partials/form/`
  and update all include/require references
* `.gitignore`: exclude SQLite WAL/SHM journal files
* FilePond UI:

  * change uploaded file block border state from yellow to green
  * restyle image previews to use site light-theme colors
* Edit mode:

  * remove custom existing-file preview list implementation
  * preload existing files directly into FilePond pools
  * include `cover` and `note_intention` assets in FilePond-managed state
* Remove obsolete upload progress bar UI and related JS includes
* Remove deprecated `Écriture` + `Image` format types from upload flow/configuration
This commit is contained in:
Pontoporeia
2026-05-12 12:27:36 +02:00
parent 6e7c0c00e3
commit 8bb0b3a1f2
58 changed files with 1807 additions and 307 deletions

16
.gitignore vendored
View File

@@ -5,23 +5,11 @@ compose.lock
### Test databases ###
app/storage/test.db
*.db
*.db-wal
*.db-shm
app/.env
### Logs ###
error.log
app/storage/logs/*.log
!app/storage/logs/.gitkeep
app/storage/maintenance.flag
app/storage/cache/*
!app/storage/cache/.gitkeep
app/storage/theses/*
!app/storage/theses/.gitkeep
app/storage/banners/*
!app/storage/banners/.gitkeep
app/storage/tmp/*
!app/storage/tmp/.gitkeep
app/storage/tmp/filepond/*
!app/storage/tmp/filepond/.gitkeep
# Nix
.direnv/