Commit Graph
14 Commits
Author SHA1 Message Date
mahdium 1a2baa2c6a Removed unused logging 2025-09-22 13:38:33 +03:30
mahdium 6d15ce2df9 Improved logging with zap 2025-09-16 12:23:12 +03:30
mahdiumandQwen-Coder 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
mahdium d4044b0eaf Added Gitea oauth to the admin dashboard and finished the oauth handling 2025-09-15 22:24:12 +03:30
mahdium a84156f0a0 Minor fixes 2025-09-15 20:22:37 +03:30
mahdium 001e3b66cb Added oauth for gitea 2025-09-15 19:10:49 +03:30
mahdium 63b524277f Dep updates 2025-07-25 11:50:20 +03:30
mahdium 81adfa1ad9 Refactor JWT auth and remove DB dependency from config 2025-05-17 20:28:18 +03:30
mahdium cb5149b7bc Switch from cookie to Bearer token auth and add CORS support - Semi finished 2025-05-16 16:20:30 +03:30
mahdium 2e4b97e4bc Implement admin media approval endpoints and add JWT role-based auth - NOT TESTED 2025-05-16 14:56:13 +03:30
mahdium 1abc05ecd9 Add JWT authentication for admin dashboard login 2025-05-16 14:41:16 +03:30
mahdium 855c778654 Trying to add jwt shit but failing cause im tired 2025-05-15 21:33:55 +03:30
mahdium d646515776 Implement user login with password hash verification and username lookup 2025-05-15 12:24:48 +03:30
mahdium b3fae6b80c Add user registration with password hashing and restructure handlers directory 2025-05-15 12:10:16 +03:30