Files
xamxam/TODO.md
T
Pontoporeia 0896c4b8c8 Synopsis : normalisation SÛRE des text ajouté par formulaire
- fins de ligne \r\n/\r → \n,
- blocs de lignes vides → \n\n, è
- espaces/tabulations/NBSP → espace unique,
- trim.
Les retours à la ligne simples intra-paragraphe sont LAISSÉS INTACTS :
une coupure de ligne peut être une vraie frontière de mot (→ espace)
ou une coupure du mot ("dyna\nmiques" → "dynamiques"),
indistinguables sans dictionnaire — automatiser corromprait l'entrée
("poursuivantsur").

Migration batch 045 (backfill des données existantes) RETIRÉE : le
nettoyage automatique fiable des synopsis existants est impossible.
Chaque modification est testée (277 tests PHPUnit).
2026-09-18 16:26:36 +02:00

4.9 KiB

TODO

Last updated: 2026-08-26 Context: Fix end-user admin report: unexpected line breaks in some synopsis — resolved as undetectable/unfixable for existing data; only safe normalization on new inputs

In Progress

Pending

Completed

  • #normalize-synopsis-whitespace & Passages à la ligne inopinés dans les synopsis : jugés INDÉTECTABLES/non-corrigeables automatiquement (une coupure de ligne interne peut être une vraie frontière de mot → espace, ou une coupure du mot → à réjoindre ; indistinguables sans dictionnaire, toute tentative corrompt l'entrée p.ex. "poursuivantsur"). Migration 045 SUPPRIMÉE ; dites à l'admin qu'il n'y a pas de nettoyage fiable des données existantes. Conservation de la NORMALISATION SÛRE sur les nouvelles saisies : fin de ligne \r\n/\r → \n, pertes de lignes vides multiples → \n\n, espaces/tabulations/NBSP → espace unique, trim — retour à la ligne simple intra-paragraphe laissé intact.
  • #audit-all-docs-and [!high] Audit all docs/ and classify accurate vs stale
  • #rewrite-development-md-to-match [!high] Rewrite development.md to match current just dev / app/ layout / PHPUnit
  • #rewrite-deployment-md-to-match [!high] Rewrite deployment.md to match just deploy / /var/www/xamxam/ / backup
  • #update-database-md-to-current [!high] Update database.md to current schema (tags, share_links, migrations, xamxam.db)
  • #update-security-md-to-current [!medium] Update security.md to current state (xamxam paths, resolved items)
  • #update-search-md-to-current [!medium] Update search.md to current schema (tags not keywords)
  • #verify-fix-import-md-csv-format [!medium] Verify/fix import.md CSV format against current import
  • #update-bookmarklet-md-form-field [!medium] Update bookmarklet.md form field names (cc2r, duration_pages/minutes, drop contact_public)
  • #consolidate-archive-historical-analysis-docs [!medium] Consolidate/archive historical analysis docs
  • #fix-nginx-readme-md-title [!low] Fix nginx README.md title + export.md cross-refs
  • #fix-app-storage-readme-md-missing-database-spec-quick-schema [!medium] Fix app/storage/README.md (missing DATABASE_SPEC/QUICK_SCHEMA refs, wrong path)
  • #update-css-md-asset-structure Update CSS.md asset structure + build bundling
  • #correct-file-uploads-md-limits-banner Correct file-uploads.md limits, banner removal, FilePond transition
  • #rewrite-app-public-admin-readme-md-to-current Rewrite app/public/admin/README.md to current structure
  • #fix-nginx-docs-security-headers-md-csp-x-frame-options Fix nginx/docs/SECURITY_HEADERS.md CSP/X-Frame-Options
  • #create-docs-readme-md-index-classifying Create docs/README.md index classifying all docs
  • #standardise-all-log-filenames Standardise all log filenames to xamxam-{service}[-{date}].log convention
  • #add-server-side-log-rename Add server-side log rename script + just recipe (migrate-log-names) for pre-existing logs
  • #move-production-app-logs Move production app logs from storage/logs to /var/log/xamxam + add logrotate config
  • #add-date-dropdown-to Add date dropdown to admin log viewer to browse retained daily log files
  • #fix-heure-de-d-p-t Fix heure de dépôt (submitted_at) fausse dans backoffice récapitulatif: timezone Europe/Brussels + interpréter datetimes SQLite (UTC) comme UTC
  • #add-date-de-d-p-t Add 'Date de dépôt' (date_depot) column: DB migration + view + recap display
  • #csv-export-emit-date-depot CSV export: emit date_depot as Brussels-local date
  • #csv-import-parse-date-depot CSV import: parse date_depot as Brussels-local and convert to UTC storage
  • #default-exemplaire-baiu Default Exemplaire BAIU + ERG to true on student (partage) submission in ThesisCreateController, replicating admin add-form default
  • #m-style-links-on Style links on licences, charte, a propos pages (underline + accent hover)
  • #recherche-backoffice-par-identifiant Recherche backoffice par identifiant : ajouter t.identifier a la WHERE de getThesesList/getThesesListCount
  • #admin-open-interdit-files Open 'Interdit' thesis files from backoffice: dedicated /admin/media.php route (AdminAuth session-gated) that bypasses the Interdit visibility gate in MediaController, keeping path jail + MIME checks; recap page links Interdit files to it. Also: file links open via /admin/media-viewer.php HTML wrapper so the tab shows the original file name instead of media.php; media.php sets a meaningful Content-Disposition filename too. Hardened: admin media route restricted to thesis-file prefixes only (defense-in-depth over the MIME/jail checks)

Deferred / Blocked

  • #just-setup-backs-a [!medium] just setup backs a stale setup-dev.sh (clones php-live-reload, legacy admin/data/ dirs) — needs rewrite or removal
  • #csv-export-writes-cc2r-exemplaire [!low] CSV export writes CC2r/Exemplaire columns that import's $cell mapping ignores — document or wire up