Reintroduce TFE duration metadata: DB columns, form fields, controllers, views, and migration

Add 'unsafe-eval' to CSP script-src directives (htmx requires Function())
This commit is contained in:
Pontoporeia
2026-06-11 13:05:37 +02:00
parent 00fed5f0e3
commit d588ae004d
81 changed files with 1061 additions and 840 deletions

View File

@@ -1318,6 +1318,8 @@ CREATE TABLE IF NOT EXISTS theses (
remarks TEXT, -- Internal remarks
-- Duration/size
duration_value REAL,
duration_unit TEXT DEFAULT 'pages',
access_type_id INTEGER,
license_id INTEGER,
@@ -4347,6 +4349,8 @@ SELECT
ft.name as finality_type,
t.synopsis,
t.context_note,
t.duration_value,
t.duration_unit,
at.name as access_type,
lt.name as license_type,
t.license_id,