Commit Graph

51 Commits

Author SHA1 Message Date
James Read
9dd33bc3f9 bugfix: Empty environment variable names causing exec failures on Windows, thanks @sirjmann92 ! (#353) 2024-07-12 16:22:03 +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
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
guangwu
7e34efd453 chore: remove refs to deprecated io/ioutil (#309)
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
Co-authored-by: James Read <contact@jread.com>
2024-05-13 15:20:58 +00:00
James Read
8fd98874e2 feature: Save logs! #174 (#300) 2024-04-28 07:58:25 +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
a783fc8cd4 feature: Arguments are now also passed as ENV variables (#296) 2024-04-26 23:03:17 +00:00
James Read
fafacfeafb bugfix: Move all inotify to filehelper (#279) 2024-04-19 21:56:21 +00:00
jamesread
4c2cc5da1c bugfix: Remove debug log left in the code 2024-04-19 00:58:05 +01:00
James Read
30e2aa141b feature: Rate limit for actions (#76) (#275) 2024-04-18 23:51:59 +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
ce670cf58c Bug ignored signals (#257)
* bugfix: Signals, like SIGKILL etc were ignored. Now we capture them and add the err to stderr

* bugfix: Signals, like SIGKILL etc were ignored. Now we capture them and add the err to stderr
2024-04-01 20:30:34 +00:00
jamesread
29b6d12454 feature: Trigger another action after first action completes 2024-02-25 00:29:55 +00:00
jamesread
866a38f286 bugfix: All execution tracking IDs must now be unique 2024-02-25 00:11:35 +00:00
jamesread
6a1af44aa0 fmt: actionName -> actionTitle 2024-02-23 21:30:35 +00:00
jamesread
381bf59fbd feature: The mega dashboards & entities commit. 2024-02-22 23:16:43 +00:00
James Read
d0f74c1ab7 feature: Additional APIs for StartAction (#188) 2023-10-31 18:17:35 +00:00
James Read
8f6b384fe6 Notification support (#183)
* feature: #158 shellAfterComplete support for notifications

* fmt: reduce cyclo
2023-10-25 21:32:18 +00:00
James Read
5739091773 feature: Add actionTitle to blocked log messages (#179) 2023-10-25 19:38:27 +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
4b5a579b0b fmt: codestyle formatting 2023-08-24 12:11:28 +01:00
jamesread
89f08ae6c7 feature: log-popup 2023-08-09 21:15:47 +01:00
jamesread
9df61ab044 feature: Rudimentary "windows support" 2023-02-16 16:40:24 +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
e950a00a1e fmt: fmt 2022-10-24 23:17:31 +01:00
jamesread
08a1ac2591 feature: #71 URL argument type! 2022-10-19 13:26:22 +01: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
17c1804129 bugfix: Issue #33 - argument names now allow a-zA-Z0-9_ 2022-04-05 22:58:00 +01:00
jamesread
6f5fd20a2c fmt: gofmt cleanup 2022-04-05 11:28:35 +01:00
jamesread
5edeace62e bugfix: Working stderr! 2022-01-05 09:54:40 +00:00
jamesread
b3b5b6fe60 codestyle stuff 2021-11-04 10:32:53 +00:00
jamesread
91ce4e93a2 codestyle, fmt, unit tests, etc 2021-11-04 09:35:51 +00:00
jamesread
78efc5c94e Yay more unit tests 2021-11-04 00:30:36 +00:00
jamesread
30d681690a #6 - task arguments, that was a lot of work! 2021-11-02 01:25:07 +00:00
jamesread
03d7250cf6 go fmt 2021-10-16 07:38:47 +01:00
jamesread
5a151859d7 Initial work on auth 2021-07-19 14:22:57 +01:00
jamesread
c072e16cc4 Log support 2021-07-19 08:13:37 +01:00
jamesread
fe02130596 gofmt 2021-07-16 22:12:13 +01:00
jamesread
1df36ae196 Work on log support 2021-07-16 21:03:14 +01:00
jamesread
800598b199 Fixed bug of timeout being hardcoded 2021-07-12 01:10:15 +01:00
jamesread
a4def7571c Update check cleanup, gofmt and gocyclo = 3 2021-06-22 06:01:04 +01:00
jamesread
37b9e2d66f Single endpoint for web+ui (Issue #4). Migrated to modern protobuf+grpc. 2021-05-24 22:02:21 +01:00
jamesread
8cc405eb8a Merge branch 'main' of github.com:jamesread/OliveTin 2021-05-18 22:28:09 +01:00
jamesread
846311b46d More tests, pass config to executor 2021-05-18 22:28:04 +01:00
jamesread
ae11c252f6 int32 for exit status 2021-05-18 21:57:31 +01:00