yusing
b984386bab
fix: high cpu usage
2025-01-22 05:44:04 +08:00
yusing
2c43f1412e
fix OIDC middleware callback URL
2025-01-21 12:42:56 +08:00
yusing
5faba1b5a9
fix svg content type
2025-01-21 10:07:53 +08:00
yusing
4e7bd3579b
fix favicon content type
2025-01-21 09:36:17 +08:00
yusing
49da8a31d2
api: fix not getting correct icon
2025-01-21 09:31:51 +08:00
yusing
dd2b8f600d
api: allow favicon endpoint to use url instead of alias
2025-01-21 06:48:56 +08:00
yusing
8b1a3a31ff
simplify icon caching and homepage item override
2025-01-21 06:16:00 +08:00
yusing
64e85c3076
feat: support selfh.st icons, support homepage config overriding
2025-01-20 17:42:17 +08:00
yusing
68771ce399
api: added some endpoints for dashboard filter to work
2025-01-20 06:17:18 +08:00
yusing
bcc7faa8e5
api: updated response message on invalid credential, add auth check endpoint
2025-01-20 02:14:21 +08:00
Yuzerion
fb0dc7dea0
Feat/OIDC middleware ( #50 )
...
* implement OIDC middleware
* auth code cleanup
* allow override allowed_user in middleware, fix typos
* fix tests and callbackURL
* update next release docs
* fix OIDC middleware not working with Authentik
* feat: add groups support for OIDC claims (#41 )
Allow users to specify allowed groups in the env and use it to inspect the claims.
This performs a logical AND of users and groups (additive).
* merge feat/oidc-middleware (#49 )
* api: enrich provider statistifcs
* fix: docker monitor now uses container status
* Feat/auto schemas (#48 )
* use auto generated schemas
* go version bump and dependencies upgrade
* clarify some error messages
---------
Co-authored-by: yusing <yusing@6uo.me>
* cleanup some loadbalancer code
* api: cleanup websocket code
* api: add /v1/health/ws for health bubbles on dashboard
* feat: experimental memory logger and logs api for WebUI
---------
Co-authored-by: yusing <yusing@6uo.me>
---------
Co-authored-by: yusing <yusing@6uo.me>
Co-authored-by: Peter Olds <peter@olds.co>
2025-01-19 13:48:52 +08:00
yusing
0fad7b3411
feat: experimental memory logger and logs api for WebUI
2025-01-19 13:45:16 +08:00
yusing
1adba05065
api: add /v1/health/ws for health bubbles on dashboard
2025-01-19 04:34:20 +08:00
yusing
fe7740f1b0
api: cleanup websocket code
2025-01-19 04:33:55 +08:00
Yuzerion
589b3a7a13
Feat/auto schemas ( #48 )
...
* use auto generated schemas
* go version bump and dependencies upgrade
* clarify some error messages
---------
Co-authored-by: yusing <yusing@6uo.me>
2025-01-19 00:37:17 +08:00
yusing
2af2346e35
fix auth redirect
2025-01-13 08:41:09 +08:00
yusing
7cd44b5ad3
rename cookies to prevent conflict
2025-01-13 08:33:56 +08:00
yusing
81d96394b9
allow customizing OICD scopes
2025-01-13 08:30:46 +08:00
yusing
76fe5345d8
cleanup code, redirect to auth page when need
2025-01-13 07:15:29 +08:00
yusing
ef277ef57f
fix: docker test and golangci-lint
2025-01-13 05:37:29 +08:00
Peter Olds
9a12dab600
fix: allow oauth_state token to be cross-domain ( #40 )
...
External OIDC providers won’t work with the current setup.
2025-01-13 05:27:06 +08:00
Yuzerion
51f6391ded
feat: Add optional OIDC support ( #39 )
...
This allows the API to trigger an OAuth workflow to create the JWT for authentication. For now the workflow is triggered by manually visiting `/api/login/oidc` on the frontend app until the UI repo is updated to add support.
Co-authored-by: Peter Olds <peter@olds.co>
2025-01-13 04:49:46 +08:00
yusing
e10e6cfe4d
updated ls-icon
and icon fetching mechanism
2025-01-13 02:21:52 +08:00
yusing
d887a37f60
fix favicon on non http 200
2025-01-13 00:52:07 +08:00
yusing
1abd1e257f
fix favicon path and try dashboard icon first then fallback to html parsing
2025-01-13 00:15:10 +08:00
yusing
137b0820b0
reset favicon cache on route reload
2025-01-12 22:32:17 +08:00
yusing
6b6dae129f
fix route provider name
2025-01-12 13:49:47 +08:00
yusing
645a58464c
fix favicon redirection path
2025-01-12 13:14:31 +08:00
yusing
fcbb51dce7
fixed and improved favicon retrieving
2025-01-12 12:02:40 +08:00
yusing
c7c6a097f0
server side favicon retrieving and caching
2025-01-12 10:30:37 +08:00
yusing
b3c47e759f
fix incorrect reload behaviors, further organize code
2025-01-09 04:26:00 +08:00
yusing
afefd925ea
api: updated list/get/set file endpoint
2025-01-07 10:57:53 +08:00
yusing
29f85db022
schema update and api /v1/schema
2025-01-06 00:49:29 +08:00
yusing
6f35a6f5e9
api: also validate for middleware compose files
2025-01-05 03:29:03 +08:00
yusing
55134c8426
improved api error handling
2025-01-05 00:02:31 +08:00
yusing
c30d3f585f
api: fix validation and http response
2025-01-04 09:01:52 +08:00
yusing
1ab34ed46f
simplify task package implementation
2025-01-01 06:07:32 +08:00
yusing
d936e24692
moved API request log to debug level
2024-11-11 01:32:55 +08:00
yusing
6712e9b109
initial prometheus metrics support, simplfied some code
2024-11-06 12:24:12 +08:00
yusing
b63ebfcb3b
disabled auth by default (when no JWT secret is specified)
2024-11-04 00:32:19 +08:00
yusing
3bf520541b
fixed stats websocket endpoint when no match_domains configured
2024-11-03 06:04:35 +08:00
yusing
625bf4dfdc
improved HTTP performance, especially when match_domains are used; api json string fix
2024-11-02 07:14:03 +08:00
yusing
91e012987e
added option for jwt token ttl
2024-11-02 03:21:47 +08:00
yusing
a86d316d07
refactor and typo fixes
2024-11-02 03:14:47 +08:00
yusing
67b6e40f85
remove unused code
2024-11-02 03:04:15 +08:00
yusing
4ee93a1351
added logout endpoint
2024-10-31 00:58:35 +08:00
yusing
5fa86b5eb7
fixed auth internal server error
2024-10-30 10:19:30 +08:00
yusing
81177926ff
implemented login and jwt auth
2024-10-30 06:25:32 +08:00
yusing
e5bbb18414
migrated from logrus to zerolog, improved error formatting, fixed concurrent map write, fixed crash on rapid page refresh for idle containers, fixed infinite recursion on gotfiy error, fixed websocket connection problem when using idlewatcher
2024-10-29 11:34:58 +08:00
yusing
a278711421
fixed loadbalancer with idlewatcher, fixed reload issue
2024-10-20 09:46:02 +08:00