yusing
8b1a3a31ff
simplify icon caching and homepage item override
2025-01-21 06:16:00 +08:00
yusing
d429374924
fix deserialization: reflect: indirection through nil pointer to embedded struct
2025-01-21 04:09:46 +08:00
yusing
dd0bbdc7b4
fix logs not printing correctly, removed unneccessary loggers
2025-01-20 17:42:54 +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
28b5d44e11
fix: slice deserialization should return all errors
2025-01-11 01:39:03 +08:00
yusing
8109c9ac4f
small refactor
2025-01-09 14:09:48 +08:00
yusing
2ce1ceb460
remove old unused code
2025-01-09 14:09:48 +08:00
yusing
4aee44fe11
fix rewrite omitting trailing slash, error msg update
2025-01-09 14:09:48 +08:00
yusing
8bbb5d2e09
fix fields not being validated (introduced in 577a536
), drop support of list string not starting with hyphen
2025-01-09 04:21:32 +08:00
yusing
577a5366e8
remove unused old code
2025-01-08 13:50:34 +08:00
yusing
35c0463829
naive implementation of caddy like route rules, dependencies upgrade
2025-01-08 07:18:09 +08:00
yusing
70c8c4b4aa
fix edge cases refCounter close channel twice
2025-01-05 09:15:03 +08:00
yusing
c30d3f585f
api: fix validation and http response
2025-01-04 09:01:52 +08:00
yusing
3ecc0f95bf
fixed some tests
2025-01-03 16:31:49 +08:00
yusing
b38bff41d8
support inline yaml for docker labels, serveral minor fixes
2025-01-03 15:35:40 +08:00
yusing
a587ada170
fix access logger high cpu usage, simplify some code
2025-01-03 03:30:15 +08:00
yusing
af14966b09
rewrite and fix reference counter
2025-01-02 09:59:31 +08:00
yusing
1ab34ed46f
simplify task package implementation
2025-01-01 06:07:32 +08:00
yusing
e7be27413c
small string split join optimization
2024-12-19 00:54:31 +08:00
yusing
654194b274
fix deserialization panics on empty map
2024-12-18 15:15:55 +08:00
yusing
34d5edd6b9
fix health lastSeen format
2024-12-18 10:49:33 +08:00
yusing
57a7c04a4c
fix accesslog and serialization
2024-12-18 09:57:29 +08:00
yusing
87279688e6
fix middleware tracer and cloudflareRealIP
2024-12-18 09:03:12 +08:00
yusing
c66694aa32
fix "do you mean" error formatting
2024-12-18 07:34:27 +08:00
yusing
f2a9ddd1a6
improved deserialization method
2024-12-18 07:18:18 +08:00
yusing
6aefe4d5d9
replace all schema check with go-playground/validator/v10
2024-12-18 04:48:29 +08:00
yusing
0995c8b839
fixed slice deserialization
2024-12-17 10:33:21 +08:00
yusing
0aa00ab226
replace Converter interface with string parser interface
2024-12-17 10:33:21 +08:00
yusing
4d94d12e9c
fixed / suppressed (irrelevant) golangci-lint errors
2024-12-17 10:33:21 +08:00
yusing
59f4eaf3ea
cleanup and simplify middleware implementations, refactor some other code
2024-12-17 10:33:21 +08:00
yusing
8a9cb2527e
support deserialize into anonymous fields
2024-12-17 10:33:21 +08:00
yusing
ef1863f810
support variables in modify request,response middlewares
2024-12-03 10:20:18 +08:00
yusing
58cfba7695
refactor and fix duplicate notification
2024-12-01 11:12:25 +08:00
yusing
f8bdc7044c
repalce redirect_to_https with entrypoint middleware
2024-11-30 08:50:23 +08:00
yusing
497879fb4b
update serialization
2024-11-30 05:51:17 +08:00
yusing
6e9b5cc113
updated validation for middleware options
2024-11-30 04:00:55 +08:00
yusing
edc1ad952d
updated deserialize method to support validation
2024-11-30 02:58:13 +08:00
yusing
4533cc592f
fixed and updated tests
2024-11-28 06:52:26 +08:00
yusing
2951304647
fixed crash on invalid map value in docker labels
2024-11-11 06:17:23 +08:00
yusing
a86d316d07
refactor and typo fixes
2024-11-02 03:14:47 +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
cfa74d69ae
fixed out of range error on gotify message being sent
2024-10-22 16:46:12 +08:00
yusing
bee26f43d4
initial gotify support
2024-10-22 05:38:09 +08:00
yusing
a278711421
fixed loadbalancer with idlewatcher, fixed reload issue
2024-10-20 09:46:02 +08:00
yusing
01ffe0d97c
simplified error messages
2024-10-19 14:25:28 +08:00
yusing
53557e38b6
Fixed a few issues:
...
- Incorrect name being shown on dashboard "Proxies page"
- Apps being shown when homepage.show is false
- Load balanced routes are shown on homepage instead of the load balancer
- Route with idlewatcher will now be removed on container destroy
- Idlewatcher panic
- Performance improvement
- Idlewatcher infinitely loading
- Reload stucked / not working properly
- Streams stuck on shutdown / reload
- etc...
Added:
- support idlewatcher for loadbalanced routes
- partial implementation for stream type idlewatcher
Issues:
- graceful shutdown
2024-10-18 16:47:01 +08:00
yusing
f4d532598c
Improved healthcheck, idlewatcher support for loadbalanced routes, bug fixes
2024-10-15 15:34:27 +08:00
yusing
53fa28ae77
graceful shutdown and ref count related
2024-10-14 10:31:27 +08:00
yusing
f38b3abdbc
improved health check
2024-10-14 10:02:53 +08:00
yusing
d47b672aa5
refactored some stuff, added healthcheck support, fixed 'include file' reload not showing in log
2024-10-12 13:56:38 +08:00