Commit Graph

182 Commits

Author SHA1 Message Date
wushuzh d9e921950f
bugfix: fix type of the prometheus metric act req as count (#370)
* bugfix: change action request cnt type as Counter

* bugfix: fix type of act req count and typo

* bugfix: change to correct type of act req in TC

---------

Co-authored-by: wushuzh <wushuzh@outlook.com>
2024-07-26 08:41:42 +00:00
wushuzh ffcd19e748
bugfix: use cross-platform module filepath to set usedConfigDir (#369)
* bugfix: use filepath to set correct configDir in Windows

* test: improve unittest rep folder creation

---------

Co-authored-by: wushuzh <wushuzh@outlook.com>
2024-07-22 09:33:56 +00:00
James Read 49f745be68
fmt: Set for setdir (#367) 2024-07-18 12:08:36 +00:00
James Read 69d1cc75a7
feature: css classes on displays (#363) 2024-07-16 10:01:31 +00:00
jamesread a54ea505c9 bugfix: Allow . in enxtended variable paths 2024-07-15 22:20:49 +01: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 09016e1d5f
feature: Entitiy data now serializes non-strings (#357) 2024-07-15 12:10:13 +00:00
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 482ef0e5e8
feature: Helper scripts for ssh, themes, etc (#349)
* feature: Helper scripts for ssh, themes, etc

* cicd: Update goreleaser to support v2 .goreleaser.yml files
2024-07-07 22:10:33 +00:00
jamesread c18b91f684 feature: Easy SSH 2024-07-07 00:55:22 +01: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 fb6aaa52c7
feature: New diagnostics page, showing SSH keys found. (#344) 2024-07-03 23:34:07 +00:00
James Read 943b4c75aa
feature: Password type (no validation) (#340) 2024-07-01 08:31:53 +00:00
James Read fb972fae55
bugfix: Handle update failed update checks silently (#342) 2024-06-30 22:05:04 +00:00
James Read e36fedf4b2
Check for updates default disabled (#333)
* feature: Checking for updates is now disabled by default (#93)

* feature: Default config has checkForUpdates: false (it defaults to false anyway) to make people aware of the update checking feature
2024-06-04 18:37:59 +00:00
James Read 362a97c59e
feature: No more tracking in update checking! :-) (#93) (#332) 2024-06-04 12:21:11 +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 dc7ff40da6
bugfix: #316 Entity file change debouce timer now uses delay after initial event (#321) 2024-05-26 17:01:37 +00:00
James Read 3904f8563d
feature: Refresh dashboards when entity files change. (#319)
* feature: Refresh dashboards when entities change

* feature: Refresh dashboards when entities change

* bugfix: Concurrency, lock around websocket write
2024-05-24 22:10:38 +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 80083fedab
bugfix: Race condition in stringvariables (#311) 2024-05-13 14:10:44 +00:00
James Read f43ece4263
feature: Better sosreports (#308) 2024-05-13 07:01:45 +00:00
James Read 8625e1fc0a
fmt: Clean REST API Testing (#307)
* fmt: Clean REST API Testing

* fmt: Clean REST API Testing
2024-05-06 21:44:12 +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 6a16a7c6c2
fmt: onfileindir (#295) 2024-04-26 23:02:40 +00:00
James Read d6cb634824
feature: Extra file info using onfileindir (#293) 2024-04-26 22:05:28 +00:00
James Read 500419307b
Nullable args (#292)
* feature: Argument values can be null be default. Use RejectNull to change.

* feature: Argument values can be null be default. Use RejectNull to change.
2024-04-26 17:36:33 +00:00
James Read 12cf0013e2
feature: extra args for fileindir (#291) 2024-04-25 23:32:58 +00:00
James Read 5057ba2e1c
bugfix: Start filewatcher on different goroutines (#286) 2024-04-21 19:51:49 +00:00
jamesread 8f1dfffa49 fmt: Clean up log statement 2024-04-21 20:12:47 +01:00
James Read 6991724258
bugfix: Unexpected message #283 (#284) 2024-04-20 19:58:38 +00:00
James Read 5a644b0856
bugfix: The web interface now refreshes when the config file is changed! (#281) 2024-04-19 23:11:40 +00:00
James Read 86b2187236
cicd: Increase coverage (#280) 2024-04-19 21:56:45 +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 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 43c48aef17
feature: Renamed authJwtSecret to authJwtHmacSecret (#271)
* feature: Renamed authJwtSecret to authJwtHmacSecret

* feature: rename authJwtSecret
2024-04-15 00:01:30 +00:00
James Read 8341b1d6d0
feature: Huge JWT improvements for CloudFlare, etc (#269) 2024-04-14 22:59:45 +00:00
jamesread dd11961a11 bugfix: custom-webui prefix 2024-04-12 22:07:06 +01: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
jamesread 179f1be19a bugfix: Null JWT verifier 2024-04-11 00:04:34 +01:00
James Read f13a5c070a
feature: JWT Validation wip for Cloudflare (#264) 2024-04-10 22:14:33 +00:00
James Read 1d446ace04
custom-webui and faster theme loading (#262)
* feature: custom-webui and faster theme loading

* feature: custom-webui and faster theme loading
2024-04-09 08:26:18 +00:00