11 Commits

Author SHA1 Message Date
6d15ce2df9 Improved logging with zap 2025-09-16 12:23:12 +03:30
f136ae58b3 Refactor: Implement uber-go/fx dependency injection
- Replace global variable pattern with proper dependency injection
- Add uber-go/fx for automatic dependency resolution
- Refactor all services and handlers to use constructor injection
- Eliminate fragile initialization order dependencies
- Improve testability and modularity
- Add structured logging with zap

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-09-16 11:41:01 +03:30
d4044b0eaf Added Gitea oauth to the admin dashboard and finished the oauth handling 2025-09-15 22:24:12 +03:30
001e3b66cb Added oauth for gitea 2025-09-15 19:10:49 +03:30
051408fcdd Added imagekit optimization support 2025-07-29 17:52:39 +03:30
22adcee9d2 Use RemoteUrl instead of PreviewUrl and increase API timeout to 60 seconds 2025-06-05 18:15:16 +03:30
0854387eb4 Fix string formatting in logging statements using strconv.Itoa 2025-05-17 21:40:12 +03:30
99e3debf7c Replace log package with slog for structured logging and improve error handling 2025-05-17 21:37:43 +03:30
3d7a3a043f Refactor config usage to access values through Config singleton 2025-05-17 21:08:12 +03:30
7b601e75ba Refactor app structure: move models to domain, centralize config and database init - TODO: add jwt 2025-05-17 20:07:29 +03:30
ab9254fcad Starting to improve the project structure 2025-05-17 18:43:54 +03:30