Files
xamxam/TODO.md
T
Pontoporeia 7013f79fc0 fix: merge corbeille lists + bulk restore button in cleanup
- Single unified 'Corbeille' table replaces the two separate lists
  (stale/orphelin + restorable). Each row has a Statut column showing
  '↺ Restaurable' or 'Orphelin', plus a checkbox for bulk ops.

- Checkboxes on restorable rows carry data-restorable='1' attribute
  so the bulk JS can distinguish them.

- Bulk actions bar now has both 'Supprimer la sélection' and
  '↺ Restaurer la sélection' buttons. The restore button only appears
  when at least one restorable item is checked.

- New cleanupBulkRestore() JS function populates a dedicated hidden
  form and confirms before submitting. Only restorable items are sent.

- restore-trash.php refactored to handle both single (trash_file) and
  bulk (trash_files[]) inputs via a loop, accumulating restored/skipped
  counts and re-rendering the fragment on HTMX requests.
2026-07-10 16:33:06 +02:00

17 lines
1.3 KiB
Markdown

# TODO
- [x] Fix CSP: add `frame-src` to allow iframes from `videos.erg.be` and `depnum.happyngreen.fr`
- [x] Website iframe overlay: remove blur, move button to bottom-right, replace text with SVG icon + tooltip
- [x] Fix "Copier" button in logs section scrolling out of view on horizontal scroll
- [x] Remove TOC temporary debug error_log calls
- [x] Fix PeerTube upload failure: PHP /tmp tmpfs too small for large video files
- [x] Fix keyword word-breaking in repertoire.php: widen kw grid column, add white-space: nowrap
- [x] Fix licence.php TOC: restore `open` attribute on `<details class="toc">` (lost in vrxsstns, never restored by uuomvtvm fix)
- [x] Fix hasFilePondQueueData() missing peertube: prefix check → new PeerTube uploads silently lost on edit
- [x] Fix handleWebsiteUrl() in ThesisEditController unconditionally deleting website rows on every edit
- [x] Fix FilePond server.remove potentially triggering during HTMX fragment teardown
- [x] Add restore-from-corbeille functionality in cleanup page
- [x] Fix cleanup stats: use sidecar JSON for restorability classification (not DB row existence)
- [x] Remove destructive HTMX fragment refresh from relink flow (close modal only, pond.addFile in-place)
- [x] Merge corbeille lists into single table with status column + bulk restore button