Zen Wen
ed1b0ec673
Move function:NormalizeDomain to netutils module
2025-10-13 13:16:20 +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
Zen Wen
c424b92036
Move function:NormalizeDomain to utils module
2025-10-13 00:16:31 +08:00
Toby Chui
2c270640e9
Added #843
...
- Added checkbox for disabling uptime monitor in new proxy
2025-10-11 21:36:16 +08:00
Toby Chui
cf2cf18136
Added check for loopback proxy enable state
...
- Added check and show 521 if the loopback proxy endpoint is disabled
2025-10-10 15:51:00 +08:00
Toby Chui
e77f947d1d
Added loopback proxy support
...
- Added support for shortcut loopback setup in local setups
2025-10-10 14:43:38 +08:00
Toby Chui
ca12facaf2
Fixed bug in sidebar plugin list update
...
- Fixed remove plugin when the plugin is still running but plugin in sidebar not automatically removed bug
2025-10-09 19:14:12 +08:00
Toby Chui
2c3f36d9a3
Merge pull request #829 from jimmyGALLAND/fix-acme-renew
...
fix acme renew
2025-10-03 07:16:20 +08:00
jimmyGALLAND
030ef2e01c
allow domain labels with no minimum length
2025-10-02 12:42:13 +02:00
Toby Chui
85cad1e2b6
Updated #821
2025-09-26 07:12:17 +08:00
Toby Chui
94afb6e3a5
Optimized mobile side menu
...
- Optimized width for mobile side menu items
2025-09-25 21:11:28 +08:00
Toby Chui
84a4eaaf95
Fixed #821
...
- Added the recommended code snippet
2025-09-25 21:11:10 +08:00
Toby Chui
f98e1b8218
Fixed #706
...
- Added conditional injection of x-proxy-by zoraxy header by only injecting tracker when -dev flag is set to true
2025-09-24 21:53:11 +08:00
Toby Chui
778df1af0f
Updated #411
...
- Added support for human readable units in -logrotate flag
2025-09-24 20:31:53 +08:00
jimmyGALLAND
2140e5b0b5
-Add support for including Subject Alternative Names (SANs) from
...
existing certificates during both manual and automatic renewals.
-Enhance filtering and normalization of domain names from the UI
to ensure only valid domains are included when requesting certificates.
2025-09-23 23:36:49 +02:00
Toby Chui
e9c1d14e23
Removed unused code from PR
2025-09-22 20:07:38 +08:00
Toby Chui
5477822015
Merge pull request #828 from jimmyGALLAND/fix-restart-after-acme-DNS-challenge
...
Fix restart after acme dns challenge
2025-09-22 20:05:20 +08:00
jimmyGALLAND
b0922c466d
fix: restart issue after ACME certificate update with DNS challenge
2025-09-22 01:21:21 +02:00
Toby Chui
1faaae21d7
Merge pull request #827 from Saeraphinx/webui-style-changes
...
Update Sidebar CSS
2025-09-20 12:32:42 +08:00
Saera
53c73e1e77
update styling
2025-09-19 11:44:20 -05:00
Toby Chui
0805da9d13
Added more test cases for netutil ipmatch
2025-09-19 21:14:20 +08:00
Toby Chui
52f652fbaf
Enable SNI offload in HTTPS proxy connections
...
Updated the ReverseProxy's ProxyHTTPS method to use tls.Dial with SNI support when connecting to upstream servers. Also incremented SYSTEM_VERSION to 3.2.7.
2025-09-17 07:37:21 +08:00
Toby Chui
3a2b38aac7
Update src/mod/info/logger/logger.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-16 19:56:06 +08:00
Toby Chui
2a6f4d52b2
Refactor mux setup and fix ReverseProxyInit typo
...
- Reorganized HTTP mux initialization to clarify plugin and webmin UI routing, replacing parentMux with entryMux.
- Fixed typo in ReverseProxyInit function name and updated its usage in main.go.
2025-09-13 23:46:38 +08:00
Anthony Rubick
1c26d60c8f
fix issue #819
...
fixes issue #819 by putting the plugin API on a separate mux that is not wrapped in the CSRF middleware
2025-09-13 02:47:09 -05:00
Anthony Rubick
c8e42dcf59
add a dummy event
2025-09-12 20:28:02 -05:00
Anthony Rubick
fa4700a114
feat(plugin api): add endpoint to facilitate plugin<->plugin comms via event system.
2025-09-08 18:04:16 -05:00
Anthony Rubick
0debd0b907
perf(eventsystem): reduce duration locks are held
...
also added a test to ensure there is not a deadlock if a listener is marked as subscribed to an event, but not registered
2025-09-07 19:12:22 -05:00
Anthony Rubick
218c5aff40
test(eventsystem): additional tests for event emission
2025-09-07 18:04:10 -05:00
Anthony Rubick
c57fa39554
feat(eventsystem): plumbing for plugin<->plugin comms
...
The only thing left is to add an API endpoint for broadcasting
EventCustom events (other event types should not be emittible by
plugins, the use-case isn't there since plugins can already talk to
Zoraxy via the API).
Input to the endput should be a json-encoded `CustomEvent`
2025-09-07 18:03:48 -05:00
Anthony Rubick
73e4994ddc
feat(eventpayload): add GetEventSource() to EventPayload interface
...
this design (as opposed to adding a Source field to the Event struct)
requires fewer changes to existing APIs while still supporting the two
primary cases for event sources:
1. an event that always has the same source can just return a hard-coded
string
2. an event that can come from multiple components (or from plugins) can
have a source field that gets returned by this function
2025-09-07 17:03:30 -05:00
Anthony Rubick
fd70b7d2dc
feat(event): add UUID field to Event
2025-09-07 16:41:39 -05:00
Anthony Rubick
1c84a8f9cf
fix: remove events import from zoraxy_plugin
...
The import, when the code is copied to develop a plugin, results an invalid path.
Fixing the path manually as a plugin developer is easy, but it shouldn't be necessary.
To fix that, the type is replaced with a string in zoraxy_plugin.IntroSpect and validation is added to lifecycle.go to ensure all subscribed events are valid.
A downside is that the list of validEventNames has to be updated whenever a new event is created, but this is mitigated by placing definitions of that list and the actual event names right next to each other.
2025-09-06 16:45:02 -05:00
Anthony Rubick
00013f3562
Merge pull request #753 from AnthonyMichaelTDM/plugin-improvements
...
feat(plugins): Implement event system w/ POC events
2025-09-06 15:42:31 -05:00
Toby Chui
7e6d60063e
Merge branch 'main' into v3.2.6
2025-09-06 17:48:22 +08:00
Toby Chui
dbd795a158
Fixed #799
...
- Fixed UI bug in loopback options toggle
- Optimized plugin select ui
2025-09-06 13:36:00 +08:00
James Elliott
af0641c067
feat(sso): clear settings
...
This allows clearing the SSO options.
2025-09-06 14:53:13 +10:00
Toby Chui
66ff18c631
Merge pull request #788 from james-d-elliott/feat-forward-auith-original
...
feat(sso): forward auth body and alternate headers
2025-09-06 12:51:14 +08:00
Toby Chui
14bef4ef98
Added log start flags
...
- Added log rotate function (experimental)
- Added disable log function #802
- Added log compression for rotated file (experimental)
2025-09-06 00:44:54 +08:00
Anthony Rubick
22d2a0c6ca
refactor: move event types into own submodule
2025-08-31 21:27:45 -05:00
Toby Chui
c3afdefe45
Added wip log rotate feature
...
- Added log rotate function interface
- Added darwin amd64 support in make file (Intel Macs)
- Added log summary and error API
2025-08-31 22:22:45 +08:00
Toby Chui
d9fd38260f
Changed LogView tool type
...
- Changed logview representation form from snippet to new tab
2025-08-31 14:29:20 +08:00
Toby Chui
bf5ffa100c
Update logview.html
...
Added more logview logic
2025-08-31 14:02:58 +08:00
Toby Chui
a175c258c9
Added support for MacOS WebSSH
...
- Added MacOS webssh feature
- Fixed bug on no proxy rule will cause tls option null exception
2025-08-31 12:35:11 +08:00
Toby Chui
7c3a1a9cfc
Added wip new log viewer
...
- Added DNS challenge maintainer tag
- Added wip log viewer
2025-08-31 11:17:07 +08:00
Zen Wen
19fd6057e0
Update lego to v4.25.2
2025-08-30 14:39:32 +08:00
Anthony Rubick
f45d5f46b4
refactor(events): extract event system to own module and generalize subscriber handling
2025-08-24 18:46:03 -05:00
James Elliott
e477a40299
feat(sso): forward auth body and alternate headers
...
This implements a minor modification to the forward authz sso where the body can be copied to the auth server and the X-Original-* implementations can be used.
2025-08-23 21:53:25 +10:00
Anthony Rubick
d74ecb2444
fix: event deserialization
2025-08-19 19:09:50 -05:00