a751ac9d4b 
					 
					
						
						
							
							tidy go packages  
						
						 
						
						
						
						
					 
					
						2025-09-25 21:48:56 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f93e004bbf 
					 
					
						
						
							
							Updated admin panel, replaced with plain html and alpine js  
						
						 
						
						
						
						
					 
					
						2025-09-25 21:44:14 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						94694741a7 
					 
					
						
						
							
							modernize the codebase  
						
						 
						
						... 
						
						
						
						Run the modernize linter across the codebase.
Change generated by running:
```
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...
```
Ref:
https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/modernize  
						
						
					 
					
						2025-09-23 09:13:29 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						fc1502c4a0 
					 
					
						
						
							
							fix:  🐛  GetMedia imageKit dependencie  
						
						 
						
						
						
						
					 
					
						2025-09-22 13:49:21 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1a2baa2c6a 
					 
					
						
						
							
							Removed unused logging  
						
						 
						
						
						
						
					 
					
						2025-09-22 13:38:33 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ec423700fc 
					 
					
						
						
							
							Move to bookworm golang image  
						
						 
						
						
						
						
					 
					
						2025-09-16 12:47:19 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ff1e9d810b 
					 
					
						
						
							
							Update dockerfile to install build-base in the build stage  
						
						 
						
						
						
						
					 
					
						2025-09-16 12:38:13 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9bcdcf337d 
					 
					
						
						
							
							Added gcc to docker build stage  
						
						 
						
						
						
						
					 
					
						2025-09-16 12:35:32 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						228d1bffc1 
					 
					
						
						
							
							Update dockerfile build image  
						
						 
						
						
						
						
					 
					
						2025-09-16 12:26:13 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6d15ce2df9 
					 
					
						
						
							
							Improved logging with zap  
						
						 
						
						
						
						
					 
					
						2025-09-16 12:23:12 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a7ef859c43 
					 
					
						
						
							
							Fix api attachment urls  
						
						 
						
						
						
						
					 
					
						2025-07-29 20:40:53 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ba06de2c11 
					 
					
						
						
							
							Update admin dash  
						
						 
						
						
						
						
					 
					
						2025-07-29 19:29:07 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8dcdd27745 
					 
					
						
						
							
							Minor improvements to admin panel API  
						
						 
						
						
						
						
					 
					
						2025-07-29 19:21:15 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a43bcc9c14 
					 
					
						
						
							
							Update admin panel  
						
						 
						
						
						
						
					 
					
						2025-07-29 19:10:12 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						71800440be 
					 
					
						
						
							
							Add imagekit fallback on no imagekit ID  
						
						 
						
						
						
						
					 
					
						2025-07-29 17:55:16 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						051408fcdd 
					 
					
						
						
							
							Added imagekit optimization support  
						
						 
						
						
						
						
					 
					
						2025-07-29 17:52:39 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						48b893a403 
					 
					
						
						
							
							remove unused code  
						
						 
						
						
						
						
					 
					
						2025-07-26 22:43:06 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0a0af6b04b 
					 
					
						
						
							
							Minor updates  
						
						 
						
						
						
						
					 
					
						2025-07-25 22:19:29 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						85fe309b05 
					 
					
						
						
							
							Cleanup the dto models  
						
						 
						
						
						
						
					 
					
						2025-07-25 22:17:42 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e7b8338932 
					 
					
						
						
							
							Add docker build cache to gitlab CI  
						
						 
						
						
						
						
					 
					
						2025-07-25 14:06:10 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ccb810ee69 
					 
					
						
						
							
							Improve random post picker  
						
						 
						
						
						
						
					 
					
						2025-07-25 13:59:28 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cc2e2fe0a0 
					 
					
						
						
							
							Set mysql connctions limit  
						
						 
						
						
						
						
					 
					
						2025-07-25 13:02:46 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						714443156e 
					 
					
						
						
							
							Fix MariaDB RANDOM() eror  
						
						 
						
						
						
						
					 
					
						2025-07-25 12:28:07 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b818726b1b 
					 
					
						
						
							
							Fix mysql Foreign key constraint error  
						
						 
						
						
						
						
					 
					
						2025-07-25 12:15:44 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						63b524277f 
					 
					
						
						
							
							Dep updates  
						
						 
						
						
						
						
					 
					
						2025-07-25 11:50:20 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e0aa177f07 
					 
					
						
						
							
							Add mysql support  
						
						 
						
						
						
						
					 
					
						2025-07-25 11:50:08 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						71ed94d943 
					 
					
						
						
							
							Improve embed page  
						
						 
						
						
						
						
					 
					
						2025-07-25 11:49:43 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						15485b03d4 
					 
					
						
						
							
							Minor improvements  
						
						 
						
						
						
						
					 
					
						2025-07-11 17:59:38 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						09772a423c 
					 
					
						
						
							
							Added retry  
						
						 
						
						
						
						
					 
					
						2025-07-11 17:59:28 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0c6160b756 
					 
					
						
						
							
							Move GIN_MODE=release from build args to runtime environment variable  
						
						 
						
						
						
						
					 
					
						2025-06-25 16:33:08 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						212637051f 
					 
					
						
						
							
							Update dependencies and organize go.mod file  
						
						 
						
						
						
						
					 
					
						2025-06-25 15:59:48 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d266c93b8a 
					 
					
						
						
							
							Add database indexes for better query performance and allow robots.txt access  
						
						 
						
						
						
						
					 
					
						2025-06-25 15:57:50 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						95f5e03f65 
					 
					
						
						
							
							Update admin UI assets and add robots.txt  
						
						 
						
						
						
						
					 
					
						2025-06-11 09:14:51 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						593d32438a 
					 
					
						
						
							
							Set GIN_MODE to release during build for production environment  
						
						 
						
						
						
						
					 
					
						2025-06-05 18:47:01 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						22adcee9d2 
					 
					
						
						
							
							Use RemoteUrl instead of PreviewUrl and increase API timeout to 60 seconds  
						
						 
						
						
						
						
					 
					
						2025-06-05 18:15:16 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c4a192ac80 
					 
					
						
						
							
							Add database indexes for PostID and approval status in MediaAttachment model  
						
						 
						
						
						
						
					 
					
						2025-05-24 11:49:21 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0f96344543 
					 
					
						
						
							
							Modernize admin UI with React and update templates  
						
						 
						
						
						
						
					 
					
						2025-05-24 10:51:55 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d35a93e4bc 
					 
					
						
						
							
							Update login redirect path from root to /admin/ endpoint  
						
						 
						
						
						
						
					 
					
						2025-05-18 14:47:23 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e97b9bdb0c 
					 
					
						
						
							
							Update API endpoints and navigation paths in admin templates  
						
						 
						
						
						
						
					 
					
						2025-05-18 14:28:02 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5e8fd13ea4 
					 
					
						
						
							
							Fix login API endpoint path by removing redundant 'admin/' prefix  
						
						 
						
						
						
						
					 
					
						2025-05-18 14:16:00 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						501cdb0f15 
					 
					
						
						
							
							Remove nonroot user from Dockerfile  
						
						 
						
						
						
						
					 
					
						2025-05-18 14:07:40 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						98c56daf24 
					 
					
						
						
							
							Switch from static to base Debian 12 distroless image for runtime support  
						
						 
						
						
						
						
					 
					
						2025-05-18 13:59:16 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d9fdd6919f 
					 
					
						
						
							
							Enable CGO in Dockerfile build step for Linux compilation  
						
						 
						
						
						
						
					 
					
						2025-05-18 13:46:56 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						686eaec0ad 
					 
					
						
						
							
							Replace panic with slog.Error when .env file loading fails  
						
						 
						
						
						
						
					 
					
						2025-05-18 13:31:03 +03:30  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						60a55e3ad8 
					 
					
						
						
							
							Fix Docker COPY paths to use absolute destination directories  
						
						 
						
						
						
						
					 
					
						2025-05-18 13:08:11 +03:30