Commit Graph
29 Commits
Author SHA1 Message Date
ilbinek 748db94d55 shared hashes: separate background job with visible state
Cross Compile Go / build (push) Canceled after 0s
- compute duplicate-hash statistics in their own job (startup, hourly,
  on demand) so they no longer block the table stats
- single-pass query over DISTINCT (hash, addon_id), 15 min timeout
- record errors and panics; never stay stuck in a computing state
- whitelist page polls while computing, shows errors and a Recompute
  button; tab is linkable via ?tab=shared
2026-10-04 03:16:29 +02:00
ilbinek 56d9e10621 admin dashboard, metrics and telemetry
Cross Compile Go / build (push) Canceled after 0s
- embedded React admin UI at /admin/ui (go:embed), login with ADMIN_SECRET
  via signed HttpOnly session cookie, X-ADMIN-KEY still works for scripts
- admin API: overview stats, indexing queue, addon management (priority,
  reindex, delete/restore/purge, bulk), whitelist CRUD, duplicate hashes,
  traffic, metrics explorer, services, events/audit log, system info
- built-in metrics: request latency per route, visitors, top addons and
  searches, indexer/scraper counters; minute buckets in the DB with hourly
  rollups and retention; optional Prometheus /metrics (METRICS_TOKEN)
- POST /back/telemetry for indexers/scrapers (metrics, events, heartbeat)
  and a stdlib-only Go client in telemetry/
- auth hardening: empty secrets no longer allow access, constant-time
  compare, CORS not applied to /admin and /back, TRUSTED_PROXIES setting
- Dockerfile builds the UI and no longer bakes config.yaml into the image;
  CI builds the UI, runs tests and builds arm64 with CGO
2026-10-03 18:10:57 +02:00
ilbinek 0ef27b0072 dependents size fix
Cross Compile Go / build (push) Has been cancelled
2026-08-10 14:15:00 +02:00
ilbinek 0d07148db6 dependencies added
Cross Compile Go / build (push) Has been cancelled
2026-07-09 14:41:50 +02:00
ilbinek 0b3464c563 fix return fields for addons with indexing priority v2
Cross Compile Go / build (push) Successful in 11m53s
2026-04-10 17:46:53 +02:00
ilbinek ade4cf8197 fix return fields for addons with indexing priority
Cross Compile Go / build (push) Has been cancelled
2026-04-10 17:41:40 +02:00
ilbinek e39a92c6d3 updates, dokploy
Cross Compile Go / build (push) Successful in 12m11s
2026-04-09 01:39:37 +02:00
Sotirios Pupakis fcebe00175 gitea action fix
Cross Compile Go / build (push) Successful in 12m28s
2026-01-20 20:12:07 +01:00
Sotirios Pupakis 1618c38062 speedup test 2026-01-20 20:10:49 +01:00
Sotirios Pupakis 9f2d836b24 gitea workflow 2026-01-20 20:09:27 +01:00
Sotirios Pupakis cf26ac4bed delete endpoint 2025-11-20 16:18:52 +01:00
Sotirios Pupakis ed9489b01a Basic global hash whitelist 2025-09-27 02:14:38 +02:00
Sotirios Pupakis bf3ea1bf62 fix webhook url 2025-09-25 01:28:33 +02:00
Sotirios Pupakis 20e1b99248 scraper webhooks 2025-09-25 00:46:13 +02:00
ilbinek 1da3dbad27 Merge pull request 'support for FE' (#1) from wibecoded_fe into main
Reviewed-on: #1
2025-09-25 00:36:09 +02:00
Sotirios Pupakis 93965d501a support for FE 2025-09-25 00:33:27 +02:00
Sotirios Pupakis ca169f5e7e blocked edits 2025-09-09 01:32:38 +02:00
Sotirios Pupakis 597db14bc5 fix 2025-09-08 22:39:05 +02:00
Sotirios Pupakis 9421fa34a8 delete old version files 2025-09-08 03:52:22 +02:00
Sotirios Pupakis 64d9f51f19 discord embed changes 2025-09-07 05:13:06 +02:00
Sotirios Pupakis 557eedf02f fix 2025-09-07 00:01:09 +02:00
Sotirios Pupakis cd4955ea70 fix 2025-09-06 23:53:54 +02:00
Sotirios Pupakis 164f80dbb9 support max size 2025-09-06 23:45:24 +02:00
Sotirios Pupakis 3f77524f66 fix hashed files not containing addon ID 2025-09-06 19:04:40 +02:00
Sotirios Pupakis ae534a87dd custom discord hook 2025-09-06 02:34:26 +02:00
Sotirios Pupakis 1dd8b1105e indexer support 2025-09-06 02:24:49 +02:00
Sotirios Pupakis 092c1a4080 state transfer limit and offset 2025-09-05 23:54:22 +02:00
Sotirios Pupakis 72731aeb10 first try 2025-09-05 17:44:49 +02:00
Sotirios Pupakis f0aadeb2c7 first commit 2025-09-05 04:21:04 +02:00