7229dfa1b7
refactor: decouple services from global config and clean up structure
...
- Remove duplicate UploadBaseURL constant (identical to APIBaseURL)
- Pass parentFileID and customDomain into service constructors instead of
reading from config.GlobalConfig at call time, eliminating hidden global
state dependencies in the service layer
- Replace []interface{} response building in HandleList with a typed
imageResponse struct for compile-time safety
- Extract inline CORS closure from main.go into handler.CORSMiddleware(),
consistent with how AuthMiddleware is organized
- Remove narrating comments throughout; keep only the non-obvious one
explaining why DoRawPUT omits auth headers
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-21 14:48:11 +08:00
RainySY
a2a5acdb06
docs: update documentation for 123云盘 image host integration
2026-04-09 04:17:45 +08:00
RainySY
13ab2b0364
refactor: upgrade Dockerfile to zero-dependency scratch image
Go Build & Release / build (amd64, imagehost-linux-amd64, linux) (push) Has been cancelled
Go Build & Release / build (amd64, imagehost-macos-amd64, darwin) (push) Has been cancelled
Go Build & Release / build (amd64, imagehost-windows-amd64.exe, windows) (push) Has been cancelled
Go Build & Release / build (arm64, imagehost-linux-arm64, linux) (push) Has been cancelled
Go Build & Release / build (arm64, imagehost-macos-arm64, darwin) (push) Has been cancelled
Go Build & Release / docker (push) Has been cancelled
v1.0.4
2026-04-09 04:14:54 +08:00
RainySY
7767d713d7
feat: sync readme to dockerhub overview
Go Build & Release / build (amd64, imagehost-linux-amd64, linux) (push) Has been cancelled
Go Build & Release / build (amd64, imagehost-macos-amd64, darwin) (push) Has been cancelled
Go Build & Release / build (amd64, imagehost-windows-amd64.exe, windows) (push) Has been cancelled
Go Build & Release / build (arm64, imagehost-linux-arm64, linux) (push) Has been cancelled
Go Build & Release / build (arm64, imagehost-macos-arm64, darwin) (push) Has been cancelled
Go Build & Release / docker (push) Has been cancelled
v1.0.2
2026-04-09 04:07:12 +08:00
RainySY
49eb09aa64
fix: remove goproxy and upgrade golang alpine base
2026-04-09 03:57:08 +08:00
RainySY
33b2ced419
feat: setup full 12-Factor docker and env configurations
2026-04-09 03:54:53 +08:00
RainySY
0347499b10
feat: auto generate missing config.yaml
Go Build & Release / build (amd64, imagehost-linux-amd64, linux) (push) Has been cancelled
Go Build & Release / build (amd64, imagehost-macos-amd64, darwin) (push) Has been cancelled
Go Build & Release / build (amd64, imagehost-windows-amd64.exe, windows) (push) Has been cancelled
Go Build & Release / build (arm64, imagehost-linux-arm64, linux) (push) Has been cancelled
Go Build & Release / build (arm64, imagehost-macos-arm64, darwin) (push) Has been cancelled
v1.0.1
2026-04-09 03:39:44 +08:00
RainySY
8737c7d31f
fix: 补充 actions release write 权限
Go Build & Release / build (amd64, imagehost-linux-amd64, linux) (push) Has been cancelled
Go Build & Release / build (amd64, imagehost-macos-amd64, darwin) (push) Has been cancelled
Go Build & Release / build (amd64, imagehost-windows-amd64.exe, windows) (push) Has been cancelled
Go Build & Release / build (arm64, imagehost-linux-arm64, linux) (push) Has been cancelled
Go Build & Release / build (arm64, imagehost-macos-arm64, darwin) (push) Has been cancelled
v1.0.0
2026-04-09 03:34:24 +08:00
RainySY
66252603f8
update: add auto release
2026-04-09 03:30:57 +08:00
RainySY
7882a4aca5
add build workflow
2026-04-09 03:27:31 +08:00
RainySY
ec301b75d8
feat: init project (123pan image host)
2026-04-09 03:24:27 +08:00