Commit Graph
63 Commits
Author SHA1 Message Date
James Read defcf6d26e fmt: Rebuilt ACL code to have less boilerplate (#397) 2024-08-30 20:30:44 +00:00
jamesread eb91eb33d5 bugfix: Log for http request mangling changed to DEBUG level 2024-08-30 21:27:56 +01: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 9ca1940834 feature: change all navigation to path based (#384)
* feature: change all navigation to path based

* bugfix: load default dashboard if actions is empty
2024-08-14 11:35:10 +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 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 fb6aaa52c7 feature: New diagnostics page, showing SSH keys found. (#344) 2024-07-03 23:34:07 +00:00
James Read 362a97c59e feature: No more tracking in update checking! :-) (#93) (#332) 2024-06-04 12:21:11 +00:00
James Read 238abc95ad feature: Customizable default directory, back and action icons (#326) 2024-05-31 22:43:05 +00:00
guangwuandJames Read 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 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
jamesread 8f1dfffa49 fmt: Clean up log statement 2024-04-21 20:12:47 +01: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
James Read a8c4db197d Bug webui search order (#253)
* bugfix: Search order of webui directories was not deterministic

* bugfix: webui dir search order was not deterministic

* bugfix: webui dir search order was not deterministic

* bugfix: webui dir search order was not deterministic
2024-03-23 22:14:08 +00:00
jamesread fbbf168e88 cicd: fix tests 2024-02-23 00:08:50 +00:00
jamesread a8e770726a bugfix: unittests 2024-02-22 23:42:40 +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
jamesread 6b0e414932 More debug info for auth 2023-12-21 01:26:17 +00:00
James Read 3db8ae53b5 bugfix: #173 Websocket fixes 1) The upgrader was refusing reverse proxies, 2) The upgrader was "listening" on /, not /websocket (#177) 2023-10-24 04:48:16 +00:00
James Read 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170)
* cicd: Move cypress to selenium+mocha

* cicd: with is not supported unless using an a container

* cicd: relative path to mocha

* cicd: the integration-tests runner now starts/stops OliveTin

* cicd: Knowing the CWD helps debugging

* cicd: Headless chrome

* cicd: wait for integration-test server to be started

* fmt: Mostly fix isses from eslint

* cicd: #169 - Test multiple combo boxes

* fmt: let should be const

* cicd: Remove cypress entirely
2023-10-09 21:44:29 +00:00
jamesread e1930c0899 fmt: codestyle 2023-10-05 00:21:02 +01:00
jamesread 37269cef02 fmt: reduce cyclo 2023-10-04 21:42:35 +01:00
jamesread abd13b756c cicd: Disable a broken test for now 2023-10-04 10:33:37 +01:00
jamesread e5a870ed94 feature: websocket implemenation at last! 2023-08-25 15:11:29 +01:00
jamesread 56ef7ce95c fmt: fix cyclo complexity in recent jwt key merge 2023-08-24 12:56:03 +01:00
Bernard CrnkovićandJames Read 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 4b5a579b0b fmt: codestyle formatting 2023-08-24 12:11:28 +01:00
jamesread f7fd8af124 feature: Websocket early impl 2023-08-09 21:24:05 +01:00
jamesread 8736f5e387 feature: websocket wip 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
Bernard CrnkovićandJames Read e18df74d5a extract hardcoded jwt claim names into config (#97)
* extract hardcoded jwt field names into config

* Update config.go

Co-authored-by: James Read <contact@jread.com>
2023-01-10 22:29:31 +00:00
jamesread 2244d2c3ef Merge branch 'main' of ssh://github.com/OliveTin/OliveTin 2022-11-13 08:36:20 +00:00
jamesread 37c54b5f77 feature: Look for webui in more directories 2022-11-13 12:35:47 +04:00
jamesread 21b33086ae fmt: ST1005 https://staticcheck.io/docs/checks/#ST1005 2022-11-13 07:34:23 +00:00
jamesread d53c88f314 fmt: gofmt 2022-11-12 12:20:17 +04:00
244404afbc Sidebar (#88)
* feature: allow configurable title

* feature: sidebar prototype

* Spelling fix - Thanks @jonny7read

Spelling fix - Thanks @jonny7read

Co-authored-by: Jonny Read <jonny7read@gmail.com>

* feature: sidebar support

* bugfix: pagetitle

* fmt: hide sidebar under feature toggle

* fmt: Codestyle in style.css and main.js

Co-authored-by: Matthew Strasiotto <39424834+matthewstrasiotto@users.noreply.github.com>
Co-authored-by: Jonny Read <jonny7read@gmail.com>
2022-11-11 12:13:47 +04:00
jamesread e9fbcce220 fmt: Reduce cyclo complexity 2022-08-24 20:52:13 +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 ebd1c4e938 security: Use quoted values for origin, URL, and force quoting. 2022-04-05 12:19:24 +01:00
jamesread 6f5fd20a2c fmt: gofmt cleanup 2022-04-05 11:28:35 +01:00