Commit Graph
12636 Commits
Author SHA1 Message Date
Noah TalermanandVictor Lyuboslavsky 5775f47a28 API design: Get unlock PIN immediately after locking macOS host (#20123)
API changes for the "Get unlock PIN immediately after locking macOS
host" story (https://github.com/fleetdm/fleet/issues/19545)

---------

Co-authored-by: Victor Lyuboslavsky <victor.lyuboslavsky@gmail.com>
2024-07-01 13:45:01 -05:00
Victor Lyuboslavsky 02ca4becf4 Fix backward compatibility bug with Windows MSI END_USER_EMAIL (#20116)
#19219
Fix unreleased backward compatibility bug with Windows MSI
END_USER_EMAIL
# Checklist for submitter

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Manual QA for all new/changed functionality
2024-07-01 10:49:59 -05:00
Mike Thomas 68ffc21235 Update device-management.ejs (#20119)
Text change on device management top-3.
2024-07-01 10:01:44 -05:00
RachelElysia 04e441587a Fleet UI: Team admin/maintainer access to edit in new policy flow (#20061) 2024-07-01 10:42:19 -04:00
Roberto Dip 01030cbde6 test approach for running integration suite in parallel (#20085)
for #18297

# 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] Manual QA for all new/changed functionality
2024-07-01 11:37:12 -03:00
Roberto Dip 8d18e67ab6 prevent errors on tests that use real replicas (#20121)
For #20046, I found this while trying to get #20085 merged, as MySQL 8
tests were consistenly failing (5 times in a row) with this when
integration tests are run in parallel.

I used the `lhotari/action-upterm@v1` action to hook an SSH session into
the worker, and I noticed different errors in different runs, but all on
the same lines of this sample:

```
mysql> SELECT * FROM replication_applier_status_by_worker LIMIT 1 OFFSET 0\G
*************************** 1. row ***************************
                                           CHANNEL_NAME:
                                              WORKER_ID: 1
                                              THREAD_ID: NULL
                                          SERVICE_STATE: OFF
                                      LAST_ERROR_NUMBER: 1146
                                     LAST_ERROR_MESSAGE: Worker 1 failed executing transaction 'ANONYMOUS' at master log bin.000003, end_log_pos 25540153; Error 'Table 'server_datastore_mysql_TestTeams.host_mdm_apple_bootstrap_packages' doesn't exist' on query. Default database: 'server_datastore_mysql_TestTeams'. Query: 'TRUNCATE TABLE host_mdm_apple_bootstrap_packages'
                                   LAST_ERROR_TIMEST
```

This uses

[REPLICATE_DO_DB](https://dev.mysql.com/doc/refman/5.7/en/change-replication-filter.html)
to configure the replica at runtime to replicate only the databases that
are configured with replicas and prevent any unexpected behavior.

# 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] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-07-01 11:19:02 -03:00
Savannah Friend 052c57e4f2 Update ritual for Processing CEO's inbox (#20117) 2024-06-29 11:30:40 -05:00
Sarah Gillespie 27e02717c4 Enable users to edit ABM settings via UI when ABM token is invalid (#20111)
Issue #20090

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [ ] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-06-28 19:36:50 -05:00
JD de8b4ecc5b Spokanemac sysadmin diary policy export (#20112)
Article: Sysadmin diaries: exporting policies
https://github.com/fleetdm/fleet/issues/18452
2024-06-28 17:10:24 -07:00
JD 9266843057 Article: configure logging destinations (#20062)
Article: How to configure logging destinations
https://github.com/fleetdm/confidential/issues/6943

TODO: graphics
2024-06-28 17:05:02 -07:00
Victor Lyuboslavsky 0f50da4833 Updated docs to point to https://download.fleetdm.com/stable (#20094)
#19182 
Updated docs to point to https://download.fleetdm.com/stable

The files at the root (https://download.fleetdm.com/fleetd-base.pkg and
https://download.fleetdm.com/fleetd-base.msi) will no longer be updated.
2024-06-28 17:03:16 -07:00
Joanne Stableford 414d53d65a Add clarity to invoice process with billing cycle (#20104) 2024-06-28 17:22:18 -05:00
Jahziel Villasana-Espinoza 542570766b fix: wrong types used (#20054)
> No related issue, just something I noticed while doing something else

# 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] Manual QA for all new/changed functionality
2024-06-28 18:07:36 -04:00
Eric 76f747f4a4 Website: update secondary CTA buttons (#20105)
Closes: #20081 

Changes:
- Created a new component: `<animated-arrow-button>`.
- Example usage: `<animated-arrow-button href="/contact">Talk to
us</animated-arrow-button>`
- Replaced the animated arrow buttons across the website with the
`<animated-arrow-button>` component.
2024-06-28 16:55:25 -05:00
Eric ebab0a7e7b Website: Update logic deciding when to create issue for monthly rituals. (#20095)
Closes: https://github.com/fleetdm/confidential/issues/7106

Changes:
- Updated the auto-issue logic for monthly rituals to create issues for
rituals on the day of the month the ritual was started and to create
issues on the last day of the month if the ritual was started on a day
that does not exist in the current month.
2024-06-28 16:47:12 -05:00
Luke Heath 972988e39b Adding changes for Fleet v4.53.0 (#19965) 2024-06-28 14:21:58 -07:00
Noah Talerman 36f7406eda Server configuration docs: Comment out section (#20034)
- See commented out section for context
2024-06-28 17:11:02 -04:00
Eric 2c1913d7b2 Website: Update MDM section on homepage, move zero trust section to endpoint ops page (#20097)
Closes: #20083

Changes:
- Updated the buying situation-agnostic MDM section on the homepage.
- Moved the zero trust section from the device management page to the
/endpoint-ops page.
2024-06-28 14:58:39 -05:00
Robert Fairburn 2547277095 mdmproxy terraform (#20009) 2024-06-28 14:40:05 -05:00
Roberto Dip 196f761b6d use the latest fleetd-base version for MDM commands (#20078)
for #19176

# 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/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-06-28 16:35:07 -03:00
RachelElysia 827b25920e Fleet UI: Reinstate sort policies by passing count (#20064) 2024-06-28 14:53:51 -04:00
Luke Heath 30ed2918d4 Switch to one planned patch per sprint (#20070) 2024-06-28 11:10:14 -07:00
Victor Lyuboslavsky 6015717838 Releasing new fleetd-base flow (#20093)
#19182
Releasing new fleetd-base flow
- The flow has been QA'd
- The flow puts the generated files into new directories (`stable` and
`archive`), so risk is low
2024-06-28 12:57:14 -05:00
jacobshandlingandJacob Shandling 91b9c4a107 Add host's next maintenance window to the hosts/{id} and hosts/identifier/{identifier} endpoints, and render that data on the host details page (#19820)
## 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>
2024-06-28 10:51:13 -07:00
RachelElysia f26acee2e1 Fleet docs: Update config > sso settings documentation (#20092) 2024-06-28 13:42:14 -04:00
RachelElysia 077915eb38 Fleet docs: Update config > features documentation (#20087) 2024-06-28 13:32:57 -04:00
Gabe Lopez 2ba1f87dca Update publish_release.sh (#19994)
replaced auto assignment from George to pezhub (Gabe Lopez)
2024-06-28 10:02:49 -07:00
RachelElysia 36c6b37159 Fleet UI: Fix errors font size (#20069) 2024-06-28 11:31:10 -04:00
Noah Talerman 9e695dae39 Dogfood: 📱 iPhones (#20038)
- Emojis
2024-06-28 12:11:05 -03:00
Dante Catalfamo 1f0346ccc7 Host mdminfo remover (#19885)
#17278
2024-06-28 11:09:22 -04:00
Noah Talerman e9d4749eb8 Server configuration docs: S3 for software and carves (#20032)
Docs from changes to address following bug:
- #19526
2024-06-28 10:40:02 -04:00
Eric e10b6c72c7 Docs: Update broken link in REST API documentation (#20060)
Closes: https://github.com/fleetdm/fleet/issues/20041

Changes:
- Updated a link to a moved section in the scripts section of the REST
API documentation
2024-06-27 18:31:45 -05:00
EricandMike Thomas fb1c536533 Website: Update product categories on homepage (#20037)
Closes: https://github.com/fleetdm/confidential/issues/7113

Changes:
- Updated the homepage to default to MDM personalization.
- Updated the layout and content of the homepage to match the latest
wireframes.
- Replaced the calendar section on the homepage with the calendar banner
partial
- Added a product category switch for the buying situation agnostic
version of the page

---------

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2024-06-27 18:30:50 -05:00
Luke Heath 6dfdcdd95d Add requirement for multiple product group PR reviews on some code paths (#20055) 2024-06-27 15:23:38 -07:00
Eric d48318d587 Website: Move calendar section on landing pages (#20067)
Closes: #20045

Changes:
- Moved the calendar section on landing pages
2024-06-27 17:02:18 -05:00
Victor Lyuboslavsky be7b0876c6 GitOps rename teams (#19987)
#18471 
# 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/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [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 table 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] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [x] Manual QA for all new/changed functionality
2024-06-27 16:10:49 -05:00
Rachael Shaw cb0ec8e2f6 Handbook: Add note about using redirects for external links in the product (#19940) 2024-06-27 15:35:02 -05:00
Rachael Shaw 7798820d71 Website: Add redirect to vuln processing docs (#20024)
Add redirect for use in the product (see #19857)
2024-06-27 15:34:33 -05:00
Eric 0abf4bb293 Website: Update personalized quotes on contact page and start questionnaire (#20071)
Closes: #20044 

Changes:
- Updated the personalized quotes on the contact form and /start
questionnaire
2024-06-27 15:06:16 -05:00
Dante Catalfamo 188b52c979 Generate a summary on any go-test failure, add context after panic (#20066)
Stops developers from having to manually grep through the logs to find
the failing test
2024-06-27 15:39:23 -04:00
Mike McNeilandEric 1b6fa1a8c8 Website: Update key event names (#20065)
TODO: Update the other spots and in linkedin

cc @Drew-P-drawers

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-27 14:18:51 -05:00
Jahziel Villasana-Espinoza 87f4a28419 fix: use zerolog for orbit osquery table logging (#20028)
> Related issue: #19886 

# 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/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
  - For Orbit and Fleet Desktop changes:
- [x] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [x] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
2024-06-27 13:26:20 -04:00
Isabell Reedy 0c75908ae4 Update business-operations.rituals.yml with workiversary ritual (#20051) 2024-06-27 12:08:58 -05:00
Joanne StablefordandSam Pfluger f90dbb5e95 Update leadership.md to update hiring steps with correct links (#19954)
Still referenced typeform, and needed a new link for the email templates
for rejections.

---------

Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-06-27 12:01:48 -05:00
Gabriel Hernandez dbb47fbffd Fix my device page banners (#20011)
relates to #19951

renders only one banner at a time on the my device page based on a
priority order. This priority is:

1. turn on mdm banner
2. logout for disk encryption banner
3. reset key for disk encryption banner


![image](https://github.com/fleetdm/fleet/assets/1153709/7a8725f1-d834-42ec-b6d3-8145f9f0a16c)


![image](https://github.com/fleetdm/fleet/assets/1153709/df32de66-6e85-4252-b88c-8c95b28626e6)


![image](https://github.com/fleetdm/fleet/assets/1153709/a6a065bb-cf6f-41ba-8f81-0b1a276d1ce3)


- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-06-27 16:33:38 +01:00
eb3d8d3405 API design: Upload APNs cert and ABM token (#19862)
API changes for:
- #10383

---------

Co-authored-by: Marko Lisica <83164494+marko-lisica@users.noreply.github.com>
Co-authored-by: George Karr <georgekarrv@users.noreply.github.com>
2024-06-27 10:06:39 -05:00
Rachael Shaw a59cfc00be 16961 API changes (#20049)
API changes for #16961 

See https://github.com/fleetdm/fleet/pull/17609
2024-06-27 09:52:48 -05:00
RachelElysia c3eb429f05 Fleet UI: Update delete secret copy (#20048) 2024-06-27 10:40:49 -04:00
RachelElysia 7173727f22 Fleet UI: Update software updated time tooltip (#20029) 2024-06-27 09:41:35 -04:00
Lucas Manuel Rodriguez 3c02ac1278 Add github action to check the auto-generated documentation is up-to-date (#20025)
Oncall project to keep auto-generated documentation up-to-date.
- Auto-generated documentation from Golang source code.
- Auto-generated table JSON schema from yaml files in `schema/tables/`
(we currently remind the developer to run the sails.js commands in the
PR or ask Eric to do it).

Sample of the failure if the developer forgot to run `make generate-doc`
(similar to `make test-db-schema`):
![Screenshot 2024-06-26 at 2 41
23 PM](https://github.com/fleetdm/fleet/assets/2073526/9bbfee24-f5cc-4ce5-bc90-5eb94231c24c)
2024-06-27 06:35:09 -03:00