yusing
074b420848
refactor(config): update config structures to use strutils.Redacted for sensitive fields
...
- Modified Config structs in various packages to replace string fields with strutils.Redacted to prevent logging sensitive information.
- Updated serialization methods to accommodate new data types.
- Adjusted API token handling in Proxmox configuration.
2025-12-09 10:51:30 +08:00
yusing
de15dbf405
refactor: move some utility functions to goutils and update references
2025-12-05 16:21:34 +08:00
yusing
a150f1a628
refactor(config): reduce references to config.GetInstance()
2025-10-07 21:49:00 +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
7205bf47de
feat(autocert): add DNS resolver options to Config and update provider initialization
2025-09-16 15:43:49 +08:00
yusing
c19d82c876
feat(autocert): add EAB configuration support and corresponding tests
2025-08-17 11:45:26 +08:00
yusing
68ac4f952d
fix(autocert): wrong path for last failure file
2025-07-21 09:39:17 +08:00
yusing
731121595c
feat(autocert): enhance failure handling and cooldown logic
...
- Added last failure tracking to the Provider struct to manage certificate renewal failures.
- Implemented methods to get, update, and clear the last failure timestamp.
- Introduced cooldown durations to prevent immediate retries after failures.
- Updated ObtainCert and ScheduleRenewal methods to utilize the new failure handling logic.
2025-07-20 12:42:52 +08:00
yusing
2e9f113224
fix(autocert): update test server configuration to use TLS with custom CA and add IPAddresses field
2025-05-25 18:50:18 +08:00
yusing
9d58977fa6
feat(autocert): add CACerts field to autocert Config for custom CA
2025-05-25 17:33:13 +08:00
yusing
c1221e61d4
refactor: improve task management with xsync for concurrent access and enhance callback and subtasks handling as well as memory allocation
2025-05-25 15:01:44 +08:00
yusing
5b7c392297
refactor: code refactor and improved context and error handling
2025-05-24 10:02:24 +08:00
yusing
1f1ae38e4d
feat(acme): custom acme directory
2025-05-24 09:41:19 +08:00
yusing
6a5cd1266b
tweak: use ecdsa p-256 for autocert
2025-05-24 07:29:11 +08:00
yusing
1cf18657b6
refactor: streamline domain mismatch check in certState function
2025-05-24 07:20:58 +08:00
yusing
63c4bdc73d
refactor: remove the use of logging module in most code
2025-05-23 23:28:33 +08:00
yusing
f1e204f7fd
refactor: simplify io code and make utils module independent
2025-05-23 22:19:14 +08:00
yusing
c05059765d
style: coed cleanup and fix styling
2025-05-10 10:46:31 +08:00
yusing
98e90d7a0b
refactor: improve error handling and response formatting in API
2025-05-03 17:41:10 +08:00
yusing
7fa7b55b18
feat: notify for cert renewal result
2025-05-02 05:55:34 +08:00
yusing
7aa1215491
refactor: rename Deserialize to MapUnmarshalValidate
2025-04-29 07:26: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
4410637f8b
feat(autocert): added all available lego supported dns providers
2025-04-25 12:32:02 +08:00
yusing
2f33ee02d9
chore: replace gopkg.in/yaml.v3 with goccy/go-yaml
2025-04-25 08:36:54 +08:00
yusing
232f720e77
refactor: use stretchr/testify, replace ExpectBytesEqual and ExpectDeepEqual with ExpectEqual in tests
2025-03-28 08:45:06 +08:00
yusing
e4f6994dfc
autocert: refactor and add pseudo provider for testing
2025-03-28 07:39:26 +08:00
yusing
d5c0e62be1
autocert: add porkbun cert provider
2025-02-13 23:48:35 +08:00
yusing
4ad6257dab
fix deserialization
2025-01-29 11:49:28 +08:00
yusing
1586610a44
Cleaned up some validation code, stricter validation
2025-01-26 14:43:48 +08:00
yusing
2bb13129de
fix: autocert scheduler using too high cpu usage
2025-01-22 10:45:57 +08:00
yusing
dd0bbdc7b4
fix logs not printing correctly, removed unneccessary loggers
2025-01-20 17:42:54 +08:00
yusing
b3c47e759f
fix incorrect reload behaviors, further organize code
2025-01-09 04:26:00 +08:00
yusing
7fe03be73f
fix: cert renewal failure cause scheduler stuck forver
2025-01-09 02:53:04 +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
adb067a57f
fix cert expiry date format
2024-12-17 10:35:59 +08:00
yusing
5d5c623f09
small refactor and fixes
2024-12-03 11:45:10 +08:00
yusing
d1cb7a5ce4
prevent generation of ACME key when not using autocert
2024-12-01 05:08:26 +08:00
yusing
fb9de4c4ad
added ping latency to healthcheck result
2024-11-30 06:43:47 +08:00
yusing
4188bbc5bd
small changes
2024-11-30 01:06:06 +08:00
yusing
c269bd04d3
updated autocert renew check logic
2024-11-29 05:26:05 +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
67b6e40f85
remove unused code
2024-11-02 03:04:15 +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
99207ae606
routes in loadbalance pool no longer listed in ls-route and its API, the loadbalancer is listed instead. improved context handling and grateful shutdown
2024-10-14 09:28:54 +08:00