270 Commits

Author SHA1 Message Date
Akulij
1bb3970fa6 cd.yaml: use christopherhx/gitea-upload-artifact@v4 instead of defaults
reason: this one has patch to support gitea (default detects gitea as GHES)
2025-05-04 17:22:51 +03:00
Akulij
8f27d61284 cd.yaml: fix build job name
All checks were successful
Build && Deploy / cargo build (push) Successful in 53s
2025-05-04 01:09:34 +03:00
Akulij
d0cf2fd1b7 cd.yaml: fix rust toolchain cache restore paths
All checks were successful
Build && Deploy / cargo build (push) Successful in 52s
2025-05-04 01:04:08 +03:00
Akulij
12d97b2197 cd.yaml: do not use runner's os as cache key, since it seems buggy
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-05-04 00:56:37 +03:00
Akulij
3c1ea8182a cd.yaml: add paths to project dependencies cache
All checks were successful
Build && Deploy / cargo build (push) Successful in 4m20s
2025-05-04 00:54:43 +03:00
Akulij
49ee87488a cd.yaml: delete tests
All checks were successful
Build && Deploy / cargo build (push) Successful in 3m30s
2025-05-04 00:51:38 +03:00
Akulij
caae3199db cd.yaml: fix cache ids 2025-05-04 00:49:36 +03:00
Akulij
8bdaa85518 cd.yaml: add some tests
Some checks failed
Build && Deploy / cargo build (push) Failing after 3m56s
2025-05-04 00:47:02 +03:00
Akulij
539bbbb970 cd.yaml: new try on caching
All checks were successful
Build && Deploy / cargo build (push) Successful in 4m13s
2025-05-04 00:41:55 +03:00
Akulij
0d5bccddac cd.yaml: fix project dependency cache key
All checks were successful
Build && Deploy / cargo build (push) Successful in 3m48s
2025-05-04 00:36:36 +03:00
Akulij
77474f9e43 cd.yaml: use setup-rust-toolchain
All checks were successful
Build && Deploy / cargo build (push) Successful in 4m49s
2025-05-04 00:30:39 +03:00
Akulij
2565d4b9c1 use rust-cache
Some checks failed
Build && Deploy / cargo build (push) Failing after 26s
2025-05-04 00:26:10 +03:00
Akulij
24e4cb9d0a temporary delete toochain installation
Some checks failed
Build && Deploy / cargo build (push) Failing after 9s
2025-05-04 00:08:16 +03:00
Akulij
8cd8f6306a cd.yaml: fix cache paths for rust toolchain
Some checks failed
Build && Deploy / cargo build (push) Failing after 32s
2025-05-04 00:00:51 +03:00
Akulij
4827ce030c cd.yaml: add caching for projects dependencies
Some checks failed
Build && Deploy / cargo build (push) Failing after 32s
2025-05-03 23:59:19 +03:00
Akulij
11267704c0 cd.yaml: fix names for save/restore rust toolchain 2025-05-03 23:57:43 +03:00
Akulij
633ef93583 cd.yaml: install rust toolchain with its caching
All checks were successful
Build && Deploy / cargo build (push) Successful in 7m16s
2025-05-03 23:48:37 +03:00
Akulij
9b6579327d cd.yaml: delete toolchain installation to test if it's builtin
Some checks failed
Build && Deploy / cargo build (push) Failing after 5s
2025-05-03 23:32:24 +03:00
Akulij
3d9f1228cc cd.yaml: fix path in upload-artifacts
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-05-03 23:29:32 +03:00
Akulij
bcfc36e5d0 cd.yaml: delete ls 2025-05-03 23:29:10 +03:00
Akulij
4b4ce03a3b use actions-rs/toolchain
All checks were successful
Build && Deploy / cargo build (push) Successful in 4m32s
2025-05-03 23:23:53 +03:00
Akulij
43f450d15d change list
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-05-03 23:19:43 +03:00
Akulij
84ac12a98e reorder to download toolchain before checkout
All checks were successful
Build && Deploy / cargo build (push) Successful in 5m4s
2025-05-03 23:12:16 +03:00
Akulij
2a4179d0bd test debug: list target out
Some checks failed
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
All checks were successful
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
All checks were successful
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