Commit Graph

  • 1bb3970fa6 cd.yaml: use christopherhx/gitea-upload-artifact@v4 instead of defaults Akulij 2025-05-04 17:22:51 +03:00
  • 8f27d61284 cd.yaml: fix build job name Akulij 2025-05-04 01:09:34 +03:00
  • d0cf2fd1b7 cd.yaml: fix rust toolchain cache restore paths Akulij 2025-05-04 01:04:08 +03:00
  • 12d97b2197 cd.yaml: do not use runner's os as cache key, since it seems buggy Akulij 2025-05-04 00:56:37 +03:00
  • 3c1ea8182a cd.yaml: add paths to project dependencies cache Akulij 2025-05-04 00:54:43 +03:00
  • 49ee87488a cd.yaml: delete tests Akulij 2025-05-04 00:51:38 +03:00
  • caae3199db cd.yaml: fix cache ids Akulij 2025-05-04 00:49:36 +03:00
  • 8bdaa85518 cd.yaml: add some tests Akulij 2025-05-04 00:47:02 +03:00
  • 539bbbb970 cd.yaml: new try on caching Akulij 2025-05-04 00:41:55 +03:00
  • 0d5bccddac cd.yaml: fix project dependency cache key Akulij 2025-05-04 00:36:36 +03:00
  • 77474f9e43 cd.yaml: use setup-rust-toolchain Akulij 2025-05-04 00:30:39 +03:00
  • 2565d4b9c1 use rust-cache Akulij 2025-05-04 00:26:10 +03:00
  • 24e4cb9d0a temporary delete toochain installation Akulij 2025-05-04 00:08:16 +03:00
  • 8cd8f6306a cd.yaml: fix cache paths for rust toolchain Akulij 2025-05-04 00:00:51 +03:00
  • 4827ce030c cd.yaml: add caching for projects dependencies Akulij 2025-05-03 23:59:19 +03:00
  • 11267704c0 cd.yaml: fix names for save/restore rust toolchain Akulij 2025-05-03 23:57:43 +03:00
  • 633ef93583 cd.yaml: install rust toolchain with its caching Akulij 2025-05-03 23:48:37 +03:00
  • 9b6579327d cd.yaml: delete toolchain installation to test if it's builtin Akulij 2025-05-03 23:32:24 +03:00
  • 3d9f1228cc cd.yaml: fix path in upload-artifacts Akulij 2025-05-03 23:29:32 +03:00
  • bcfc36e5d0 cd.yaml: delete ls Akulij 2025-05-03 23:29:10 +03:00
  • 4b4ce03a3b use actions-rs/toolchain Akulij 2025-05-03 23:23:53 +03:00
  • 43f450d15d change list Akulij 2025-05-03 23:19:43 +03:00
  • 84ac12a98e reorder to download toolchain before checkout Akulij 2025-05-03 23:12:16 +03:00
  • 2a4179d0bd test debug: list target out Akulij 2025-05-03 23:11:13 +03:00
  • 2d1ed958b9 cd.yaml: upload release binary as artifact Akulij 2025-05-03 22:46:45 +03:00
  • f4f5e13978 fix cd.yaml: build release target, instead of debug Akulij 2025-05-03 22:43:25 +03:00
  • dba7933c63 create basic template for Build and Deploy in gitea Akulij 2025-05-03 22:11:28 +03:00
  • 09950579da delete files left after diesel orm Akulij 2025-05-03 16:50:35 +03:00
  • caca9e354d change ProjectPage callback's keyboard generation Akulij 2025-05-03 16:38:47 +03:00
  • 38c38cec8e accept into iterator in buttons_markup macro isntead of limiting to slices Akulij 2025-05-02 17:57:23 +03:00
  • f3497726a1 create test for buttons_markup Akulij 2025-05-02 17:46:06 +03:00
  • 8e93173cba create tests mod inside utils.rs Akulij 2025-05-02 17:45:53 +03:00
  • f09fc42546 create buttons_markup macro Akulij 2025-05-02 17:45:33 +03:00
  • e33ccc48b3 add support for telegrams ?start=... hidden tag pushing them into user.metas Akulij 2025-05-02 17:21:46 +03:00
  • 56f1ee41fc add LeaveApplication and AskQuestion callback buttons to /start keyboard Akulij 2025-05-02 17:20:33 +03:00
  • 955dde825b create AskQuestion callback Akulij 2025-05-02 17:20:09 +03:00
  • aa32d73046 create LeaveApplication callback Akulij 2025-05-02 17:19:44 +03:00
  • f1ecd0d1db create send_application_to_chat function Akulij 2025-05-02 17:15:44 +03:00
  • ac0833a9f6 create notify_admin command Akulij 2025-05-02 17:13:28 +03:00
  • adac0155b9 create /setchat command Akulij 2025-05-02 17:11:01 +03:00
  • da1940cf23 create /setliteral command Akulij 2025-05-02 17:08:32 +03:00
  • 5bc6a8343d create Application Akulij 2025-05-02 17:07:35 +03:00
  • fdfc8a8270 add metas field to user to store /start meta links Akulij 2025-05-02 17:03:48 +03:00
  • 3ba56d488e fix: admin_id should be set from ADMIN_ID Akulij 2025-05-02 16:14:55 +03:00
  • 14f05e5213 require ADMIN_ID in config Akulij 2025-05-02 15:45:43 +03:00
  • d3c8b7605d clippy: fix warnings Akulij 2025-05-02 14:50:27 +03:00
  • abc26d7be0 make ProjectPage callback to actually display some projects information Akulij 2025-05-02 14:30:50 +03:00
  • 1b9a6dce81 fix: fix stacked_buttons_markup macro Akulij 2025-05-02 14:30:07 +03:00
  • ed379cc418 change literal in MoreInfo to more_info_msg to avoid collision with button Akulij 2025-05-02 13:36:48 +03:00
  • d447fe0b19 replace EditTextOnly state with Edit in button_edit_callback function Akulij 2025-05-02 13:33:35 +03:00
  • e1eb94a030 delete EditTextOnly state Akulij 2025-05-02 13:31:57 +03:00
  • 8326e819c7 change create_callback_button to accept Callback instead of CallbackInfo Akulij 2025-05-02 13:23:47 +03:00
  • a3c9cd1bb8 catch EditButton state Akulij 2025-05-02 13:21:05 +03:00
  • 1ff3f704c1 create button_edit_callback function Akulij 2025-05-02 13:19:16 +03:00
  • 509f767b1f create CallbackInfo.new_with_literal method Akulij 2025-05-01 14:53:14 +03:00
  • 28cffdde16 create literal field in CallbackInfo Akulij 2025-05-01 14:50:34 +03:00
  • 2b037e0eaa create MsgTooOld bot error variant Akulij 2025-05-01 14:46:43 +03:00
  • 5ec8e2201c create GoHome callback Akulij 2025-05-01 14:45:53 +03:00
  • 7ec9c540e5 replace message on MoreInfo callback instead of new one Akulij 2025-05-01 14:45:00 +03:00
  • 2aaa2b7469 create replace_message function Akulij 2025-05-01 14:43:05 +03:00
  • 4474188655 create EditTextOnly state Akulij 2025-05-01 14:35:17 +03:00
  • fed5d8f5b7 create /editbutton cmd for admin Akulij 2025-05-01 14:11:34 +03:00
  • c6468269e7 use create_callback_button to create more info button Akulij 2025-04-30 21:20:18 +03:00
  • c56b3bf4eb change start buttons Akulij 2025-04-30 21:17:46 +03:00
  • 88417441ac create public stacked_buttons_markup macro Akulij 2025-04-30 21:06:41 +03:00
  • 710c1bda8d make single_button_markup public Akulij 2025-04-30 21:06:14 +03:00
  • 0fc96b17a6 move single_button_markup macro to utils file Akulij 2025-04-30 21:04:54 +03:00
  • f58607a883 create single_button_markup macro Akulij 2025-04-30 21:01:58 +03:00
  • 82c858b0f8 change message on edit bot message request Akulij 2025-04-30 19:23:54 +03:00
  • 64641d4101 do not drop indexes in migration Akulij 2025-04-30 19:22:17 +03:00
  • 8c3cfc4d2d set env RUST_LOG=info in bacon's run job Akulij 2025-04-30 19:21:27 +03:00
  • 88360c91ca init pretty_env_logger Akulij 2025-04-30 19:21:00 +03:00
  • 0d4e2a8fcd cargo add: add pretty_env_logger as a dependency Akulij 2025-04-30 19:20:18 +03:00
  • 0b089113f3 create methods to delete single and all event(s) Akulij 2025-04-30 18:55:30 +03:00
  • 6f24d92215 drop all previous indexes in migration Akulij 2025-04-30 18:08:27 +03:00
  • 4d6717967d create AnyCollection type in migration Akulij 2025-04-30 18:07:07 +03:00
  • 85f16311fa set mongodb's index to clear callback info after a day Akulij 2025-04-30 14:37:45 +03:00
  • f3ec4188bb add created_at field to CallbackInfo Akulij 2025-04-30 14:37:12 +03:00
  • 2d5e2ed34e fix: wrongly spelled serde's rename_all attribute Akulij 2025-04-30 14:36:22 +03:00
  • 53edb54118 make more_info and show_projects on separate lines Akulij 2025-04-30 13:56:29 +03:00
  • 0c71fd3796 delete unused block in matching callback Akulij 2025-04-30 13:43:30 +03:00
  • 5192b43e0b create show_projects button on /start Akulij 2025-04-30 13:42:10 +03:00
  • 8c2d2425c4 create create_callback_button function Akulij 2025-04-30 13:38:57 +03:00
  • 36c729e57b rename DemoProject callback to more convinient ProjectPage Akulij 2025-04-30 12:56:36 +03:00
  • cbe24cc134 use Callbackinfo with internal Callback struct to handle telegram callbacks Akulij 2025-04-29 19:53:01 +03:00
  • 58a16a5927 make CallbackInfo::store to consume self and return Akulij 2025-04-29 19:51:54 +03:00
  • a00c0017bb create CallbackInfo::get_callback method Akulij 2025-04-29 19:51:17 +03:00
  • 48bb7b133b make DbError a custom error type to handle internal errors Akulij 2025-04-29 19:36:03 +03:00
  • 221fb87c8f create query_call_consume macro Akulij 2025-04-29 19:31:23 +03:00
  • 078e2fd62a create CallbackInfo and its tests Akulij 2025-04-29 17:37:20 +03:00
  • 0973499652 make query_call macro public Akulij 2025-04-29 17:35:49 +03:00
  • b56f07e6be rename db/tests.rs to dt/tests.mod.rs Akulij 2025-04-29 11:51:24 +03:00
  • ccd38178ea add todo to extend type in StorageError Akulij 2025-04-28 22:55:52 +03:00
  • ec49ab24b6 clippy: fix warning unused result Akulij 2025-04-28 22:54:33 +03:00
  • a51344d089 use log crate instead of raw prints Akulij 2025-04-28 22:53:15 +03:00
  • fd3ef221c9 cargo add log Akulij 2025-04-28 22:44:01 +03:00
  • ffe2fd8bc1 create custom type to return all errors Akulij 2025-04-28 22:43:18 +03:00
  • 1c9ab867ed follow new db function declarations Akulij 2025-04-28 22:43:02 +03:00
  • c11e671b15 return custom error in src/mongodb_storage.rs to support return of serializer error Akulij 2025-04-28 22:41:21 +03:00
  • 55d393eb2c return result instead of unwraps in db/mod.rs Akulij 2025-04-28 22:40:38 +03:00