mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Deleting a card created no Activity (only archiving did), so the Activities.after.insert outgoing-webhook hook never fired on real deletion. Added a deleteCard Activity in the Cards before.remove hook and in the two REST card-delete endpoints (which use Cards.direct.removeAsync and bypass the hook), so an outgoing webhook is now sent on card deletion, consistent with other events. (#2950: board/list/swimlane deletion already emit removeBoard/removeList/ removeSwimlane activities, so those webhooks were already present.) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>