feat(webapp): no Discord token in Admin, Tests on typed values, prices, images in the backup, the cap preview, a queue verdict (lane 9 B2) #859
Loading…
Reference in a new issue
No description provided.
Delete branch "build/lane9-b2-server"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lane 9 (#735), server PR B2. It covers the owner's D139 (A2), D143 (A6), D144 (A7) and D147 (A10), plus the smaller §3.2 items. No pages.
A2 / D139: no Discord token field
KEY_BOT_TOKEN,bot_token), from the legacy Admin form and from the setup wizard.key_okis true anddiscordis"ready".records_sessionson invites now means "a bot URL is set".b3d5f7a9c1e4deletes the stored token row./identity.A10 / D147: "Test it" on the typed values
Authorizationheader.{sent, error}.A7 / D144: prices
GETandPUT /admin/settings/plan-pricing. The PUT is hosted-only (501 otherwise) and audited.A6 / D143: images in the nightly backup, on by default
include_mediadefaults to true.media:/app/media:roin all three compose files, and the media is tarred beside the dump and shipped with it.backup_logs.media_archive_path(migrationb3d5f7a9c1e4) is read back by verify.Also
GET /admin/settings/retention/previewlists the campaigns a proposed cap would cut.last_finished_atand averdictoffree,busyorstuck. Stuck means work is waiting and nothing has finished in 40 minutes; a provider that has never finished anything counts as busy.publishedflag. Unpublished, the public read looks withdrawn, and a new admin read lets the address still be edited.KEY_BACKUP_CONFIGleak intest_backup_offsite.py. A similar latentBackupLogrow leak remains and is noted for follow-up.Tests
Merge notes
c4e6; whichever lands second is re-chained.Depends(get_db)calls becomescope="function".🤖 Generated with Claude Code
B2 made the admin Test Email send inline and answer 200 {sent, error} instead of queueing (202). The seed still expected the 202 and failed the journeys job before any test ran. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>