mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
## Addresses full stack for #18554 - Add new `timezone` column to `calendar_events` table - When fetched from Google's API, save calendar user's timezone in this new column along with rest of event data - Implement datastore method to retrieve the start time and timezone for a host's next calendar event as a `HostMaintenanceWindow` - Localize and add UTC offset to the `HostMaintenanceWindow`'s start time according to its `timezone` - Include the processed `HostMaintenanceWindow`, if present, in the response to the `GET` `hosts/{id}` and `hosts/identifier/{identifier}` endpoints - Implement UI on the host details page to display this data - Add new and update existing UI, core integration, datastore, and `fleetctl` tests - Update `date-fns` package to the latest version <img width="1062" alt="Screenshot 2024-06-26 at 1 02 34 PM" src="https://github.com/fleetdm/fleet/assets/61553566/c3ddad97-23da-42c1-b4ed-b7615ec88aed"> # Checklist for submitter If some of the following don't apply, delete the relevant line. <!-- Note that API documentation changes are now addressed by the product design team. --> - [x] Changes file added for user-visible changes in `changes/` - [x] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements) - [x] Added/updated tests - [x] If database migrations are included, checked table schema to confirm autoupdate - For database migrations: - [x] Checked schema for all modified tables for columns that will auto-update timestamps during migration. - [x] Confirmed that updating the timestamps is acceptable, and will not cause unwanted side effects. - [x] Manual QA for all new/changed functionality --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com> |
||
|---|---|---|
| .. | ||
| activity.ts | ||
| campaign.ts | ||
| config.ts | ||
| config_option.js | ||
| datatable_config.ts | ||
| decorators.js | ||
| dropdownOption.ts | ||
| empty_table.ts | ||
| enroll_secret.ts | ||
| errors.ts | ||
| form_field.ts | ||
| host.ts | ||
| host_summary.ts | ||
| host_users.ts | ||
| installer.ts | ||
| integration.ts | ||
| invite.ts | ||
| label.ts | ||
| license.js | ||
| macadmins.ts | ||
| mdm.ts | ||
| notification.ts | ||
| operating_system.ts | ||
| osquery_table.ts | ||
| pack.ts | ||
| platform.ts | ||
| policy.ts | ||
| query.ts | ||
| query_report.ts | ||
| query_stats.ts | ||
| registration_form_data.js | ||
| registration_form_data.ts | ||
| role.ts | ||
| schedulable_query.ts | ||
| scheduled_query.ts | ||
| script.ts | ||
| software.ts | ||
| ssoSettings.ts | ||
| status_labels.ts | ||
| target.ts | ||
| team.ts | ||
| team_subnav.ts | ||
| user.ts | ||
| version.ts | ||
| vulnerability.ts | ||
| webhook.ts | ||