Akulij
|
2590055ea1
|
fix: enable html parse mode for message sent from support
Build && Deploy / cargo build (push) Successful in 38s
|
2025-05-09 00:29:36 +03:00 |
|
Akulij
|
aaed6fcdca
|
store MessageForward in LeaveApplication callback
|
2025-05-09 00:29:16 +03:00 |
|
Akulij
|
c1c331ab29
|
return chat and message id in answer message
|
2025-05-09 00:24:59 +03:00 |
|
Akulij
|
729f0c3eea
|
return teloxide's Message struct in send_application_to_chat
|
2025-05-09 00:23:41 +03:00 |
|
Akulij
|
27a829b784
|
create AdminMisconfiguration error
|
2025-05-09 00:21:54 +03:00 |
|
Akulij
|
c69b6595fd
|
handle replies to MessageForward from support chat
|
2025-05-08 23:55:23 +03:00 |
|
Akulij
|
091a42bf31
|
fix: message id in MessageForward should be i32
|
2025-05-08 23:23:39 +03:00 |
|
Akulij
|
2acda3087b
|
create MessageForward
|
2025-05-08 23:15:54 +03:00 |
|
Akulij
|
25b980a2ff
|
/users: put @ before username
Build && Deploy / cargo build (push) Successful in 56s
|
2025-05-05 18:52:09 +03:00 |
|
Akulij
|
c2aebcd509
|
create /cancel admin command
Build && Deploy / cargo build (push) Successful in 1m4s
|
2025-05-05 18:46:05 +03:00 |
|
Akulij
|
f6adaea70c
|
create /users admin command
|
2025-05-05 18:44:05 +03:00 |
|
Akulij
|
4277fc5523
|
use answer_message_varianted_silence_flag in replace message
Build && Deploy / cargo build (push) Successful in 56s
|
2025-05-04 19:18:33 +03:00 |
|
Akulij
|
4e95c846d1
|
use text variations in replace_message
|
2025-05-04 19:18:05 +03:00 |
|
Akulij
|
624951392e
|
create answer_message_varianted_silence_flag
reason: to be able to silence if it used as fallback in replace_message
|
2025-05-04 19:17:27 +03:00 |
|
Akulij
|
f69eff72d6
|
store variant in Message
|
2025-05-04 19:14:54 +03:00 |
|
Akulij
|
af53efca0e
|
change variant_text naming asnwer_message_varianted, to not mix up with argument
|
2025-05-04 19:14:11 +03:00 |
|
Akulij
|
d68c7d688c
|
store variants in message info holder
reason: people can go forward with callback and backward and see
defferent message, when they shouldn't
|
2025-05-04 19:10:33 +03:00 |
|
Akulij
|
c371f81008
|
send /start message variants based on meta (?start=...)
Build && Deploy / cargo build (push) Successful in 59s
|
2025-05-04 18:43:10 +03:00 |
|
Akulij
|
d0882ffe0b
|
admin: create /setalternative command to edit message variants
|
2025-05-04 18:42:28 +03:00 |
|
Akulij
|
e68ba4b796
|
implement variant editing thru Edit state
|
2025-05-04 18:41:40 +03:00 |
|
Akulij
|
f86286b1d4
|
use variant in answer_message_varianted
|
2025-05-04 18:11:55 +03:00 |
|
Akulij
|
92b43aed65
|
extend answer_message with LiteralAlternatives in new function
answer_message_variant
|
2025-05-04 18:04:30 +03:00 |
|
Akulij
|
12567a6b97
|
create LiteralAlternative with get/set in db
|
2025-05-04 17:56:06 +03:00 |
|
Akulij
|
09950579da
|
delete files left after diesel orm
|
2025-05-03 16:50:35 +03:00 |
|
Akulij
|
caca9e354d
|
change ProjectPage callback's keyboard generation
|
2025-05-03 16:39:47 +03:00 |
|
Akulij
|
38c38cec8e
|
accept into iterator in buttons_markup macro isntead of limiting to slices
|
2025-05-02 17:57:23 +03:00 |
|
Akulij
|
f3497726a1
|
create test for buttons_markup
|
2025-05-02 17:47:37 +03:00 |
|
Akulij
|
8e93173cba
|
create tests mod inside utils.rs
|
2025-05-02 17:45:53 +03:00 |
|
Akulij
|
f09fc42546
|
create buttons_markup macro
|
2025-05-02 17:45:33 +03:00 |
|
Akulij
|
e33ccc48b3
|
add support for telegrams ?start=... hidden tag pushing them into user.metas
|
2025-05-02 17:21:46 +03:00 |
|
Akulij
|
56f1ee41fc
|
add LeaveApplication and AskQuestion callback buttons to /start keyboard
|
2025-05-02 17:20:33 +03:00 |
|
Akulij
|
955dde825b
|
create AskQuestion callback
|
2025-05-02 17:20:09 +03:00 |
|
Akulij
|
aa32d73046
|
create LeaveApplication callback
|
2025-05-02 17:19:44 +03:00 |
|
Akulij
|
f1ecd0d1db
|
create send_application_to_chat function
|
2025-05-02 17:15:44 +03:00 |
|
Akulij
|
ac0833a9f6
|
create notify_admin command
|
2025-05-02 17:13:28 +03:00 |
|
Akulij
|
adac0155b9
|
create /setchat command
|
2025-05-02 17:11:01 +03:00 |
|
Akulij
|
da1940cf23
|
create /setliteral command
|
2025-05-02 17:10:35 +03:00 |
|
Akulij
|
5bc6a8343d
|
create Application
|
2025-05-02 17:07:35 +03:00 |
|
Akulij
|
fdfc8a8270
|
add metas field to user to store /start meta links
|
2025-05-02 17:03:48 +03:00 |
|
Akulij
|
3ba56d488e
|
fix: admin_id should be set from ADMIN_ID
|
2025-05-02 16:14:55 +03:00 |
|
Akulij
|
14f05e5213
|
require ADMIN_ID in config
reason: there should be fallback function that notifies admin about when
something went wrong
|
2025-05-02 15:45:43 +03:00 |
|
Akulij
|
d3c8b7605d
|
clippy: fix warnings
|
2025-05-02 14:50:27 +03:00 |
|
Akulij
|
abc26d7be0
|
make ProjectPage callback to actually display some projects information
|
2025-05-02 14:30:50 +03:00 |
|
Akulij
|
1b9a6dce81
|
fix: fix stacked_buttons_markup macro
|
2025-05-02 14:30:07 +03:00 |
|
Akulij
|
ed379cc418
|
change literal in MoreInfo to more_info_msg to avoid collision with button
|
2025-05-02 13:36:48 +03:00 |
|
Akulij
|
d447fe0b19
|
replace EditTextOnly state with Edit in button_edit_callback function
|
2025-05-02 13:33:35 +03:00 |
|
Akulij
|
e1eb94a030
|
delete EditTextOnly state
reason: just use Edit state with user warning that you will accept only text
|
2025-05-02 13:31:57 +03:00 |
|
Akulij
|
8326e819c7
|
change create_callback_button to accept Callback instead of CallbackInfo
reason: its more convinient for this function and and ability to create
CallbackInfo with literal
|
2025-05-02 13:23:47 +03:00 |
|
Akulij
|
a3c9cd1bb8
|
catch EditButton state
|
2025-05-02 13:21:05 +03:00 |
|
Akulij
|
1ff3f704c1
|
create button_edit_callback function
|
2025-05-02 13:19:16 +03:00 |
|