mahdium and Qwen-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
001e3b66cb
Added oauth for gitea
2025-09-15 19:10:49 +03:30
mahdium
a7ef859c43
Fix api attachment urls
2025-07-29 20:40:53 +03:30
mahdium
ba06de2c11
Update admin dash
2025-07-29 19:29:07 +03:30
mahdium
8dcdd27745
Minor improvements to admin panel API
2025-07-29 19:21:15 +03:30
mahdium
a43bcc9c14
Update admin panel
2025-07-29 19:10:12 +03:30
mahdium
051408fcdd
Added imagekit optimization support
2025-07-29 17:52:39 +03:30
mahdium
48b893a403
remove unused code
2025-07-26 22:43:06 +03:30
mahdium
0a0af6b04b
Minor updates
2025-07-25 22:19:29 +03:30
mahdium
85fe309b05
Cleanup the dto models
2025-07-25 22:17:42 +03:30
mahdium
71ed94d943
Improve embed page
2025-07-25 11:49:43 +03:30
mahdium
09772a423c
Added retry
2025-07-11 17:59:28 +03:30
mahdium
d266c93b8a
Add database indexes for better query performance and allow robots.txt access
2025-06-25 15:57:50 +03:30
mahdium
95f5e03f65
Update admin UI assets and add robots.txt
2025-06-11 09:14:51 +03:30
mahdium
22adcee9d2
Use RemoteUrl instead of PreviewUrl and increase API timeout to 60 seconds
2025-06-05 18:15:16 +03:30
mahdium
0f96344543
Modernize admin UI with React and update templates
2025-05-24 10:51:55 +03:30
mahdium
d35a93e4bc
Update login redirect path from root to /admin/ endpoint
2025-05-18 14:47:23 +03:30
mahdium
e97b9bdb0c
Update API endpoints and navigation paths in admin templates
2025-05-18 14:28:02 +03:30
mahdium
5e8fd13ea4
Fix login API endpoint path by removing redundant 'admin/' prefix
2025-05-18 14:16:00 +03:30
mahdium
7659cca37e
Add web templates and handlers for home, embed card, and admin pages
2025-05-18 12:23:00 +03:30
mahdium
a1b3bfa18d
Update import path from requestModels to dto package and update struct references
2025-05-17 20:49:56 +03:30
mahdium
9565c06fba
Add JWT auth and .env support for admin login
2025-05-17 20:47:04 +03:30
mahdium
0d9cf11687
Remove unused imports and fix import alias naming
2025-05-17 20:29:07 +03:30
mahdium
7b601e75ba
Refactor app structure: move models to domain, centralize config and database init - TODO: add jwt
2025-05-17 20:07:29 +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
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
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