401 Commits

Author SHA1 Message Date
c80fcbe025 Merge pull request 'temporarly use debug version' (#9) from dev into main
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m34s
Reviewed-on: #9
2025-05-31 10:23:08 +00:00
7b39cd18cf Merge branch 'main' into dev
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-05-31 10:22:37 +00:00
Akulij
5ff1d3f49e temporarly use debug version
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-05-31 15:22:02 +05:00
a0b22e2ef3 Merge pull request 'more debug info' (#8) from dev into main
All checks were successful
Build && Deploy / cargo build (push) Successful in 57s
Reviewed-on: #8
2025-05-31 10:19:34 +00:00
Akulij
351dd27ab3 more debug info
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-05-31 15:19:06 +05:00
0c1f08a9db Merge pull request 'more debug info' (#7) from dev into main
All checks were successful
Build && Deploy / cargo build (push) Successful in 52s
Reviewed-on: #7
2025-05-31 10:14:05 +00: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
40dec27adc Merge pull request 'more debug info' (#6) from dev into main
All checks were successful
Build && Deploy / cargo build (push) Successful in 55s
Reviewed-on: #6
2025-05-31 10:06:20 +00: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
1d80fd056b Merge pull request 'temporarly use println' (#5) from dev into main
All checks were successful
Build && Deploy / cargo build (push) Successful in 56s
Reviewed-on: #5
2025-05-31 09:58:09 +00: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
62b68a6451 Merge pull request 'more debug info' (#4) from dev into main
All checks were successful
Build && Deploy / cargo build (push) Successful in 52s
Reviewed-on: #4
2025-05-31 09:40:50 +00: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
9be1f3ec1d Merge pull request 'set literal for leave_application' (#3) from dev into main
All checks were successful
Build && Deploy / cargo build (push) Successful in 57s
Reviewed-on: #3
2025-05-31 09:33:57 +00:00
fe08b42581 Merge branch 'main' into dev
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-05-31 09:33:34 +00: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
126708d8fa set literal for leave_application 2025-05-31 14:32:08 +05:00
d49971995c Merge pull request 'fix cd.yaml: install clang for quickjs-ng compilation' (#2) from dev into main
All checks were successful
Build && Deploy / cargo build (push) Successful in 51s
Reviewed-on: #2
2025-05-31 09:12:23 +00:00
Akulij
689d191d53 cd.yaml: install clang for quickjs-ng compilation
All checks were successful
Build && Deploy / cargo build (push) Successful in 54s
2025-05-31 14:10:38 +05:00
Akulij
e9059f2bdf create build.yaml workflow to test build on dev branch
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m48s
2025-05-31 14:07:10 +05:00
f7318f3661 Merge pull request 'migration to JS engine' (#1) from dev into main
Some checks failed
Build && Deploy / cargo build (push) Failing after 1m17s
Reviewed-on: #1
2025-05-31 08:49:52 +00:00
Akulij
adad94ad43 update mainbot.js logic 2025-05-31 13:47:46 +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
c936ea38a9 update mainbot.js 2025-05-31 11:04:35 +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
Akulij
474795bd99 create RunnerConfig.get_callback_message 2025-05-31 10:34:06 +05:00
Akulij
fdf1e352a6 add buttons field to BotDialog 2025-05-31 10:33:26 +05:00
Akulij
39e376195c create BotInstance::update_script 2025-05-31 10:31:09 +05:00
Akulij
308b15ed69 create BotInstance::restart_one and restart_all 2025-05-31 10:30:39 +05:00
Akulij
102fae25c7 create BotInstance::get_by_name 2025-05-31 10:30:03 +05:00
Akulij
bc2397a32c derive Clone for BotInstance 2025-05-31 10:29:03 +05:00
Akulij
fde7087172 create /newscript command handler 2025-05-31 10:28:22 +05:00
Akulij
67ad3c2acd plug provided handlers in start_bot 2025-05-28 11:11:25 +05:00
Akulij
866a028de1 move out bot handlers to separate module 2025-05-28 11:10:32 +05:00
Akulij
e63187dcd3 rename botscript_command_handler to more correct handle_botmessage 2025-05-28 10:15:30 +05:00
Akulij
098cff72bd delete inspector in botscript handler 2025-05-28 10:14:14 +05:00