Commit Graph

641 Commits

Author SHA1 Message Date
Kay Marquardt (Gnadelwartz)
08a05242f9 init: offer copy config only for new installations 2021-01-26 13:02:04 +01:00
Kay Marquardt (Gnadelwartz)
bc414eef5a init: offer copy mycommands files 2021-01-26 12:57:27 +01:00
Kay Marquardt (Gnadelwartz)
461e748c92 iBUTTON: infrastructe seems to work 2021-01-24 13:04:20 +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)
d9b3342c3c iBUTTONS: initial code for processing CallbackQuery buttons 2021-01-24 10:28:04 +01:00
Kay Marquardt (Gnadelwartz)
f995eeea13 move JsonEscape up before sourcing other files 2021-01-23 14:06:55 +01:00
Kay Marquardt (Gnadelwartz)
78e4551107 fix set CHAT[ID] to new id on chat migration 2021-01-23 13:58:45 +01:00
Kay Marquardt (Gnadelwartz)
41e956d517 remove obsolete JsonGetXxx functions 2021-01-23 09:53:50 +01:00
Kay Marquardt (Gnadelwartz)
749eee74a4 dev: adjust make-standalone 2021-01-20 19:50:19 +01:00
Kay Marquardt (Gnadelwartz)
127cc85a2a load modules before commands.sh 2021-01-20 18:20:03 +01:00
Kay Marquardt (Gnadelwartz)
427f670a02 bashbot.sh: fix UPD array access to use "real" strings 2021-01-19 17:47:15 +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)
fe1fb75748 make _round_float more LANG independent (C not installed) 2021-01-18 21:09:30 +01:00
Kay Marquardt (Gnadelwartz)
5f21fcb0dc Bashbot Version 1.30 2021-01-17 09:57:08 +01:00
Kay Marquardt (Gnadelwartz)
3266427bcc getJson: remove unneeded extra logging 2021-01-17 09:55:13 +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)
ef972c5714 bashbot: use Json2Array UPD for response also 2021-01-15 19:26:04 +01:00
Kay Marquardt (Gnadelwartz)
277178389a some minor improvments 2021-01-15 19:05:53 +01:00
Kay Marquardt (Gnadelwartz)
0794506753 bashbot.sh: jsonDecode: use printf 2021-01-15 13:09:32 +01:00
Kay Marquardt (Gnadelwartz)
8ae30faffc modules: fix new_chat_invite 2021-01-14 22:56:43 +01:00
Kay Marquardt (Gnadelwartz)
29fa5cfcca move detect_curl to common functions 2021-01-14 22:15:32 +01:00
Kay Marquardt (Gnadelwartz)
5f602a9a14 fix typos in changes 2021-01-14 19:49:01 +01:00
Kay Marquardt (Gnadelwartz)
71daed3487 modules: sendMessage: fix curl detection 2021-01-14 18:31:39 +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)
f573d63c55 remove URLs used once 2021-01-14 17:47:06 +01:00
Kay Marquardt (Gnadelwartz)
d521d35815 init: bashbot.rc: adjust botname 2021-01-10 19:21:18 +01:00
Kay Marquardt (Gnadelwartz)
c6c30a4b9d init: finalize adjust user 2021-01-10 18:39:43 +01:00
Kay Marquardt (Gnadelwartz)
bd664dacfe init: rework adjust user 2021-01-10 18:23:37 +01:00
Kay Marquardt (Gnadelwartz)
88a24cb2a3 doc: move bashbot.ascii 2021-01-09 22:25:15 +01:00
Kay Marquardt (Gnadelwartz)
de24dede53 mycommands: factor out config and messages 2021-01-09 07:46:46 +01:00
Kay Marquardt (Gnadelwartz)
37e4539ef8 dev: move ascii art to bin/ 2021-01-08 22:32:05 +01:00
Kay Marquardt (Gnadelwartz)
4a9d1f0a29 README: bashbot ascii art 2021-01-08 22:12:03 +01:00
Kay Marquardt (Gnadelwartz)
cb81f7c8e0 internal: some cleanup 2021-01-06 15:33:07 +01:00
Kay Marquardt (Gnadelwartz)
bbc679463a internal: printf date is 100 times faster 2021-01-06 08:48:25 +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)
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)
11daa4890d Bashbot Version 1.21 (cleanup release) 2021-01-03 22:39:36 +01:00
Kay Marquardt (Gnadelwartz)
dad68a95d0 credits to dcoomber 2021-01-02 10:18:58 +01:00
Kay Marquardt
5415f28a38
Merge pull request #169 from @dcoomber
Merge devlop with master
2021-01-02 08:58:31 +01:00
dcoomber
072dfa4213 Standardised usage of Linux and Unix 2021-01-02 07:17:02 +02:00
Kay Marquardt (Gnadelwartz)
d1e9ccb652 ups, fix log_message first \n 2021-01-02 01:03:07 +01:00
Kay Marquardt (Gnadelwartz)
051e603907 fix source without arg source 2021-01-02 00:40:42 +01:00
Kay Marquardt (Gnadelwartz)
5d9df7b7fd revert jsshDB optimisation 2021-01-02 00:32:32 +01:00
Kay Marquardt (Gnadelwartz)
05b81ff31d some test optimisations 2021-01-02 00:11:23 +01:00
Kay Marquardt (Gnadelwartz)
a93dc564f1 fix typo's provided by @dcoomber 2021-01-01 22:00:46 +01:00
Kay Marquardt (Gnadelwartz)
9cca55b376 multiline printf 2021-01-01 21:55:13 +01:00
Kay Marquardt (Gnadelwartz)
ed1cc4a37f combine printf 2021-01-01 21:48:59 +01:00
Kay Marquardt (Gnadelwartz)
03c8c9ded5 check for JSON.sh executable only 2021-01-01 21:40:51 +01:00
Kay Marquardt (Gnadelwartz)
726357ab58 rework help, provide option -h --help 2021-01-01 21:36:48 +01:00
dcoomber
b0578d2541 Fixed some spelling mistakes 2021-01-01 21:15:11 +02:00
Kay Marquardt (Gnadelwartz)
647492c989 error code 5 description 2021-01-01 19:56:19 +01:00
Kay Marquardt (Gnadelwartz)
7b6a6ca9c3 tests: adapt data-bot-bash created at installation 2021-01-01 19:25:25 +01:00
Kay Marquardt (Gnadelwartz)
74dfdd753f data-bot-bash is created while installing 2021-01-01 19:01:26 +01:00
Kay Marquardt (Gnadelwartz)
23e04a98ef finally eliminate echo ... 2021-01-01 17:14:59 +01:00
Kay Marquardt (Gnadelwartz)
b04ee84b1d remove unneeded variable ADIM 2020-12-31 18:11:37 +01:00
Kay Marquardt (Gnadelwartz)
79f58cd7fd remove unneeded BOTADMIN TOKENFILE variables 2020-12-31 18:02:31 +01:00
Kay Marquardt (Gnadelwartz)
bddd52829e fix log_error, log_update do not interpret \n\t etc 2020-12-30 10:07:10 +01:00
Kay Marquardt (Gnadelwartz)
29f2ce8418 fix log_message, log_updates do not interpret \n\t etc 2020-12-30 10:03:23 +01:00
Kay Marquardt (Gnadelwartz)
91419a2691 do not move old logfiles anymore 2020-12-29 14:02:11 +01:00
Kay Marquardt (Gnadelwartz)
43f5536dcb better log_message string format 2020-12-28 22:40:23 +01:00
Kay Marquardt (Gnadelwartz)
be87ba3e23 fix init test if BOTTOKEN is set 2020-12-28 22:35:24 +01:00
Kay Marquardt (Gnadelwartz)
249dbb0471 some minor text changes 2020-12-27 21:17:39 +01:00
Kay Marquardt (Gnadelwartz)
eedd0b3ab3 update installation instructions 2020-12-27 17:13:37 +01:00
Kay Marquardt (Gnadelwartz)
3f8841b8f1 currently no update actions on init 2020-12-27 15:12:35 +01:00
Kay Marquardt (Gnadelwartz)
0d7fee3bd2 no more convert old config 2020-12-27 14:58:34 +01:00
Kay Marquardt (Gnadelwartz)
21afd4e62e no more autoatic download of JSON.sh 2020-12-27 14:53:00 +01:00
Kay Marquardt (Gnadelwartz)
9bfc27a678 save corrupt bot config on recover 2020-12-27 13:12:38 +01:00
Kay Marquardt (Gnadelwartz)
90c5d87761 better messages when entering bot token and bot admin 2020-12-27 12:51:19 +01:00
Kay Marquardt (Gnadelwartz)
c0bce91937 fix NN 2020-12-27 12:38:52 +01:00
Kay Marquardt (Gnadelwartz)
b123c3dbce better messages for invalid bot token 2020-12-27 12:34:39 +01:00
Kay Marquardt (Gnadelwartz)
cae6288598 CLEAR -> INTERACTIVE 2020-12-27 11:26:38 +01:00
Kay Marquardt (Gnadelwartz)
874e37e408 remove stats command 2020-12-27 11:18:42 +01:00
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