Commit Graph

226 Commits

Author SHA1 Message Date
jamesread 2e82a3d1ed chore: remove some dead code 2025-12-01 12:28:44 +00:00
dependabot[bot] e13a236e0a
chore(deps): bump github.com/bufbuild/buf in /service
Bumps [github.com/bufbuild/buf](https://github.com/bufbuild/buf) from 1.60.0 to 1.61.0.
- [Release notes](https://github.com/bufbuild/buf/releases)
- [Changelog](https://github.com/bufbuild/buf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bufbuild/buf/compare/v1.60.0...v1.61.0)

---
updated-dependencies:
- dependency-name: github.com/bufbuild/buf
  dependency-version: 1.61.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 06:12:58 +00:00
jamesread 39009fcdd1 chore: code fmt 2025-12-01 01:59:10 +00:00
jamesread 56365af24b feat: Mega entity improvements - entity directories, inehrit entities (#450), ordering (#762 / #703), better entity view 2025-12-01 01:38:04 +00:00
jamesread 7425db53f6 fix: #718 - Clear OAuth2 authentication cookie on logout 2025-11-30 11:19:36 +00:00
jamesread 470f31db6e chore: Remove unecessary OAauth2 log 2025-11-27 00:41:53 +00:00
jamesread 8bad1b5400 fix: #703 - Entities order was non-deterministic 2025-11-27 00:02:08 +00:00
jamesread 7f1e509e12 chore: Little fixes for OAuth2 login 2025-11-26 23:28:29 +00:00
jamesread f33ccbd2fa fix: Log errors when loading theme CSS 2025-11-26 23:08:10 +00:00
jamesread e9bde8b094 fix: OAuth2 scopes for GitHub 2025-11-26 23:07:55 +00:00
jamesread 853972384c security: Possible to kill actions without authentication & credential leak in logs 2025-11-26 23:07:25 +00:00
jamesread be7c754043 feat: Rebuild authentication system to support 3k authentication 2025-11-26 22:33:19 +00:00
jamesread b244b42e91 fix: sort OAuth2 providers by key 2025-11-22 23:27:54 +00:00
jamesread 3d763a84df fix: Various oauth issues 2025-11-22 22:39:05 +00:00
jamesread 3e6a751132 chore: config-tool wont overwrite original config 2025-11-22 10:49:48 +00:00
James Read d2e7474eea
Merge branch 'next' into chore-add-config-tool 2025-11-22 09:47:14 +00:00
jamesread ca0a134acd chore: write back to the same config path in config-tool 2025-11-22 09:34:37 +00:00
jamesread 5bf2d6935b chore: dep update 2025-11-22 08:36:38 +00:00
jamesread b3e67bad75 doc: Add config tool to help support people 2025-11-16 23:08:20 +00:00
jamesread d1ec688c9a chore: cleanup executor.go 2025-11-16 00:47:03 +00:00
jamesread 5b57cf2480 fix: Logs were being displayed in the wrong order 2025-11-11 23:32:00 +00:00
jamesread 00d7285167 chore: fix some linting issues 2025-11-11 10:43:47 +00:00
jamesread 487bf83f4e chore: use koanf tag in config reloader test 2025-11-10 23:39:15 +00:00
jamesread 67a9d3b1d1 chore: skip env in config test in 3k 2025-11-10 23:17:53 +00:00
jamesread de7129e1d7 chore: reduce cyclomatic complexity 2025-11-10 23:15:18 +00:00
jamesread 83fe489949 fix: (#703) Fixed entity fieldsets being drawn in a random order 2025-11-10 21:08:34 +00:00
jamesread 3967b91cf0 fix: Exit if no base config file is found 2025-11-07 00:51:04 +00:00
James Read 110bbd6216
Merge branch 'next' into fix-config-loading-missing-values 2025-11-07 00:34:11 +00:00
jamesread 1552c104e9 fix: Propperly merge included configs (handling actions) 2025-11-07 00:31:33 +00:00
jamesread 7dc99b1398 fix: Massively improve config loading 2025-11-06 23:45:54 +00:00
jamesread 581536a60f fmt: GetActionLogs 2025-11-06 23:44:56 +00:00
jamesread 39664a734d fix: Various log noise 2025-11-06 23:42:07 +00:00
jamesread 822f3197b6 chore: (#675) Remove dead websocket code 2025-11-06 09:52:16 +00:00
jamesread 055472902d fix: #686 - concurrent map read and write - in entity instances 2025-11-04 23:30:14 +00:00
jamesread 2b24daa6d0 fix: Address concurrency issue in entities storage 2025-11-04 23:18:41 +00:00
jamesread 294e33d110 fix: #686 - concurrent map read and write 2025-11-04 23:03:45 +00:00
jamesread 83f45d71bf fix: Several coderabbit suggestions on next branch 2025-10-30 15:51:40 +00:00
jamesread 79a71099f9 fix: fmt api.go 2025-10-30 15:26:29 +00:00
jamesread e6a02ac614 chore: fix various cyclo checks 2025-10-30 15:25:57 +00:00
James Read 7abffedb14
Merge branch 'next' into fix-require-guests-login 2025-10-30 13:15:37 +00:00
jamesread 44b518a5b2 fix: panic when loading sessions.yaml 2025-10-30 13:04:41 +00:00
jamesread a4e50bfb54 fix: panic when executing action with no arguments 2025-10-30 13:04:12 +00:00
jamesread c3d5da1981 chore: reduce cyclo complexity in service 2025-10-30 12:52:58 +00:00
jamesread c89979ddb2 fix: Wait for login UI to appear in authRequireGuestsToLogin test 2025-10-30 11:05:14 +00:00
James Read 430aab638b
Merge branch 'next' into fix-require-guests-login 2025-10-30 09:20:24 +00:00
jamesread d21f06e555 fix: Require guests to login 2025-10-30 02:13:40 +00:00
James Read f25b456c3d
Merge branch 'next' into fix-output-streaming 2025-10-30 00:25:49 +00:00
jamesread 19c3b67cdd fix: fix panic in pagination if we get a bad request 2025-10-30 00:12:06 +00:00
jamesread 61fc771ac3 fix: Race condition and speedup in accessing streaming clients 2025-10-30 00:03:37 +00:00
jamesread 57390be16f feat: ActionDetailsView component, show timeout and logs for action. Fix output streaming. 2025-10-29 22:45:26 +00:00
jamesread 8a6d61c260 feat: enable JSON logging support with OLIVETIN_LOG_FORMAT=json environment variable 2025-10-29 22:44:49 +00:00
jamesread 6c6d07bf4f fix: #674 Use JSON options for API handler 2025-10-27 20:40:15 +00:00
jamesread 2ea35697d0 fix: #672 Empty execution tracking ID in InternalLogEntry 2025-10-27 15:42:13 +00:00
jamesread a551589840 feat: #428 Initial support for include directive in config files 2025-10-27 15:32:30 +00:00
jamesread fcd3ccc59a fix: authRequireGuestsToLogin config, and config loading improvements 2025-10-27 14:56:32 +00:00
jamesread 9fbaa8671f fix: Banner message support 2025-10-27 14:20:26 +00:00
jamesread c86bf629f9 bugfix: Added nil checks 2025-10-26 17:32:26 +00:00
jamesread c917d1b1e7 bugfix: #639 Exec support, disallow URL and similar arguments with 2025-10-26 16:40:44 +00:00
jamesread 8686a5629e fix: User Information panel and login/logout flow 2025-10-26 13:42:06 +00:00
jamesread 43cfe41378 fix: Issues with login form and local auth 2025-10-26 13:24:22 +00:00
jamesread a7e7bf869e fix: WIP on login regression 2025-10-25 00:31:02 +01:00
jamesread 0dd9e9b2b7 fix: guard against nil session storage 2025-10-25 00:22:28 +01:00
jamesread aa8322c354 fix: guard against nil session storage 2025-10-25 00:20:56 +01:00
jamesread 956e74a6b3 fix: Don't log SID (!) SECURITY 2025-10-25 00:20:35 +01:00
jamesread c9ff4d1a68 fix: broken go.mod 2025-10-25 00:20:15 +01:00
jamesread 3b8bc49b04 feat: Fixed session management and ripped out the rest of gRPC 2025-10-24 23:48:48 +01:00
jamesread 62af851b2c fix: Error getting absolute path for config.yaml 2025-10-24 22:38:26 +01:00
jamesread 38d81fafe2 fix: Listen address fields were not being loaded from config.yaml 2025-10-24 22:06:32 +01:00
James Read 439e952a25
fix: sosreport contains pwd and abs paths (#660) 2025-10-24 20:52:01 +01:00
jamesread 2a5fe71458 chore: wip OliveTin3k 2025-10-23 23:18:10 +01:00
jamesread cbb163726e chore: wip OliveTin3k 2025-10-23 23:16:39 +01:00
dependabot[bot] 339dbe6dbd
build(deps): bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 in /service (#641)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-11 06:23:50 +00:00
dependabot[bot] a24a7fbd01
build(deps): bump github.com/quic-go/quic-go from 0.53.0 to 0.54.1 in /service (#652)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Read <contact@jread.com>
2025-10-11 06:16:47 +00:00
jamesread c9c781b197 fix: webui directory search 2025-10-11 01:16:06 +01:00
jamesread 60814b97e2 chore: fix gocyclo issues 2025-10-11 00:52:18 +01:00
jamesread b330fbd1a5 fix: all broken integration tests 2025-10-11 00:45:41 +01:00
jamesread a464e6a445 fix: broken tests after changing the way arguments are parsed 2025-10-01 22:20:56 +01:00
Tim Green a26a8bb032
chore: update the docs link for timeouts in the error message (#651) 2025-10-01 07:18:39 +01:00
jamesread 570c0ba087 chore: Repair output streaming, lots of css/go lint 2025-09-06 08:42:13 +01:00
jamesread 4a847f0587 Merge branch 'main' of github.com:OliveTin/OliveTin 2025-08-20 00:05:47 +01:00
jamesread 6b342cbedb chore: Port huge amount of code to OliveTin 3k 2025-08-20 00:05:40 +01:00
jamesread f46a02fced chore: tests wip 2025-08-19 17:29:40 +01:00
James Read 3dd7aaff88
Update restapi_auth_oauth2.go 2025-08-15 18:26:50 +02:00
jamesread 17c716c599 chore: fix build error 2025-08-03 22:41:01 +01:00
jamesread 2a73b58255 chore: merge main 2025-08-03 22:17:35 +01:00
jamesread a62d58f119 chore: OliveTin 3k progress 2025-08-03 22:10:51 +01:00
James Read d4d3193c1d
bugfix: Argument confirmations stopped working (#627) (#632)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-29 21:51:34 +00:00
dependabot[bot] 10e5a92cbe
build(deps): bump github.com/docker/docker from 28.3.1+incompatible to 28.3.3+incompatible in /service (#635)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-29 21:19:17 +00:00
James Read a06299bd9e
feature: stylemods, for side by side buttons, and XL images (#634) 2025-07-28 23:02:04 +00:00
James Read 2d4a3fc048
bugfix: Crash in OAuth2 userdata, and option to log user data (#631) 2025-07-28 21:46:08 +00:00
James Read 81ef166d78
bugfix #627 (#630) 2025-07-28 09:24:38 +00:00
James Read e922baa2e0
feat: #104 Checkboxes / booleans at last! (#620) 2025-07-19 02:10:41 +01:00
James Read fcd1879d09
feat: Entities in icon field, and other cleanup stuff (#619) 2025-07-17 15:04:15 +00:00
James Read a8ac719af7
feat kill acl (#618) 2025-07-13 09:08:05 +00:00
jamesread b99b3f4345 chore: Various codestyle fixes 2025-07-12 23:46:50 +01:00
jamesread b16ce074ea chore: Various codestyle fixes 2025-07-12 23:44:24 +01:00
James Read 54447774d1
fix: #616 - JSON parsing of ints to float64 (#617) 2025-07-12 22:02:50 +00:00
James Read 2c7b33b730
chore: Dep update 2025-07-09 (#613) 2025-07-09 10:24:59 +00:00
James Read 1970311ff5
feat: Triggered actions get previous action args #607 (#611) 2025-06-22 22:08:07 +00:00
James Read 433456986d
fix: #603 - Dashboards that have fieldsets without entities are hidden (#609) 2025-06-22 21:09:03 +00:00
James Read e38361f3d7
fix: gofmt/gocylo leftover from old PR (#610) 2025-06-22 20:42:57 +00:00
James Read 1ffdd93ddf
fix: Redact password arguments in logs #594 (#601) 2025-06-06 21:00:56 +00:00
James Read 18c5599704
fix: Datetime mangling for Android phones #564 (#602) 2025-06-06 20:41:54 +00:00
James Read 224d7f40ed
feat: Add unauthenticated readyz endpoint (#600) 2025-06-06 16:02:00 +00:00
James Read 1357eae9b8
fix: Empty dashboards are hidden (#599) 2025-06-06 15:11:02 +00:00
James Read 7110399d41
fix: Bug that caused duplicate links (eg Diagnostics and Logs) in the nav bar (#595) 2025-05-31 19:20:37 +00:00
James Read 74f0930dcc
feat: #582 ServiceMain for Windows (#593) 2025-05-30 08:30:58 +00:00
James Read c20eea29cd
feat: win unicode flag (#590) 2025-05-26 07:33:22 +00:00
James Read 8c073bf45f
feature: Intelligent version comparison #575 (#580) 2025-05-02 15:53:56 +00:00
jamesread fcfa007cec build: Add unit tests for regex (ref: #578) 2025-05-01 16:30:29 +01:00
James Read 0a7f3f3226
bugfix: #503 Fix possible race condition in onfileindir* (#576) 2025-04-26 20:42:12 +00:00
James Read 633e513697
feature: (#568) Separator allowed in usergroup line for trusted headers (#572) 2025-04-22 14:35:49 +01:00
James Read eb2721c023
chore: Cleanup argument handling (#571) 2025-04-21 08:50:59 +00:00
James Read 765c698a9b
feature: Easier loading of custom-webui icons with simplified paths (#567) 2025-04-19 23:06:17 +00:00
James Read c19428f6b6
feature: Policy support - allow hiding daignostics and logs (#569) 2025-04-19 23:05:49 +00:00
jamesread c5eaa35fb0 Merge branch 'main' of ssh://github.com/OliveTin/OliveTin 2025-04-08 21:49:22 +01:00
jamesread 24ba4fb574 build: cyclo ignore "getexecutionscount 2025-04-08 21:49:10 +01:00
Noah Perks Sloan b742bd89c4
feat: support multiple user groups (#555) 2025-04-08 20:31:55 +00:00
jamesread ba29325c15 feature: #543 Rate limits are now per action-entity instead of per action 2025-04-08 01:18:55 +01:00
James Read 88f639d29f
chore: Cleanup executor shell passing (#556) 2025-04-07 20:48:45 +00:00
James Read fa44e958d8
chore: Big dependency update (#553) 2025-04-06 22:26:51 +00:00
David Q 182548e0dc
feat: add syntax for interpolating environment variables into config file (#548)
Co-authored-by: James Read <contact@jread.com>
2025-04-05 22:36:10 +00:00
David Q c3097e40db
fix: reloading config after k8s configmap replacement (#552)
Co-authored-by: James Read <contact@jread.com>
2025-04-05 22:28:28 +00:00
Noah Perks Sloan 8865331da2
feat: enable JWT auth from a header (#547) 2025-04-02 19:14:43 +01:00
James Read 709d6ac2ad
feature: Allow rendering output as HTML (#544) 2025-03-28 23:48:26 +00:00
James Read ff31abe66c
refactor: Project directories (#541) 2025-03-22 01:06:59 +00:00