Commit Graph
283 Commits
Author SHA1 Message Date
翅膀 8bfa8da2ec fix(config): expose the legal contact override
Declare the public runtime key so the documented environment
override reaches legal pages in deployed Nuxt builds.
2026-10-23 23:23:59 +08:00
翅膀 6968880054 fix(console): lock route edits and show failures
Lock the route editor while saving and show fragment load failures
with a retry action rather than presenting a false empty list.
2026-10-23 23:23:58 +08:00
翅膀 0878a7768c fix(console): lock the group editor while saving
Prevent edits while a group save is in flight and make super-only
installation settings readonly instead of silently ignoring edits.
2026-10-23 23:23:57 +08:00
翅膀 f8dbb8ec0b fix(console): retain undisplayed forge sources
An editor that only displays some providers must preserve the others.
Keep stored custom sources when saving unrelated group settings.
2026-10-23 23:23:57 +08:00
翅膀 94b47da859 fix(console): retain legacy discord log targets
A stored log target without platform means Discord.
Keep that meaning in the editor instead of clearing the target.
2026-10-23 23:23:56 +08:00
翅膀 cbf07416cd fix(console): show invite loading failures
Failed invite loads must not look like no pending invites.
Show the error and discard responses from a previously shown group.
2026-10-23 23:23:54 +08:00
翅膀 2710de7446 fix(console): lock member edits during saves
Edits made during a save are overwritten by its result.
Disable member controls and guard handlers until the write settles.
2026-10-23 23:23:53 +08:00
翅膀 3ddd3688da fix(console): retain legacy group owners
Groups predating member roles store owners in adminIds.
Load those as owners so adding a member never drops all old owners.
2026-10-23 23:23:52 +08:00
翅膀 3e2398bbcc fix(console): discard stale log detail responses
An older detail request can finish after a newer selection or close.
Discard it so the dialog never shows the previously clicked record.
2026-10-23 23:23:51 +08:00
翅膀 9159fb8696 fix(console): allow selecting a group named all
The all sentinel collides with a valid group id.
Use a value that cannot be a group id so that group stays selectable.
2026-10-23 23:23:50 +08:00
翅膀 9bc58ec81b fix(console): explain rejected install bindings
Explain why an installation binding was refused instead of silently
returning to the console with no visible outcome.
2026-10-23 23:23:49 +08:00
翅膀 a31f7cbe43 fix(console): show overview loading failures
Failed overview requests must not look like an empty dashboard or
a successful refresh. Show the reason while retaining prior data.
2026-10-23 23:23:48 +08:00
翅膀 4fae01453c fix(console): reject edits of stale routes
A conflict reload can leave an older route editor open.
Compare its original value before saving so it cannot overwrite
the newly loaded route.
2026-10-23 23:23:45 +08:00
翅膀 6eb9cbab4e fix(console): save groups with guarded writes
Whole-list saves can overwrite unrelated groups. Use per-group
revision-aware writes, retain rename results and confirm deletion
on the exact group, routes and version shown to the user.
2026-10-23 23:23:43 +08:00
翅膀 85c73d1122 fix(console): guard fragment saves by revision
Fragments share a group version with other configuration writes.
Submit the loaded revision and reload on conflict to preserve
concurrent edits.
2026-10-23 23:23:41 +08:00
翅膀 bcec03bbc6 fix(console): send loaded route revisions
Send the revision actually loaded with the route list and adopt the
server response after a save. Reload on conflict instead of silently
overwriting another editor.
2026-10-23 23:23:40 +08:00
翅膀 be300d8643 refactor(console): model group revisions
Carry server revisions explicitly so console writes can reject
changes based on an outdated group snapshot.
2026-10-23 23:23:40 +08:00
翅膀 db070411d3 fix(console): expose api conflict statuses
Callers need the HTTP status to distinguish stale edits from other
failures and reload current data after a conflict.
2026-10-23 23:23:39 +08:00
翅膀 6b235547d1 fix(storage): prune abandoned parked payloads
Oversized payloads can remain after interrupted enqueue attempts.
Prune objects beyond their retry lifetime without deleting payloads
that a current delivery may still need.
2026-10-23 23:23:39 +08:00
翅膀 88800611e5 fix(webhook): confirm only accepted deliveries
Acknowledging before queue acceptance permanently loses deliveries.
Confirm only accepted work, release failed claims, scope replay
identities and strip tenant-supplied installation authority.
2026-10-23 23:23:38 +08:00
翅膀 2ec541ad7c fix(admin): guard revisions and tenant targets
Read-time authorization alone cannot protect concurrent edits.
Guard revisions, current roles and destination ownership in the
write transaction, and use per-group endpoints for isolated changes.
2026-10-23 23:23:37 +08:00
翅膀 4fc784ab9f fix(queue): bound batches and resume deliveries
A queue invocation has shared query and subrequest limits.
Use a small batch and shared send budget, renew fenced leases and
resume only unfinished work without exhausting unstarted messages.
2026-10-23 23:23:35 +08:00
翅膀 4c03543790 fix(dispatch): isolate and resume tenant sends
Check tenant sources before filters and never dispatch orphan routes.
Record each target outcome, isolate update chains by forge and group
identity, and keep stale events from overwriting newer messages.
2026-10-23 23:23:33 +08:00
翅膀 a91e8d7a7f fix(queue): fence leases and record target outcomes
Retries must remember completed targets and distinguish active
lease holders. Fence state updates, preserve permanent outcomes and
reject missing parked payloads instead of dispatching empty data.
2026-10-23 23:23:31 +08:00
翅膀 5b755deca5 fix(oauth): confirm account links and installs
A login link or installation id is not proof of account ownership.
Verify installation management, bind browser state and require an
explicit account-link confirmation before granting chat access.
2026-10-23 23:23:29 +08:00
翅膀 81af2053c0 fix(group): preserve identity through lifecycle
Group names are mutable and reusable, so they cannot own durable
state. Preserve immutable identities across lifecycle operations and
commit invite use with membership under transaction-time guards.
2026-10-23 23:23:27 +08:00
翅膀 c853f2910f fix(config): transact per-group configuration
Whole-table writes and cached snapshots can overwrite other groups
or resurrect removed configuration. Use per-group guarded writes,
one-time identity migration and explicit unreadable-row failures.
2026-10-23 23:23:25 +08:00
翅膀 ceb906d479 fix(target): normalize actual destinations
Different target spellings can name the same actual destination.
Normalize channel, thread and topic identities for ownership checks
and per-route duplicate suppression.
2026-10-23 23:23:22 +08:00
翅膀 0978c6c310 fix(feishu): authenticate and dedupe callbacks
Authenticate signed or token-verified callbacks before dispatching
commands. Decode encrypted envelopes and handle card actions using
the correct fields without claiming irrelevant chat events.
2026-10-23 23:23:21 +08:00
翅膀 e850ec3c14 fix(feishu): neutralize untrusted mentions
Forge text is untrusted and can contain at-all tags.
Neutralize mentions in card bodies and footers before rendering.
2026-10-23 23:23:19 +08:00
翅膀 4c1ec472af fix(feishu): use the card update endpoint
Delayed card updates use the card update endpoint; the config
endpoint cannot update an interaction response.
2026-10-23 23:23:18 +08:00
翅膀 832718a238 fix(feishu): refresh and evict tokens safely
Separate app token caches, stop reusing refused tokens and share
refreshes. Cache failures briefly and keep valid tokens in memory
when a best-effort KV cache write fails.
2026-10-23 23:23:17 +08:00
翅膀 1b814b4dfa fix(feishu): retry sends with stable uuids
An unreadable response does not prove a send failed.
Reuse the same uuid for retries so recovering the result cannot
create a second Feishu message.
2026-10-23 23:23:16 +08:00
翅膀 fa3b090dd6 fix(feishu): classify retryable api failures
Business error codes can be transient even in HTTP 200 responses.
Classify token and rate-limit errors for retry and defer long waits.
2026-10-23 23:23:14 +08:00
翅膀 061e045a39 fix(feishu): bound individual api requests
Bound individual platform calls so they cannot outlive the lock
protecting a message update or stall a whole delivery invocation.
2026-10-23 23:23:13 +08:00
翅膀 7882701e1f fix(telegram): keep completed commands claimed
Redelivery after a completed write must never post another comment.
Keep completion claims despite reply failures, scope updates per bot
and only issue account-login links in private chats.
2026-10-23 23:23:11 +08:00
翅膀 8b10b98880 fix(telegram): honor the author emoji toggle
The author marker must obey the group emoji preference just like
formatter-added decoration.
2026-10-23 23:23:10 +08:00
翅膀 7a76cac8a1 fix(telegram): clamp visible html characters
Telegram counts visible characters, not HTML source bytes.
Truncate without splitting tags, entities or surrogate pairs.
2026-10-23 23:23:08 +08:00
翅膀 93650141f7 fix(telegram): render hard breaks as newlines
Telegram HTML does not support br tags. Render Markdown hard breaks
as plain newlines so otherwise valid messages are accepted.
2026-10-23 23:23:06 +08:00
翅膀 dd45e13cb1 fix(telegram): keep editable messages as text
Guessing photo versus text from message content makes later edits
use the wrong API and a smaller caption budget. Always send text
and use the avatar as a link preview.
2026-10-23 23:23:05 +08:00
翅膀 867d2af6ac fix(telegram): report unreadable send results
An unreadable successful response may already have sent the message.
Report an explicit uncertain result instead of retrying a create
without an idempotency key or pretending it succeeded.
2026-10-23 23:23:03 +08:00
翅膀 b212989c05 fix(telegram): honor nested rate-limit delays
Telegram places retry_after inside parameters, not at the top level.
Read that value and defer long waits to the delivery queue.
2026-10-23 23:23:02 +08:00
翅膀 03021f7c2b fix(telegram): bound individual api requests
Bound individual platform calls so they cannot outlive the lock
protecting a message update or stall a whole delivery invocation.
2026-10-23 23:22:58 +08:00
翅膀 0bf18fe2ca fix(telegram): always verify webhook secrets
Webhook verification must not silently disable itself when the
optional secret is absent. Derive a stable secret from the bot
token and reject callbacks when verification is unavailable.
2026-10-23 23:22:57 +08:00
翅膀 706737ca6b fix(discord): defer and deduplicate interactions
Acknowledge slow actions before Discord times out and deduplicate
interaction writes. Preserve comment text and reject edits whose
source changed after the modal opened.
2026-10-23 23:22:53 +08:00
翅膀 37d22f6907 fix(auth): bind sessions and tokens to identity
Automatic retries can repeat non-idempotent user actions.
Disable those retries and expose a write hook so bot handlers can
record completion immediately before the GitHub write.
2026-10-23 23:22:52 +08:00
翅膀 2bdce90776 fix(auth): revoke stale sessions and tokens
Revoked or rotated credentials must stop working despite stale KV
replicas. Track the live token and revocations in D1 and preserve
immutable identity bindings rather than trusting a recycled login.
2026-10-23 23:22:52 +08:00
翅膀 5ff2338b48 fix(github): resolve immutable member ids
A login can be renamed and reclaimed before its first sign-in.
Resolve the current immutable user id when membership is granted
so a future holder of the login cannot inherit access.
2026-10-23 23:22:43 +08:00
翅膀 25f36e2d3a fix(github): verify installation management
An installation id is user-controlled, and repository access is not
installation management. Verify the owning account or an active
organization admin using the user token and read:org scope.
2026-10-23 23:22:36 +08:00
翅膀 f8329035e3 fix(discord): resume bounded command syncs
Application changes, command rollbacks and large guild lists can
leave commands stale indefinitely. Track the current hash per app
and resume bounded paginated work without needless KV writes.
2026-10-23 23:22:35 +08:00