Mohammad Mahdi mahdium
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-24 10:19:30 +02:00
c4a192ac80 Add database indexes for PostID and approval status in MediaAttachment model
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-24 09:22:32 +02:00
0f96344543 Modernize admin UI with React and update templates
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-18 13:17:40 +02:00
d35a93e4bc Update login redirect path from root to /admin/ endpoint
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-18 12:58:24 +02:00
e97b9bdb0c Update API endpoints and navigation paths in admin templates
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-18 12:46:16 +02:00
5e8fd13ea4 Fix login API endpoint path by removing redundant 'admin/' prefix
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-18 12:37:47 +02:00
501cdb0f15 Remove nonroot user from Dockerfile
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-18 12:29:32 +02:00
98c56daf24 Switch from static to base Debian 12 distroless image for runtime support
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-18 12:17:04 +02:00
d9fdd6919f Enable CGO in Dockerfile build step for Linux compilation
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-18 12:01:21 +02:00
686eaec0ad Replace panic with slog.Error when .env file loading fails
60a55e3ad8 Fix Docker COPY paths to use absolute destination directories
Compare 2 commits »
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-18 11:34:47 +02:00
36aa4589f3 Fix go build path by adding ./ prefix for proper module resolution
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-18 11:32:30 +02:00
e668e795fb Fix build path to specify main.go entry point in Dockerfile
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-18 11:29:08 +02:00
ad790b3d36 Add Docker build configuration and CI/CD pipeline for container deployment
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-18 11:16:51 +02:00
0294418950 Create data dir and move DB file into it for better organization
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-18 10:53:45 +02:00
7659cca37e Add web templates and handlers for home, embed card, and admin pages
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-17 20:10:19 +02:00
0854387eb4 Fix string formatting in logging statements using strconv.Itoa
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-17 20:07:53 +02:00
99e3debf7c Replace log package with slog for structured logging and improve error handling
mahdium opened issue mahdium/CatsOfMastodonGo#1 2025-05-17 19:40:04 +02:00
Serve HTML templates with gin
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-17 19:38:16 +02:00
3d7a3a043f Refactor config usage to access values through Config singleton
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-17 19:20:01 +02:00
a1b3bfa18d Update import path from requestModels to dto package and update struct references
mahdium pushed to main at mahdium/CatsOfMastodonGo 2025-05-17 19:17:35 +02:00
9565c06fba Add JWT auth and .env support for admin login
0d9cf11687 Remove unused imports and fix import alias naming
Compare 2 commits »