Commit Graph

9 Commits

Author SHA1 Message Date
2d1f37d9eb Admin: switch topics to tree editing layout
Render topics as a two-level tree so editing is clearer and limit updates to name/sort while parent selection stays create-only. Keep topic deletion safe with FK cascades and ensure photo tag links are cleaned automatically when a topic is removed.
2026-02-21 12:29:28 +03:00
f9b949a7bf Admin: allow topic rename/delete and instant photo tagging
Add topic editing and deletion flows in the topics admin section with nesting safeguards for two-level hierarchy. Make photo topic assignment immediate on select change so tags are attached without extra confirmation clicks, while keeping inline detach actions.
2026-02-21 12:22:38 +03:00
3f80f3fbb7 Admin: add hierarchical topics with photo tagging
Introduce a new 'topics' entity with two-level nesting and a many-to-many link to photos. Add topic management in admin and inline AJAX attach/detach controls on photo cards so editors can assign or remove topics without reloading the page.
2026-02-21 12:15:36 +03:00
b241c9b9b3 Admin: add section rename and delete actions
Let admins manage section names and ordering from the media sidebar without manual DB edits. Add safe section deletion in admin flow and remove the section storage folder after DB cascade cleanup.
2026-02-20 18:20:03 +03:00
Alex Assistant
0995989b56 Public badge for restored photos and commenter link retrieval/regeneration 2026-02-20 15:13:46 +03:00
Alex Assistant
0e357c0e42 Public: stacked before/after and editable welcome text; admin media/comments mode polish 2026-02-20 15:08:13 +03:00
Alex Assistant
8a0b5aad55 Add MySQL public gallery, token commenters and watermark for restored photos 2026-02-20 14:20:01 +03:00
Alex Assistant
d8fbe939a9 Add MySQL admin v1: sections and photo upload before/after 2026-02-20 14:16:03 +03:00
Alex Assistant
883ff30877 Start MySQL implementation: config template, PDO layer and migrations 2026-02-20 14:07:50 +03:00