Queued scripts feature (#16300)

This is the feature branch for the [queued
scripts](https://github.com/fleetdm/fleet/issues/15529) story.

---------

Co-authored-by: Jahziel Villasana-Espinoza <jahziel@fleetdm.com>
Co-authored-by: Gabriel Hernandez <ghernandez345@gmail.com>
Co-authored-by: Sarah Gillespie <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: Roberto Dip <dip.jesusr@gmail.com>
This commit is contained in:
Martin Angers
2024-01-29 11:37:54 -03:00
committed by GitHub
co-authored by Jahziel Villasana-Espinoza Gabriel Hernandez Sarah Gillespie Roberto Dip
parent e52dc6d8fc
commit ca435eb244
88 changed files with 3218 additions and 1151 deletions
+1
View File
@@ -0,0 +1 @@
* Added database migration to record the user that requests a script execution and to create the `host_activities` table to associate activities to specific hosts.
+2
View File
@@ -0,0 +1,2 @@
- Added "Run script" action to host details page, which relocates functionality from the "Scripts"
tab into a new modal UI.
@@ -0,0 +1 @@
* Created the "script ran" activity linked to its host so the script executions can be listed per host.
@@ -0,0 +1 @@
- add UI for host details activity card
+1
View File
@@ -0,0 +1 @@
- removes the premium tier check for scripts feature on the controls page.
+2
View File
@@ -0,0 +1,2 @@
- Adds 2 new scripts related endpoints (`/hosts/:id/activity` and `/hosts/:id/activity/upcoming`) as
well as validation and functionality changes for enqueuing scripts.