yusing
1c080e067d
refactor(routes): centralize route existence checking
...
- Removed All routes pool
2025-09-13 23:49:45 +08:00
yusing
2717dc963a
feat(agent): add container runtime support and enhance agent configuration
...
- Introduced ContainerRuntime field in AgentConfig and AgentEnvConfig.
- Added IterAgents and NumAgents functions for agent pool management.
- Updated agent creation and verification endpoints to handle container runtime.
- Enhanced Docker Compose template to support different container runtimes.
- Added runtime endpoint to retrieve agent runtime information.
2025-09-13 23:44:03 +08:00
yusing
4509622dde
fix(reverseproxy): properly suppress http2.errStreamClosed
2025-09-13 23:26:10 +08:00
yusing
60c13a797b
refactor(config): parallelize route provider initialization
2025-09-13 23:25:29 +08:00
yusing
5e1da915dc
refactor(agents): enhance VerifyNewAgent
2025-09-13 23:24:43 +08:00
yusing
3288624cf2
refactor(auth): change PostAuthCallbackHandler to redirect to home page instead of sending OK status
2025-09-13 23:21:58 +08:00
yusing
190d5e1ece
fix(serialization): improve nil handling in mapUnmarshalValidate
2025-09-13 23:20:10 +08:00
yusing
0d2229cca0
refactor(xsync): replace functional map with xsync.Map, remove functional/map
2025-09-13 23:19:20 +08:00
yusing
493c0afdfa
feat(websocket): implement Reader for reading binary data from the manager
...
- Removed Close method from Writer
2025-09-13 22:38:24 +08:00
yusing
99c1922342
feat(websocket): add deduplication support to PeriodicWrite function and introduce DeepEqual utility
2025-09-13 22:37:51 +08:00
yusing
a483e15a20
refactor(middlewares): remove xsync wrapper and replace strutils.SplitLine with bytes.Line
2025-09-13 22:33:21 +08:00
yusing
fbe82c3082
refactor(metrics): optimize JSON marshaling in SystemInfo and Aggregated structures for improved performance and memory management
2025-09-13 22:30:10 +08:00
yusing
24bcc2d2d2
fix(api): correct error formatting
2025-09-13 22:29:48 +08:00
yusing
d8c8cff8b7
fix(metrics): non ws response being encoded twice; simplified response handling
2025-09-13 22:29:17 +08:00
yusing
ef54d336a2
refactor(auth): remove GET method from /auth/callback endpoint and update Swagger documentation
2025-09-13 22:29:08 +08:00
yusing
0a5df1bd7f
refactor(metrics): remove pointers from type parameter T to avoid unnecessary indirection
2025-09-13 22:28:57 +08:00
yusing
205928a741
refactor(real_ip): move header check before everything else
2025-09-13 22:23:00 +08:00
yusing
11d18091fd
feat(route): add ExcludedReason field
2025-09-13 22:22:50 +08:00
yusing
3be72e5c68
fix(api): conditionally enable auth APIs based on auth configuration
2025-09-13 22:22:37 +08:00
yusing
a9847b6f81
refactor(homepage): improve icon search functionality and add case-insensitive string matching
2025-09-13 22:22:23 +08:00
yusing
04d823d616
feat(serialization): add 'd', 'w',' 'M' units support for time duration
...
- Updated Makefile to include `-checklinkname=0` in LDFLAGS
2025-09-12 11:41:59 +08:00
yusing
1be2ea44a2
cont: f7de703c15
2025-09-11 22:38:29 +08:00
yusing
81f8bad77d
breaking(dns_providers): drop support for serveral dns providers
...
- Dropped `namesilo`, `binarylane`,`edgeone`,`baiducloud`,`huaweicloud`,`tencentcloud`,`alidns`
- Introduce support for azion, conohav3, dyndnsfree, nicru, zoneedit
- dns providers dependencies upgrade
2025-09-11 22:14:30 +08:00
yusing
f7de703c15
feat(yaml): extend environment variable substitution to all YAML files
...
- returns error for unset environment variables
2025-09-11 22:04:13 +08:00
yusing
acf7490991
chore(deps): upgrade go dependencies
2025-09-10 23:46:17 +08:00
yusing
7770ce7025
fix(reverseproxy): improve error handling for HTTP proxy errors and add suppress some HTTP2 and HTTP/3 error codes
2025-09-10 23:20:23 +08:00
yusing
c9c5677b35
fix(notif): use markdown format if invalid
2025-09-10 22:59:11 +08:00
yusing
bab9471bde
feat(config): implement environment variable substitution in configuration file reading
2025-09-09 23:33:05 +08:00
yusing
719682c99f
refactor(websocket): enhance connection management by ensuring resources are released on context cancellation
2025-09-09 22:25:02 +08:00
yusing
f81a2b6607
fix(docker): treat containers from $DOCKER_HOST as local
2025-09-09 22:23:50 +08:00
yusing
abeb26b556
fix(monitor): prevent nil pointer dereference in Finish method
2025-09-08 09:02:19 +08:00
yusing
23d392d88b
fix(route): improve error handling in route.Start method
2025-09-08 09:02:19 +08:00
yusing
d588664bfa
fix: prevent panicking on misconfigurations
2025-09-08 09:02:19 +08:00
DeAndre Harris
41ce784a7f
feat: Add per-route OIDC client ID and secret support ( #145 )
2025-09-08 08:16:30 +08:00
yusing
577169d03c
refactor(idlewatcher): improve container readiness handling and health check logic
...
- Simplified the wakeFromHTTP and wakeFromStream methods by removing unnecessary loops and integrating direct checks for container readiness.
- Introduced a waitForReady method to streamline the waiting process for container readiness notifications.
- Enhanced the checkUpdateState method to include timeout detection for container startup.
- Added health check retries and logging for better monitoring of container state transitions.
2025-09-06 07:51:28 +08:00
yusing
b43274e9e6
refactor(idlewatcher): replace map with ordered.Map for deduplicating dependencies
2025-09-06 07:49:50 +08:00
yusing
d83c367e7f
chore: update Go version to 1.25.1 in Dockerfile and module files
2025-09-06 07:48:57 +08:00
yusing
d9fbd53870
refactor(api): remove unused Swagger docs.go and clean up dependencies; Makefile update
2025-09-06 07:48:23 +08:00
yusing
8339c42470
refactor(middleware): simplify buffer allocation in themed middleware
2025-09-02 23:28:47 +08:00
yusing
ed39942d65
feat(api): implement caching middleware and allow favicons to be cached
2025-09-02 23:00:22 +08:00
yusing
aac5016b78
refactor(httpheaders): replace strutils.SplitComma with strings.SplitSeq
2025-09-02 22:58:46 +08:00
yusing
d2b4d3e6e3
feat(auth): enhance cookieDomain function to support additional local domains
2025-09-02 22:58:24 +08:00
yusing
a2d4c468cd
refactor(forwardauth): finalize middleware implementation with better headers handling
2025-09-02 22:58:13 +08:00
yusing
c550255458
feat(middledware): middleware-specific logging methods
2025-09-02 22:56:30 +08:00
yusing
6a3e28dfd7
fix(config): handle missing config file and middleware directory gracefully and log a warning
2025-09-02 22:55:43 +08:00
yusing
4513c221d5
refactor(modifyhtml): improved memory manangement and response body handling
2025-09-02 22:55:24 +08:00
yusing
245dba034e
feat(io): introduce ReadAllBody and HookCloser for enhanced response handling and resource management
2025-09-02 22:53:54 +08:00
yusing
f39896fe30
refactor(handler): move version API out of auth and remove Swagger routes
2025-09-02 22:50:57 +08:00
yusing
b051987a1c
refactor: apply renamed NewBytesPool with GetBytesPool
2025-09-02 22:50:57 +08:00
yusing
c128557c81
chore: update dependencies
2025-09-02 22:50:57 +08:00