Yuzerion
57292f0fe8
feat: proxmox idlewatcher ( #88 )
...
* feat: idle sleep for proxmox LXCs
* refactor: replace deprecated docker api types
* chore(api): remove debug task list endpoint
* refactor: move servemux to gphttp/servemux; favicon.go to v1/favicon
* refactor: introduce Pool interface, move agent_pool to agent module
* refactor: simplify api code
* feat: introduce debug api
* refactor: remove net.URL and net.CIDR types, improved unmarshal handling
* chore: update Makefile for debug build tag, update README
* chore: add gperr.Unwrap method
* feat: relative time and duration formatting
* chore: add ROOT_DIR environment variable, refactor
* migration: move homepage override and icon cache to $BASE_DIR/data, add migration code
* fix: nil dereference on marshalling service health
* fix: wait for route deletion
* chore: enhance tasks debuggability
* feat: stdout access logger and MultiWriter
* fix(agent): remove agent properly on verify error
* fix(metrics): disk exclusion logic and added corresponding tests
* chore: update schema and prettify, fix package.json and Makefile
* fix: I/O buffer not being shrunk before putting back to pool
* feat: enhanced error handling module
* chore: deps upgrade
* feat: better value formatting and handling
---------
Co-authored-by: yusing <yusing@6uo.me>
2025-04-16 14:52:33 +08:00
yusing
d1524c1013
fix display url of file server rouie, refactor
2025-04-10 06:17:16 +08:00
yusing
6a5d324733
refactor: move favicon into homepage module
2025-04-10 06:04:14 +08:00
yusing
1c892a35f7
fix(route): wildcard labels not applied properly
2025-04-09 16:26:09 +08:00
yusing
c59567ae8f
refactor: rename module route/types to route
2025-04-08 05:04:49 +08:00
yusing
5da9dd6082
refactor: move docker/idlewatcher to idlewatcher
2025-04-06 04:05:26 +08:00
yusing
c8935102c3
feat: add validation for localhost routes to prevent usage of godoxy port causing self recursion
2025-03-29 02:59:40 +08:00
yusing
7ef8354eb0
feat: enhance route handling with agent support and refactor port selection mapping
2025-03-28 08:14:06 +08:00
yusing
361931ed96
refactor: rename module 'err' to 'gperr' in references
2025-03-28 07:39:26 +08:00
yusing
05cbf99237
trim and convert alias and host to lowercase
2025-02-18 02:32:31 +08:00
yusing
c9b5516330
fix wildcard alias and some tests
2025-02-11 00:47:43 +08:00
yusing
4363ca88aa
fix file server validation
2025-02-11 00:47:43 +08:00
yusing
136a2ec89f
remove some debug logging
2025-02-07 01:08:42 +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
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
b3c47e759f
fix incorrect reload behaviors, further organize code
2025-01-09 04:26:00 +08:00
yusing
0850562bf9
fix nil panic on null entry
2025-01-06 04:58:11 +08:00
yusing
5d5c623f09
small refactor and fixes
2024-12-03 11:45:10 +08:00
yusing
52d5e2f36d
support x-properties
2024-12-03 10:28:47 +08:00
yusing
d723403b6b
modules reorganized and code refactor
2024-11-25 01:40:12 +08:00
yusing
c07f2ed722
fixed healthchecker start even if disabled, simplified label parsing
2024-11-11 06:34:12 +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
a278711421
fixed loadbalancer with idlewatcher, fixed reload issue
2024-10-20 09:46:02 +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
f4d532598c
Improved healthcheck, idlewatcher support for loadbalanced routes, bug fixes
2024-10-15 15:34:27 +08:00
yusing
d47b672aa5
refactored some stuff, added healthcheck support, fixed 'include file' reload not showing in log
2024-10-12 13:56:38 +08:00
yusing
e8f4cd18a4
refactor: moved models/ to types/
2024-10-04 08:47:53 +08:00
yusing
de6c1be51b
improved homepage support, memory leak partial fix
2024-10-03 20:02:43 +08:00
yusing
478311fe9e
fixed container routes not being loaded, added X-Forwarded-{Scheme,Proto,Host}, fixed containers with no mapping being served
2024-09-30 18:04:47 +08:00
yusing
90487bfde6
restructured the project to comply community guideline, for others check release note
2024-09-28 09:51:34 +08:00