yusing
5da9dd6082
refactor: move docker/idlewatcher to idlewatcher
2025-04-06 04:05:26 +08:00
yusing
e823172c31
fix: correct error formatting for error builder
2025-04-05 14:19:59 +08:00
yusing
4d030d2e16
refactor(gperr): simplify JSON marshaling in withSubject by using slices package for cloning and reversing subjects
2025-04-05 14:05:32 +08:00
yusing
fb217cf80e
feat(config): initialize agents in parallel, speed up config loading
2025-04-05 14:04:11 +08:00
yusing
3689e72eff
refactor(provider): rename route/provider/types to provider
2025-04-05 13:42:20 +08:00
yusing
26bea0d21d
fix(tests): fix tests for gperr module by stripping ANSI color codes from error messages
2025-04-05 13:31:53 +08:00
yusing
9a5553a5b8
refactor(provider): simplify provider initializations, initialize watcher only when needed
2025-04-05 13:31:09 +08:00
yusing
df24acb4af
feat(config): add implement file provider validation tests
2025-04-05 13:30:54 +08:00
yusing
b53dd17b84
refactor(config): enhance provider conflict error messages, streamline provider loading, and improve validation for config files, rename provider.GetType() to Type()
2025-04-05 13:30:24 +08:00
yusing
73a5c57d67
refactor(agent): update logging message format in agent initialization, rename Start* to Init*
2025-04-05 12:00:52 +08:00
yusing
253e06923d
refactor: rename Deserialize* to UnmarshalValidate*
2025-04-05 11:58:11 +08:00
yusing
2c0d58f692
refactor: move config reload error logging to separate method
2025-04-04 03:51:09 +08:00
yusing
864a43266d
refactor: simplify JSON marshaling in withSubject by using a map
2025-04-04 00:50:17 +08:00
yusing
477ddb6241
refactor: remove unused code
2025-04-04 00:47:36 +08:00
yusing
fdac2853af
chore: update set/map parallel logic
2025-04-04 00:46:24 +08:00
Yuzerion
8e37627371
Feat/http3 ( #84 )
...
* chore(deps): update go-playground/validator to v10.26.0
* chore(deps): update Go version to 1.24.2 and dependencies, reorganize dependencies into categorized sections
* chore(deps): update Go version to 1.24.2 in Dockerfile
* refactor(agent): replace deprecated context import with standard context package
* feat(http3): add HTTP/3 support and refactor server handling code into utility functions
---------
Co-authored-by: yusing <yusing@6uo.me>
2025-04-04 00:18:15 +08:00
yusing
be85633c32
fix(agent): fix agent host validatation and improve file path handling
2025-03-29 16:44:16 +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
d2e2086540
fix: loading_page html
2025-03-29 08:21:26 +08:00
yusing
d105f866ff
feat: enhance idlewaker loading page design and add favicon handling in waker_http, removed unnecessary checkings
2025-03-29 08:18:58 +08:00
yusing
1c001ed9df
refactor: clean up logger and metric initialization flow
2025-03-29 02:59:40 +08:00
yusing
366c89164f
chore: remove prometheus router metrics and related initialization code
2025-03-29 02:59:40 +08:00
yusing
36f13c61bb
test: add tests for route validation scenarios
2025-03-29 02:59:40 +08:00
yusing
c8935102c3
feat: add validation for localhost routes to prevent usage of godoxy port causing self recursion
2025-03-29 02:59:40 +08:00
yusing
f966ca8b83
feat: update cookie security settings to use API_JWT_SECURE environment variable
2025-03-28 08:51:45 +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
2f476603d3
feat: implement experimental BackScanner for reading files backward and add tests for various scenarios
2025-03-28 08:14:06 +08:00
yusing
366fede517
feat: add websocket writer and error handling utilities
2025-03-28 08:14:06 +08:00
yusing
7ef8354eb0
feat: enhance route handling with agent support and refactor port selection mapping
2025-03-28 08:14:06 +08:00
yusing
fbb07011f1
refactor: update homepage item handling and improve JSON marshaling
2025-03-28 08:14:06 +08:00
yusing
a7da8ffb90
refactor: clean up code and fix race condition in idlewatcher
2025-03-28 08:14:06 +08:00
yusing
95fe294f7d
feat: add AgentProvider implementation and integrate with provider types
2025-03-28 08:14:06 +08:00
yusing
cdb3ffe439
refactor: clean up code and enhance utilities with new functions
2025-03-28 08:14:06 +08:00
yusing
7707fc6f36
api: docker endpoints
2025-03-28 08:14:06 +08:00
yusing
765328affb
api: system metrics endpoint
2025-03-28 08:14:06 +08:00
yusing
3c515b0258
feat: predefined docker image blacklist, avoid proxing service backends, refactor
2025-03-28 08:14:06 +08:00
yusing
c6f65ba69f
feat: agent as docker provider, drop / reload routes when docker connection state changed, refactor
2025-03-28 08:14:06 +08:00
yusing
8c9a2b022b
feat: agent health monitor
2025-03-28 08:14:06 +08:00
yusing
2e8248cd5b
fix: race condition in health monitor
2025-03-28 08:14:06 +08:00
yusing
2b91d99ec6
refactor: remove unused old code
2025-03-28 08:14:06 +08:00
yusing
574056a7e3
metrics: metric utils
2025-03-28 07:47:58 +08:00
yusing
84e8dc0e06
refactor: improved config initialization flow, add agent config
2025-03-28 07:47:28 +08:00
yusing
d961c11eb7
api: health endpoint support plain or ws based on request
2025-03-28 07:39:26 +08:00
yusing
90f8e82f14
refactor: error http handling
2025-03-28 07:39:26 +08:00
yusing
14bb66d12f
env: remove LOG_STREAMING and DEBUG_MEM_LOGGER
2025-03-28 07:39:26 +08:00
yusing
7093985b57
refactor: clean up api handler
2025-03-28 07:39:26 +08:00
yusing
a557684542
api: manual cert renewal support, new api endpoint
2025-03-28 07:39:26 +08:00
yusing
b0876331e6
refactor: rename api/v1/file.go to config_file.go, updated error handling
2025-03-28 07:39:26 +08:00
yusing
cba7338d8d
auth: support for end_session_endpoint discovery, remove OIDC_LOGOUT_URL
2025-03-28 07:39:26 +08:00
yusing
f72d9aee80
auth: implement block page on invalid credentials
2025-03-28 07:39:26 +08:00