mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
Refactor about.php
- Hardcode source code URL and credits in about template, remove from DB/admin interface; only contacts remains editable - Merge apropos editables into one À propos section, remove charte, add editable source code URL
This commit is contained in:
15
TODO.md
15
TODO.md
@@ -1,5 +1,20 @@
|
||||
# XAMXAM TODO
|
||||
|
||||
## Merge apropos editables into À propos page + remove charte + source code URL
|
||||
- [x] `actions/apropos.php` — only `contacts`; removed credits, erg_url
|
||||
- [x] `actions/page.php` — remove `charte` from allowed slugs
|
||||
- [x] `contenus.php` (front controller) — filter pages to only show `about` + `licenses`
|
||||
- [x] `templates/admin/contenus.php` — restored "Pages statiques" table
|
||||
- [x] `contenus-edit.php` (front controller) — `about` slug loads contacts for unified edit
|
||||
- [x] `templates/admin/contenus-edit.php` — `about_page` type: Markdown editor + contacts on one page
|
||||
- [x] `templates/admin/apropos-groups-form.php` — reusable partial for contacts
|
||||
- [x] `Database.php` — simplified getAproposContent/saveAproposContent (contacts-only JSON)
|
||||
- [x] `storage/schema.sql` — removed credits, erg_url; only contacts remains
|
||||
- [x] `AboutController.php` — removed credits, sourceCode DB loading
|
||||
- [x] `templates/public/about.php` — hardcoded source code URL, hardcoded credits HTML
|
||||
- [x] `apropos.css` — `.apropos-toc-source` styles
|
||||
- [x] `.gitignore` — ignore `app/storage/logs/*.log`
|
||||
|
||||
## Duplicate TFE submission prevention (fixes)
|
||||
- [x] `DuplicateThesisException` — typed exception carrying existing thesis metadata
|
||||
- [x] `Database::findDuplicateThesis()` — year + author + normalised-title matching (exact, prefix, Levenshtein ≤10%)
|
||||
|
||||
Reference in New Issue
Block a user