8657f447a1
fix(api): make quota adjustment consistent with concurrent freeze/settlement
...
Admin quota adjustment now takes the per-user advisory lock and a FOR UPDATE
row lock on the quota account before projecting the balance, so the check
covers both used and reserved amounts and stays transactionally consistent
with task freeze and settlement. Settlement and lease-recovery paths also
lock the quota row explicitly.
Add the isolated Phase 5 exception-matrix harness (fault injection against a
dedicated DB + fake upstream) covering last-quota contention, concurrent
admin reduce, freeze/reduce stress, bad/oversized/timeout upstream, storage
failure, cross-period settlement and queued/running restart recovery.
Add test-only deps, provisioning helper (secrets via env) and test README.
2026-09-10 04:38:47 +08:00
956862215d
docs: record P4-04..P4-07 admin acceptance and leftover items
2026-09-10 02:59:36 +08:00
2aa1af97a4
feat(admin): build real admin UI for users, VIP/quota, TTS and audit
2026-09-10 02:34:27 +08:00
8aae84b404
feat(admin): P4-04..P4-06 admin API for users, VIP/quota, TTS and audit
2026-09-10 02:30:29 +08:00
be297f2fb2
chore: decommission CMS one-shot seed route and document slug query
2026-09-10 02:03:02 +08:00
3af0a03da2
docs: record Phase 4 CMS acceptance results
2026-09-10 01:30:47 +08:00
e5492ceccb
fix: seed-admin route must not destroy shared payload pool
2026-09-10 01:21:55 +08:00
14d26c765a
feat: add controlled one-shot CMS admin seed route
2026-09-10 01:18:20 +08:00
bd192d9a3c
fix: add CMS initial migration for reproducible schema
2026-09-10 01:00:25 +08:00
187de3165b
fix: restore Next basePath with Caddy passthrough
2026-09-10 00:31:22 +08:00
37164dd8ef
fix: normalize optional segments in Payload admin route
2026-09-10 00:18:02 +08:00
1df151dd0a
fix: delegate CMS prefix handling to Caddy
2026-09-09 23:05:48 +08:00
2b9baf2f5e
fix: type generated Payload import map
2026-09-09 22:42:48 +08:00
f5cc7b45c7
fix: wire Payload CMS server functions and import map
2026-09-09 22:37:10 +08:00
88c081fe23
chore: add CMS backup script and status
2026-09-09 20:05:03 +08:00
76f826c2a9
docs: clean Phase 4 report formatting
2026-09-09 19:30:54 +08:00
24766c8346
docs: record Phase 4 CMS boundary and blocker
2026-09-09 19:30:24 +08:00
060feff597
fix: use Payload default internal route paths
2026-09-09 19:24:28 +08:00
54b516ffee
fix: mount CMS under cms base path
2026-09-09 19:18:30 +08:00
8ff983e858
fix: preserve CMS admin prefix through proxy
2026-09-09 19:13:53 +08:00
864ae270fc
fix: preserve CMS external route prefix
2026-09-09 19:08:41 +08:00
1031335c5d
fix: isolate CMS PostCSS dependency
2026-09-09 17:58:04 +08:00
5e7c40ab05
fix: make Payload migrations runnable on Node 24
2026-09-09 17:53:07 +08:00
1f593fcab4
feat: add Payload CMS foundation
2026-09-09 17:02:46 +08:00
5775214e05
docs: record final Phase 3 recovery deployment
2026-09-09 15:15:40 +08:00
d9a491ef43
fix: finalize Phase 3 V1 minimum and worker recovery
2026-09-09 15:00:59 +08:00
9bf98522af
fix: harden Phase 3 task leases and metering
2026-09-09 14:35:29 +08:00
2e99155264
docs: record successful TTS upstream integration
2026-09-09 14:16:54 +08:00
171d323b47
docs: define server-side TTS configuration boundary
2026-09-09 14:09:09 +08:00
fe3ad3ea78
docs: clean Phase 3 report formatting
2026-09-09 00:48:49 +08:00
f814f35f41
docs: record Phase 3 TTS boundary and tests
2026-09-09 00:48:28 +08:00
d82693b4fa
feat: connect Phase 3 TTS workspace
2026-09-09 00:43:56 +08:00
f5ddf761e4
feat: add Phase 3 TTS task pipeline
2026-09-09 00:42:13 +08:00
b0abd8b08a
docs: clean TTS request formatting
2026-09-09 00:30:52 +08:00
487a11e5f1
docs: record browser auth acceptance and TTS gap
2026-09-09 00:29:31 +08:00
789086830b
fix: clear password form after async update
2026-09-09 00:20:11 +08:00
4b3e82568a
docs: record Phase 2 authentication deployment
2026-09-09 00:06:16 +08:00
4e40019dce
fix: adapt admin audit JSON values
2026-09-09 00:00:47 +08:00
db232fd09f
chore: add reproducible Phase 2 server provisioning
2026-09-08 23:47:44 +08:00
fdcee9c349
feat: implement Phase 2 auth and quota foundation
2026-09-08 23:42:28 +08:00
bed90c1c07
docs: record readable logo deployment
2026-09-08 23:29:30 +08:00
2896df47bf
fix: enlarge readable brand mark
2026-09-08 23:26:09 +08:00
6f3b0488ed
docs: standardize deployment packaging checks
2026-09-08 23:18:25 +08:00
e1f50011c1
docs: record deployment consistency check
2026-09-08 20:56:08 +08:00
0e466435d2
fix: add deployment build stamp
2026-09-08 20:52:52 +08:00
4dac5c17cb
fix: refine Phase 1 homepage visual layout
2026-09-08 19:51:22 +08:00
865f1cae06
docs: record LAN skeleton deployment
2026-09-08 18:14:26 +08:00
1e9b5909fe
docs: record Phase 1 deployment preflight
2026-09-08 17:23:41 +08:00
30cec549c1
feat: add Phase 1 website skeleton and design system
2026-09-08 17:20:15 +08:00
c26164a318
docs: complete Phase 0 audit baseline
2026-09-08 15:29:09 +08:00