yusing
d4acd99fa7
tests: fixed several tests
2025-04-18 03:54:45 +08:00
yusing
8487a53001
Merge branch 'main' into refactor/organize-code
2025-04-17 15:58:15 +08:00
yusing
293bb80f0b
refactor: rename utils/testing to expect, replace all dot imports in tests
2025-04-17 15:45:30 +08:00
Yuzerion
57292f0fe8
feat: proxmox idlewatcher ( #88 )
...
* feat: idle sleep for proxmox LXCs
* refactor: replace deprecated docker api types
* chore(api): remove debug task list endpoint
* refactor: move servemux to gphttp/servemux; favicon.go to v1/favicon
* refactor: introduce Pool interface, move agent_pool to agent module
* refactor: simplify api code
* feat: introduce debug api
* refactor: remove net.URL and net.CIDR types, improved unmarshal handling
* chore: update Makefile for debug build tag, update README
* chore: add gperr.Unwrap method
* feat: relative time and duration formatting
* chore: add ROOT_DIR environment variable, refactor
* migration: move homepage override and icon cache to $BASE_DIR/data, add migration code
* fix: nil dereference on marshalling service health
* fix: wait for route deletion
* chore: enhance tasks debuggability
* feat: stdout access logger and MultiWriter
* fix(agent): remove agent properly on verify error
* fix(metrics): disk exclusion logic and added corresponding tests
* chore: update schema and prettify, fix package.json and Makefile
* fix: I/O buffer not being shrunk before putting back to pool
* feat: enhanced error handling module
* chore: deps upgrade
* feat: better value formatting and handling
---------
Co-authored-by: yusing <yusing@6uo.me>
2025-04-16 14:52:33 +08:00
yusing
477ddb6241
refactor: remove unused code
2025-04-04 00:47:36 +08:00
yusing
146e7781be
fix: limit redirect count when parsing html for favicon, fix url sanitize method
2025-03-29 09:35:12 +08:00
yusing
232f720e77
refactor: use stretchr/testify, replace ExpectBytesEqual and ExpectDeepEqual with ExpectEqual in tests
2025-03-28 08:45:06 +08:00
yusing
cdb3ffe439
refactor: clean up code and enhance utilities with new functions
2025-03-28 08:14:06 +08:00
yusing
17ef5cb9a5
security: sanitize uri
2025-03-22 23:58:37 +08:00
yusing
bbc10cb105
fix serialization, added benchmark tests, updated next release docs
2025-01-26 15:08:10 +08:00
yusing
83ea19dd92
api: added validation endpoint
2025-01-26 14:47:33 +08:00
yusing
ed3b26653c
fix log wrapped incorrectly in WebUI, implement log SSR
2025-01-23 00:08:19 +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
2ce1ceb460
remove old unused code
2025-01-09 14:09:48 +08:00
yusing
35c0463829
naive implementation of caddy like route rules, dependencies upgrade
2025-01-08 07:18:09 +08:00
yusing
e7be27413c
small string split join optimization
2024-12-19 00:54:31 +08:00
yusing
34d5edd6b9
fix health lastSeen format
2024-12-18 10:49:33 +08:00
yusing
c66694aa32
fix "do you mean" error formatting
2024-12-18 07:34:27 +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
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