mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 11:09:18 +02:00
fix fgetcsv deprecation and apply pending DB migrations
This commit is contained in:
2
TODO.md
2
TODO.md
@@ -437,6 +437,8 @@ Goal: rename the tables and column to the canonical M2M pattern (`tags`, `thesis
|
||||
`Database::setThesisLanguages()`, `setThesisFormats()`, `setThesisTags()` following the
|
||||
delete-then-reinsert pattern of `setThesisJury()`; `formulaire.php` and `edit.php` updated.
|
||||
|
||||
- [x] Fix `fgetcsv()` deprecation warnings in `import.php` - added explicit `$escape = ''` parameter to all 5 calls
|
||||
- [x] Run all pending DB migrations (001–006) on `storage/posterg.db` - `tags`/`thesis_tags` tables now exist
|
||||
- [ ] **`RateLimit` uses per-file JSON on disk** - reads, writes, and `glob()`s the filesystem on
|
||||
every public request. For a low-traffic art-school site this is fine, but it creates a
|
||||
write-on-every-hit pattern. Consider switching to APCu (if available) or SQLite (single INSERT)
|
||||
|
||||
Reference in New Issue
Block a user