Commit Graph
82 Commits
Author SHA1 Message Date
saltbo 77475d5ceb feat(storage): add compact file cleanup dialog 2026-07-23 14:52:42 -04:00
saltbo 91720c76fd feat(storage): add usage projection and management page 2026-07-23 13:36:18 -04:00
saltbo 387c731b3b feat(api-keys): unify user ownership and workspace scopes 2026-07-23 01:41:41 -04:00
saltbo 7c3738f950 fix(downloads): preserve owner uid for api key uploads 2026-07-23 00:32:34 -04:00
saltbo b48779efc7 fix(downloads): decode task tokens as UTF-8 2026-07-22 23:48:33 -04:00
saltbo 23f679d18c feat(webdav): add admin service controls 2026-07-22 23:25:54 -04:00
saltbo ea26ff0c83 fix(stats): honor traffic ledger history 2026-07-22 12:24:45 -04:00
saltbo 1b82630786 fix(stats): show exact boundary-day data 2026-07-22 11:08:36 -04:00
saltbo 5acbd7e1f8 fix(stats): backfill registration source rollups 2026-07-22 10:40:18 -04:00
saltbo df0c5f3fbd feat(auth): add configurable email verification 2026-07-22 10:15:29 -04:00
saltbo 2d215a22b2 fix(stats): show exact data from partial ranges 2026-07-22 09:12:45 -04:00
saltbo e8a8232f46 fix(stats): include current exact snapshots 2026-07-22 01:39:34 -04:00
saltbo 42e2a9b707 fix(stats): show exact partial-day snapshots 2026-07-22 01:18:24 -04:00
saltbo e79e03d8fa fix(stats): preserve missing data in dashboard charts 2026-07-22 00:45:17 -04:00
saltbo f6b89e3539 test(users): trace admin deletion scenario 2026-07-21 23:12:48 -04:00
saltbo ff78a33464 fix(audit): enforce HTTP usecase boundary
Move transfer audit persistence and redirect audit target resolution behind usecase functions so HTTP handlers pass dependencies whole and satisfy the architectural boundary.
2026-07-21 23:09:39 -04:00
saltbo e55ee53496 refactor(stats): unify audit and fact pipelines
Centralize request audit recording, preserve immutable download-task history, and derive hourly statistics and backfills from the same authoritative sources. Add durable user registration facts so admin deletion no longer destroys signup history.
2026-07-21 23:02:52 -04:00
saltbo b6cbc614b8 fix(admin): enforce exact analytics data sources 2026-07-21 02:38:54 -04:00
saltbo 3abf4f231e fix(storage): preserve purge history and track usage deltas
Retain purged matter and image metadata while hiding tombstones from live reads. Record exact storage deltas and build hourly trends only after the opening balance.
2026-07-21 00:29:27 -04:00
saltbo d9da5094bb feat(admin): add live dashboard overview 2026-07-20 22:35:12 -04:00
saltbo e761b6aec7 feat(webdav): verify derived domains before publishing 2026-07-20 18:54:12 -04:00
saltbo 7fe16f3ed7 refactor(site): replace options with structured config APIs 2026-07-20 15:17:48 -04:00
saltbo 0bf1f9e973 feat(webdav): derive fixed domain from public URL 2026-07-20 13:45:22 -04:00
saltbo 75d7b50538 feat(webdav): support optional custom domains
Serve canonical root-relative DAV URLs on a configured hostname while preserving the existing /dav mount. Reconcile Cloudflare rewrite rules and Worker custom domains during fork deployments, and expose the effective URL through site options.
2026-07-20 12:59:58 -04:00
Jasper Van 816f584e48 fix(stats): reject ranges without closed buckets (#512) 2026-07-20 11:15:42 -04:00
Jasper Van c85e60f200 fix(analytics): enforce trustworthy offline statistics (#510)
* fix(analytics): enforce trustworthy offline statistics

Separate immutable counters from point-in-time snapshots, expose incomplete coverage instead of synthetic zeroes, and keep browser analytics result-only.

Restore finite Free quota baselines, fail closed for invalid storage quota, reconcile traffic reports fairly, and add production-safe backfill and data-quality diagnostics.

* fix(analytics): preserve global backfill totals

Group generated hourly backfill rows by their projected values so SQLite cannot resolve output aliases to source organization columns and overwrite cross-organization totals.
2026-07-20 10:23:22 -04:00
saltbo 3dc4b170d6 fix(analytics): snapshot mutable report status 2026-07-19 15:17:41 -04:00
agent-kanban[bot]andRavi Shah f0292cc257 fix(events): allow org API keys to stream download tasks (#509)
* fix(events): authorize org API key task streams

Agent-Profile: https://agent-kanban.dev/agents/e0a1ce35687e48ef

* docs(events): complete verification checklist

Agent-Profile: https://agent-kanban.dev/agents/e0a1ce35687e48ef

---------

Co-authored-by: Ravi Shah <ravi-shah@mails.agent-kanban.dev>
2026-07-19 01:09:12 -04:00
saltbo 60f8f64481 refactor(analytics): enforce offline result boundaries
Build versioned UTC hourly rollups, validate analytics facts, and keep dashboard requests result-only with explicit coverage semantics.

Move derived metrics to the server and simplify the admin dashboard around one reconcilable UTC range without export.
2026-07-18 01:58:34 -04:00
Jasper Van 882f38e631 fix(downloads): harden active target folders (#507) 2026-07-17 23:44:17 -04:00
Jasper Van 15189c4107 fix(downloads): protect remote download target folders (#506)
* fix(downloads): protect remote download target folders

* test(downloads): cover target folder races
2026-07-17 23:18:22 -04:00
saltbo 659d772679 fix(analytics): rely exclusively on hourly rollups
Remove all raw-table fallback reads from dashboard statistics. Keep empty or missing rollups empty instead of silently scanning source tables.\n\nLimit hourly rollup inserts to nine rows so each D1 statement stays within the 100-parameter limit.
2026-07-10 17:23:52 -04:00
Jasper Van 8bd1e55b5c refactor(analytics): replace daily stats with hourly rollups (#505)
* refactor(analytics): replace daily stats with hourly rollups

* fix(analytics): merge hourly inventory sources

* test(analytics): cover rollup failure boundaries

* test(analytics): verify growth dashboard metrics

* test(analytics): cover historical rollup reads

* test(analytics): verify hourly dashboard dimensions

* test(analytics): cover remaining metric boundaries

* test(analytics): cover backfill SQL parsing
2026-07-10 13:26:27 -04:00
Jasper Van 175b210e10 fix: surface incomplete historical statistics (#503)
* fix: surface incomplete historical statistics

* test: add PR 503 preview evidence

* chore: remove preview evidence artifact

* test: align data quality notice assertion
2026-07-10 02:15:08 -04:00
Jasper Van 8a8fa3e9e1 fix: repair admin statistics integrity (#502)
* fix: repair admin statistics integrity

* test: add PR 502 preview evidence

* chore: remove preview evidence artifacts
2026-07-10 01:28:23 -04:00
saltbo 337db89a4a fix(admin): mount stats under site api group 2026-07-09 23:34:03 -04:00
saltbo b540956fb8 fix(admin): keep stats queries read-only 2026-07-09 23:34:03 -04:00
saltbo 8eb388ea01 fix(admin): align dashboard stats data sources 2026-07-09 23:34:03 -04:00
saltbo ab81f138bd fix(admin): harden dashboard stats ranges 2026-07-09 23:34:03 -04:00
saltbo 6376e2ae58 feat(admin): refine operations dashboard analytics 2026-07-09 23:34:03 -04:00
saltbo b7f7fa7ecd feat(admin): implement operations dashboard stats 2026-07-09 23:34:03 -04:00
saltbo 554c231536 feat(admin): redesign dashboard with pro analytics 2026-07-09 23:34:03 -04:00
saltbo a5cc581586 test(quotas): avoid session org recreation in no-org case 2026-07-09 23:16:53 -04:00
saltbo 77aa770ed5 fix(workspaces): standardize workspace names and slugs
Use metadata-aware personal workspace detection across org repositories and UI, generate personal/team slugs with the new default random rules, and remove user-managed team slug fields.

Encode WebDAV path segments consistently so Finder follows workspace names such as Ambor's Space via %27 instead of XML-escaped apostrophes.
2026-07-09 01:00:03 -04:00
saltbo 9c93b993e9 fix(webdav): improve Finder compatibility 2026-07-09 00:19:56 -04:00
agent-kanban[bot]andNoah Reed 7ccaba2f8b feat: refine admin audit filtering (#495)
* feat: refine admin audit filtering

Agent-Profile: https://agent-kanban.dev/agents/b0abe6cd7aeba133

* test: add audit filter spec scenarios

Agent-Profile: https://agent-kanban.dev/agents/b0abe6cd7aeba133

* chore: refresh openapi client

Agent-Profile: https://agent-kanban.dev/agents/b0abe6cd7aeba133

---------

Co-authored-by: Noah Reed <noah-reed@mails.agent-kanban.dev>
2026-07-04 10:21:45 -04:00
Noah Reed 63ceeab678 fix: stabilize webdav traffic integration fixture
Agent-Profile: https://agent-kanban.dev/agents/b0abe6cd7aeba133
2026-07-02 02:54:40 -04:00
saltbo 3695c80c2e feat(downloads): add task event timeline 2026-06-29 21:07:00 -04:00
saltbo 02fb68beea test(downloads): claim upload task via heartbeat 2026-06-27 01:25:23 -04:00
saltbo cf7b1de112 fix(downloader): consolidate polling into heartbeat 2026-06-27 01:16:12 -04:00