Commit Graph

9 Commits

Author SHA1 Message Date
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
Peter Steinberger
99d957581f feat(auth): add multi-org login
Some checks failed
ci / test (push) Has been cancelled
ci / worker (push) Has been cancelled
ci / darwin-cgo-build (push) Has been cancelled
2026-01-22 04:04:14 +00:00
Peter Steinberger
417644868a perf(gmail): trim message search fields 2026-01-22 01:46:42 +00:00
Peter Steinberger
39ea102ba9 test(live): cover tasks list create 2026-01-17 20:34:55 +00:00
Peter Steinberger
ba3f507ffa test(live): cover more gmail settings 2026-01-17 20:15:52 +00:00
Peter Steinberger
432e4887a6 test(live): expand coverage 2026-01-17 20:07:42 +00:00
Peter Steinberger
cafcf09fca test(live): skip unsupported workspace tests 2026-01-17 19:47:46 +00:00
Peter Steinberger
9ef5c8d2f8 test(live): tolerate classroom cleanup failures 2026-01-17 19:30:35 +00:00
Peter Steinberger
bd91323552 test(live): expand live test coverage 2026-01-17 19:15:47 +00:00