Harrison Ravazzolo and Lucas Manuel Rodriguez
32802c5731
Fix Google Calendar scheduling over Focus Time and Out of Office events ( #50605 )
...
<!-- Add the related story/sub-task/bug number, like Resolves #123 , or
remove if NA -->
**Related issue:** Resolves
https://github.com/fleetdm/fleet/issues/50548
Fleet's calendar integration was scheduling maintenance events over
users' **Focus Time** and **Out of Office** blocks, even when those were
marked Busy.
The root cause is the event query in `ListEvents`
(ee/server/calendar/google_calendar.go), which only requested
`"default"` event types — so `focusTime` and `outOfOffice` events were
never returned and never considered during conflict detection.
## Change
Added the blocking event types to the query:
```go
EventTypes("default", "focusTime", "outOfOffice").
```
# Checklist for submitter
If some of the following don't apply, delete the relevant line.
- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
---------
Co-authored-by: Lucas Manuel Rodriguez <lucas@fleetdm.com >
2026-08-06 15:05:30 -03:00
..
2026-07-30 14:12:55 -04:00
2026-07-23 09:52:07 -04:00
2026-07-29 13:35:47 -03:00
2026-07-23 06:41:51 -04:00
2026-07-29 09:34:31 -03:00
2026-07-21 11:33:08 -04:00
2026-07-30 13:59:43 -04:00
2026-07-22 07:29:15 -04:00
2026-07-21 11:33:46 -04:00
2026-07-23 06:41:07 -04:00
2026-07-23 06:41:27 -04:00
2026-07-30 13:59:24 -04:00
2026-08-03 07:40:48 -04:00
2026-07-22 12:46:16 -04:00
2026-08-05 21:10:10 -05:00
2026-07-22 09:24:40 -05:00
2026-07-27 22:26:30 -03:00
2026-07-23 07:26:04 -07:00
2026-08-04 12:23:34 -07:00
2026-08-04 09:35:36 -04:00
2026-08-05 12:37:11 +01:00
2026-08-06 12:05:23 -04:00
2026-07-28 10:30:21 -07:00
2026-07-30 14:40:24 -04:00
2026-08-04 16:30:02 -05:00
2026-08-05 15:57:20 -04:00
2026-08-06 07:05:13 -05:00
2026-07-31 15:02:57 -03:00
2026-07-30 09:49:52 -04:00
2026-08-04 13:25:33 -07:00
2026-08-03 07:41:46 -04:00
2026-07-31 21:36:44 -04:00
2026-08-04 08:48:32 -03:00
2026-07-22 15:32:58 -05:00
2026-07-27 11:24:42 +02:00
2026-07-27 19:42:22 +05:30
2026-07-24 11:22:06 -04:00
2026-08-03 06:57:14 -07:00
2026-08-04 09:40:20 +02:00
2026-07-22 08:10:02 -07:00
2026-07-27 12:49:14 -05:00
2026-08-05 12:32:08 -05:00
2026-07-22 20:01:41 +02:00
2026-07-27 10:35:27 +01:00
2026-07-28 15:33:26 -04:00
2026-08-06 09:13:55 -04:00
2026-07-22 09:18:57 -05:00
2026-07-22 19:19:48 +02:00
2026-08-05 16:01:21 -05:00
2026-07-30 14:21:08 +02:00
2026-07-22 11:31:27 -04:00
2026-07-28 13:58:55 -07:00
2026-07-23 11:59:37 -05:00
2026-07-21 16:50:46 -04:00
2026-07-30 14:39:56 -04:00
2026-08-05 16:00:56 -05:00
2026-07-21 21:33:36 +02:00
2026-07-22 08:04:38 -04:00
2026-07-24 15:46:14 -04:00
2026-07-28 13:56:50 -07:00
2026-08-03 11:09:36 -07:00
2026-07-21 21:33:29 +02:00
2026-08-06 11:28:43 -03:00
2026-07-24 13:30:57 +05:30
2026-07-22 10:48:28 -04:00
2026-07-29 14:01:35 +05:30
2026-07-23 07:11:59 -05:00
2026-07-28 20:04:41 +05:30
2026-07-30 12:08:17 -05:00
2026-08-04 11:36:02 -04:00
2026-07-29 08:22:57 -03:00
2026-08-06 10:18:21 -07:00
2026-08-06 09:04:51 -07:00
2026-07-22 09:38:24 -03:00
2026-08-03 09:29:12 -05:00
2026-07-23 12:39:17 -04:00
2026-07-27 08:07:54 -06:00
2026-08-03 14:52:30 -07:00
2026-07-28 14:27:42 +05:30
2026-07-29 10:00:16 -04:00
2026-07-27 15:39:22 -07:00
2026-07-30 14:22:02 -05:00
2026-08-04 10:32:44 -04:00
2026-07-30 17:42:55 -04:00
2026-08-03 07:53:08 -05:00
2026-08-04 15:41:18 -05:00
2026-08-05 13:38:20 -05:00
2026-08-05 09:15:15 -07:00
2026-08-06 15:05:30 -03:00
2026-08-06 12:14:42 -03:00
2026-07-28 12:26:40 -04:00
2026-07-24 07:01:48 -07:00
2026-07-23 12:54:18 -07:00
2026-07-31 16:50:03 +02:00
2026-07-23 10:44:13 -04:00
2026-07-22 11:12:16 -03:00
2026-07-24 10:39:13 -03:00
2026-08-06 14:00:49 -04:00
2026-08-06 12:08:04 -03:00
2026-07-30 12:01:39 -03:00
2026-07-24 11:10:38 +05:30
2026-07-22 16:12:29 +02:00
2026-07-21 17:20:53 -04:00
2026-07-31 08:43:51 -03:00
2026-08-06 11:04:31 -04:00
2026-08-03 13:39:38 -04:00