yusing
2a05c6a630
refactor: move websocket package and some http utils to seperate repo
2025-09-27 14:16:42 +08:00
yusing
6776f20332
refactor: move task, error and testing utils to separte repo; apply gofumpt
2025-09-27 13:41:50 +08:00
yusing
22bcf1201b
refactor: move some io, http and string utils to separate repo
2025-09-27 12:46:41 +08:00
yusing
f9affba9fc
refactor(modules): replace github.com/yusing/go-proxy with github.com/yusing/godoxy
2025-09-22 16:44:59 +08:00
yusing
09b14a47e9
refactor(config): add SupportProxyProtocol to Entrypoint config
2025-09-18 17:36:19 +08:00
yusing
60c13a797b
refactor(config): parallelize route provider initialization
2025-09-13 23:25:29 +08:00
yusing
f7de703c15
feat(yaml): extend environment variable substitution to all YAML files
...
- returns error for unset environment variables
2025-09-11 22:04:13 +08:00
yusing
bab9471bde
feat(config): implement environment variable substitution in configuration file reading
2025-09-09 23:33:05 +08:00
yusing
6a3e28dfd7
fix(config): handle missing config file and middleware directory gracefully and log a warning
2025-09-02 22:55:43 +08:00
yusing
35a3e3fef6
refactor(api): restructured API for type safety, maintainability and docs generation
...
- These changes makes the API incombatible with previous versions
- Added new types for error handling, success responses, and health checks.
- Updated health check logic to utilize the new types for better clarity and structure.
- Refactored existing handlers to improve response consistency and error handling.
- Updated Makefile to include a new target for generating API types from Swagger.
- Updated "new agent" API to respond an encrypted cert pair
2025-08-16 13:04:05 +08:00
yusing
7d17a01de1
refactor(agent): move agent pool to agent package, rename route.Agent() to route.GetAgent()
2025-06-14 20:04:39 +08:00
yusing
2628d9e8a8
fix(task): refactor task module and fix reload stuck/error, fix some logic
2025-05-28 22:07:13 +08:00
Yuzerion
4a8bd48ad5
fix: optimize memory usage, fix agent and code refactor ( #118 )
...
* refactor: simplify io code and make utils module independent
* fix(docker): agent and socket-proxy docker event flushing with modified reverse proxy handler
* refactor: remove unused code
* refactor: remove the use of logging module in most code
* refactor: streamline domain mismatch check in certState function
* tweak: use ecdsa p-256 for autocert
* fix(tests): update health check tests for invalid host and add case for port in host
* feat(acme): custom acme directory
* refactor: code refactor and improved context and error handling
* tweak: optimize memory usage under load
* fix(oidc): restore old user matching behavior
* docs: add ChatGPT assistant to README
---------
Co-authored-by: yusing <yusing@6uo.me >
2025-05-25 09:45:57 +08:00
yusing
b490e8c475
fix(acl): maxmind error even if configured, refactor
2025-05-14 13:44:43 +08:00
yusing
55bbcae911
feat(api): refined list route api
2025-05-10 15:22:30 +08:00
yusing
8fe94d6d14
feat(socket-proxy): implement Docker socket proxy and related configurations
...
- Updated Dockerfile and Makefile for socket-proxy build.
- Modified go.mod to include necessary dependencies.
- Updated CI workflows for socket-proxy integration.
- Better module isolation
- Code refactor
2025-05-10 09:47:03 +08:00
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
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
1adba05065
api: add /v1/health/ws for health bubbles on dashboard
2025-01-19 04:34:20 +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
1ab34ed46f
simplify task package implementation
2025-01-01 06:07:32 +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
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
d723403b6b
modules reorganized and code refactor
2024-11-25 01:40:12 +08:00
yusing
3bf520541b
fixed stats websocket endpoint when no match_domains configured
2024-11-03 06:04:35 +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