5680f9471f
Added some comments for myself
2025-09-16 12:18:35 +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
a84156f0a0
Minor fixes
2025-09-15 20:22:37 +03:30
001e3b66cb
Added oauth for gitea
2025-09-15 19:10:49 +03:30
15485b03d4
Minor improvements
2025-07-11 17:59:38 +03:30
0f96344543
Modernize admin UI with React and update templates
2025-05-24 10:51:55 +03:30
7659cca37e
Add web templates and handlers for home, embed card, and admin pages
2025-05-18 12:23:00 +03:30
9565c06fba
Add JWT auth and .env support for admin login
2025-05-17 20:47:04 +03:30
81adfa1ad9
Refactor JWT auth and remove DB dependency from config
2025-05-17 20:28:18 +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
cb5149b7bc
Switch from cookie to Bearer token auth and add CORS support - Semi finished
2025-05-16 16:20:30 +03:30
2e4b97e4bc
Implement admin media approval endpoints and add JWT role-based auth - NOT TESTED
2025-05-16 14:56:13 +03:30
855c778654
Trying to add jwt shit but failing cause im tired
2025-05-15 21:33:55 +03:30
49b38470cf
Remove user authentication and switch to simple admin password check (It wont have more than one admin user so no need for registeration (I LOVE .Net/C# btw))
2025-05-15 20:25:28 +03:30
b3fae6b80c
Add user registration with password hashing and restructure handlers directory
2025-05-15 12:10:16 +03:30
7aa8c26da9
Remove HTML template and simplify API response with static home page
2025-05-14 21:34:14 +03:30
3007b41f0d
Add HTML template and implement homepage with random cat posts
2025-05-14 20:39:56 +03:30
b30f0d2726
Add API endpoint for random post with preloaded relationships
2025-05-14 20:11:25 +03:30
943925c3e9
Refactor handlers into separate packages and implement dependency injection.
...
IDK if this shit is good or even logical, but it works and I can wrap my head around it.
2025-05-14 20:03:06 +03:30
75bad5e091
Add web server with admin dashboard and media approval endpoints
2025-05-11 22:14:32 +03:30