Commit graph

155 commits

Author SHA1 Message Date
mykola2312
a85e36f1f2 use tmp file struct instead of paths and manual file deletion 2024-03-30 05:11:46 +02:00
mykola2312
9cc888258f use telegram bot api only in production 2024-03-30 05:11:11 +02:00
mykola2312
82897a8e36 begin implementing tmp file struct for better file management 2024-03-30 04:39:56 +02:00
mykola2312
1c356eb899 fix jenkins pipeline bug so kubectl will restart deployment in mk-dl-bot namespace. I had to sage down to v0.1.1 for that fix 2024-03-29 14:08:28 +02:00
mykola2312
36f6d294fc increment version for next release 2024-03-16 13:36:38 +02:00
mykola2312
c3bea2890a fix tg config so it passes all required arguments 2024-03-16 12:03:11 +02:00
mykola2312
54e8158375 increment version to 0.1.1 for this rollout 2024-03-16 11:01:17 +02:00
mykola2312
ea193a8b0f implement telegram-bot-api StatefulSet and ClusterIP service 2024-03-16 10:48:56 +02:00
mykola2312
5bc4c47145 begin implementing k8s config for telegram-bot-api 2024-03-16 10:38:22 +02:00
mykola2312
1b46462051 make separate k8s namespace 2024-03-16 10:28:49 +02:00
mykola2312
d8e8b61020 rename 2024-03-16 05:53:08 +02:00
mykola2312
49fc4056ad always delete intermediate files 2024-03-16 05:52:39 +02:00
mykola2312
968eedc7ee implement audio and video stream downloading. doesnt work because of telegram api too large error 2024-03-16 05:48:40 +02:00
mykola2312
578d236c64 begin implementing 1080p downloading (requires both video and audio downloaded separately and joined) 2024-03-16 05:23:55 +02:00
mykola2312
240b05c03c cargo fmt 2024-03-16 03:03:45 +02:00
mykola2312
2910036a4c implement default format fallback 2024-03-16 03:03:33 +02:00
mykola2312
d3db232424 increment version 2024-03-15 22:03:20 +02:00
mykola2312
83bc58646a make jenkins apply new k8s configs 2024-03-15 21:26:13 +02:00
mykola2312
4aa86fd389 use version tags 2024-03-15 21:11:37 +02:00
mykola2312
960bd0eedf remove unnecessary command aliases 2024-03-15 20:18:42 +02:00
mykola2312
063af57cdb implement versioning 2024-03-15 20:18:00 +02:00
mykola2312
4ed75c0128 we will load env file only in debug builds 2024-03-14 19:05:46 +02:00
mykola2312
04f805b0d0 change tag 2024-03-14 02:47:36 +02:00
mykola2312
39c6ba4f69 fix tag 2024-03-14 02:41:38 +02:00
mykola2312
3587f91320 maybe withEnv would work 2024-03-14 02:31:27 +02:00
mykola2312
388495a340 add docker buildkit to jenkinsfile 2024-03-14 02:28:49 +02:00
mykola2312
a0d1828cf4 introduce jenkinsfile 2024-03-14 02:12:29 +02:00
mykola2312
2dcee126c7 implement k8s infrastructure 2024-03-09 17:33:14 +02:00
mykola2312
c75afc4163 rename folder 2024-03-09 15:53:27 +02:00
mykola2312
f93305ae6f update readme 2024-03-09 15:51:46 +02:00
mykola2312
2ad091e155 add locales to container and caching (tho it doesnt work) 2024-03-09 15:19:50 +02:00
mykola2312
56e56ef558 fix dockerfile 2024-03-09 07:25:09 +02:00
mykola2312
faec112523 implement proper docker compose with database 2024-03-09 07:23:26 +02:00
mykola2312
54d2f3081d load dotenv only in debug builds 2024-03-09 06:38:12 +02:00
mykola2312
98305e7dee fix bug related to chat permission requests when approve/decline commands may targeted wrong chats because of wrong sql query 2024-03-08 08:42:12 +02:00
mykola2312
59da98cc7f fix sql 2024-03-08 08:35:23 +02:00
mykola2312
75a4fcd186 fix sql 2024-03-08 08:21:39 +02:00
mykola2312
38696fa2b4 fix sql errors 2024-03-08 08:20:50 +02:00
mykola2312
6def619161 migrate sql queries to postgres 2024-03-08 08:16:53 +02:00
mykola2312
d40b396f4f migrate all sql queries to postgres 2024-03-08 07:58:53 +02:00
mykola2312
cc9979086f begin migrating to postgres 2024-03-08 07:01:12 +02:00
mykola2312
0082d1feb5 make utility function to parse env 2024-03-08 05:24:39 +02:00
mykola2312
caa4bc1a91 cargo fmt 2024-03-08 05:24:09 +02:00
mykola2312
3d821e3ba5 implement download permission request system for chats 2024-03-04 00:59:24 +02:00
mykola2312
1248e37fdc fix typos 2024-03-03 23:48:18 +02:00
mykola2312
b0f76424e7 implement approve and decline commands 2024-03-03 23:40:30 +02:00
mykola2312
42a8be42fd implement macro to automatically parse integers from bot messages 2024-03-03 23:33:29 +02:00
mykola2312
1399d8d248 implement listrequests command 2024-03-03 22:33:05 +02:00
mykola2312
c641a872b4 begin implementing request listing 2024-03-03 22:26:58 +02:00
mykola2312
50ae9f279c request messages should never be nullable 2024-03-03 22:26:47 +02:00