mykola2312
|
6ac64055cc
|
testing purposes
|
2024-03-31 16:37:57 +03: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
|
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
|
240b05c03c
|
cargo fmt
|
2024-03-16 03:03:45 +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
|
faec112523
|
implement proper docker compose with database
|
2024-03-09 07:23:26 +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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
d0dafee2a6
|
remove cmd db test
|
2024-03-02 02:18:02 +02:00 |
|
mykola2312
|
073800eb61
|
rearrange mod file structure
|
2024-03-02 02:10:11 +02:00 |
|
mykola2312
|
a2349bde09
|
begin messing around with sqlx
|
2024-03-02 01:50:30 +02:00 |
|
mykola2312
|
506a2287b9
|
introduce sqlx migrations
|
2024-02-29 16:23:15 +02:00 |
|
mykola2312
|
bb0b1a5a00
|
fix unused
|
2024-02-28 18:03:38 +02:00 |
|
mykola2312
|
c3a97c74e3
|
introduce logging to important functions
|
2024-02-26 22:46:08 +02:00 |
|
mykola2312
|
ae3c0a9557
|
make proper logging to file as well as writing errors to stderr. ditch idea with non_blocking because that's not async thing
|
2024-02-26 21:42:10 +02:00 |
|
mykola2312
|
7987e13b2a
|
implement tracing logging
|
2024-02-26 19:22:24 +02:00 |
|
mykola2312
|
524b7970e0
|
make SqlitePool a dptree dependency, so handlers would have access to database
|
2024-02-26 00:42:28 +02:00 |
|
mykola2312
|
f87834a4f4
|
begin embedding sqlx into teloxide handlers
|
2024-02-25 23:44:05 +02:00 |
|
mykola2312
|
64d1f67e16
|
move generic bot download function to its own function to avoid code duplication
|
2024-02-24 15:23:57 +02:00 |
|
mykola2312
|
95a341f77c
|
write function to find all urls in text
|
2024-02-24 14:32:08 +02:00 |
|
mykola2312
|
8b9a7a0bcc
|
remove message log spam
|
2024-02-21 21:39:41 +02:00 |
|
mykola2312
|
1fd2c2be30
|
implement bot command to download video
|
2024-02-21 21:04:21 +02:00 |
|
mykola2312
|
d8ea0e7490
|
do renaming for command handlers so it wouldn't conflict with other functions
|
2024-02-21 18:42:09 +02:00 |
|
mykola2312
|
0bee30ea0a
|
move everything related to telegram bot to appropriate module
|
2024-02-21 14:52:54 +02:00 |
|