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
yusing
6405325e56
Refactor(websocket): remove unused code
2025-09-02 22:50:57 +08:00
yusing
c3d2a90501
fix(websocket): ensure resources are properly released by closing the manager in PeriodicWrite function
2025-09-02 22:50:57 +08:00
yusing
31d49453a7
feat(pool): introduce BytesPoolWithMemory for optimized memory management and add benchmark for memory usage
2025-09-02 22:50:57 +08:00
yusing
04657420b8
refactor(websocket): enable compression for WebSocket connections to improve performance, removed buffer size to use HTTP buffer
2025-09-02 22:50:57 +08:00
FrozenFrog
2f0b8b6c09
Add TinyAuth forward-auth middleware implementation ( #143 )
...
* feat: add tinyauth middleware
---------
Co-authored-by: yusing <yusing@6uo.me >
2025-09-02 17:43:34 +08:00
yusing
5e15fd4bbe
fix(fileserver): correct middleware handler to avoid self recursion
2025-08-19 22:26:38 +08:00
yusing
a5022e31a2
fix(auth,oidc): added GET method /auth/callback endpoint to fix OIDC 404 and update documentation accordingly
2025-08-19 22:26:30 +08:00
yusing
a057f0e956
fix(homepage): incorrect url
...
- fixed url being overridden
- fixed sub-subdomain being stripped
- fixed empty url for routes with FQDN aliases
2025-08-19 21:01:04 +08:00
yusing
dfe0014609
fix(route): handle subdomain removal in URL construction for homepage items
2025-08-18 20:46:59 +08:00
yusing
dfc2d5e35c
feat(handler): add SkipOriginCheckMiddleware and configuration option to bypass origin checks
2025-08-17 20:46:26 +08:00
yusing
d3bfb2488b
refactor(handler): simplifying code applying auth middleware
2025-08-17 20:41:46 +08:00
yusing
1c7e3e42f8
refactor(websocket): simplify NewManagerWithUpgrade function to use context for custom upgrader
2025-08-17 20:23:57 +08:00
yusing
e14d6baedb
fix(agent): change request binding from query to JSON and update hostport formatting
2025-08-17 19:45:08 +08:00
yusing
8360aa59d1
fix(websocket): allow localhost origin in WebSocket manager
2025-08-17 17:36:07 +08:00
yusing
6ec1016f29
feat(websocket): implement CORS support in WebSocket manager for origin validation
2025-08-17 17:14:10 +08:00
yusing
35b0dcb418
chore(todo): remove completed TODOs
2025-08-17 17:10:21 +08:00