Commit Graph
4 Commits
Author SHA1 Message Date
Lauri Ojansivu 06e186a0d0 Send act-editCard to webhooks that opt in.
A webhook whose activity list names act-editCard now receives that event
for card title and description edits, with a `field` parameter saying
which one changed. A webhook on `all` or on the per-field events keeps
receiving act-a-changedTitle / act-a-changedDescription as before, and
every webhook still gets one delivery per edit, so no receiver sees the
same edit twice. Ordinary dispatch and stored Sync webhook plans make the
same per-webhook choice. The English event text is pending Transifex.

Thanks to Rishats and xet7 !

Fixes #4912.
2026-10-02 15:09:58 +03:00
Lauri Ojansivu 24536f6cbd Keep Sync's rule, notification and webhook effects off unless enabled.
Maintainer decision of 2026-09-30: running rules, notifications and
webhooks for changes that Sync makes is off by default. A board opts in
with syncEffectsEnabled, and scheduled runs additionally need the new
instance flag enableSyncCronEffects, so an upgrade changes nothing on
its own. Every stored-effect stage (rules, rule email and archive,
notifications, webhooks) now requires its caller to name the trigger,
manual or scheduled, and checks both switches inside its guard with the
board it re-read, so whatever later wires Sync to these stages cannot
skip them. The switches have no interface yet: the stages are not
called by Sync until the History coordination they wait on is done, and
a toggle that does nothing would mislead.

tests/syncActivation.test.cjs pins the decision, the defaults and that
each stage checks it; the full-app suite refuses a missing trigger, a
board that has not opted in and a scheduled run without the instance
switch, writing nothing, then succeeds once both are on. 560 server
tests pass.

Thanks to xet7 !
2026-09-30 02:00:42 +03:00
Lauri Ojansivu 79d4024f13 Register private webhook recovery storage and guarded plan capture 2026-09-28 12:59:49 +03:00
Lauri Ojansivu 7747aa0a2a Persist captured Sync webhook plans and acknowledged delivery receipts 2026-09-28 05:28:03 +03:00