yusing
18d258aaa2
refactor and organize code
2025-02-15 05:44:47 +08:00
yusing
ddc3b8575e
fix startup panic when no notification provider is set
2025-02-07 03:07:21 +08:00
yusing
989a09274f
restore notification
2025-02-06 18:25:39 +08:00
Yuzerion
1a5f3735cf
Feat/fileserver ( #60 )
...
* cleanup code for URL type
* fix makefile for trace mode
* refactor, merge Entry, RawEntry and Route into one.
* Implement fileserver.
* refactor: rename HTTPRoute to ReverseProxyRoute to avoid confusion
* refactor: move metrics logger to middleware package
- fix prometheus metrics for load balanced routes
- route will now fail when health monitor fail to start
* fix extra output of ls-* commands by defer initializaing stuff, speed up start time
* add test for path traversal attack, small fix on FileServer.Start method
* rename rule.on.bypass to pass
* refactor and fixed map-to-map deserialization
* updated route loading logic
* schemas: add "add_prefix" option to modify_request middleware
* updated route JSONMarshalling
---------
Co-authored-by: yusing <yusing@6uo.me>
2025-02-06 18:23:10 +08:00
yusing
8ae9573b07
add timeout to notification context
2025-02-01 14:42:21 +08:00
Yuzerion
78900772bb
Feat/ntfy ( #57 )
...
* implement ntfy notification
* fix notification fields order
* fix schema for ntfy
---------
Co-authored-by: yusing <yusing@6uo.me>
2025-02-01 13:07:44 +08:00
yusing
6ae391a3c9
make POST and JSON as notification defaults
2025-01-31 14:56:55 +08:00
yusing
1586610a44
Cleaned up some validation code, stricter validation
2025-01-26 14:43:48 +08:00
yusing
66db583432
fix notification dispatcher panic when dispatching on program exit
2025-01-23 04:41:10 +08:00
yusing
8109c9ac4f
small refactor
2025-01-09 14:09:48 +08:00
yusing
1ab34ed46f
simplify task package implementation
2025-01-01 06:07:32 +08:00
yusing
1042d12df6
fix notification dispatcher send on closed channel after disabling from config
2024-12-21 04:13:33 +08:00
yusing
f2a9ddd1a6
improved deserialization method
2024-12-18 07:18:18 +08:00
yusing
c5d96f96e1
replace unnecessary Task interface with struct
2024-12-17 10:33:21 +08:00
yusing
4d94d12e9c
fixed / suppressed (irrelevant) golangci-lint errors
2024-12-17 10:33:21 +08:00
yusing
b6c806a789
fix notif dispatcher nil panic
2024-12-13 00:46:45 +08:00
yusing
5d5c623f09
small refactor and fixes
2024-12-03 11:45:10 +08:00
yusing
ef1863f810
support variables in modify request,response middlewares
2024-12-03 10:20:18 +08:00
yusing
58cfba7695
refactor and fix duplicate notification
2024-12-01 11:12:25 +08:00
yusing
25eeabb9f9
[BREAKING] changed notification config format, support multiple notification providers, support webhook and markdown style notification
2024-11-30 06:44:49 +08:00
yusing
a86d316d07
refactor and typo fixes
2024-11-02 03:14:47 +08:00
yusing
0397f69853
fixed notification not being sent
2024-10-30 06:44:10 +08:00
yusing
81177926ff
implemented login and jwt auth
2024-10-30 06:25:32 +08:00
yusing
e5bbb18414
migrated from logrus to zerolog, improved error formatting, fixed concurrent map write, fixed crash on rapid page refresh for idle containers, fixed infinite recursion on gotfiy error, fixed websocket connection problem when using idlewatcher
2024-10-29 11:34:58 +08:00
yusing
bee26f43d4
initial gotify support
2024-10-22 05:38:09 +08:00