yusing
de15dbf405
refactor: move some utility functions to goutils and update references
2025-12-05 16:21:34 +08:00
yusing
98eab1fb4f
Revert "refactor(docker): migrate from github.com/docker/docker to github.com/moby/moby"
...
This reverts commit c156173757 .
2025-11-19 15:11:54 +08:00
yusing
71177b0b05
Revert "fix(docker): revert to API version negotiation for Docker client"
...
This reverts commit 1bcaf0dab5 .
2025-11-19 15:08:07 +08:00
yusing
1bcaf0dab5
fix(docker): revert to API version negotiation for Docker client
2025-11-15 10:52:03 +08:00
yusing
c156173757
refactor(docker): migrate from github.com/docker/docker to github.com/moby/moby
2025-11-13 23:03:27 +08:00
yusing
e8fb202ea9
fix(docker): fix wildcard not working correctly with #N ref aliases
2025-11-01 02:10:09 +08:00
yusing
1ca4b4939e
perf(healthcheck): stop docker client from hogging resources in health checks
2025-10-18 19:35:32 +08:00
yusing
584db2efce
refactor(docker): use atomic.Int instead of plain integer
2025-10-07 21:30:12 +08:00
yusing
c27bc0e129
refactor(docker): simplify docker client initialization in api
2025-10-07 21:26:52 +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
55c1c918ba
refactor: remove / throttle some debug logging
2025-09-26 21:00:35 +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
e0d25e475c
feat(docker): implement container ID to Docker host mapping
2025-09-14 00:01:00 +08:00
yusing
1e9303b1ef
refactor(docker): update ListContainers function to accept context and improve timeout handling
2025-09-13 23:55:47 +08:00
yusing
2c290a3916
feat(homepage): enhance homepage functionality with new item click tracking, sort methods and category management
...
- Added ItemClick endpoint to increment item click counts.
- Refactored Categories function to dynamically generate categories based on available items.
- Introduced sorting methods for homepage items and categories.
- Updated item configuration to include visibility, favorite status, and sort orders.
- Improved handling of item URLs and added support for websocket connections in item retrieval.
2025-09-13 23:52:54 +08:00
yusing
f81a2b6607
fix(docker): treat containers from $DOCKER_HOST as local
2025-09-09 22:23:50 +08:00
yusing
07d6f36159
feat(docker): include full labels, mountpoints and image details
2025-08-17 01:47:58 +08:00
yusing
52324fbef2
fix(tests): updated docker types in tests
2025-08-16 13:09:08 +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
4189ffa1db
fix(docker): wildcard properties not working with FQDN aliases
2025-06-16 21:23:23 +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
cabb840a91
tweak(docker): add hint when specified network not found
2025-06-14 19:32:36 +08:00
yusing
4825f768f3
feat(docker): allow specifying docker network, handle error when no network available
2025-06-14 17:08:07 +08:00
yusing
5fdb023188
feat(docker): add network field to container info
2025-06-14 10:05:45 +08:00
yusing
f8c57d930f
fix(docker): wildcard labels not applying properly for YAML style values and alias without labels
2025-06-13 23:02:25 +08:00
yusing
25fbcc4ab9
fix(label): expand wildcard labels before unmarshaling and add corresponding test
2025-06-09 20:46:39 +08:00
yusing
a39d527fc1
feat(idlesleep): support container dependencies, including custom and docker depends_on, code refactor
2025-06-04 23:26:38 +08:00
yusing
e39407886d
fix: improved docker image parsing
2025-06-04 23:00:53 +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
yusing
216c03c5ff
fix(task): revert to context based approach and fix tasks stuck, improve error handling
2025-05-26 00:32:59 +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
8f9c76daa5
chore: update dependencies
2025-05-14 21:00:53 +08:00
yusing
e300170c51
fix: route autoconfiguration
2025-05-11 21:38:43 +08:00
yusing
c05059765d
style: coed cleanup and fix styling
2025-05-10 10:46:31 +08:00
yusing
1e80ad2a44
fix(docker): host network_mode port selection
2025-05-07 23:26:51 +08:00
yusing
c90ec8caa1
feat(container): add UpdatePorts method and support for host network mode
2025-05-06 20:27:25 +08:00
yusing
2c0349c11c
chore: remove debug statement
2025-04-30 00:14:53 +08:00
yusing
8e3c2cc8d4
fix: issues when using socket-proxy
2025-04-29 23:56:15 +08:00
yusing
7aa1215491
refactor: rename Deserialize to MapUnmarshalValidate
2025-04-29 07:26:14 +08:00
yusing
663a107c06
merge: main branch
2025-04-24 15:02:31 +08:00
yusing
08ee82d7b0
fix(docker): docker clients not being cached correctly
2025-04-24 06:29:19 +08:00
yusing
d2e2086540
fix: loading_page html
2025-03-29 08:21:26 +08:00
yusing
d105f866ff
feat: enhance idlewaker loading page design and add favicon handling in waker_http, removed unnecessary checkings
2025-03-29 08:18:58 +08:00
yusing
1c001ed9df
refactor: clean up logger and metric initialization flow
2025-03-29 02:59:40 +08:00
yusing
a7da8ffb90
refactor: clean up code and fix race condition in idlewatcher
2025-03-28 08:14:06 +08:00
yusing
3c515b0258
feat: predefined docker image blacklist, avoid proxing service backends, refactor
2025-03-28 08:14:06 +08:00
yusing
c6f65ba69f
feat: agent as docker provider, drop / reload routes when docker connection state changed, refactor
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
9b2ee628aa
fix docker client data race on Close(), remove SharedClient.IsConnected
2025-03-01 15:47:08 +08:00