376 Commits

Author SHA1 Message Date
Akulij
9dfa7c52d9 add field created_at to db::Message struct
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m3s
2025-06-05 21:48:47 +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
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m7s
2025-06-02 17:13:44 +05:00
Akulij
daf1e09176 delete unnecessary println
All checks were successful
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
c9dc1fb479 create tests for BotNotification deserealization 2025-06-02 12:03:28 +05:00
Akulij
91bf739365 update BotNotification specification 2025-06-02 12:03:16 +05:00
Akulij
57652c2776 fix: infinite try_from deserealization 2025-06-02 12:02:28 +05:00
Akulij
fd7c813b0e create specification for notifications 2025-06-02 11:39:44 +05:00
Akulij
af4cad6765 refactor debug prints
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m2s
2025-06-01 17:48:40 +05:00
Akulij
bdc0d6432c print info value returned
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m6s
2025-06-01 17:42:14 +05:00
Akulij
e74f875e3b create /commit command to get commit hash from which this bot was built
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m7s
2025-06-01 17:37:58 +05:00
Akulij
1e046e2e19 do not use private function of quickjs-rusty
All checks were successful
Build && Deploy / cargo build (push) Successful in 3m32s
2025-06-01 17:07:35 +05:00
Akulij
97e7886149 resture jsuser as argument 2025-06-01 16:40:41 +05:00
Akulij
585c3599ab exp
Some checks are pending
Build && Deploy / cargo build (push) Waiting to run
2025-06-01 13:53:29 +05:00
Akulij
f08af9609e sdfalkajsdfj
Some checks failed
Build && Deploy / cargo build (push) Failing after 10m46s
2025-06-01 13:39:10 +05:00
Akulij
d442cccebe lsjdf
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-06-01 12:17:53 +05:00
Akulij
8742740e6e use js to string
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-06-01 12:14:06 +05:00
Akulij
f8628a11f5 make BotRuntime for js runtime management
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-06-01 12:06:38 +05:00
Akulij
8b871ec147 fix: unnecessary BotController clone for script handler generation
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m1s
2025-06-01 11:42:50 +05:00
Akulij
af85c57c67 change order of drop for BotController
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-06-01 11:38:04 +05:00
Akulij
5978db5f2d sdafasklj
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-06-01 11:02:58 +05:00
Akulij
48e4d7b284 more debug info
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-05-31 15:28:48 +05:00
Akulij
a47665c9c0 more debug info
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-05-31 15:13:31 +05:00
Akulij
4eab8e1f26 more debug info
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-05-31 15:05:56 +05:00
Akulij
198c363038 temporarly use println
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-05-31 14:57:39 +05:00
Akulij
a2455008ba more debug info
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-05-31 14:40:20 +05:00
Akulij
f5d108d350 add debug info when calling js handler
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-05-31 14:32:23 +05:00
Akulij
714853730a create /cancel command for users 2025-05-31 13:47:14 +05:00
Akulij
b980a653cb attach user_application to runner 2025-05-31 13:46:54 +05:00
Akulij
b8d07d0ad5 create MessageForward.store_db to store by DB type
reason: easier to use with RwLock
2025-05-31 13:45:45 +05:00
Akulij
2e447e87fd create Application.store_db to store by DB type 2025-05-31 13:45:02 +05:00
Akulij
d749b57811 call js function handler if set in script_handler 2025-05-31 13:43:41 +05:00
Akulij
a106891050 create call_attacher for Runner to attach global objects on initialization 2025-05-31 13:42:54 +05:00
Akulij
9cd0765030 create BotMessage js function handler getter 2025-05-31 13:42:10 +05:00
Akulij
bc46e0fda4 create BotFunction context getter 2025-05-31 13:41:42 +05:00
Akulij
845071c800 create botscript application module for js's runtime user_application function 2025-05-31 13:39:17 +05:00
Akulij
bee93b32d1 use BotController 2025-05-31 10:48:52 +05:00
Akulij
0265942449 enable Send for BotController 2025-05-31 10:48:15 +05:00
Akulij
e993a6c941 derive Clone on Config 2025-05-31 10:47:49 +05:00
Akulij
6dfe9b839d fix logic: move bot insertion to db to /deploy command, instead of function in bot_manager 2025-05-31 10:45:34 +05:00
Akulij
f27fb670bd create BotManager 2025-05-31 10:43:05 +05:00
Akulij
22025cde11 handle callbacks in script_handler 2025-05-31 10:35:52 +05:00
Akulij
3bd16a58cd add replace flag to BotMessage 2025-05-31 10:34:29 +05:00