Commit Graph

75 Commits

Author SHA1 Message Date
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
d646515776 Implement user login with password hash verification and username lookup 2025-05-15 12:24:48 +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
aded00daf1 Increase post fetch interval and add initial fetch on startup 2025-05-14 21:07:56 +03:30
3007b41f0d Add HTML template and implement homepage with random cat posts 2025-05-14 20:39:56 +03:30
ac86f8d2f0 Update JSON tags for Approved and Rejected fields in MediaAttachment model 2025-05-14 20:14:55 +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
02461d0bb0 Improve logging format and clarity for post/account insertion stats 2025-05-14 14:56:18 +03:30
8c7cfbd956 Replace fatal error handling with proper error propagation and logging 2025-05-14 14:55:13 +03:30
a9dc376409 Add Rejected field to MediaAttachment model 2025-05-13 23:06:51 +03:30
61a48c1cf4 Add random post selection 2025-05-13 22:58:46 +03:30
f9ec882cd9 Add periodic post fetching and update default Mastodon instance to mstdn.party 2025-05-13 22:47:52 +03:30
117fe3dd34 Refactor app context setup and move API fetch logic to PostService 2025-05-13 17:32:29 +03:30
99e385889a Add database and post service to app contexts 2025-05-13 16:45:58 +03:30
a405289b33 Refactor db operations into PostService and add OnConflict for account inserts 2025-05-13 15:47:01 +03:30
25d9b67be6 Add user management and improve code organization with context structs 2025-05-13 15:00:42 +03:30
75bad5e091 Add web server with admin dashboard and media approval endpoints 2025-05-11 22:14:32 +03:30
3e7f6b92d3 Changed project structure 2025-05-11 20:43:56 +03:30
8be6290635 Filter bot posts and add env vars for instance and tag configuration 2025-05-10 22:26:15 +03:30
5a897b5412 Add migrations helper and refactor DB operations with environment variable support 2025-05-10 22:18:38 +03:30
0533151c1b Refactor database operations and move helpers to separate package 2025-05-10 21:33:50 +03:30
e3f2f3199d Added .gitignore 2025-05-10 21:33:28 +03:30
7f567a7adb first commit 2025-05-10 20:35:16 +03:30