Commit Graph

76 Commits

Author SHA1 Message Date
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 2fc7c23416
feature!: Trigger changed Triggers, allowing multiple actions (#515)
* feature!: Trigger changed Triggers, allowing multiple actions

* bugfix: Warning message on trigger loops, prevented NPE

* cicd: Fix cyclo complexity with triggers
2025-02-19 00:00:33 +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 f0b1cefb72
feature: OAuth2 early support for CertBundles (#474) and Usergroups (#477) (#485) 2024-11-24 10:00:25 +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 de81ec00fd
feature: mix of bits (#439)
* feature: mix of bits

* bugfix: codestyle
2024-10-15 07:47:51 +00:00
jamesread fb7e650267 feature: OAuth2 Redirect URL 2024-10-14 09:25:21 +01:00
jamesread 6a7187fb5b feature: OAuth2! :-D 2024-10-14 09:25:21 +01:00
jamesread 706441799f feature: Custom navigation links in the nav (sidebar/topbar) 2024-10-13 00:35:47 +01: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 defcf6d26e
fmt: Rebuilt ACL code to have less boilerplate (#397) 2024-08-30 20:30:44 +00:00
James Read ddb803d9b5
feature: Sidebar hiding now pure CSS & theme reloading for devs (#391) 2024-08-25 23:47:43 +00:00
James Read 5b5fca0837
feature: `enableCustomJs` toggle to allow loading ./custom-webui/custom.js (#379) 2024-08-09 09:21:50 +00:00
James Read 69d1cc75a7
feature: css classes on displays (#363) 2024-07-16 10:01:31 +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 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 238abc95ad
feature: Customizable default directory, back and action icons (#326) 2024-05-31 22:43:05 +00:00
James Read 8fd98874e2
feature: Save logs! #174 (#300) 2024-04-28 07:58:25 +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 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 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
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 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
James Read 709223bd46
feature: Removed unimplemented CSS rules from config, but added ID for buttons to allow for easy theming (#255) 2024-03-24 22:35:19 +00:00
James Read 1319f314ff
Argument suggestions (#252)
* feature: Suggestions for inputs

* feature: #103 Completed suggestions support
2024-03-23 21:52:53 +00:00
James Read 781abaaf40
feature: Entitiys in dropdowns #247 (#251) 2024-03-22 23:49:41 +00:00
James Read 2fb40ff443
feature: Exec on Calendar file support (#243)
* feature: Exec on calendar file

* feature: support for datetime args

* feature: Schedule commands based on seconds
2024-03-08 20:31:51 +00:00
jamesread 29b6d12454 feature: Trigger another action after first action completes 2024-02-25 00:29:55 +00:00
jamesread 381bf59fbd feature: The mega dashboards & entities commit. 2024-02-22 23:16:43 +00:00
James Read c12431d8a3
feature: popupOnStart allows for many feedback options when actions are started (#227) 2024-02-08 21:54:08 +00:00
James Read 5b0cfb5c33
feature: entities wip (#226) 2024-02-07 09:36:57 +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 0615a7e353
feature: #202 Cron seconds support optional. Example in default config. (#223) 2024-02-02 21:58:30 +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 43ceb33b53
feature: onfileindir (#161)
* feature: onfileindir

* fmt: ActionButton.js
2023-09-26 21:29:11 +00:00
James Read e8cb661938
feature: #146 Support for maxConcurrent (#156) 2023-08-25 15:30:58 +00:00
Bernard Crnković 6e2e585175
add support for asymmetric crypto based jwt signatures (#145)
* add support for asymmetric crypto based jwt signatures

* wip: e2e test example

* wip: rsa key parse error...

* fix: test works

---------

Co-authored-by: James Read <contact@jread.com>
2023-08-24 12:33:10 +01:00
jamesread 89f08ae6c7 feature: log-popup 2023-08-09 21:15:47 +01:00
jamesread 63fe78b4fe feature: webui directory is now configurable 2023-03-21 10:20:17 +00:00
jamesread 11bb3f129f fmt: gofmt 2023-02-16 16:21:53 +00:00
jamesread 0335e58b12 feature: Cleaned up jwt auth, and added header auth 2023-02-15 17:41:33 +00:00
James Read 2d173266df
feature: Cron support (#102) 2023-02-03 08:53:10 +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