Commit Graph
18375 Commits
Author SHA1 Message Date
Dante Catalfamo e6663d2df0 Update copy in Linux escrow modal (#32742) 2025-09-11 15:24:32 -05:00
George Karr 50dd818237 Fix formatting of developer links in product groups (#32710) 2025-09-11 15:15:43 -05:00
Lucas Manuel Rodriguez 8d712e7331 Add support and docs to release updates to swiftDialog (#32882)
For #32869.
2025-09-11 17:06:23 -03:00
Eric 8e6150ed26 Website: (Config builder) Add tooltip to access type dropdown, update remove single payload button (#32877)
Closes: https://github.com/fleetdm/fleet/issues/32184
Closes: https://github.com/fleetdm/fleet/issues/32183

Changes:
- (Config builder) Added a tooltip to the access type dropdown for
Windows settings
- (Config builder) Updated the "Remove" button in the payload builder to
be "Remove payload"
2025-09-11 13:57:24 -05:00
George KarrandJordan Montgomery 6ebbef874b adding sum of estimates and fixing workflow progress menu (#32694)
What’s in this PR

1) Smarter default sorting for issues (used by the TUI)

New ghapi.SortIssuesForDisplay helper that orders issues by:

Priority label (P0 → P1 → P2 → none)

Presence of customer-* / prospect-* labels

Type labels (story → bug → ~sub-task → others)

Issue number (descending)
This is applied before filtering so views start in a meaningful order. 
[GitHub](https://github.com/fleetdm/fleet/pull/32694/files)

Implementation lives in tools/github-manage/pkg/ghapi/sort.go.
Comprehensive tests cover all combinations, tie-breakers, and stability.
GitHub
+1

2) Estimates: show the sum for the current selection

The header now displays Σest sel=<sum> for the currently selected
issues, both in filtered and unfiltered views, making quick capacity
checks easier.
[GitHub](https://github.com/fleetdm/fleet/pull/32694/files)

3) Better progress UI for workflows

Task list is now windowed (last ~10 items) with auto-scroll to the
currently running or most recently finished task, plus “earlier/more
tasks” ellipses and a progress counter at the bottom. This keeps the
view focused during long runs.
[GitHub](https://github.com/fleetdm/fleet/pull/32694/files)

4) Project estimates fetch now includes total count

Switched from GetEstimatedTicketsForProject to
GetEstimatedTicketsForProjectWithTotal, so we can show totalAvailable
alongside rawFetched/limit.
[GitHub](https://github.com/fleetdm/fleet/pull/32694/files)

---------

Co-authored-by: Jordan Montgomery <elijah.jordan.montgomery@gmail.com>
2025-09-11 13:47:46 -05:00
Juan Fernandez 43bbb4686a Do not allow positional arguments when running gitops (#32780)
For #32478

Added check to gitops command to throw error if positional arguments are
detected.
2025-09-11 14:42:56 -04:00
Noah Talerman f576bd8863 Open roles builder: Fleet is series B (#32856) 2025-09-11 11:34:54 -07:00
fleet-releaseandiansltx 45bc7c34b7 Update Fleet-maintained apps (#32873)
Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: iansltx <472804+iansltx@users.noreply.github.com>
2025-09-11 13:31:26 -05:00
jacobshandlingandJacob Shandling ee4d4c0a7d Fix minor inconsistency in agent config overrides docs (#32874)
Only macs would be overridden here

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2025-09-11 12:37:14 -05:00
RachelElysia c5d734f276 FE: Refactor Self Service card into its own file (#32738) 2025-09-11 13:36:37 -04:00
fleet-releaseandmostlikelee 3d78aa8c33 Update Fleet-maintained apps (#32848)
Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: mostlikelee <16102903+mostlikelee@users.noreply.github.com>
2025-09-11 12:08:10 -05:00
Rachael Shaw 35eaf7dec5 #29609 API design (add IdP department to host vitals) (#30054)
For #29609

> TODO: check whether IdP data is on "My device" page, and add to
documentation if so
2025-09-11 11:52:42 -05:00
Rachael Shaw 8e05a45680 "setup" (noun) to "set up" (verb) (#32717) 2025-09-11 11:29:30 -05:00
Carlo 1ebf13219a Pass along particular 4xx errors from Google (#32817)
Fixes #32703. Intercept and pass along some 4xx errors from Google.
2025-09-11 11:57:29 -04:00
Ian Littman 2a8987f0a8 Try more aggressive timeout on limiter test (#32854)
To fix flakey test
2025-09-11 09:54:32 -05:00
RachelElysia 27b9d5abb2 Fleet UI: Fix cut off long filepaths/hash (#32850) 2025-09-11 10:50:45 -04:00
RachelElysia 7410aaa4f1 Fleet UI: New client-side file size limit (100KB) (#32846) 2025-09-11 10:21:18 -04:00
Jordan MontgomeryandMagnus Jensen 722b6d010a Add missed changes file for 32096 (#32847)
Adds missing changes file for #32096 . Added last night but never added
file locally

---------

Co-authored-by: Magnus Jensen <magnus@fleetdm.com>
2025-09-11 10:03:31 -04:00
Jordan MontgomeryandMagnus Jensen 572536d466 Skip setup experience during AxM based migrations (#32822)
Fixes #32096

The gist of the fix is that when syncing devices from DEP we save the
migration deadline to our host_dep_assignments table. The next
enrollment, which we assume should be the migration, looks at
host_dep_assignments, sees that mdm_migration_deadline is non-Null and
mdm_migration_completed is NULL, and uses that as the signal that a
migration is in progress and skips enqueuing setup experience items. It
then marks the migration as complete which sets mdm_migration_completed
= mdm_migration_deadline. Once this is set setup experience will run as
normal unless mdm_migration_completed gets set to NULL and/or
mdm_migration_deadline gets set to a value in the future(which e.g.
would happen if the customer assigned to another MDM server then
assigned to migrate to fleet again)

DB test failure is expected here because it won't like the migration
timestamp but that is a necessary failure because this fix is going to
be backported into 4.73

# 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`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#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] If paths of existing endpoints are modified without backwards
compatibility, checked the frontend/CLI for any necessary changes

## Testing

- [x] Added/updated automated tests
- [x] Where appropriate, [automated tests simulate multiple hosts and
test for host
isolation](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/reference/patterns-backend.md#unit-testing)
(updates to one hosts's records do not affect another)

- [x] QA'd all new/changed functionality manually

For unreleased bug fixes in a release candidate, one of:

- [x] Confirmed that the fix is not expected to adversely impact load
test results
- [x] Alerted the release DRI if additional load testing is needed

## Database migrations

- [x] Checked table schema to confirm autoupdate
- [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`).


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* New Features
  * Tracks and stores Apple DEP MDM migration deadlines per device/host.
  * Detects “migration in progress” during DEP sync and check-in.
* Automatically marks migration complete and skips Setup Assistant items
while migration is in progress to prevent conflicts.

* Bug Fixes
* Improved DEP compatibility by updating the protocol version and
User-Agent used for Apple’s APIs, reducing the chance of blocked or
rejected requests.

* Migrations
* Adds fields to support migration deadlines and completion status (no
action required).

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Magnus Jensen <magnus@fleetdm.com>
2025-09-11 09:40:40 -04:00
Magnus Jensen 863b1997d6 Check enrollment type for mobile apple devices and block personal enrollments (#32844)
fixes: #32164 

# 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`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually
2025-09-11 16:02:18 +03:00
github-actions[bot]andlucasmrod 8f8c7581ea Update versions of fleetd components in Fleet's TUF [automated] (#32840)
Automated change from [GitHub
action](https://github.com/fleetdm/fleet/actions/workflows/fleetd-tuf.yml).

Co-authored-by: lucasmrod <lucasmrod@users.noreply.github.com>
2025-09-11 08:11:14 -03:00
Magnus Jensen b732361f0d Fix broken link for linkedin profile in GTM page (#32842) 2025-09-11 02:33:55 -05:00
Magnus Jensen 4c59270795 Update error messages of MDM not being configured with the respective platform (#32800)
Just stumbled upon this and it was not clear what platform it was
failing on, so I just updated the errors to include either Apple or
Windows based on the platform.
2025-09-11 10:17:31 +03:00
Magnus Jensen d1e183584e Add missing space in 4.73 release article. (#32758) 2025-09-11 10:17:20 +03:00
Ian Littman 78c7ee229c Hide GitOps export info for icons in UI (#32839)
Also fixes a spacing issue once GitOps lands and we can un-comment this

Fixes #32832.

# Checklist for submitter
## Testing

- [x] QA'd all new/changed functionality manually

- [x] Confirmed that the fix is not expected to adversely impact load
test results
2025-09-10 22:07:59 -05:00
jacobshandlingandJacob Shandling 64d23817ad UI: Make more specific and move down a level gating of Setup Experience UX to facilitate appropriate granular access to Linux and Android features (#32754)
## For #32683 

- Gate Setup experience steps for MDM and ABM being enabled at the
individual sidenav level instead of the entire section
- Allow Linux software installation even when MDM/ABM not enabled
- Improve typing of sidenav 

### Setup experience > Install software > Linux can be accessed without
MDM/ABM, but not macOS:

![ezgif-1c8bb8d13011ea](https://github.com/user-attachments/assets/56ffdbc5-2b49-4263-9483-0ebfc1b2754f)

### Other setup experience tabs gated without MDM/ABM configured (note
specific conditions for End user authentication - Apple MDM OR Android
MDM, with informative Tooltips:

![ezgif-1d194f6b298edd](https://github.com/user-attachments/assets/79450034-b278-46e9-9089-330c126336f3)


- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2025-09-10 16:51:02 -07:00
Konstantin Sykulev e2fd468c22 restricting icon size to 100kb. (#32834)
fixes https://github.com/fleetdm/fleet/issues/32826

## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually

For unreleased bug fixes in a release candidate, one of:

- [x] Confirmed that the fix is not expected to adversely impact load
test results
- [x] Alerted the release DRI if additional load testing is needed
2025-09-10 18:25:44 -05:00
Konstantin Sykulev db0b92f738 software library page fetches vpp icons properly (#32828)
Fixes https://github.com/fleetdm/fleet/issues/32819


## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually

For unreleased bug fixes in a release candidate, one of:

- [x] Confirmed that the fix is not expected to adversely impact load
test results
- [x] Alerted the release DRI if additional load testing is needed
2025-09-10 18:24:58 -05:00
fleet-releaseandmostlikelee 4ba809be3b Update Fleet-maintained apps (#32824)
Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: mostlikelee <16102903+mostlikelee@users.noreply.github.com>
2025-09-10 18:14:16 -05:00
Noah Talerman 906ffd93a3 Update fleetctl and log destinations guide (#32718)
- Capital "Fleetctl" at the start of a sentence:
https://fleetdm.com/handbook/company/communications#capitalization-and-proper-nouns
- Move note about `filesysten` being the default log destination
- Add note that only self-hosted users being able to configure log
destinations on their own
- Cut content
2025-09-10 16:05:51 -07:00
Allen Houchins bded4a7d4d Added script to set lock screen message (#32820)
- Added script to set lock screen message
- Scoped it to the two workstations teams
2025-09-10 16:44:21 -05:00
Ian Littman 197c14f722 Add smoke test item, QA considerations for testing Fleet Desktop with Fleet Free (#32805) 2025-09-10 13:53:51 -05:00
Janis Watts 4678a4e883 Update design-qa-considerations.md with responsiveness considerations (#32616) 2025-09-10 13:52:49 -05:00
Allen HouchinsandLucas Manuel Rodriguez f3612ba1a8 Fix emoji rendering issue in Fleet Desktop on OpenSUSE (#32756)
Added logic to `menu.go` to detect when Fleet Desktop is running on OpenSUSE in order to display text correctly in the system tray menu. 

---------

Co-authored-by: Lucas Manuel Rodriguez <lucas@fleetdm.com>
2025-09-10 13:04:13 -05:00
Carlo 1261f25a31 Add IdP email to host vitals (#32807)
Resolves #31464 (backend). Moves host reconciliation and ensures correct timing.
2025-09-10 13:54:42 -04:00
Victor Lyuboslavsky bf8b190cab Updated changes file for #31286 per CS request (#32812)
For #31286
2025-09-10 12:53:08 -05:00
Noah Talerman 6f69a64789 Update Product Design handbook (#32811) 2025-09-10 10:46:32 -07:00
Sarah Gillespie 3d11d2ef17 UI: Show updated_at instead of created_at for profile upload time (#32679) 2025-09-10 10:49:20 -05:00
fleet-releaseandmostlikelee a97973482c Update Fleet-maintained apps (#32804)
Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: mostlikelee <16102903+mostlikelee@users.noreply.github.com>
2025-09-10 10:33:56 -05:00
Lucas Manuel Rodriguez 11624ae01e Update changelog with fleetd 1.47.3 (#32799) 2025-09-10 10:34:20 -03:00
Jordan Montgomery 8b3a3cc2f3 Add Read-only Transaction to fetch profiles to install and remove all at once (#32737)
Speculative fix for #30915 

For why this is needed, see
https://github.com/fleetdm/fleet/issues/30915#issuecomment-3259641371

# 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`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#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] If paths of existing endpoints are modified without backwards
compatibility, checked the frontend/CLI for any necessary changes

## Testing

- [x] Added/updated automated tests
- [x] Where appropriate, [automated tests simulate multiple hosts and
test for host
isolation](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/reference/patterns-backend.md#unit-testing)
(updates to one hosts's records do not affect another)

- [x] QA'd all new/changed functionality manually

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Improved reliability of Apple device profile installation and removal
by performing coordinated, read-only transactional reads. Reduces race
conditions and intermittent discrepancies during profile syncs, leading
to more consistent outcomes across fleets.

* **Tests**
* Added tests to verify the combined install/remove results remain
consistent with the individual lists, ensuring accurate and stable
behavior under various state changes.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-09-10 09:29:04 -04:00
Gabriel Hernandez 6a8af632dc add scripts to help with config profiles batch testing (#32774)
add scripts to help with config profiles payload testing
2025-09-10 14:17:50 +01:00
Gabriel Hernandez b56b6124b0 add extended request timeout to configuration_profiles/batch endpoint (#32801)
resolves #24706

extends request timeout for new POST configuration_profiles/batch
endpoint
2025-09-10 14:17:29 +01:00
github-actions[bot]andlucasmrod c8be649796 Update versions of fleetd components in Fleet's TUF [automated] (#32794)
Automated change from [GitHub
action](https://github.com/fleetdm/fleet/actions/workflows/fleetd-tuf.yml).

Co-authored-by: lucasmrod <lucasmrod@users.noreply.github.com>
2025-09-10 07:49:55 -03:00
fleet-releaseandiansltx 326ded2a3c Update Fleet-maintained apps (#32798)
Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: iansltx <472804+iansltx@users.noreply.github.com>
2025-09-10 01:41:13 -05:00
Magnus Jensen ca11cbb2dd Decode dry_run query param for upload bootstrap package request (#32775)
fixes: #32090 

This was not an issue for team's configuring this value, since they do
an !opts.DryRun check, however for no team we do not have that, but I
instead opted for the handler to actually parse the value, since a
custom decoder was implemented, but dry run was forgotten to be parsed.

# 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`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually
2025-09-10 09:35:45 +03:00
Ian Littman 066f757269 Added missing nil check for menuManager.SetConnected to avoid crash loops in Fleet Free (#32797)
Fixes #32796.

# 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`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)

## Testing

- [x] QA'd all new/changed functionality manually

## fleetd/orbit/Fleet Desktop

- [x] Verified compatibility with the latest released version of Fleet
(see [Must
rule](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/workflows/fleetd-development-and-release-strategy.md))
- [x] Verified that fleetd runs on macOS, Linux and Windows
- [n/a] Verified auto-update works from the released version of
component to the new version (see
[tools/tuf/test](../tools/tuf/test/README.md))
2025-09-10 01:35:17 -05:00
fleet-releaseandmostlikelee 3783d280c7 Update Fleet-maintained apps (#32783)
Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: mostlikelee <16102903+mostlikelee@users.noreply.github.com>
2025-09-10 01:15:27 -05:00
Noah Talerman ccb8bf8886 Product Design handbook: Public issues for "File a request" (#32791) 2025-09-09 16:34:43 -07:00
Noah Talerman ad68c67874 API reference: Fix broken anchor link (#32687) 2025-09-09 17:59:50 -05:00