Commit Graph

59 Commits

Author SHA1 Message Date
James Read 270f20ec75
refactor: Moved proto files into own folder (#537) 2025-03-21 02:41:41 +00:00
James Read 39368d511a
feature: Limit log history to prevent browser lag and grpc encode failures (#507)
* feature: Limit log history to prevent browser lag and grpc encode failures

* cicd: Simplify if/else chain to switch

* cicd: Lint failure in JS because of a trailing space

* cicd: Coderabbit fixes on PR

* cicd: Move config sanitize into correct place

* cicd: Handle negative startOffset, negative endOffset and empty logs

* Update internal/executor/executor.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* cicd: Fix getLogs segfault

* cicd: Fix code rabbit nitpicks

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-02-19 23:17:06 +00:00
James Read 476838d59a
bugfix: Local users now work with a single usergroup (#486) 2024-11-24 21:22:24 +00:00
James Read b4a555e3da
bugfix: #481 StartActionAndWait now allows arguments. (#483) 2024-11-24 06:56:27 +00:00
James Read 655a7f205d
feature: Improved auth log messages (#476) 2024-11-14 22:00:08 +00:00
James Read 13e48dded2
feature: Better guest handling (#472)
* feature: Better guest handling

* bugfix: Better handling of requiring guests to login
2024-11-09 23:27:09 +00:00
James Read 0283b51eca
feature: Login/Logout links (#443)
* feature: Login/Logout links

* cicd: codestyle
2024-10-19 07:49:41 +00:00
jamesread 1af2e92132 feature: Local user login! 2024-10-18 01:20:04 +01:00
James Read 71ad5d2e3a
feature: local auth! (#441)
* feature: local auth!

* cicd: contentLogin -> content-login

* bugfix: CSS codestyle
2024-10-17 13:23:01 +00:00
James Read 32b5fee108
bugfix: Fixed crash when requesting execution status that could not be found (NPE) (#440) 2024-10-15 10:48:55 +00:00
Simon Dahlbacka 35dca50863
Make it possible to redirect to a login url unless authenticated (#347)
* feature: Try to navigate to UrlOnUnauthenticated if set and not authenticated

* refactor: use better naming

* feature: default to allow guest
2024-10-11 17:36:31 +00:00
James Read 5d82ae7680
feature: Log username with each request #422 (#424) 2024-10-10 20:50:47 +00:00
James Read 1d9502d800
Feature better 404s (#416)
* feature: CSS on actions

* feature: Less crashes when things are not found
2024-10-01 23:21:37 +00:00
jamesread 9723a38ca1 bugfix: Crash on trying to start a non-existant action from the API 2024-10-01 21:19:17 +01:00
James Read 40158eda71
bugfix: Race condition on executor logs (#385) 2024-08-14 22:06:50 +00:00
James Read 31d7168aac
feature: #350 Environment variable PORT can be used to override the default 1337, and internal services will calculate their port based on that (#358) 2024-07-15 14:28:53 +00:00
James Read 6622a6ded4
bugfix: Kill the process group, not just the parent process (#328), , thanks @ioqy, @vvrein (#346)
* bugfix: Kill the process group, not just the parent process (#328), thanks @ioqy, @vvrein

* bugfix: Kill the process group, not just the parent process (#328), thanks @ioqy, @vvrein

* bugfix: Kill the process group, not just the parent process (#328), thanks @ioqy, @vvrein
2024-07-04 00:12:28 +00:00
James Read c82beb61a9
feature: Vastly improved logs and tests for killing actions (#330)
* bugfix: Sleep testing

* feature: Vastly improved testing for killing actions (#328)

* cicd: Add find-flakey-tests target

* cicd: Better debugging for domStatus

* cicd: Debug flakey test

* cicd: Debug flakey test

* cicd: Is cors messing with killaction?

* cicd: Slip broken test in CI

* cicd: Skip broken test in CI

* cicd: Skip broken test in CI
2024-06-03 16:19:15 +00:00
James Read 238abc95ad
feature: Customizable default directory, back and action icons (#326) 2024-05-31 22:43:05 +00:00
James Read ac0f3ab6f8
feature: Live command output! (#325)
* feature: Live command output WIP

* cicd: Fix live command output build errors

* feature: Live command output WIP, remove stdout/stderr split

* feature: Live command output

* Restore output im stepExecAfter, rename so to ost for OutputStreamer

* Update executor.go

* feature: Remove output from log message, bad for long messages, binary output, and security

* feature: Live command output WIP
2024-05-31 20:56:49 +00:00
James Read 4bac315568
feature: The executor now controls the public action map - meaning actions work without the API, and pages load faster (and much more!) (#324)
* feature: The executor now controls the public action map

* bugfix: Build the action map if there are no entities!

* bugfix: Sort by title if the actions have the same config order
2024-05-27 22:52:06 +00:00
James Read dc6f6c2896
feature: Kill support in the UI (#297)
* feature: Kill command API (wip)

* feature: Kill support in the UI
2024-04-27 21:51:45 +00:00
James Read 30e2aa141b
feature: Rate limit for actions (#76) (#275) 2024-04-18 23:51:59 +00:00
James Read db5de9be97
feature: #135 Permissions for logs (#273) 2024-04-18 20:52:04 +00:00
James Read f60ab6ce85
feature: Show username in header (#270) 2024-04-15 00:09:55 +00:00
James Read 3de819a0e9
feature: add prometheus metrics (#268)
* feature: add prometheus metrics

* bugfix: ixed issue with path
2024-04-11 23:23:40 +00:00
James Read f15235d120
Msot recent execution output on the dashboard. (#238)
* feature: Support for most recent action output on dashboard

* feature: Support for most recent action output on dashboard
2024-03-04 23:33:50 +00:00
jamesread 27ab530ba6 bugfix: StartAction responds with used tracking ID, not necessarily the requested tracking ID 2024-02-28 23:18:31 +00:00
jamesread 77ec2fea63 feature: sosreport in the browser outputs text/plain 2024-02-25 21:10:47 +00:00
jamesread b747199528 fmt: Removed uneeded assign 2024-02-23 21:35:55 +00:00
jamesread 381bf59fbd feature: The mega dashboards & entities commit. 2024-02-22 23:16:43 +00:00
James Read 759e747f54
feature: readyz API endpoint support (#225) 2024-02-07 09:36:50 +00:00
James Read 6892a679ee
feature: Dashboards, at long last (#224)
* feature: Dashboards, at long last

* fmt: action button IDs now use hypens. Removed ;
2024-02-07 08:54:22 +00:00
James Read d0f74c1ab7
feature: Additional APIs for StartAction (#188) 2023-10-31 18:17:35 +00:00
James Read 311f9a1d00
feature: Reduce debug log spam in ACL/getDashboardComponents (#176) 2023-10-24 04:43:38 +00:00
jamesread abd13b756c cicd: Disable a broken test for now 2023-10-04 10:33:37 +01:00
jamesread 2b4a3ab137 bugfix: broken unit tests 2023-10-03 23:24:36 +01:00
James Read e8cb661938
feature: #146 Support for maxConcurrent (#156) 2023-08-25 15:30:58 +00:00
jamesread e5a870ed94 feature: websocket implemenation at last! 2023-08-25 15:11:29 +01:00
jamesread 89f08ae6c7 feature: log-popup 2023-08-09 21:15:47 +01:00
James Read afe0f0986c
feature: sosreport (#132) 2023-03-20 12:47:52 +00:00
James Read f05de1c726
feature: Execute actions on startup. Externalize the executor and add… (#101)
* feature: Execute actions on startup. Externalize the executor and add tags to logs.

* fmt: Codestyle fixes
2023-02-02 09:35:18 +00:00
jamesread 0949999840 feature: Initial version of JWT/ACLs 2022-08-24 12:00:33 +01:00
Fabio Alessandro Locati 8485a0e446
bugfix: update code to reflect new repository name 2022-04-26 13:43:40 +02:00
jamesread b3b5b6fe60 codestyle stuff 2021-11-04 10:32:53 +00:00
jamesread 30d681690a #6 - task arguments, that was a lot of work! 2021-11-02 01:25:07 +00:00
jamesread 614c3b73fc work on sanitizing configs 2021-10-18 20:14:38 +01:00
jamesread ca36434a48 gofmt 2021-10-18 13:39:53 +01:00
jamesread afd8353b6f Ongoing UI work 2021-10-18 13:39:53 +01:00
jamesread 39647c6d2d Rebase past all the recent CI work 2021-10-18 13:38:53 +01:00