Commit Graph

533 Commits

Author SHA1 Message Date
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
Kay Marquardt (Gnadelwartz)
6948ecd778 warning if curl is not found in PATH and default locations 2020-11-28 12:30:32 +01:00
Kay Marquardt (Gnadelwartz)
6ec00d49b3 remove JSON.sh -s option to fix message newline conversion on ubuntu 2020-10-16 10:53:08 +02:00
dcoomber
269d18507f Corrected return code for bottoken error 2020-09-27 20:30:10 +02:00
dcoomber
d667ecc262 Merging with topkecleon-develop 2020-09-27 20:24:15 +02:00
dcoomber
7488d52922 Cosmetic updates to some comments 2020-09-26 21:25:17 +02:00
dcoomber
12579c8712 Cosmetic updates to spelling and indentation 2020-09-26 19:52:06 +02:00
David Coomber
d9620c7de6 Updated prompt references to basbot / BASBOT to bashbot / BASHBOT 2020-09-06 19:33:13 +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)
d8c10ef069 start develop v1.1 2020-08-15 09:42:20 +02:00
Kay Marquardt (Gnadelwartz)
25a33b3731 Bashbot Version 1.0 2020-08-15 09:29:13 +02:00
Kay Marquardt (Gnadelwartz)
3e10396e2e save startup time while cleanup botconfig 2020-08-06 08:34:59 +02:00
Kay Marquardt (Gnadelwartz)
b9c8dc0ff8 fix help if not in bashbot dir 2020-08-05 08:08:50 +02:00
Kay Marquardt (Gnadelwartz)
6011444a3c fix leftchatmember example and message 2020-08-04 08:31:38 +02:00
Kay Marquardt (Gnadelwartz)
c4ab7ff4ee some more comment polishing 2020-08-01 11:37:32 +02:00
Kay Marquardt (Gnadelwartz)
3daf84dad8 Bashbot Version 0.99 2020-07-27 18:14:18 +02:00
Kay Marquardt (Gnadelwartz)
6e0242368e get/send Json: output debug messages to DEBUGLOG 2020-07-24 12:58:04 +02:00
Kay Marquardt (Gnadelwartz)
1952610282 show blocked users on stats 2020-07-23 09:14:38 +02:00
Kay Marquardt (Gnadelwartz)
2dc1f385f2 better readable sed command 2020-07-20 16:08:21 +02:00
Kay Marquardt (Gnadelwartz)
ef4d21f6f4 fix BASHBOT_RETRY, add example it bot is blocked 2020-07-12 11:19:58 +02:00
Kay Marquardt (Gnadelwartz)
2b104716df fix some small DEBUG problems 2020-07-11 14:11:48 +02:00
Kay Marquardt (Gnadelwartz)
35528760fd fix DEBUGLOG not set 2020-07-11 08:34:57 +02:00
Kay Marquardt (Gnadelwartz)
f4f6c2c501 fix log_error printf 2020-07-11 08:06:44 +02:00
Kay Marquardt (Gnadelwartz)
9799db4cb9 debug should always last argument 2020-07-10 08:39:33 +02:00
Kay Marquardt (Gnadelwartz)
d85c7794a9 move old logfiles to logs on init 2020-07-09 22:31:58 +02:00
Kay Marquardt (Gnadelwartz)
d8cff8f70e create log dir on init 2020-07-09 13:44:14 +02:00
Kay Marquardt (Gnadelwartz)
a12738734b create log dir on init 2020-07-09 13:41:09 +02:00
Kay Marquardt (Gnadelwartz)
487deee08c final debug msgs 2020-07-04 09:18:28 +02:00
Kay Marquardt (Gnadelwartz)
9b1119d51d move individual debug checks to mycommands.sh part 2 2020-07-02 17:24:56 +02:00
Kay Marquardt (Gnadelwartz)
550387bdbc Bashbot Version 0.98 2020-07-01 12:23:57 +02:00
Kay Marquardt (Gnadelwartz)
358f95a766 rework BASHBOTDEBUG is always global 2020-06-30 07:26:16 +02:00
Kay Marquardt (Gnadelwartz)
9e3d301d37 finalise service pinned message, fix new/left member ARRAY 2020-06-29 13:29:47 +02:00
Kay Marquardt (Gnadelwartz)
12b4696e80 minor optimisation to URLS processing 2020-06-29 12:25:55 +02:00
Kay Marquardt (Gnadelwartz)
4883c18974 fix possible problems found while adjust test 2020-06-29 11:21:56 +02:00
Kay Marquardt (Gnadelwartz)
63b9c283a2 service message start with /_ to avoid clashes 2020-06-29 08:14:39 +02:00
Kay Marquardt (Gnadelwartz)
4b3363f603 more places with debug_checks 2020-06-28 08:52:02 +02:00
Kay Marquardt (Gnadelwartz)
456e86b932 fix of fix test errors 2020-06-27 18:51:17 +02:00
Kay Marquardt (Gnadelwartz)
e6de3828d3 adjust version strings 2020-06-27 18:33:58 +02:00
Kay Marquardt (Gnadelwartz)
ae4610a742 fix problems found by tests 2020-06-27 18:32:50 +02:00
Kay Marquardt (Gnadelwartz)
c517129559 fix missing copy botconfig 2020-06-27 12:43:46 +02:00
Kay Marquardt (Gnadelwartz)
724f36b4df start using log_error 2020-06-27 10:43:08 +02:00
Kay Marquardt (Gnadelwartz)
423bf35411 more debug checks to locate where broken config or strange files appears 2020-06-27 10:29:36 +02:00
Kay Marquardt (Gnadelwartz)
c79031f604 prepare 0.98 release 2020-06-26 16:23:16 +02:00
Kay Marquardt (Gnadelwartz)
5afe05aa44 implement RETRY for send_album 2020-06-26 09:11:10 +02:00
Kay Marquardt (Gnadelwartz)
a69204596e fix EVENT_SEND for upload 2020-06-26 09:07:00 +02:00
Kay Marquardt (Gnadelwartz)
e3151626c0 first working version of send album for URLs 2020-06-26 08:26:52 +02:00
Kay Marquardt (Gnadelwartz)
01a72e8a26 improve init 2020-06-25 17:15:49 +02:00
Kay Marquardt (Gnadelwartz)
af156a4e1b fix merge conflict 2020-06-25 13:32:36 +02:00
Kay Marquardt (Gnadelwartz)
d904371fb9 resolve conflict with develop 2020-06-24 19:01:30 +02:00
Kay Marquardt (Gnadelwartz)
48f314eaaa unneeded : in start_bot fixes #134 2020-06-23 20:57:38 +02:00
Kay Marquardt (Gnadelwartz)
3d760b3319 unneeded : in start_bot fixes #134 2020-06-23 20:48:28 +02:00
Kay Marquardt (Gnadelwartz)
d2a578a757 codespell is much better 2020-06-23 16:35:50 +02:00
Kay Marquardt (Gnadelwartz)
80a6dbbe9f more save split to array 2020-06-22 18:38:15 +02:00
Kay Marquardt (Gnadelwartz)
4fe969766b better handling of restart jobs 2020-06-22 14:10:36 +02:00
Kay Marquardt (Gnadelwartz)
d52ea8c240 avoid unintended file overwrite 2020-06-20 20:12:36 +02:00
Kay Marquardt (Gnadelwartz)
4d8c2054a6 fix detecting sourceing 2020-06-19 18:47:18 +02:00
Kay Marquardt (Gnadelwartz)
f119c447ce fix 2 message typo 2020-06-19 17:39:53 +02:00
Kay Marquardt (Gnadelwartz)
1cba3aaf53 check for no arg at beginning 2020-06-19 13:41:29 +02:00
Kay Marquardt (Gnadelwartz)
f1d71a0771 process help at beginning 2020-06-19 13:15:50 +02:00
Kay Marquardt (Gnadelwartz)
11b5aab9b9 do not create botconfig on help 2020-06-19 12:56:09 +02:00
Kay Marquardt (Gnadelwartz)
75024a1726 rearrange get botname, allow recover from broken botconfig 2020-06-19 12:54:05 +02:00
Kay Marquardt (Gnadelwartz)
cf536c9ca3 make help browseable if w3mmor lynx exists 2020-06-19 12:51:36 +02:00
Kay Marquardt (Gnadelwartz)
fa5be1eafb rename BOTDATABASE to BOTCONFIG 2020-06-19 12:49:18 +02:00
Kay Marquardt (Gnadelwartz)
ba614b71fd fix nolog on updates 2020-06-18 16:04:39 +02:00
Kay Marquardt (Gnadelwartz)
67f2dcd498 finalise get/send Json log on debug 2020-06-18 15:38:05 +02:00
Kay Marquardt (Gnadelwartz)
02715e4128 rename UPDATE.log to BASHBOT.log 2020-06-18 14:06:36 +02:00
Kay Marquardt (Gnadelwartz)
eea1de6cbd global BASHBOTDEBUG, do not log getting updates 2020-06-18 13:19:30 +02:00
Kay Marquardt (Gnadelwartz)
d221fb698e global BASHBOTDEBUG, log send/get Json to debuglog 2020-06-18 13:11:19 +02:00
Kay Marquardt (Gnadelwartz)
344167e259 log interactvice/backgound start kill 2020-06-18 12:39:07 +02:00
Kay Marquardt (Gnadelwartz)
35d5e05ea9 log deleteMessage 2020-06-18 12:36:34 +02:00
Kay Marquardt (Gnadelwartz)
215667b3ef direct read is faster than caching botconfig with updateArray 2020-06-18 11:51:19 +02:00
Kay Marquardt (Gnadelwartz)
18f0ace928 finalize service message processing 2020-06-17 08:38:44 +02:00
Kay Marquardt (Gnadelwartz)
6e3655fc2b fix startup message 2020-06-17 05:44:01 +02:00
Kay Marquardt (Gnadelwartz)
7694df5ecc detect edited message 2020-06-16 23:05:52 +02:00
Kay Marquardt (Gnadelwartz)
b33132ea5e inform dot admin about stop, resume, restart 2020-06-15 20:07:43 +02:00
Kay Marquardt (Gnadelwartz)
8991cc98f0 optimize update processing, fix LEFTMEMBER 2020-06-15 19:44:46 +02:00
Kay Marquardt (Gnadelwartz)
4b18757779 remove JsonEscape for markup type, not needed 2020-06-15 14:22:28 +02:00
Kay Marquardt (Gnadelwartz)
4990f70bce escape tab in JSON send to telegram 2020-06-15 14:16:14 +02:00
Kay Marquardt (Gnadelwartz)
834f5ba200 escape tab in JSON send to telegram 2020-06-15 14:14:34 +02:00
Kay Marquardt (Gnadelwartz)
c943280034 cache blocked users with updateArray 2020-06-15 10:42:36 +02:00
Kay Marquardt (Gnadelwartz)
24a7eaa8dd cache botconfig, optimze updateArray 2020-06-15 09:09:08 +02:00
Kay Marquardt (Gnadelwartz)
3e4e90443c inform admin about successful start 2020-06-15 08:39:52 +02:00
Kay Marquardt (Gnadelwartz)
bc44331183 allow block chats also, optimize blockfile reading 2020-06-14 18:22:11 +02:00