Akulij
2a4179d0bd
test debug: list target out
Build && Deploy / cargo build (push) Has been cancelled
2025-05-03 23:11:13 +03:00
Akulij
2d1ed958b9
cd.yaml: upload release binary as artifact
Build && Deploy / cargo build (push) Successful in 8m35s
2025-05-03 22:46:45 +03:00
Akulij
f4f5e13978
fix cd.yaml: build release target, instead of debug
2025-05-03 22:43:25 +03:00
Akulij
dba7933c63
create basic template for Build and Deploy in gitea
Build && Deploy / cargo build (push) Successful in 5m16s
2025-05-03 22:11:28 +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
Akulij
509f767b1f
create CallbackInfo.new_with_literal method
...
reason: CallbackInfo with literal and without created in completly
differrent usecases, so it will be easier to code with differrent
functions instead of passing Option each time
2025-05-01 14:53:14 +03:00
Akulij
28cffdde16
create literal field in CallbackInfo
...
reason: to get used literal of button,
for e.g. to edit literals by clicking buttons
2025-05-01 14:50:34 +03:00
Akulij
2b037e0eaa
create MsgTooOld bot error variant
2025-05-01 14:46:43 +03:00
Akulij
5ec8e2201c
create GoHome callback
2025-05-01 14:45:53 +03:00
Akulij
7ec9c540e5
replace message on MoreInfo callback instead of new one
2025-05-01 14:45:00 +03:00
Akulij
2aaa2b7469
create replace_message function
2025-05-01 14:43:05 +03:00
Akulij
4474188655
create EditTextOnly state
...
reason: Edit state already exists, but it accepts any message,
but there is need in ability to accept only text, for example for
button editing
2025-05-01 14:35:17 +03:00
Akulij
fed5d8f5b7
create /editbutton cmd for admin
2025-05-01 14:11:34 +03:00
Akulij
c6468269e7
use create_callback_button to create more info button
...
reason: localization and follow pattern
2025-04-30 21:20:18 +03:00
Akulij
c56b3bf4eb
change start buttons
2025-04-30 21:17:46 +03:00
Akulij
88417441ac
create public stacked_buttons_markup macro
2025-04-30 21:06:41 +03:00
Akulij
710c1bda8d
make single_button_markup public
2025-04-30 21:06:14 +03:00
Akulij
0fc96b17a6
move single_button_markup macro to utils file
2025-04-30 21:04:54 +03:00
Akulij
f58607a883
create single_button_markup macro
2025-04-30 21:01:58 +03:00
Akulij
82c858b0f8
change message on edit bot message request
...
reason: notify user why messages that use media group is not compatible
with message editing (it is compatible if media count is <= than in
editable, but not implemented in bot and potentially will not be implemented at all)
2025-04-30 19:31:20 +03:00
Akulij
64641d4101
do not drop indexes in migration
2025-04-30 19:22:17 +03:00
Akulij
8c3cfc4d2d
set env RUST_LOG=info in bacon's run job
2025-04-30 19:21:27 +03:00
Akulij
88360c91ca
init pretty_env_logger
2025-04-30 19:21:00 +03:00
Akulij
0d4e2a8fcd
cargo add: add pretty_env_logger as a dependency
2025-04-30 19:20:43 +03:00