Anthony Rubick
2f98ecd0c6
fix(event-subscriber-example): remove event.go
...
the file was removed from zoraxy_plugin, but since `build_all.sh` works
by copying the module to the plugins this change wasn't propagated. This
fix removed the leftover file and updates `build_all.sh` to delete the
existing `zoraxy_plugin` module of the plugins before copying over the
updated code.
2025-09-07 17:10:02 -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
dbf4648646
Merge pull request #807 from AnthonyMichaelTDM/update-plugins
...
Update example plugins
2025-09-07 16:24:26 -05:00
Toby Chui
797ad92623
Merge pull request #805 from PassiveLemon/docker-326
...
feature: new container environment vars
2025-09-07 11:31:52 +08:00
Toby Chui
afdcc71358
Change ENABLELOG and ENABLELOGCOMPRESS defaults to true
...
Fixed invalid default value for new log flags
2025-09-07 11:20:52 +08:00
Anthony Rubick
46f0ae6896
feat: update all example plugins w/ current zoraxy_plugin
...
ran `build_all.sh`
2025-09-06 21:09:07 -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
PassiveLemon
b743e0ea28
feature: new container environment vars
2025-09-06 13:58:35 -04: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
Toby Chui
df55157221
Merge pull request #789 from james-d-elliott/feat-sso-clear
...
feat(sso): clear settings
2025-09-06 13:22:49 +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
Toby Chui
471e94c893
Merge pull request #795 from zen8841/v3.2.6
...
Update lego to v4.25.2
2025-08-30 14:54:10 +08:00
Zen Wen
19fd6057e0
Update lego to v4.25.2
2025-08-30 14:39:32 +08:00
Zen Wen
3ad8e5acb3
Remove acmedns file inside .gitignore
2025-08-30 14:38:31 +08:00
Zen Wen
dda922cb64
Update code-gen tools
...
Add dnshomede and myaddr to excluded dns provider list
2025-08-30 14:29:26 +08:00
Zen Wen
d4d0adb297
Update acme code-gen Script: update.sh
...
Change the pull branch to latest version tags
Avoid generating config that not include in the latest lego release
2025-08-30 14:28:10 +08:00
Zen Wen
e4950bbbe6
Add Shebang for tools Script
2025-08-30 14:26:07 +08:00
Zen Wen
e1fd28f595
Add execute permission for tools script
2025-08-30 14:24:09 +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
Toby Chui
cfd8f988fd
Update CODEOWNERS
2025-08-25 06:58:07 +08:00
Toby Chui
e4a12b27a6
Update CODEOWNERS
...
Added forward-auth module owner
2025-08-25 06:56:44 +08:00
Toby Chui
abcd550261
Merge pull request #792 from AnthonyMichaelTDM/codeowners
...
add CODEOWNERS file
2025-08-25 06:54:54 +08:00
Anthony Rubick
e718ff1c72
add CODEOWNERS file
2025-08-24 17:34:00 -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
Anthony Rubick
fe2db92392
test: event deserialization
2025-08-19 19:09:50 -05:00
Anthony Rubick
ac3f12718a
feat: add event subscription details to plugin info page
2025-08-19 19:09:49 -05:00
Anthony Rubick
dc12ee1716
feat: event subscription example plugin
2025-08-19 19:09:49 -05:00
Anthony Rubick
d6c907b13f
feat: add function to assist parsing events
2025-08-19 19:09:49 -05:00
Anthony Rubick
9c99f6c734
feat(plugins): Implement event system w/ POC events
...
Implements the partially created event system with 3 events implemented as proof of concepts.
The 3 events are:
- `blacklistedIpBlocked`: emitted when a request from a blacklisted IP
- `accessRuleCreated`: emitted when a new access rule is created
- `blacklistToggled`: emitted when the blacklist is toggled for a given access rule
Why these events? Because these are the ones I forsee myself needing in the next version of the zoraxy_crowdsec_bouncer
Events are dispatched via a global event manager `plugins.EventSystem.Emit`
2025-08-19 19:08:46 -05:00
Toby Chui
c2866f27f8
Added #263
...
- Added IP / CIDR as Basic Auth exclusion rule
- Fixed side frame not closing when open proxy rule editor bug
2025-08-17 14:25:38 +08:00
Toby Chui
2daf3cd2cb
Optimized plugin examples
...
- Fixed build script bug in plugin module copy logic
- Fixed plugin example typos
- Fixed the missing embeded web server handleFunc interface
2025-08-17 10:34:10 +08:00
Toby Chui
51145edae7
Merge pull request #772 from AnthonyMichaelTDM/issue-771
...
fix(issue 771): panics when rewriting headers for websockets, and strange issue with logging across a month boundary
2025-08-16 21:34:09 +08:00
Anthony Rubick
bd5d225a94
fix: out of bounds index when rewriting websocket headers
2025-08-01 02:12:50 -07:00
Toby Chui
0f621d0edd
Merge pull request #759 from AnthonyMichaelTDM/issue-758
...
fix(issue 758): Handle existing symlink in start_zerotier function
2025-07-22 07:10:01 +08:00
Toby Chui
9230f9374d
Added null check on front-end
...
- Added null check on TlsOption on front-end
v3.2.5r2
2025-07-21 20:10:55 +08:00
Anthony Rubick
c982541a40
fix(issue 758): Handle existing symlink in start_zerotier function
...
Closes Zoraxy 3.2.5 don't start in the docker container
Fixes #758
2025-07-20 23:39:34 -07:00
Toby Chui
6493a82e5f
Fixed #756
...
- Added missing TLS config on new http proxy creation
2025-07-21 07:21:55 +08:00
Toby Chui
39e05032c9
Merge pull request #755 from Morethanevil/main
...
Update CHANGELOG.md
2025-07-20 17:41:43 +08:00