Commit Graph

835 Commits

Author SHA1 Message Date
Toby Chui
ab749cb035 Remove debug print statements from SetCertAsDefault
Eliminated unnecessary fmt.Println calls in the SetCertAsDefault method to clean up console output and improve code clarity.
2025-11-01 14:52:49 +08:00
Toby Chui
ca37a4c7c7 Update src/mod/tlscert/handler.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-01 14:48:55 +08:00
Toby Chui
662496922d Merge pull request #873 from mlbarrow/patch-1
Typo in plugins.html
2025-11-01 14:31:00 +08:00
Toby Chui
93a2ccab62 Merge pull request #871 from zen8841/updatelego
Update lego to v4.28.0
2025-11-01 14:29:09 +08:00
PassiveLemon
023d566277 remove: log compression and rotate from image environment
these are now configured through the webui
2025-10-31 11:15:18 -04:00
Michael Barrow
dde86ba8d9 Typo in plugins.html 2025-10-31 07:40:12 -07:00
Zen Wen
d55674669f Update lego to v4.28.0
Add providers:
- Anexia
- webnames.ca
2025-10-31 21:19:40 +08:00
Toby Chui
d199e8658b Updated internal geoip db 2025-10-31 21:13:10 +08:00
Toby Chui
28d9c24d63 Added input validation for log rotate 2025-10-31 21:03:58 +08:00
Toby Chui
2f9482a062 Merge pull request #869 from zen8841/updatelego
Update lego to v4.27.0
2025-10-30 20:28:40 +08:00
Zen Wen
008491d6bd Update lego to v4.27.0
Add dns challenge prodiders:
acmedns(janhoi acme-dns) #867
keyhelp #866
others...
2025-10-30 14:59:32 +08:00
Zen Wen
1e2cd6adc9 enable provider: acmedns(janhoi acme-dns) 2025-10-30 14:59:01 +08:00
Toby Chui
b3aa97fdff Update logview.html
Updated download button to always download full log file instead of selected range
2025-10-29 21:53:00 +08:00
Toby Chui
5dc89b812d Updated log rotate and viewer design
- Moved log rotation flags to in-system settings
- New log tab for log related configs in util page
- Added line number limit in log view
- Fixed bug for using zip for .gz log compression
- Fixed panic for loading legacy log formats
2025-10-29 21:47:48 +08:00
Toby Chui
7829e5a321 Updated internal geodb 2025-10-29 19:16:03 +08:00
Toby Chui
42d6b61770 Add h2c support check and improve RoundTrip logic 2025-10-29 07:59:32 +08:00
Toby Chui
5f420b4636 Hide quick ban list with low hitrate ips
- Hide IPs with less than 100 requests today in quick ban list
2025-10-28 22:23:16 +08:00
Toby Chui
3d79a19cd0 Added uptime offline state bypass for startup
- Changed the behavior of offline detection to ignore first offline check result after startup
2025-10-27 21:24:18 +08:00
Toby Chui
9d0a2a94f7 Add option to disable request logging per endpoint 2025-10-23 22:41:09 +08:00
Toby Chui
f9ef648664 Fix TLS cert key and pem file handling order 2025-10-22 20:38:19 +08:00
Toby Chui
8f95b622ff Removed redundant error check 2025-10-22 20:09:53 +08:00
Toby Chui
fa941e26a7 Merge pull request #860 from kjagosz/main
- Add PKCE support with S256 challenge method for OAuth2 (fixes #852)
2025-10-22 15:03:22 +08:00
Toby Chui
72e5d3ce3f Fixed #855
- Updated timeout to 600s
- Fixed dns challenge certificate set default bug
2025-10-21 21:22:43 +08:00
kjagosz
7efc7da9ab - Introduce configurable OAuth2 configuration cache time via UI and backend
- Refactor OAuth2Router to use `OAuth2ConfigurationCacheTime` with a default of 60s
2025-10-21 13:04:28 +02:00
kjagosz
944a8651ea Update src/mod/auth/sso/oauth2/oauth2.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-21 11:59:31 +02:00
kjagosz
f3143e52b3 Update src/mod/auth/sso/oauth2/oauth2.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-21 11:59:03 +02:00
Toby Chui
5c8e4a7df1 Fixed priority sort logic for HTTP proxy rule
Fixed proxy rule sort logic from alphabetical to best match
2025-10-21 07:52:07 +08:00
Toby Chui
0f295185f1 Update src/mod/auth/sso/oauth2/oauth2.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-20 21:50:39 +08:00
Toby Chui
322e5239a8 Update src/web/components/sso.html
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-20 21:34:31 +08:00
kjagosz
71bf844dc1 - Add PKCE support with S256 challenge method for OAuth2 (fixes #852)
- Update UI for OAuth2 Code Challenge Method selection (closes #854 )
- Introduce OAuth2 configuration cache to optimize requests (fixes #852)
- Fixes using DNS Challange for Custom ACME Server
2025-10-20 14:55:17 +02:00
Toby Chui
298444a53f Merge pull request #858 from tobychui/main
master branch sync
2025-10-19 22:18:48 +08:00
Toby Chui
41cf0cc2c7 Fixed #856
Updated upstreamHostSwap to accept currentTarget and avoid swapping to the same proxy endpoint, preventing unnecessary loopback handling. Also bumped SYSTEM_VERSION to 3.2.9.
2025-10-19 22:11:58 +08:00
Toby Chui
863113a1b8 Merge pull request #853 from Morethanevil/main
Update CHANGELOG.md
2025-10-18 10:17:06 +08:00
Marcel
aa9036fa8b Update CHANGELOG.md 2025-10-17 16:23:35 +02:00
Toby Chui
341f24bcac Merge branch 'main' of https://github.com/tobychui/zoraxy v3.2.8 2025-10-16 21:50:04 +08:00
Toby Chui
af5f835876 Updated build in geoip db 2025-10-16 21:49:30 +08:00
Toby Chui
ece4a39e8c Merge pull request #851 from tobychui/v3.2.8
V3.2.8
2025-10-16 21:48:29 +08:00
Toby Chui
54a18169d7 Added untrust ip get in netutils 2025-10-16 20:13:33 +08:00
Toby Chui
9a5a0eb84d Added user selectable min TLS version
- Added user selectable min TLS version in UI
- Updated api to support custom TLS versions
2025-10-15 20:20:58 +08:00
Toby Chui
deb096545d Update udpprox.go
- Added the missing proper type conversion for UDP proxy protocol version field
2025-10-15 19:38:35 +08:00
Toby Chui
824972a1e2 Added custom type for Proxy Protocol Version
- Changed enum type for proxy protocol
- Added warning for proxy protocol 1 on UDP selection in UI
2025-10-15 07:40:48 +08:00
Toby Chui
0e78f3af65 Merge pull request #848 from jemmy1794/feature/Proxy_Protocol_V2
Add support for Proxy Protocol V1 and V2 in streamproxy configuration
2025-10-15 07:28:44 +08:00
jemmy1794
aa243f23ee Add WriteProxyProtocolHeaderUDP function to support Proxy Protocol v2 for UDP connections 2025-10-14 21:56:11 +08:00
jemmy1794
8d29a929f7 Add support for Proxy Protocol V1 and V2 in streamproxy configuration
- Updated HTML form to allow selection of Proxy Protocol version.
- Backend and config struct now use ProxyProtocolVersion (int) instead of UseProxyProtocol (bool).
- UI and API now pass and display Proxy Protocol version.

TODO: UDP should only allow Proxy Protocol V2
2025-10-14 21:30:32 +08:00
Toby Chui
66572981b3 Optimized TLS list
- Optimized TLS certificate list
- Added common name auto fill for certificate upload tool
- Updated version number
- Removed unused code in helper
2025-10-13 21:09:29 +08:00
Toby Chui
9ed9d9ede4 Merge pull request #847 from zen8841/fix845
Move function:NormalizeDomain to netutils module
2025-10-13 18:35:40 +08:00
Zen Wen
ed1b0ec673 Move function:NormalizeDomain to netutils module 2025-10-13 13:16:20 +08:00
Toby Chui
b22e011131 Merge pull request #846 from zen8841/fix845
Fix #845
2025-10-13 12:48:07 +08:00
Zen Wen
d155ea3795 Linting and formatting 2025-10-13 00:50:28 +08:00
Zen Wen
dd610e5f75 fix #845 2025-10-13 00:23:15 +08:00