gogcli/scripts
Toni Melisma 2c7426711c
feat(calendar): add --send-updates flag to update and delete commands (#163)
* feat(calendar): add --send-updates flag to update and delete commands

Add --send-updates flag to CalendarUpdateCmd and CalendarDeleteCmd to
control notification behavior when modifying or canceling events with
attendees.

Without this flag, attendees are not notified of updates or cancellations,
causing:
- Stale events remaining in attendees' calendars
- Duplicate/overlapping events when updates are made
- Data synchronization issues for systems managing calendars at arm's length

Changes:
- Add SendUpdates field to CalendarUpdateCmd and CalendarDeleteCmd
- Validate SendUpdates value (all, externalOnly, none)
- Pass SendUpdates to Patch and Delete API calls
- Update truncateParentRecurrence helper to accept sendUpdates parameter
- Add tests for validation and API integration

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* test(calendar): add integration tests for --send-updates flag

Add TestCalendarSendUpdates Go integration test and shell live test
that verify attendee notifications are sent on create/update/delete.

Tests are opt-in via GOG_IT_ATTENDEE / GOG_LIVE_CALENDAR_ATTENDEE env vars.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(calendar): polish --send-updates landing

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-02-14 23:02:27 +01:00
..
live-tests feat(calendar): add --send-updates flag to update and delete commands (#163) 2026-02-14 23:02:27 +01:00
gen-auth-services-md_test.go fix(lint): resolve wsl lint findings (#35) 2026-01-09 04:49:53 +01:00
gen-auth-services-md.go docs(readme): add generated auth services table 2026-01-08 02:48:01 +01:00
live-chat-test.sh fix(live-tests): make live scripts cwd-safe 2026-02-14 04:32:13 +01:00
live-test.sh feat(calendar): add --send-updates flag to update and delete commands (#163) 2026-02-14 23:02:27 +01:00
release.sh chore: fix mktemp usage 2025-12-31 20:17:21 +01:00
verify-release.sh chore(release): fix verify-release.sh for tap 2026-01-10 02:12:57 +01:00