Commit Graph
12 Commits
Author SHA1 Message Date
nathan ddc70e170a Phase 3: embed web UI with go:embed, pinned TypeScript toolchain, drop i18n, add /healthz
continuous-integration/drone/push Build encountered an error
- html/embed.go embeds html/ (pages, css, img, js, video); src/assets.go
  serves it, with os.DirFS("html") under -dev. Static assets get an ETag
  and Cache-Control: no-cache; HTML pages are still templated (only the
  login error message is substituted now).
- Delete the generated src/webUI.go (783 KB base64), src/html-build.go and
  cmd/webui-gen; Dockerfile no longer runs a generator.
- Language layer removed: 254 {{.x}} placeholders inlined as English
  strings in ts/*.ts and the two auth pages; html/lang/en.json, the
  LanguageUI struct and the 'language' setting are gone.
- ts/tsconfig.json + package.json pin typescript 5.9.3; the seven sources
  compile (ES2020, global scripts) into one committed html/js/app.js.
  Ten unreferenced legacy scripts under html/js/ deleted; all pages load
  js/app.js.
- Fix the six type errors that blocked a clean compile, including a real
  bug: a missing semicolon in the search shortcut handler made the code
  call the result of preventDefault(), so the shortcut threw instead of
  focusing the search box.
- /healthz liveness endpoint; Dockerfile healthcheck and README use it.
- Drone: go vet, and a webui-check step that rebuilds the bundle and fails
  if the committed app.js is stale.
- README-DEV.md documents build, UI toolchain, -dev, versioning, CI.
2026-09-26 12:46:45 +10:00
nathan 51c7830067 Phase 0: remove auto-updater, pin Go 1.27.1, fix vet warnings, tidy ignores
continuous-integration/drone/push Build encountered an error
- Delete BinaryUpdate, internal/up2date, GitHub/Update structs and the
  xteveAutoUpdate / update.url settings (UI rows, en.json, defaults).
  Settings-schema migrations kept and moved to src/migrate.go.
- Drop kardianos/osext dependency.
- xteve.go version 0200 -> 0201 to match changelog; Drone now fails on drift.
- go.mod go 1.27.1; Dockerfile and Drone golang images pinned to 1.27.1.
- Fix four go vet unreachable-code warnings.
- .gitignore: .gocache/, agent.md, skill.md. .dockerignore: build context
  no longer includes caches, ts/, tasks/ or markdown except the changelog.
- Drone: publish :latest only from master; other branches publish a
  branch-named tag so a feature push cannot replace the deployed image.
- Add tasks/improvement-plan.md and tasks/todo.md.
- Regenerate src/webUI.go.
2026-09-26 12:38:02 +10:00
nathan ce5b12d8b8 Enhance Docker configuration with UID and GID arguments for improved user permissions
continuous-integration/drone/push Build is passing
2026-02-11 19:49:23 +11:00
nathan 84de46a2f2 cleanup version numbers
continuous-integration/drone/push Build is passing
2026-02-11 12:20:36 +11:00
nathan fb62353de4 fix docker image location
continuous-integration/drone/push Build is failing
2026-02-11 12:08:58 +11:00
nathan fa9d41e10c and again
continuous-integration/drone/push Build encountered an error
2026-02-11 12:07:17 +11:00
nathan e07d4dd878 again
continuous-integration/drone/push Build is failing
2026-02-11 12:01:14 +11:00
nathan 6053207034 pipeline fix
continuous-integration/drone/push Build is failing
2026-02-11 11:58:47 +11:00
nathan 45685ce592 fix drone yml
continuous-integration/drone/push Build is failing
2026-02-11 11:53:44 +11:00
nathan 43a9cf5a7e bugfix
continuous-integration/drone/push Build encountered an error
2026-02-11 11:52:34 +11:00
nathan a23cc7a183 change pipeline
continuous-integration/drone/push Build is failing
2026-02-11 11:40:30 +11:00
nathan b069d5bee8 many updates 2026-02-11 11:38:26 +11:00