Yuzerion
80bc018a7f
feat: custom json marshaling implementation, replace json and yaml library ( #89 )
...
* chore: replace gopkg.in/yaml.v3 vs goccy/go-yaml; replace encoding/json with bytedance/sonic
* fix: yaml unmarshal panic
* feat: custom json marshaler implementation
* chore: fix import and err marshal handling
---------
Co-authored-by: yusing <yusing@6uo.me>
2025-04-16 15:02:11 +08:00
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
658332005d
chore: deps upgrade
2025-04-10 00:53:28 +08:00
Yuzerion
8e37627371
Feat/http3 ( #84 )
...
* chore(deps): update go-playground/validator to v10.26.0
* chore(deps): update Go version to 1.24.2 and dependencies, reorganize dependencies into categorized sections
* chore(deps): update Go version to 1.24.2 in Dockerfile
* refactor(agent): replace deprecated context import with standard context package
* feat(http3): add HTTP/3 support and refactor server handling code into utility functions
---------
Co-authored-by: yusing <yusing@6uo.me>
2025-04-04 00:18:15 +08:00
yusing
2da7ea56d5
deps upgrade
2025-03-28 08:45:59 +08:00
yusing
47ab6b8a92
feat: godoxy agent
2025-03-28 03:36:35 +08:00
yusing
350265e31f
merge feat/godoxy-agent and update README
2025-03-28 03:13:59 +08:00
yusing
79b9c7011d
deps upgrade
2025-03-28 01:33:06 +08:00
yusing
e8109f1b78
deps upgrade
2025-03-22 23:53:47 +08:00
yusing
4ef29f027e
deps upgrade
2025-03-17 05:40:42 +08:00
yusing
c166b12515
upgrade go to 1.24.1, deps upgrade
2025-03-05 08:26:22 +08:00
yusing
0a348278ca
deps upgrade
2025-03-01 16:31:11 +08:00
yusing
50262f2acc
deps upgrade
2025-02-27 04:55:58 +08:00
yusing
2fe8531e51
deps upgrade
2025-02-25 05:39:07 +08:00
yusing
05d2f77c0c
refactor docker api code, deps upgrade
2025-02-22 04:51:07 +08:00
yusing
571f36e405
go.modL add comments explaining dependencies usage
2025-02-18 21:11:24 +08:00
yusing
a4b1200475
deps upgrade
2025-02-18 21:11:24 +08:00
yusing
43807dcba9
autocert: add porkbun cert provider
2025-02-18 21:11:24 +08:00
yusing
16b046bd44
add cert info and renewal api
2025-02-15 21:50:34 +08:00
yusing
82042e0b99
refactor, fix metrics and upgrade go to 1.24.0
2025-02-12 11:15:45 +08:00
yusing
e1ee08361d
api: added network and sensors system info
2025-02-11 05:26:37 +08:00
yusing
3332ce34c5
simplify setup process
2025-02-11 05:05:56 +08:00
yusing
73e2660e59
agent: add system-info endpoint
2025-02-11 01:10:09 +08:00
yusing
ecb89f80a0
update files for agent, deps upgrade
2025-02-11 01:10:07 +08:00
yusing
9626b65593
deps upgrade
2025-02-11 00:56:17 +08:00
yusing
b6e468e54e
remove schema from dockerfile and code, dependencies upgrade
2025-01-30 00:43:25 +08:00
yusing
a9da7ce6fc
small fix on Makefile and update dependencies
2025-01-26 14:45:19 +08:00
yusing
79f40f3d22
implement icon cache expiry, cleanup code and upgrade deps
2025-01-23 04:16:06 +08:00
yusing
8b1a3a31ff
simplify icon caching and homepage item override
2025-01-21 06:16:00 +08:00
Yuzerion
589b3a7a13
Feat/auto schemas ( #48 )
...
* use auto generated schemas
* go version bump and dependencies upgrade
* clarify some error messages
---------
Co-authored-by: yusing <yusing@6uo.me>
2025-01-19 00:37:17 +08:00
Yuzerion
51f6391ded
feat: Add optional OIDC support ( #39 )
...
This allows the API to trigger an OAuth workflow to create the JWT for authentication. For now the workflow is triggered by manually visiting `/api/login/oidc` on the frontend app until the UI repo is updated to add support.
Co-authored-by: Peter Olds <peter@olds.co>
2025-01-13 04:49:46 +08:00
yusing
137b0820b0
reset favicon cache on route reload
2025-01-12 22:32:17 +08:00
yusing
c7c6a097f0
server side favicon retrieving and caching
2025-01-12 10:30:37 +08:00
yusing
0ce7f29976
fix proxy rules behavior and implemented a few more rules and commands, dependencies upgrade
2025-01-11 12:22:42 +08:00
yusing
35c0463829
naive implementation of caddy like route rules, dependencies upgrade
2025-01-08 07:18:09 +08:00
yusing
e04080bf1c
update build files and dependencies
2025-01-05 03:16:59 +08:00
yusing
753e193d62
dependencies and tooling upgrade
2025-01-03 03:47:04 +08:00
yusing
e7aaa95ec5
dependencies upgrade
2024-12-24 01:37:15 +08:00
yusing
84675b5c0f
dependencies upgrade
2024-12-19 05:11:03 +08:00
yusing
6aefe4d5d9
replace all schema check with go-playground/validator/v10
2024-12-18 04:48:29 +08:00
yusing
4ae3d5344c
go version 1.23.3 -> 1.23.4
2024-12-18 00:40:06 +08:00
yusing
2baeb6a572
dependencies upgrade
2024-12-17 10:40:31 +08:00
yusing
843d7b2231
refactor and dependencies upgrade
2024-12-13 15:22:31 +08:00
yusing
32871a8a3c
dependencies upgrade
2024-12-11 07:21:07 +08:00
yusing
452bb0b0d7
http parameter tunings, dependencies upgrade
2024-12-04 06:02:54 +08:00
yusing
edc1ad952d
updated deserialize method to support validation
2024-11-30 02:58:13 +08:00
yusing
23614fe0d0
dependencies upgrade
2024-11-28 05:52:12 +08:00
yusing
f97e3f65fe
go version and deps update, fixed middlewares and metrics
...
- fixed "API JWT secret empty" warning output format
- fixed metrics initialized when it should not
- fixed middlewares.modifyRequest Host header not working properly
2024-11-08 06:14:08 +08:00
yusing
6712e9b109
initial prometheus metrics support, simplfied some code
2024-11-06 12:24:12 +08:00
yusing
8df28628ec
removed unnecessary pointer indirection, added rate limiter middleware
2024-11-03 07:07:30 +08:00