mykola2312
|
82897a8e36
|
begin implementing tmp file struct for better file management
|
2024-03-30 04:39:56 +02:00 |
|
mykola2312
|
36f6d294fc
|
increment version for next release
|
2024-03-16 13:36:38 +02:00 |
|
mykola2312
|
ea193a8b0f
|
implement telegram-bot-api StatefulSet and ClusterIP service
|
2024-03-16 10:48:56 +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
|
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
|
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
|
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
|
a2cf3138d7
|
every struct should be debuggable
|
2024-03-03 22:20:59 +02:00 |
|
mykola2312
|
22b2bbd832
|
so bug was using AND instead of comma in UPDATE query. rookie mistake
|
2024-03-03 20:10:49 +02:00 |
|
mykola2312
|
ca5019cf44
|
fix bug when op wasn't setting admin access (when user was already created), add indecies on telegram ids in database
|
2024-03-03 20:02:50 +02:00 |
|
mykola2312
|
5bd38ee220
|
fix sql bug
|
2024-03-03 19:28:15 +02:00 |
|
mykola2312
|
1796a360ae
|
implement request command
|
2024-03-03 19:26:30 +02:00 |
|
mykola2312
|
d47f62919f
|
begin implementing permission requesting system
|
2024-03-03 19:05:29 +02:00 |
|
mykola2312
|
f99490d3b8
|
introduct macro to automatically reply with i18n message and return from command handler
|
2024-03-03 18:54:26 +02:00 |
|
mykola2312
|
bc045e9b72
|
add request_chat table for requesting access to download for chats
|
2024-03-03 18:05:16 +02:00 |
|
mykola2312
|
1213e35820
|
start cmd now works in chats as well
|
2024-03-03 18:02:03 +02:00 |
|
mykola2312
|
b4e711a07d
|
implement new chat memebers message handler to be able to know where bot have been added to register chat in database
|
2024-03-03 17:35:20 +02:00 |
|
mykola2312
|
3dfbb6fd6e
|
implement my chat member update handler so bot will know when added to chat or channel and will add record to database
|
2024-03-03 16:58:17 +02:00 |
|
mykola2312
|
d0ea664ad3
|
implement macro for get and creating database objects
|
2024-03-03 00:44:38 +02:00 |
|
mykola2312
|
03665f183d
|
move all bot reply message texts to i18n yml file to avoid litering code with long strings
|
2024-03-02 20:16:18 +02:00 |
|
mykola2312
|
206965ed57
|
implement command start (for private chats)
|
2024-03-02 19:04:02 +02:00 |
|
mykola2312
|
b460747a72
|
impl Display for User so logging would be easy
|
2024-03-02 18:55:23 +02:00 |
|
mykola2312
|
89a12defee
|
revert idea with Arc<DbPool> because sqlx is already Arc internally
|
2024-03-02 17:57:32 +02:00 |
|
mykola2312
|
24bdf0593e
|
implement user opping (elevating permissions to admin), use
Arc<SqlitePool> because dptree seems to clone deps everytime a dispatch
happens
|
2024-03-02 08:39:43 +02:00 |
|
mykola2312
|
296aa0f043
|
implement op command to give myself admin permissions
|
2024-03-02 04:55:23 +02:00 |
|
mykola2312
|
cd92f2de43
|
disable filter because it actually suppresses all errors, not just timeout errors
|
2024-03-02 04:55:11 +02:00 |
|
mykola2312
|
c105166a8d
|
introduce db pool type instead of hard-coded SqlitePool
|
2024-03-02 03:07:12 +02:00 |
|
mykola2312
|
2760141df2
|
rearrange file structure for bot commands
|
2024-03-02 02:53:54 +02:00 |
|
mykola2312
|
7db87e3e22
|
implement db structures for mapping
|
2024-03-02 02:22:31 +02:00 |
|