Slave/shorten hotlink urls #15

Merged
nobswebdev merged 6 commits from slave/shorten-hotlink-urls into master 2026-11-02 14:18:07 +00:00
6 Commits
Author SHA1 Message Date
nobswebdev 6effab12eb Quote enum type names in dev truncate-db DROP TYPE statements.
Matches DROP TABLE identifier quoting so reserved or mixed-case names drop safely.
2026-11-02 14:40:32 +01:00
nobswebdev 0d8d682990 Emit single-segment hotlink share and viewer URLs.
Legacy /i and /h two-segment routes remain supported in the router and viewer.
2026-11-02 14:20:12 +01:00
nobswebdev 2396c5d16d Send hotlink access token hash on upload; keep secret client-side only. 2026-11-02 01:46:51 +01:00
nobswebdev 0ef4993ad9 Serve hotlink images by single-segment access token URL.
Legacy GET /i/:uploadId/:secret unchanged. Lookup new uploads by access token hash; decrypt with token from path.
2026-11-02 00:24:02 +01:00
nobswebdev c97303850a Store hotlink access token hash on upload for short URL lookup. 2026-11-01 23:17:29 +01:00
nobswebdev a82fc6d6c0 Add setup-fresh-db script to reset dev database and run migrations. 2026-11-01 22:59:28 +01:00