Commit graph

20 commits

Author SHA1 Message Date
a4f3595142 Use nodeJS workspace
All checks were successful
continuous-integration/drone/push Build is passing
2026-04-17 12:58:17 +07:00
e857b1fb99 web-admin: wire dashboard to /metrics with collapsible details
Replaces the three REST count calls with a single Prometheus scrape that
auto-refreshes every 15s, surfaces queue/worker/in-flight/RSS/version/uptime
as featured cards, and tucks counters and Go runtime stats under a
"Show more metrics" Collapse.
2026-04-16 17:08:05 +07:00
8876b3972a model: add UserQuota struct for admin-controlled per-user limits
Introduce a UserQuota field on the User model to hold admin-controlled
limits and flags that the user cannot modify. Only checker-related
fields are defined for now (max checks per day, retention days,
inactivity pause days, scheduling kill switch); future paid-plan
attributes will be added here later.

The user-facing API only exposes settings updates and account deletion,
so Quota cannot be written through it. Updates go through the existing
admin user PUT endpoint, with a new editor card in the admin UI under
/users/[uid].
2026-04-16 15:18:43 +07:00
7a4de13ac6 checkers: add frontend UI components and routes
Add all checker UI pages and components:
- Checker list, config, schedule, and rules pages
- Execution list, detail, results, and rules pages
- Sidebar components for domain/service checker status
- Run check modal with option overrides and rule selection
- Domain-scoped and service-scoped check routes
- Admin pages for checker configuration and scheduler management
- Header navigation link for checkers section
2026-04-16 15:18:43 +07:00
15f014cf5a web: Replace null defaults with undefined for optional props
Aligns optional prop types and defaults with TypeScript/Svelte 5 idioms
by dropping explicit null in favor of undefined throughout components.
2026-04-04 22:16:27 +07:00
e89a483725 web: add missing timeouts to toast notifications
Add timeout values to the 3 remaining toast calls that lacked them:
- Session error toast on redirect to login (10s)
- Account deleted success toast (5s)
- Database tidy error toast in web-admin (10s)
2026-03-28 21:42:17 +07:00
f457071d5d chore: replace interface{} with any across the codebase
Use the modern Go type alias `any` instead of `interface{}` throughout
all packages for improved readability and consistency with current Go idioms.
2026-03-01 17:38:04 +07:00
759fcf5cee chore: replace deprecated ioutil functions with io and os equivalents 2026-03-01 16:40:34 +07:00
fd10d6d4d7 web-admin: Migrate from $app/stores to $app/state
All checks were successful
continuous-integration/drone/push Build is passing
2026-02-12 12:19:10 +07:00
d667b652a0 web-admin: Don't use .gitignore symlink 2026-02-12 12:12:09 +07:00
69c98844c3 web-admin: Add zones pages 2026-01-26 12:34:55 +08:00
014ecadbb7 web-admin: Add sessions management page 2026-01-26 12:34:55 +08:00
f934c83721 web-admin: Handle tidy routes 2026-01-26 12:34:55 +08:00
41e477d2c8 web-admin: Add providers forms 2026-01-26 12:34:55 +08:00
abe58144b2 web-admin: Add domains pages 2026-01-26 12:34:55 +08:00
42c36db56b web-admin: Add auth_user screen 2026-01-26 12:34:55 +08:00
a231731610 web-admin: Add backup/restore 2026-01-26 12:34:55 +08:00
0a0f71cf1c web-admin: Implement users actions 2026-01-26 12:34:55 +08:00
5896fe899c Generate admin API 2026-01-26 12:34:55 +08:00
0d4348fc3b Create admin interface base 2026-01-26 12:34:55 +08:00