yusing
ccb4639f43
breaking: move maxmind config to config.providers
...
- moved maxmind to separate module
- code refactored
- simplified test
2025-05-03 20:58:09 +08:00
yusing
9043cf25c5
feat: push notification for config errors
2025-05-03 17:41:50 +08:00
yusing
7aa1215491
refactor: rename Deserialize to MapUnmarshalValidate
2025-04-29 07:26:14 +08:00
yusing
27409abc24
fix: missing proxmox initialization
2025-04-28 05:08:14 +08:00
yusing
efe3eb4ce7
fix: autocert panic
2025-04-26 06:41:15 +08:00
yusing
e4be403bef
fix(agent): reduce the size of agent binary by modules separation
2025-04-26 05:22:40 +08:00
yusing
b427ff1f88
feat(acl): connection level ip/geo blocking
...
- fixed access log logic
- implement acl at connection level
- acl logging
- ip/cidr blocking
- geoblocking with MaxMind database
2025-04-25 10:47:52 +08:00
yusing
858f65ee5a
fix: update code for error handling changes, remove unused code
2025-04-24 06:24:28 +08:00
yusing
84e8dc0e06
refactor: improved config initialization flow, add agent config
2025-03-28 07:47:28 +08:00
yusing
361931ed96
refactor: rename module 'err' to 'gperr' in references
2025-03-28 07:39:26 +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
1871ef3d38
clearer error message when config reload failed
2025-02-04 07:04:27 +08:00
yusing
7c56c88dd4
fix server not being restarted after config reload
2025-02-04 07:04:15 +08:00
yusing
0d518166ee
api: move prometheus handler inside api handler /v1/metrics
2025-02-01 02:09:43 +08:00
yusing
98443be80c
fix OIDC not working when ISSUE_URL points to GoDoxy itself
2025-01-30 10:39:26 +08:00
yusing
1586610a44
Cleaned up some validation code, stricter validation
2025-01-26 14:43:48 +08:00
yusing
dd0bbdc7b4
fix logs not printing correctly, removed unneccessary loggers
2025-01-20 17:42:54 +08:00
yusing
68771ce399
api: added some endpoints for dashboard filter to work
2025-01-20 06:17:18 +08:00
yusing
1adba05065
api: add /v1/health/ws for health bubbles on dashboard
2025-01-19 04:34:20 +08:00
yusing
04e118c081
api: enrich provider statistifcs
2025-01-15 09:16:29 +08:00
yusing
6b6dae129f
fix route provider name
2025-01-12 13:49:47 +08:00
yusing
b3c47e759f
fix incorrect reload behaviors, further organize code
2025-01-09 04:26:00 +08:00
yusing
c30d3f585f
api: fix validation and http response
2025-01-04 09:01:52 +08:00
yusing
6b669fc540
api: homepage config json not longer include default url
2025-01-04 03:37:51 +08:00
yusing
1ab34ed46f
simplify task package implementation
2025-01-01 06:07:32 +08:00
yusing
f2a9ddd1a6
improved deserialization method
2024-12-18 07:18:18 +08:00
yusing
6aefe4d5d9
replace all schema check with go-playground/validator/v10
2024-12-18 04:48:29 +08:00
yusing
00f60a6e78
feature: accesslogger
2024-12-18 03:09:46 +08:00
yusing
c5d96f96e1
replace unnecessary Task interface with struct
2024-12-17 10:33:21 +08:00
yusing
ec78a92234
fix incorrect uppercase
2024-12-17 10:33:21 +08:00
yusing
58cfba7695
refactor and fix duplicate notification
2024-12-01 11:12:25 +08:00
yusing
f8bdc7044c
repalce redirect_to_https with entrypoint middleware
2024-11-30 08:50:23 +08:00
yusing
1c1ba1b55e
[BREAKING] added entrypoint middleware support and config, config schema update
2024-11-30 08:02:03 +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
acdb324f7d
autocert update:
...
- save ACME private key to reuse previous registered ACME account
- properly renew certificate with `Certificate.RenewWithOptions` instead of re-obtaining with `Certificate.Obtain`
2024-11-29 05:06:23 +08:00
yusing
d723403b6b
modules reorganized and code refactor
2024-11-25 01:40:12 +08:00
yusing
6712e9b109
initial prometheus metrics support, simplfied some code
2024-11-06 12:24:12 +08:00
yusing
cf1ecbc826
added option to disable default app categories
2024-11-04 01:44:58 +08:00
yusing
d89d97b61f
added predefined homepage categories
2024-11-03 11:44:30 +08:00
yusing
01b7ec2a99
API server now protected with rate limiter, fixed extra dot on URL on frontend
2024-11-03 10:11:27 +08:00
yusing
3bf520541b
fixed stats websocket endpoint when no match_domains configured
2024-11-03 06:04:35 +08:00
yusing
a86d316d07
refactor and typo fixes
2024-11-02 03:14:47 +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
yusing
a278711421
fixed loadbalancer with idlewatcher, fixed reload issue
2024-10-20 09:46:02 +08:00
yusing
01ffe0d97c
simplified error messages
2024-10-19 14:25:28 +08:00
yusing
bd732dfa0a
fixed homepage item not showing
2024-10-19 01:30:34 +08:00
yusing
53557e38b6
Fixed a few issues:
...
- Incorrect name being shown on dashboard "Proxies page"
- Apps being shown when homepage.show is false
- Load balanced routes are shown on homepage instead of the load balancer
- Route with idlewatcher will now be removed on container destroy
- Idlewatcher panic
- Performance improvement
- Idlewatcher infinitely loading
- Reload stucked / not working properly
- Streams stuck on shutdown / reload
- etc...
Added:
- support idlewatcher for loadbalanced routes
- partial implementation for stream type idlewatcher
Issues:
- graceful shutdown
2024-10-18 16:47:01 +08:00
yusing
c0c61709ca
fixed idlewatcher panic, dashboard app name, route not removing on container destroy
2024-10-16 00:57:10 +08:00
yusing
f4d532598c
Improved healthcheck, idlewatcher support for loadbalanced routes, bug fixes
2024-10-15 15:34:27 +08:00