Commit Graph

327 Commits

Author SHA1 Message Date
Kay Marquardt (Gnadelwartz)
34455c2c4c modules: fix/improve error logging 2021-02-07 10:20:09 +01:00
Kay Marquardt (Gnadelwartz)
9d36f23b14 Version 1.41: fix never working file download 2021-02-06 18:04:11 +01:00
Kay Marquardt (Gnadelwartz)
ad1b91f3bc finish get_file rework: remove URLS[*] logging obfuscation 2021-02-06 17:45:52 +01:00
Kay Marquardt (Gnadelwartz)
5a689d22de JsonEscape: handle \r \n also 2021-02-05 14:46:11 +01:00
Kay Marquardt (Gnadelwartz)
6fe19556b7 Bashbot Version 1.40 2021-02-04 18:13:32 +01:00
Kay Marquardt (Gnadelwartz)
f9dab50f84 small updates and fixes for 1.40 2021-02-02 20:33:22 +01:00
Kay Marquardt (Gnadelwartz)
1440d56f48 modules: better shorten URLS[*] 2021-02-02 09:18:25 +01:00
Kay Marquardt (Gnadelwartz)
737be16b3f doc: NOT IMPLEMENTED modules: improve webbhok message 2021-02-01 10:30:47 +01:00
Kay Marquardt (Gnadelwartz)
e4a983b16f modules: processUpdates: show sleep minutes 2021-02-01 08:59:53 +01:00
Kay Marquardt (Gnadelwartz)
a7c98d750c modules: processUpdates: conflict webhook slow start 2021-01-31 13:16:27 +01:00
Kay Marquardt (Gnadelwartz)
0dd5f83d5a modules: processUpdates: detect conflicting webhook 2021-01-31 12:42:41 +01:00
Kay Marquardt (Gnadelwartz)
1e49f6c2b1 modules: processUpdates rename process_client 2021-01-30 20:14:20 +01:00
Kay Marquardt (Gnadelwartz)
9cfeab9cdc modules: processUpdate fix webhook handling 2021-01-30 17:40:23 +01:00
Kay Marquardt (Gnadelwartz)
08b7b85d03 modules: processUpdates: start experimental webhooks support 2021-01-30 11:38:30 +01:00
Kay Marquardt (Gnadelwartz)
c693ab5bb9 modules: factor out processUpdates.sh 2021-01-29 20:48:31 +01:00
Kay Marquardt (Gnadelwartz)
cfc4d2eed1 doc: chat_member_count 2021-01-27 19:34:08 +01:00
Kay Marquardt (Gnadelwartz)
41e2d09067 add chat_member_count 2021-01-27 19:30:03 +01:00
Kay Marquardt (Gnadelwartz)
75e775606a modules: sendMessage: more comforable inline_buttons functions 2021-01-26 20:49:55 +01:00
Kay Marquardt (Gnadelwartz)
b096338c33 doc: add answer_callback_query 2021-01-26 14:51:50 +01:00
Kay Marquardt (Gnadelwartz)
2222875e2b modules: sendMessage: add answer_callback_query 2021-01-26 14:38:31 +01:00
Kay Marquardt (Gnadelwartz)
70a3c194a0 doc: promote_chat_member 2021-01-25 20:17:38 +01:00
Kay Marquardt (Gnadelwartz)
5ceddde4e8 modules: chatMember: promote_chat_member 2021-01-25 19:44:45 +01:00
Kay Marquardt (Gnadelwartz)
aa2c20b37e doc: add callback buttons 2021-01-24 13:52:44 +01:00
Kay Marquardt (Gnadelwartz)
1fe22a0345 modules: button url not starting with hhttp is sent as data 2021-01-24 12:30:56 +01:00
Kay Marquardt (Gnadelwartz)
407194b23f dev: fix symlink bug in version.sh 2021-01-22 08:34:37 +01:00
Kay Marquardt (Gnadelwartz)
662c6f48cb modules: add edit_inline_keyboard 2021-01-22 08:11:57 +01:00
Kay Marquardt (Gnadelwartz)
749eee74a4 dev: adjust make-standalone 2021-01-20 19:50:19 +01:00
Kay Marquardt (Gnadelwartz)
f95b6c2e7d modules: _button_row empty button starts new row 2021-01-19 23:53:58 +01:00
Kay Marquardt (Gnadelwartz)
6c91a327a6 bin: send_buttons.sh use _button_row to create buttons 2021-01-19 23:35:26 +01:00
Kay Marquardt (Gnadelwartz)
8854e03ece modules: JsonEscape button text 2021-01-19 23:22:38 +01:00
Kay Marquardt (Gnadelwartz)
e923e2e8fc modules: helper function _button_row 2021-01-19 23:18:26 +01:00
Kay Marquardt (Gnadelwartz)
f2dd64c900 modules: send_button remove double JsonEscape 2021-01-19 22:56:58 +01:00
Kay Marquardt (Gnadelwartz)
0ee6973143 modules: send_inline_keyboard fix empty text, improve doc 2021-01-19 21:55:39 +01:00
Kay Marquardt (Gnadelwartz)
62378f7cf6 replace old JsoenGetXxx functions with direct UPD access 2021-01-19 17:24:53 +01:00
Kay Marquardt (Gnadelwartz)
5f21fcb0dc Bashbot Version 1.30 2021-01-17 09:57:08 +01:00
Kay Marquardt (Gnadelwartz)
d8453aad36 init: change bahsbot path in rc-file also 2021-01-16 12:59:11 +01:00
Kay Marquardt (Gnadelwartz)
172a9e5461 sed/grep no redirect from file 2021-01-16 11:20:29 +01:00
Kay Marquardt (Gnadelwartz)
161e883a9a modules: sendMessage: fix send photo returns array 2021-01-16 10:47:18 +01:00
Kay Marquardt (Gnadelwartz)
a545bf1d8e modules: chatMember: fix getChatMember URL 2021-01-16 10:10:16 +01:00
Kay Marquardt (Gnadelwartz)
d12ab8600d minimize use of JsonGetXxx 2021-01-15 19:40:31 +01:00
Kay Marquardt (Gnadelwartz)
28ab301ce4 bin: edit_message: add caption 2021-01-15 12:43:12 +01:00
Kay Marquardt (Gnadelwartz)
83990961a3 modules: fix edit_message_caption 2021-01-15 12:40:08 +01:00
Kay Marquardt (Gnadelwartz)
8ae30faffc modules: fix new_chat_invite 2021-01-14 22:56:43 +01:00
Kay Marquardt (Gnadelwartz)
0739a51130 modules: chatMember: unpinAll -> unpinall 2021-01-14 21:02:35 +01:00
Kay Marquardt (Gnadelwartz)
e13b9eb940 new example command /unpin, fix user_is_allowed 2021-01-14 20:23:18 +01:00
Kay Marquardt (Gnadelwartz)
5f602a9a14 fix typos in changes 2021-01-14 19:49:01 +01:00
Kay Marquardt (Gnadelwartz)
afade2e2f0 modules: sendMessage: edit_message_caption 2021-01-14 18:50:45 +01:00
Kay Marquardt (Gnadelwartz)
71daed3487 modules: sendMessage: fix curl detection 2021-01-14 18:31:39 +01:00
Kay Marquardt (Gnadelwartz)
87f618fadb modules: sendMessage: send_sticker 2021-01-14 18:25:53 +01:00
Kay Marquardt (Gnadelwartz)
daeffb30e8 modules: chatMember: new invite, pin unpin unpinAll, delete_chat_photo 2021-01-14 18:06:24 +01:00
Kay Marquardt (Gnadelwartz)
f8d8edef0b modules: reduce URLs used only once 2021-01-10 23:17:35 +01:00
Kay Marquardt (Gnadelwartz)
e1f209783f modules: new functions set_chat_title set_chat_description 2021-01-10 20:30:56 +01:00
Kay Marquardt (Gnadelwartz)
bd2d2e1e58 modules: backgound use log_message 2021-01-08 20:42:38 +01:00
Kay Marquardt (Gnadelwartz)
6f8515d701 doc: modules: multiple manipulation without tmp var 2021-01-06 19:22:24 +01:00
Kay Marquardt (Gnadelwartz)
efca2e013b modules: send_file locals lowercase 2021-01-06 18:32:53 +01:00
Kay Marquardt (Gnadelwartz)
1525ac8231 modules: unify send_file send_upload 2021-01-06 17:45:13 +01:00
Kay Marquardt (Gnadelwartz)
c205ae528c modules: send_file send and save file_id 2021-01-06 16:43:18 +01:00
Kay Marquardt (Gnadelwartz)
3d9f7848cf doc: add send_file URL and file type 2021-01-05 22:35:34 +01:00
Kay Marquardt (Gnadelwartz)
126f61f00c modules: send_file add file type classes 2021-01-05 22:33:44 +01:00
Kay Marquardt (Gnadelwartz)
dd19f0f34e modules: send_file support for URL 2021-01-05 22:01:32 +01:00
Kay Marquardt (Gnadelwartz)
4582efd556 coding-style: positonal parameters $1 - \9 has precedence over verything 2021-01-05 16:17:34 +01:00
Kay Marquardt (Gnadelwartz)
fc5d50e3d5 modules: Array2Json fix missing + in regex 2021-01-05 12:57:07 +01:00
Kay Marquardt (Gnadelwartz)
641727dc99 fix missing ${xxx} warnings 2021-01-04 23:08:09 +01:00
Kay Marquardt (Gnadelwartz)
d310805a98 replace R090909 -> o9o9o9 , better readable 2021-01-04 16:10:43 +01:00
Kay Marquardt (Gnadelwartz)
0798f1ae00 bashbot.sh implement new a-z soluition 2021-01-04 16:03:53 +01:00
Kay Marquardt (Gnadelwartz)
8a095bc79f doc: add known locale problems 2021-01-04 14:49:04 +01:00
Kay Marquardt (Gnadelwartz)
966ee5d5a7 modules/jsonDB: activate stripping of not allowed keys 2021-01-04 12:49:43 +01:00
Kay Marquardt (Gnadelwartz)
e072afac41 modules/jsonDB: add Jssh_stripKey 2021-01-04 12:40:14 +01:00
Kay Marquardt (Gnadelwartz)
5ad7be59ba *IMPORTANT* fix for ranges a-z dependig on locale! 2021-01-04 12:38:20 +01:00
Kay Marquardt (Gnadelwartz)
11daa4890d Bashbot Version 1.21 (cleanup release) 2021-01-03 22:39:36 +01:00
Kay Marquardt (Gnadelwartz)
a5307e3a94 doc: better explanation of $ RCE 2020-12-29 13:03:46 +01:00
Kay Marquardt (Gnadelwartz)
cf6f3eedd7 doc: remove old stuff part 2 2020-12-29 11:02:28 +01:00
Kay Marquardt (Gnadelwartz)
8c67bb76c4 provide send_file error 2020-12-28 13:09:28 +01:00
Kay Marquardt (Gnadelwartz)
a4dce7bb5a myfilelocationstartshere -> myfilestartshere 2020-12-28 12:29:38 +01:00
Kay Marquardt (Gnadelwartz)
de31231a24 printf part 2 2020-12-26 21:29:16 +01:00
Kay Marquardt (Gnadelwartz)
239dd769c2 Version 1.20 2020-12-25 21:47:08 +01:00
Kay Marquardt (Gnadelwartz)
88d1de2009 fix bashbot tests 2020-12-25 20:08:29 +01:00
Kay Marquardt (Gnadelwartz)
709e26bc7c \n part 2 2020-12-24 20:02:01 +01:00
Kay Marquardt (Gnadelwartz)
c39c1ca8f9 file caption does not support \n 2020-12-24 18:20:39 +01:00
Kay Marquardt (Gnadelwartz)
f762d22958 fix: jssjDB path must not contain more than one .. 2020-12-16 17:46:55 +01:00
Kay Marquardt (Gnadelwartz)
d1f2bc8137 escape more reserved characters for markdown v2 2020-12-14 17:53:47 +01:00
Kay Marquardt (Gnadelwartz)
c8f61afda9 fix misspelled internal function 2020-12-13 18:25:46 +01:00
Kay Marquardt (Gnadelwartz)
da7b1bccbf fix misst quotaion mark in _formated_message_url 2020-12-13 18:07:27 +01:00
Kay Marquardt (Gnadelwartz)
a25f876a06 fix editMessage parameter desc 2020-12-13 17:25:44 +01:00
Kay Marquardt (Gnadelwartz)
4f600e26de first editMessage implementation 2020-12-13 17:19:52 +01:00
Kay Marquardt (Gnadelwartz)
898a794cb2 prepare for editMessage 2020-12-13 16:23:03 +01:00
Kay Marquardt (Gnadelwartz)
975d0147f4 remove old workaround preventing interactive to work 2020-12-13 15:26:48 +01:00
Kay Marquardt (Gnadelwartz)
b0281f1f32 fix bot_is_admin 2020-12-03 14:25:32 +01:00
Kay Marquardt (Gnadelwartz)
1b8a1d4253 get/save botid, new function bot_is_admin 2020-12-03 14:07:39 +01:00
Kay Marquardt (Gnadelwartz)
d30a700b33 change Version to v1.2 2020-11-30 18:38:19 +01:00
Kay Marquardt (Gnadelwartz)
aac3ddf45f fix make-dist 2020-11-29 17:44:20 +01:00
Kay Marquardt (Gnadelwartz)
95b2b9a79d detect if no curl AND no wget 2020-11-29 17:20:57 +01:00
Gnadelwartz
b5caff0a32 statisfy newer shellcheck version 2020-11-29 15:34:00 +01:00
Kay Marquardt (Gnadelwartz)
a749d2907e extend _is_allowed: ALL means every user 2020-11-03 12:21:11 +01:00
Kay Marquardt (Gnadelwartz)
b941d06f10 bashbot version 1.1 2020-09-23 15:55:48 +02:00
Kay Marquardt (Gnadelwartz)
65e9775ad6 replace newlines with \n in all sendMessage functions 2020-08-15 09:47:16 +02:00
Kay Marquardt (Gnadelwartz)
25a33b3731 Bashbot Version 1.0 2020-08-15 09:29:13 +02:00
Kay Marquardt (Gnadelwartz)
682f3941e3 warn if old send_keyboard format is detected 2020-08-08 17:58:18 +02:00
Kay Marquardt (Gnadelwartz)
afbdb1e7a5 fix formatted message longer 4095 2020-08-02 10:03:35 +02:00
Kay Marquardt (Gnadelwartz)
aec73450af correct/beautify misspelled comments 2020-08-01 09:10:14 +02:00