Akulij
|
e6c9cfb0c1
|
fix warnings in botscript.rs
|
2025-06-07 02:27:24 +05:00 |
|
Akulij
|
0c3fb0788a
|
delete unnecessary printlns
|
2025-06-07 02:10:04 +05:00 |
|
Akulij
|
bd8b1e8843
|
impl GetCollection via async_trait
|
2025-06-07 02:08:00 +05:00 |
|
Akulij
|
5a7bb0e0f6
|
clippy fix
|
2025-06-07 01:50:30 +05:00 |
|
Akulij
|
4a090de77b
|
fix warnings in src/message_answerer.rs
|
2025-06-07 01:46:35 +05:00 |
|
Akulij
|
3bb03365ed
|
fix warnings in main.rs
|
2025-06-07 01:43:50 +05:00 |
|
Akulij
|
b27edd421d
|
delete not used anymore UserCommands
|
2025-06-07 01:40:12 +05:00 |
|
Akulij
|
7752160807
|
delete unused functions in main.rs
|
2025-06-07 01:39:01 +05:00 |
|
Akulij
|
3dbfbe48ce
|
fix: reuse init logic in Runner::init_with_db
|
2025-06-07 01:37:34 +05:00 |
|
Akulij
|
99403b7282
|
fix: implement js's db callback without box leak
|
2025-06-07 01:28:21 +05:00 |
|
Akulij
|
b8bd104f3d
|
use CallbackInfo for buttons
|
2025-06-06 03:32:58 +05:00 |
|
Akulij
|
6e31fa86e6
|
create function that stores button parts and creates tg button wrapper
|
2025-06-06 03:32:27 +05:00 |
|
Akulij
|
bde3c1a0e1
|
fix: call "answer callback query" when handling callback
|
2025-06-06 02:08:39 +05:00 |
|
Akulij
|
20af818923
|
mainbot.js: define free_doc button
Build && Deploy / cargo build (push) Successful in 1m0s
|
2025-06-06 02:05:17 +05:00 |
|
Akulij
|
31d38fbf48
|
fix: make BotDialog variants optional via providing default value
Build && Deploy / cargo build (push) Successful in 1m2s
|
2025-06-06 01:57:04 +05:00 |
|
Akulij
|
37d2480b4a
|
update mainbot.js
Build && Deploy / cargo build (push) Successful in 1m5s
|
2025-06-06 01:52:18 +05:00 |
|
Akulij
|
a869362bf5
|
notify admin when literal not found instead of silently failing
|
2025-06-06 01:51:27 +05:00 |
|
Akulij
|
b114c80097
|
update handling of varianted messages
|
2025-06-06 01:38:22 +05:00 |
|
Akulij
|
591244b5a1
|
craate getter for varianted commands
|
2025-06-06 01:37:35 +05:00 |
|
Akulij
|
06a6542349
|
change design of variants implementation in BotConfig
|
2025-06-06 01:37:03 +05:00 |
|
Akulij
|
0bc7978c99
|
fix deserialization Message's created_at
|
2025-06-06 01:35:25 +05:00 |
|
Akulij
|
2e356ac067
|
make BotMessage's handler to recursively generate BotMessage
|
2025-06-06 00:19:37 +05:00 |
|
Akulij
|
2662a00776
|
provide MessageInfo to BotMessage's handler
|
2025-06-05 23:16:06 +05:00 |
|
Akulij
|
5669de716a
|
create MessageInfo and MessageInfoBuilder
|
2025-06-05 23:13:39 +05:00 |
|
Akulij
|
6d017b1993
|
fix: provide default serde value for BotMessage.variants
|
2025-06-05 23:12:56 +05:00 |
|
Akulij
|
8a3e8c4705
|
filter variant to use only defined in runtime config
Build && Deploy / cargo build (push) Successful in 1m5s
|
2025-06-05 22:59:28 +05:00 |
|
Akulij
|
50e2d6e824
|
use variants of messages
|
2025-06-05 22:59:12 +05:00 |
|
Akulij
|
c301b72f0c
|
create MessageVariant
|
2025-06-05 22:56:52 +05:00 |
|
Akulij
|
4103c5dfbe
|
create BotMessage.update_defaults method for some logic for default values
|
2025-06-05 22:36:30 +05:00 |
|
Akulij
|
303dbfdaa8
|
make BotMessage.meta optional
|
2025-06-05 22:35:51 +05:00 |
|
Akulij
|
b202f385fe
|
fix: make BotMessage.fill_literal consuming self
|
2025-06-05 22:35:16 +05:00 |
|
Akulij
|
3b4ab9b481
|
implement usage of BotMessage.meta flag in handle_botmessage
|
2025-06-05 22:21:44 +05:00 |
|
Akulij
|
f58f559f8d
|
create BotMessage.meta flag
|
2025-06-05 22:21:14 +05:00 |
|
Akulij
|
9dfa7c52d9
|
add field created_at to db::Message struct
Build && Deploy / cargo build (push) Successful in 1m3s
|
2025-06-05 21:48:47 +05:00 |
|
Akulij
|
4b91108d1a
|
do not show show_projects button (probably temporarly)
Build && Deploy / cargo build (push) Successful in 1m1s
|
2025-06-04 13:33:54 +05:00 |
|
Akulij
|
da4b5fdb09
|
add more buttons for more_info
Build && Deploy / cargo build (push) Successful in 1m7s
|
2025-06-04 13:05:45 +05:00 |
|
Akulij
|
47782ca08e
|
add emoji for "Go Home" button text
|
2025-06-04 13:05:24 +05:00 |
|
Akulij
|
03bb5b231e
|
replace on more_info
|
2025-06-04 13:05:03 +05:00 |
|
Akulij
|
bb32f5f823
|
change order of /start buttons
|
2025-06-04 13:04:26 +05:00 |
|
Akulij
|
2515e8e1b6
|
test run_script_file_main: delete call of start_buttons, since it is not defined anymore
|
2025-06-03 19:51:01 +05:00 |
|
Akulij
|
6c6ded6977
|
extend /commit command: add info about build time
Build && Deploy / cargo build (push) Successful in 1m7s
|
2025-06-02 17:13:44 +05:00 |
|
Akulij
|
daf1e09176
|
delete unnecessary println
Build && Deploy / cargo build (push) Successful in 1m5s
|
2025-06-02 16:51:19 +05:00 |
|
Akulij
|
de68e41725
|
create notificator
|
2025-06-02 16:49:05 +05:00 |
|
Akulij
|
00af4fae4d
|
create MessageAnswerer.answer_text
|
2025-06-02 16:48:12 +05:00 |
|
Akulij
|
632e77762e
|
fix utils.rs: reuqire Sync
|
2025-06-02 16:45:59 +05:00 |
|
Akulij
|
3d293501f2
|
db: create test for get_random_users
|
2025-06-02 16:45:32 +05:00 |
|
Akulij
|
597e6de09e
|
db: create get_random_users
|
2025-06-02 16:45:10 +05:00 |
|
Akulij
|
b2df5bf4f3
|
db: some functions do not require mut db
|
2025-06-02 16:44:48 +05:00 |
|
Akulij
|
0ca057c064
|
create test for BotNotification
|
2025-06-02 16:43:53 +05:00 |
|
Akulij
|
af3dba2873
|
updatte mainbot.js
|
2025-06-02 16:42:32 +05:00 |
|