100 Commits
Author SHA1 Message Date
mahdium 9ab29a3a15 Update some packages 2025-04-24 19:07:52 +03:30
mahdium 6c5fe1bc00 Added cors 2025-04-24 19:07:43 +03:30
mahdium 8f9396c791 Minor UX improvement to web UI 2025-03-10 15:58:48 +03:30
mahdium 83023a31a7 Minor improvements to broken images handling in web UI 2025-03-10 15:43:13 +03:30
mahdium a1aab1ac1f Change webUI font 2025-03-04 15:00:00 +03:30
mahdium bb950b97a7 Update .dockerignore
release / Build and push Docker image (push) Has been cancelled
2025-02-26 14:00:26 +03:30
mahdium 4ce1b29d86 Update some packages - Add some personal notes 2025-02-26 13:59:41 +03:30
mahdium b343438f9e Performance improvements on finding a random post for API and bot '/start' command
release / Build and push Docker image (push) Has been cancelled
2025-02-26 13:41:43 +03:30
mahdium 39fa7a8219 Update Telegram.Bot package - Update to chiseled image for docker base image
release / Build and push Docker image (push) Successful in 2m38s
2025-02-08 19:05:31 +03:30
mahdium 7f26e080a4 Minor improvements to web UI
release / Build and push Docker image (push) Failing after 1m2s
2025-02-08 00:16:22 +03:30
mahdium 787a9dd09b Performance improvements
release / Build and push Docker image (push) Successful in 1m11s
2025-01-04 23:06:13 +03:30
mahdium 59410c1458 Removed binary build from gitlab ci 2025-01-04 23:05:50 +03:30
mahdium 4a1bee3b94 Minor fix
release / Build and push Docker image (push) Successful in 1m11s
2025-01-04 17:49:42 +03:30
mahdium e842b5129f Minor fix
release / Build and push Docker image (push) Successful in 2m58s
2025-01-04 17:44:45 +03:30
mahdium cc8d5cb235 Gitea actions final fix
release / Build and push Docker image (push) Failing after 20s
2025-01-04 17:41:31 +03:30
mahdium aaee37c359 Gitea actions final fix
release / Build and push Docker image (push) Successful in 1m34s
2025-01-04 17:34:40 +03:30
mahdium cabdb39a55 Try to fix gitea actions
release / Build and push Docker image (push) Successful in 1m21s
2025-01-04 17:30:37 +03:30
mahdium e3f6c653dd Try to fix gitea actions
release / Build and push Docker image (push) Failing after 2m43s
2025-01-04 17:26:19 +03:30
mahdium 28a0ff65a0 build-push-action to v5
release / Build and push Docker image (push) Failing after 2m33s
2025-01-04 17:21:58 +03:30
mahdium 1d31d2d456 Trying to find the issue with the gitea actions
release / Build and push Docker image (push) Failing after 2m43s
2025-01-04 17:15:24 +03:30
mahdium 3354be62b6 Minor fixes for gitea actions
release / Build and push Docker image (push) Failing after 2m53s
2025-01-04 17:10:54 +03:30
mahdium 8251fdefdb Fuck it
Create and publish Docker image / docker (push) Successful in 3m13s
2025-01-04 17:06:29 +03:30
mahdium d5ae55c52d TRY to fix gitea actions
release / Build and push Docker image (push) Failing after 3m21s
2025-01-04 16:52:01 +03:30
mahdium 69e8fae4c5 No cache
release / Build and push Docker image (push) Failing after 3m42s
2025-01-04 16:39:36 +03:30
mahdium 4df22690f7 Maybe fix cache?
release / Build and push Docker image (push) Has been cancelled
2025-01-04 16:34:53 +03:30
mahdium d871bd311c Now
release / Build and push Docker image (push) Failing after 2m37s
2025-01-04 16:24:29 +03:30
mahdium 10323af4a4 Wwhat about now? 2025-01-04 16:23:13 +03:30
mahdium 4fc971d1b4 TRY TO FIX CI 2025-01-04 16:20:38 +03:30
mahdium fdc5ee9728 TRY TO FIX CI 2025-01-04 16:18:57 +03:30
mahdium 68895724d7 GOD DAMN DOCKER
release / Build and push Docker image (push) Failing after 2m53s
2025-01-04 16:13:04 +03:30
mahdium b73118266c Minor fixes to gitea actions
release / Build and push Docker image (push) Failing after 2m53s
2025-01-04 16:02:25 +03:30
mahdium 9c27064237 Remove dotnet build in gitea actions 2025-01-04 15:57:07 +03:30
mahdium 860385e08f Minor fixes to gitea actions
release / Build .NET Application (push) Has been cancelled
release / Build and push Docker image (push) Failing after 7m50s
2025-01-04 15:51:15 +03:30
mahdium d035251258 Minor fixes to gitea actions
release / Build .NET Application (push) Failing after 22s
release / Build and push Docker image (push) Has been cancelled
2025-01-04 15:48:28 +03:30
mahdium eaf440c5ae Small fixes to gitea actions
release / Build .NET Application (push) Failing after 5m39s
release / Build and push Docker image (push) Failing after 8m19s
2025-01-04 15:30:32 +03:30
mahdium eb4160e207 Fix gitea artifacts and add docker cache layer
release / Build .NET Application (push) Has been cancelled
release / Build and push Docker image (push) Has been skipped
2025-01-04 15:20:39 +03:30
mahdium 3e6cf9ffa1 Gitea docker test 1
release / Build .NET Application (push) Successful in 5m48s
release / Build and push Docker image (push) Failing after 3m27s
2025-01-04 14:41:10 +03:30
mahdium 51eaccca63 Update dotnet version to 9
release / check and build (push) Failing after 4m45s
2025-01-04 14:08:28 +03:30
mahdium e38e5884a1 gitea actions label fix
release / check and build (push) Failing after 4m39s
2025-01-04 00:33:43 +03:30
mahdium 81ecf7d1f8 Retry gitea actions
release / check and build (push) Waiting to run
2025-01-04 00:28:39 +03:30
mahdium 153d9c577b Add socks proxy support 2025-01-02 16:10:37 +03:30
mahdium 798a80e820 Fixed webserver prevention the rest of the program to run 2024-12-31 23:31:11 +03:30
mahdium d02d5744ff New feature: Web api and a custom webpage to show a random cat. 2024-12-29 15:57:10 +03:30
mahdium 340192d7f0 Fixed database update - general improvements 2024-12-22 18:47:14 +03:30
mahdium 3c80744b80 Improve code readability 2024-12-20 23:15:26 +03:30
mahdium aa2feea611 Better error handling 2024-12-20 23:03:38 +03:30
mahdium e1b4cb65f3 Merge remote-tracking branch 'origin/main' 2024-12-16 14:26:20 +03:30
mahdium 24d5175e7b Add more async database functions 2024-12-16 14:26:06 +03:30
mahdium 16134407a7 Update .gitlab-ci.yml file 2024-12-15 18:35:22 +00:00
mahdium dc38ce927f Finish migration to MongoDb and general improvements 2024-12-15 21:22:36 +03:30
mahdium 29011e34f9 Fix extra values 2024-12-15 18:03:18 +03:30
mahdium 811a54e24d Add Dockerfile and modify gitlab CI to build the docker 2024-12-15 17:36:22 +03:30
mahdium ef8c7f2ee9 Finished the migration to MongoDb (NOT TESTED) 2024-12-15 17:32:26 +03:30
mahdium fbe0d500d9 Stage 1 of migrating to MongoDb - fully added mongodb 2024-12-15 17:01:48 +03:30
mahdium e0cdcf1198 Implemented MongoDb Basics 2024-12-06 13:35:47 +03:30
mahdium 4495e6b605 Added MongoDb connection string to config options 2024-12-06 13:11:47 +03:30
mahdium 321f48660d Added more logging 2024-12-03 18:05:24 +03:30
mahdium 3e73caade3 Removed unused code 2024-12-01 21:04:39 +03:30
mahdium 2841934d92 Added additional parameters for logging 2024-12-01 21:04:04 +03:30
mahdium 32c0cd4c58 Fixed custom instance 2024-12-01 21:03:21 +03:30
mahdium 45e790ef1a Update download ink for pipeline artifacts 2024-11-13 21:36:11 +03:30
mahdium d35dcd9a54 Maybe fixing the diplicate image problem? 2024-11-13 21:15:14 +03:30
mahdium 71be9a43e1 [NOT TESTED] - fixing the duplicate media attachment but 2024-11-11 17:56:43 +03:30
mahdium 972167634f Now not accepting posts from bot accounts - improved error handling 2024-11-07 00:12:10 +03:30
mahdium 79deb67848 Only send start message if the received message is from a private account 2024-11-06 20:08:30 +03:30
mahdium 97b06b7b4e Fixed callback error on "send me another cat" button 2024-11-05 20:54:56 +03:30
mahdium 0c0ee21049 fixed trimmed publish problem 2024-11-05 17:55:57 +03:30
mahdium 58c6be0eba fixed gitlab ci 2024-11-05 17:49:17 +03:30
mahdium c2c7732552 Migrate to dotnet 9 and minor improvements 2024-11-05 17:47:17 +03:30
mahdium 51747b3e3d Migrate to Telegram.Bot v22 and some minor improvements 2024-11-05 17:25:29 +03:30
mahdium 0830847336 Fixed timer bug 2024-10-31 22:18:21 +03:30
mahdium 51fc4cb3fa Added new code to keep the bot running 2024-10-31 15:46:56 +03:30
mahdium d4b79e693c Removed prev commit code due to incomatiblity with systemd 2024-10-31 15:42:11 +03:30
mahdium 4d751ec278 Now program exits at the press of Q. 2024-10-31 15:35:05 +03:30
mahdium ae45c7aa5a Fixed minor bug 2024-10-31 15:26:49 +03:30
mahdium d680ae818d Added DB backup command
Added automated backup every 1 hour
2024-10-31 15:16:42 +03:30
mahdium 4cb0ada1d0 fix typo 2024-10-31 14:54:46 +03:30
mahdium 819ce8ced2 Never trust AI 2024-10-07 20:08:42 +03:30
mahdium 78c69f123e Merge remote-tracking branch 'origin/main' 2024-10-07 20:02:26 +03:30
mahdium c70f1ca0cd Bug fix 2024-10-07 20:01:55 +03:30
mahdium f6e4c96507 Bug fix 2024-10-07 19:56:51 +03:30
mahdium 6b3aab913c Improved fetching config data, implemented envinronmet variable support alongside .env support 2024-10-07 19:38:38 +03:30
mahdium c675824820 Added media type formatting 2024-09-25 23:21:05 +03:30
mahdium 86aa430394 Added additional logging and implemented post handling if the message is already approved 2024-09-25 23:06:18 +03:30
mahdium 826f862e9a revert back the code 2024-09-16 20:19:18 +03:30
mahdium 7e18f211db removed unused code 2024-09-16 20:02:13 +03:30
mahdium 81e24f034d Minor fix - TODO: add .env entry for it 2024-09-16 01:35:39 +03:30
mahdium 0b24b7ad36 Fixed /start command issue - tested 2024-09-16 01:27:56 +03:30
mahdium ef6520e08d revert back changes 2024-09-16 00:49:38 +03:30
mahdium e14c8023d5 Refactor update handling logic in MastodonBot class to use if/else instead of switch. 2024-09-16 00:44:09 +03:30
mahdium 9fd9364257 Refactor bot event handling, add OnMessage call in OnUpdate. 2024-09-16 00:37:27 +03:30
mahdium 91b28d34b6 Merge remote-tracking branch 'origin/main' 2024-09-16 00:28:22 +03:30
mahdium c92442ad99 a fix to the latest code 2024-09-16 00:27:57 +03:30
mahdium 79f2318a64 Merge remote-tracking branch 'origin/main' 2024-09-16 00:26:29 +03:30
mahdium 5fde0d3169 Merge remote-tracking branch 'origin/main' 2024-09-16 00:08:05 +03:30
mahdium 94ee45d9bd added /start message handling 2024-09-16 00:07:24 +03:30
mahdium 8b758e0bf4 Update README.md 2024-09-15 10:31:51 +00:00
mahdium 7e94e39a78 No need for gitea 2024-09-15 00:00:20 +03:30
mahdium c6c8f3ba3f minor fix
release / check and build (push) Has been cancelled
2024-09-14 23:26:42 +03:30
mahdium c5136bd8f3 change runner to g7s 2024-09-14 23:24:40 +03:30