yusing
4d08efbd4f
chore(deps): upgrade dependencies
2025-12-22 11:54:13 +08:00
yusing
f67480d085
feat(oidc): make rate limit customizable; per oidc instance rate limit
...
- add env variables OIDC_RATE_LIMIT and OIDC_RATE_LIMIT_PERIOD
- default rate limit changed to 10 rps from 1 rps
- rate limit is no longer applied globally
2025-12-22 10:43:41 +08:00
yusing
736985b79d
fix(auth): enforce HTML acceptance in OIDC login handler
2025-12-22 10:35:43 +08:00
yusing
1fb1ee0279
refactor(auth): enhance error handling in OIDC login and callback handlers with user-friendly pages
2025-12-22 10:35:07 +08:00
yusing
4b2a6023bb
refactor(auth): update WriteBlockPage function to include action text and URL
2025-12-22 10:27:48 +08:00
yusing
5852053ef9
fix(config): remove duplicated reload error
2025-12-21 11:23:42 +08:00
yusing
c687795cd8
refactor(docker): remove unnecessary http client in NewClient method
2025-12-21 11:23:21 +08:00
yusing
93af695e95
refactor(list_icons): interning app category names to save memory
2025-12-20 20:43:21 +08:00
yusing
58325e60b4
refactor(docker): remove deprecated client.WithAPIVersionNegotiation()
2025-12-20 19:51:43 +08:00
yusing
b134b92704
feat(fileserver): implement spa support; add spa and index fields to config
2025-12-20 19:24:39 +08:00
yusing
376ac61279
fix(healthcheck): nil panic on health check
v0.21.3
2025-12-20 11:07:42 +08:00
yusing
dca701e044
fix(healthcheck): nil panic on agents
2025-12-20 10:03:43 +08:00
yusing
4bb3af3671
feat(workflow): add cherry-pick workflow for tagging into compat branch
v0.21.2
2025-12-18 23:24:48 +08:00
yusing
95efc127cf
fix(idlewatcher): incorrect "dependency has positive idle timeout" error
2025-12-18 23:22:42 +08:00
yusing
6e55c4624b
refactor(http): consolidate User-Agent header in health monitor
2025-12-18 00:25:47 +08:00
yusing
e9374364dd
feat(reverse_proxy): add scheme mismatch handling for retry logic in reverse proxy
2025-12-18 00:24:46 +08:00
yusing
216679eb8d
fix(docker): nil panic reading container names
2025-12-17 23:17:11 +08:00
yusing
505a3d3972
refactor(http): enhance health check error logic by treating all 5xx as unhealthy
v0.21.1
2025-12-17 17:43:59 +08:00
yusing
27512b4d04
chore: upgrade dependencies
2025-12-17 17:43:53 +08:00
yusing
88d7255c7a
fix(idlewatcher): directly serve the request on ready instead of redirecting
2025-12-17 11:46:52 +08:00
yusing
ea67095967
refactor(docker): streamline idlewatcher label handling
...
- Introduced a map for idlewatcher labels to simplify the loading of configuration values.
- Simplify logic to check for the presence of an idle timeout and handle dependencies.
2025-12-17 10:33:37 +08:00
yusing
86a46d191d
feat(idlewatcher): add option to disable loading page
2025-12-17 10:33:33 +08:00
yusing
b7250b29e0
fix(idlewatcher): improve container readiness handling in wakeFromHTTP
...
- Updated the wakeFromHTTP method to send a 100 Continue response to prevent client wait-header timeout.
- Implemented logic for non-HTML requests to wait for the container to become ready, returning an error message if it times out, or redirecting if successful.
- Adjusted the waitForReady method to return true upon receiving a ready notification.
2025-12-17 10:30:06 +08:00
yusing
e44ecc0ccc
fix(access_log): fix slice out-of-bound panic on log rotation
v0.21.0
2025-12-16 17:20:59 +08:00
yusing
6f9f995100
fix(config): nil panic introduced in ff934a4bb2911f5fa3c23d8fe6fea252d881fdc3; remove duplicated log
2025-12-16 15:04:21 +08:00
yusing
496aec6bb6
refactor: simplify and optimize deserialization
2025-12-16 14:48:33 +08:00
yusing
4afed02fc2
refactor(pool): simplify and optimize SizedPool; remove sync pool
2025-12-16 14:08:38 +08:00
yusing
f7eb4b132a
refactor(config): remove unused ActiveConfig
2025-12-16 11:57:09 +08:00
yusing
ff934a4bb2
fix(config): fix default values not applied
2025-12-16 11:55:47 +08:00
yusing
db0cbc6577
refactor(config): remove unnecessary indirection
2025-12-16 11:22:17 +08:00
yusing
de3f92246f
feat(rules): add protocol matching functionality
...
- Introduced a new checker for HTTP protocols (http, https, h3) in the routing rules.
- Added corresponding test cases to validate protocol matching behavior in requests.
2025-12-16 10:22:00 +08:00
yusing
c143593284
fix(icons): add handling for dark icons for walkxcode
2025-12-15 15:42:59 +08:00
yusing
31bf889d4a
refactor(favicon): enhance FindIcon function to support icon variants
...
- Updated FindIcon to accept an additional variant parameter for improved icon fetching.
- Adjusted FavIcon and GetFavIconFromAlias functions to utilize the new variant handling logic.
2025-12-15 14:54:05 +08:00
yusing
baa7e72ad6
refactor(icon): improve handling in WithVariant
2025-12-15 14:42:31 +08:00
yusing
f43e07fe60
fix(favicon): enhance variant handling in GetFavIconFromAlias function
...
- Added fallback logic to handle cases where the requested icon variant is unavailable.
- If variant not provided, do not call WithVariant.
2025-12-15 14:37:33 +08:00
yusing
d319ee99ad
fix(favicon): correct icon cache key in FindIcon method
2025-12-15 14:31:16 +08:00
yusing
ab58559afc
refactor(icon): add variant handling for absolute/relative icons in WithVariant method
2025-12-15 14:30:31 +08:00
yusing
a6bdbb5603
chore: update api swagger
2025-12-15 12:28:14 +08:00
yusing
a0c589c546
feat(favicon): add variant support for favicons
...
- Introduced a new Variant field in GetFavIconRequest to specify icon variants (light/dark).
- Updated GetFavIconFromAlias function to handle the variant when fetching favicons.
- Added WithVariant method in IconURL to manage icon variants effectively.
2025-12-15 12:28:03 +08:00
yusing
76b8252755
fix(socket-proxy): update golang version. fix Dockerfile
2025-12-10 17:56:04 +08:00
yusing
d547872a41
fix(ci): correct socket-proxy github workflow
2025-12-10 17:39:39 +08:00
yusing
8d4618cedf
chore(deps): go mod tidy
v0.20.14
2025-12-10 17:37:46 +08:00
yusing
2ba758939b
chore(deps): upgrade dependencies
2025-12-10 17:27:00 +08:00
yusing
fdd37b777a
fix(http): 'runtime error: comparing uncomparable type httputils.UnwrittenBody'
2025-12-10 17:23:13 +08:00
yusing
bc19a54976
chore(deps): upgrade dependencies in submodules
v0.20.13
2025-12-08 14:17:14 +08:00
yusing
12d999809f
fix(http): correct Unwrap method and enhance error handling in Hijack method
...
- Updated the Hijack method in LazyResponseModifier and ResponseModifier to return a wrapped error for unsupported hijacking.
- Added a nil check in LazyResponseModifier's Unwrap method to ensure safe access to the underlying ResponseWriter.
2025-12-08 14:06:58 +08:00
yusing
6771293336
fix(middleware): enhance response modification handling in ServeHTTP
...
- Replaced ResponseModifier with new LazyResponseModifier.
- Added logic to skip modification for non-HTML content.
2025-12-08 13:45:53 +08:00
yusing
d240c9dfee
fix(io): limit buffer size to 16KB to avoid high memory usage and improve context propagation
2025-12-08 10:46:00 +08:00
yusing
c7eda38933
refactor(route): simplify context handling in RouteContext
...
- Removed unnecessary requestInternal struct and directly accessed the context field of http.Request.
- Simplified the initialization of ctxFieldOffset.
2025-12-05 18:26:34 +08:00
yusing
09caa888ad
refactor(config): update config structures to use strutils.Redacted for sensitive fields
...
- Modified Config structs in various packages to replace string fields with strutils.Redacted to prevent logging sensitive information.
- Updated serialization methods to accommodate new data types.
- Adjusted API token handling in Proxmox configuration.
2025-12-05 18:26:16 +08:00