- Use goreleaser to automate release process.
- Add new dockerfiles for fleet (with fleetctl) and fleetctl (only).
- Add GitHub Action Workflow to run goreleaser on new tag.
- Update NPM to match new archive naming.
- Update enroll secret config file with updated fields for Fleet 4.0.0
- Remove agent options config file. In Fleet 4.0.0, agent options are part of the organization settings configuration
The following error occurs when running `fleetctl preview`:
Starting simulated hosts...
[13247] Cannot open self /home/chrb/.fleet/preview/osquery/docker-compose or archive /home/chrb/.fleet/preview/osquery/docker-compose.pkg
Failed to run docker-compose
This is caused by a missing PATH environment variable when launching
docker-compose (which appears to re-exec the docker-compose binary).
Fix this by passing on the current environment.
- Add "Label created. Try refreshing this page in just a moment to see the updated host count for your label." message after the user successfully creates a label.
- Add "An invitation email was sent from `sender_address` to `email`." to notification after a new user is successfully invited in the Fleet UI.
- Update notification styles
* Remove username from UI code
* Remove username from tests
* Remove username from database
* Modify server endpoints for removing username
* Implement backend aspects of removing username
* Update API docs
* Add name to fleetctl
- Add "Configuring agent options" section to `/1-Using-Fleet/1-Fleet-UI.md`
- Add 2 screenshots: 1. Global agent options form 2. Team agent options form
- Add enable_analytics column to database.
- Allow enable_analytics to be set via API.
- Add messaging in fleetctl setup.
Note that this defaults to off for existing installations, and defaults
on for newly set up installs.
No collection or sending of analytics yet exists, we are strictly
storing the preference at this time.
Part of #454
* #1108 send users to manage queries if error
* #1108 fixed tests and lint
* #1108 fixed more tests
* #1108 new clause to show different error message
* #1108 fixed logic
A bug in the platform detection logic allowed this to work appropriately
on macOS (by lucky chance that `runtime.GOOS != constant.PlatformName`),
but failed on Linux. This is fixed by properly comparing the platform of
the downloaded binary with the platform we are currently running on, and
only checking the binary execution if they match.
Fixes https://github.com/fleetdm/fleet/issues/1144