John O'Keefe
8631aa00bf
refactor: remove dead code across server, templ pages, and client modules
Deadcode-verified removals (RTA reachability from main, cross-checked
with -test and textual xrefs):
Go server:
- whole files: middleware/transaction.go, middleware/error_handler.go,
middleware/password_validator.go (live registration machinery kept),
handlers/sync.go, sync/offline.go
- unrouted endpoints: auth UpdateUsername/UpdateEmail, timezone
settings handler, OPDS RegisterOPDS, Kobo LibrarySync handler,
ReaderHandler.ShowReader, JSON-data twins on collections/library
- duplicate book-matching handlers (book_matching.go Handler twins,
matching.go MatchingHandler twins), superseded helpers
(router.parseUUID, handlers.ValidateDeviceToken, normalizePath,
userExists, generateLockID)
Templ/client:
- never-routed pages: api_explorer.templ, queue.templ and their
client modules api-explorer.ts, api-explorer-docs.ts, queue.ts
- fully orphaned wrapper modules events.ts, dom.ts
- broken clearSyncQueue (called a nonexistent endpoint) and the
hidden, never-populated sync-queue section on the devices page
- 166+ unused exports demoted to private (knip-verified); ~85 truly
dead declarations removed via tsc noUnusedLocals fixpoint
- stale 'interactive API Explorer' claims dropped from docs
The docs drift-gate package (internal/docs), templ-bound modules
(dashboard, stats, header, index, login, profile*, bookshelf,
collections, toast-error), sqlc-generated code, and web/static are
intentionally untouched.
2026-10-25 11:06:08 -04:00
..
2026-10-25 11:06:08 -04:00
2026-10-18 12:08:20 -04:00
2026-10-25 11:06:08 -04:00
2026-10-13 12:24:12 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 16:38:03 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 12:08:20 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 12:08:20 -04:00
2026-10-25 11:06:08 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 12:08:20 -04:00
2026-10-18 18:02:34 -04:00
2026-10-15 19:33:18 -04:00
2026-10-15 19:33:18 -04:00
2026-10-25 11:06:08 -04:00
2026-10-23 11:06:42 -04:00
2026-10-25 11:06:08 -04:00
2026-10-19 15:43:59 -04:00
2026-10-25 11:06:08 -04:00
2026-10-23 12:30:12 -04:00
2026-05-24 21:20:24 -04:00
2026-03-27 15:52:02 -04:00
2026-10-25 11:06:08 -04:00
2026-10-20 15:36:31 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 12:08:20 -04:00
2026-10-25 11:06:08 -04:00
2026-10-19 15:43:59 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 12:08:20 -04:00
2026-10-25 11:06:08 -04:00
2026-10-19 15:43:59 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 12:42:50 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 12:08:20 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 16:45:48 -04:00
2026-10-25 11:06:08 -04:00
2026-10-25 11:06:08 -04:00
2026-10-24 14:31:36 -04:00
2026-10-25 11:06:08 -04:00
2026-10-24 21:57:03 -04:00
2026-10-25 11:06:08 -04:00
2026-08-10 13:43:13 -04:00
2026-10-25 11:06:08 -04:00
2026-10-19 18:59:36 -04:00
2026-10-25 11:06:08 -04:00
2026-08-05 16:45:02 -04:00
2026-10-25 11:06:08 -04:00
2026-10-24 19:44:34 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 12:08:07 -04:00
2026-10-25 11:06:08 -04:00
2026-10-24 19:44:34 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 13:16:35 -04:00
2026-10-25 11:06:08 -04:00
2026-10-24 19:44:34 -04:00
2026-10-18 16:45:48 -04:00
2026-10-25 11:06:08 -04:00
2026-10-22 15:01:41 -04:00
2026-10-25 11:06:08 -04:00
2026-08-05 16:45:02 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 12:08:20 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 12:08:20 -04:00
2026-10-25 11:06:08 -04:00
2026-10-21 20:21:07 -04:00
2026-10-24 19:44:34 -04:00
2026-10-24 19:44:34 -04:00
2026-08-05 16:45:02 -04:00
2026-08-05 16:45:02 -04:00
2026-10-25 11:06:08 -04:00
2026-10-19 12:39:20 -04:00
2026-10-03 23:54:07 -04:00
2026-10-24 19:44:34 -04:00
2026-10-24 19:44:34 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 12:08:20 -04:00
2026-10-18 12:08:07 -04:00
2026-10-18 12:08:07 -04:00
2026-10-18 12:08:07 -04:00
2026-10-25 11:06:08 -04:00
2026-05-10 16:13:21 -04:00
2026-10-24 14:31:36 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 16:00:04 -04:00
2026-10-19 18:59:36 -04:00
2026-10-25 11:06:08 -04:00