Commit Graph

52 Commits

Author SHA1 Message Date
c9s
910c17a567
dynamic: implement CallWithMatch for dynamic calls
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-07-01 13:09:30 +08:00
zenix
a5ffca7fe8 fix: gosimple alert 2022-06-17 20:19:51 +09:00
zenix
ba1342cbc3 feature: add pre-commit 2022-06-17 16:07:00 +09:00
c9s
6ed6f15b75
interact: use debug log instead of info 2022-05-04 16:21:53 +08:00
c9s
b2e17e3552 interact: fix auth 2022-04-17 12:49:45 +08:00
c9s
63f525970f auth: store otp key url instead of just secret 2022-04-17 00:18:48 +08:00
c9s
6c7b6c6def interact: add more error check for /auth command 2022-04-17 00:06:37 +08:00
TonyQ Wang
38dfa32bfa
Update auth.go
refine message
2022-04-16 21:25:46 +08:00
Andy Cheng
e122c12eef
interact: add AddMultipleButtons function 2022-03-23 12:04:47 +08:00
c9s
0d0e0039e5 add DEBUG_SLACK env var 2022-03-14 21:21:58 +08:00
c9s
5790c10a38 interact: fix logger call 2022-01-23 14:21:20 +08:00
c9s
7b572120a1 interact: use RemoveKeyboard from interact.KeyboardController 2022-01-23 14:13:47 +08:00
c9s
ef84742eb7 add KeyboardController interface 2022-01-23 02:21:26 +08:00
c9s
01afe9c14e interact: fix telegram session restore 2022-01-23 02:21:26 +08:00
c9s
fb37bce4bf interact: fix slack response and slash command handling 2022-01-23 02:21:26 +08:00
c9s
aad64eb461 interact: improve slack session loading and block sets rendering 2022-01-23 02:21:26 +08:00
c9s
49e4b71776 interact: handle InteractionTypeViewSubmission and print debug state 2022-01-23 02:21:26 +08:00
c9s
2f65d5951e interact: add doc comment to generateTextInputModalRequest 2022-01-23 02:21:26 +08:00
c9s
5ee0496c7d interact: support slack modal view request 2022-01-23 02:21:26 +08:00
c9s
0af5fc0530 interact: add RequireTextInput method to Reply interface 2022-01-23 02:21:26 +08:00
c9s
ce54a64208 add slack callback file 2022-01-23 02:21:26 +08:00
c9s
f5f8f15670 slack: add reply and session struct 2022-01-23 02:21:26 +08:00
c9s
2cf29bd1ec telegram: add callback handler 2022-01-23 02:21:26 +08:00
c9s
c7f15efb23 interact: add Slack interaction 2022-01-23 02:21:26 +08:00
c9s
5f4239d108 interact: if messenger is not set, skip starting 2022-01-16 00:58:36 +08:00
c9s
b80f481e7d interact: fix interact tests for session 2022-01-16 00:50:43 +08:00
c9s
b49fc182dc fix telegram session persistence 2022-01-16 00:39:24 +08:00
c9s
2088234b44 interact: separate telegram user sessions 2022-01-16 00:25:11 +08:00
c9s
06e7ab8824 interact: fix interact tests 2022-01-15 03:09:42 +08:00
c9s
1c7d4d09cf interact: add Cycle state builder 2022-01-15 03:06:36 +08:00
c9s
2a6b821908 bbgo: implement /position command 2022-01-15 02:58:55 +08:00
c9s
93722e6db3 implement position closer interaction 2022-01-15 02:52:46 +08:00
c9s
d5f3946ada bbgo: refactor the current auth with interact 2022-01-15 00:18:07 +08:00
c9s
41b94c5c7e interact: refactor telegram interaction 2022-01-14 15:03:19 +08:00
c9s
5bef7d8a1e interact: use interaction singleton 2022-01-14 13:31:31 +08:00
c9s
0114d92f2f interact: split interaction files 2022-01-14 13:31:31 +08:00
c9s
832faf91f8 interact: add command description 2022-01-14 13:31:31 +08:00
c9s
42430fde4b interact: fix interact tests 2022-01-14 02:36:57 +08:00
c9s
17322cbc09 interact: improve authentication process 2022-01-14 02:36:06 +08:00
c9s
62e5706657 interact: improve strict mode authentication 2022-01-14 02:13:59 +08:00
c9s
72a925f659 interact: support authorizer 2022-01-14 01:58:04 +08:00
c9s
086127e8f7 interact: let function evaluator returns state, inject nil if object is not found 2022-01-14 01:01:01 +08:00
c9s
14eea34394 interact: pull out authentication interaction 2022-01-14 00:26:53 +08:00
c9s
91c831140c interact: fix private command 2022-01-14 00:17:41 +08:00
c9s
a6fb0caff3 interaction: add PrivateCommand 2022-01-13 23:41:22 +08:00
c9s
76c64b041f interact: separate interfaces 2022-01-13 22:24:51 +08:00
c9s
7eba6b20c9 implement the basic flow of interact 2022-01-13 22:15:05 +08:00
c9s
ba4c694179 interact: scan all return values 2022-01-13 11:43:33 +08:00
c9s
087a91aa8a interact: fix object arg injection 2022-01-13 11:43:33 +08:00
c9s
caa50c3b04 interact: implement parseFuncArgsAndCall with interface injection 2022-01-13 11:43:33 +08:00