Commit Graph

10 Commits

Author SHA1 Message Date
bf4c0dbbbd feat: apikey alias/renewal + markdown/patch authorship
- APIKey.alias (unique, required). Creating with an existing alias
  renews that key: same key string kept, validity reset to 15d,
  reactivated, name/roles updated (response has renewed=true).
- get_actor(): X-API-Key -> key alias, Bearer -> 'admin'.
- markdown & patch create/update record author / created_at /
  updated_at / last_modified_by from the actor.
- Idempotent run_migrations() (information_schema-guarded ALTERs +
  backfill) so existing tables/data gain the new columns on startup;
  create_all still covers fresh DBs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 22:51:40 +01:00
fa855bc7bb add: template editor 2025-04-14 17:02:22 +01:00
6626fac452 improve: add setting button to pathnode 2025-03-20 18:37:13 +00:00
e7000f0b2e improve: change db schema for settings 2025-03-20 13:58:24 +00:00
864b78641b add: webhook 2025-03-17 13:54:53 +00:00
26b64f8c15 add: auto link feature 2025-01-17 16:33:39 +00:00
a96e833aa6 add: order paths & mds 2024-12-29 18:53:02 +00:00
79acfb2313 fix: home md not shown 2024-12-10 13:25:17 +00:00
4b9c1ba727 manage markdowns by path 2024-12-05 18:28:16 +00:00
83c5662fcb api impl 2024-12-02 18:33:39 +00:00