Commit Graph

515 Commits

Author SHA1 Message Date
Kay Marquardt (Gnadelwartz)
03bdecb056 use printf 2020-12-26 21:18:18 +01:00
Kay Marquardt (Gnadelwartz)
239dd769c2 Version 1.20 2020-12-25 21:47:08 +01:00
Kay Marquardt (Gnadelwartz)
2ab00a2c57 add bin/send_file.sh, fix logging caption 2020-12-25 20:57:05 +01:00
Kay Marquardt (Gnadelwartz)
f016598054 get BOT_ADMIN and BOT_NAME in bin/bashbot_env.inc 2020-12-25 19:16:54 +01:00
Kay Marquardt (Gnadelwartz)
6173d77c4e type -t is locale indepent, use C.utf-8 for printf 2020-12-24 13:08:41 +01:00
Kay Marquardt (Gnadelwartz)
69ca15a9d2 better broadcast hint 2020-12-24 11:45:40 +01:00
Kay Marquardt (Gnadelwartz)
eba9216ba6 remove stats from usage 2020-12-24 09:24:02 +01:00
Kay Marquardt (Gnadelwartz)
450d94d4d3 check for utf-8 locale 2020-12-24 09:19:54 +01:00
Kay Marquardt (Gnadelwartz)
824cf137d9 fix test for missing unicode supprt 2020-12-24 08:22:03 +01:00
Kay Marquardt (Gnadelwartz)
9f3d39d461 stats deprecated 2020-12-23 21:14:56 +01:00
Kay Marquardt (Gnadelwartz)
82f7939132 remove deprecated commands 2020-12-19 16:02:13 +01:00
Kay Marquardt (Gnadelwartz)
f548b0e1a3 fix DETECTED_CURL 2020-12-19 08:03:55 +01:00
Kay Marquardt (Gnadelwartz)
62f2a0d469 fix recover botconfig 2020-12-18 15:24:21 +01:00
Kay Marquardt (Gnadelwartz)
c88f76796d optimize creation of botconfig 2020-12-18 15:16:15 +01:00
Kay Marquardt (Gnadelwartz)
3324ecdf26 fix log sendJson 2020-12-18 15:00:08 +01:00
Kay Marquardt (Gnadelwartz)
0db0215d9b fix sendJsonResult and chat is not a number 2020-12-18 14:47:53 +01:00
Kay Marquardt (Gnadelwartz)
53c7879c9f add error respone for chat id not a nuber 2020-12-18 14:23:20 +01:00
Kay Marquardt (Gnadelwartz)
8b9cb1a77e remove set -x 2020-12-17 20:25:52 +01:00
Kay Marquardt (Gnadelwartz)
16a22995d6 remove nashbot option broadcast, use broadcast.sh 2020-12-17 08:58:32 +01:00
Kay Marquardt (Gnadelwartz)
e6223b6645 start of ready to use scripts 2020-12-16 13:45:59 +01:00
Kay Marquardt (Gnadelwartz)
85ee75705a fix some update messages are ignored 2020-12-16 00:09:32 +01:00
Kay Marquardt (Gnadelwartz)
5b94265b09 optimize logging 2020-12-15 20:53:42 +01:00
Kay Marquardt (Gnadelwartz)
32a6ef2cc6 try to avoid empty DEBUG.log file 2020-12-15 17:19:09 +01:00
Kay Marquardt (Gnadelwartz)
c084005106 add support for JSON.awk, 5 times faster 2020-12-15 16:36:27 +01:00
Kay Marquardt (Gnadelwartz)
d7d61a411f sendJson: factor out curl/wget, better log. fix git-add.sh 2020-12-15 10:40:20 +01:00
Kay Marquardt (Gnadelwartz)
8379a624e3 sendJson check chat is a number 2020-12-15 10:12:18 +01:00
Kay Marquardt (Gnadelwartz)
2e24918beb debug log sentMessage also 2020-12-15 10:07:43 +01:00
Kay Marquardt (Gnadelwartz)
4442382a10 option to ignore commands for other bots if admin 2020-12-14 20:35:45 +01:00
Kay Marquardt (Gnadelwartz)
3c1ea93168 try recover from block in update loop 2020-12-14 14:00:23 +01:00
Kay Marquardt (Gnadelwartz)
eda77f8b55 add /_migrate_group to mycommands.sh example 2020-12-13 12:44:14 +01:00
Kay Marquardt (Gnadelwartz)
da7a3f1f21 detect supergroup migration 2020-12-13 12:00:18 +01:00
Kay Marquardt (Gnadelwartz)
22741d9a0c fix no need for JsonDecode 2020-12-13 10:24:26 +01:00
Kay Marquardt (Gnadelwartz)
cdb63b8c76 optimze venue and contact detection 2020-12-13 10:10:15 +01:00
Kay Marquardt (Gnadelwartz)
401a31a172 less grep in process_message 2020-12-13 09:57:57 +01:00
Kay Marquardt (Gnadelwartz)
b9cfd4b5e8 process service messages in groups only 2020-12-13 08:53:29 +01:00
Kay Marquardt (Gnadelwartz)
10c104d471 check for locale C 2020-12-07 15:50:56 +01:00
Kay Marquardt (Gnadelwartz)
62cab32da5 bottoken starts with bot id 2020-12-05 14:11:21 +01:00
Kay Marquardt (Gnadelwartz)
d6e1c222f7 optimize getBotName 2020-12-03 20:43:20 +01:00
Kay Marquardt (Gnadelwartz)
40106ee163 offer to check bottoken online on first init 2020-12-03 14:52:35 +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)
ef80aa5690 better curl/wget not found message 2020-11-29 17:43:00 +01:00
Kay Marquardt (Gnadelwartz)
95b2b9a79d detect if no curl AND no wget 2020-11-29 17:20:57 +01:00
Gnadelwartz
282448772a fix BASHBOT_UPDATELOG 2020-11-29 15:57:26 +01:00
Gnadelwartz
b5caff0a32 statisfy newer shellcheck version 2020-11-29 15:34:00 +01:00
Kay Marquardt (Gnadelwartz)
b4dcb52793 allow enabling of getJson update logging 2020-11-29 10:50:05 +01:00
Kay Marquardt (Gnadelwartz)
b4c83c141a adjust curl not found messages 2020-11-29 09:40:45 +01:00
Kay Marquardt (Gnadelwartz)
0b64af7423 check if iconv exist 2020-11-28 17:36:34 +01:00
Kay Marquardt (Gnadelwartz)
de31d7731f optimize detect_curl 2020-11-28 17:14:35 +01:00