Commit Graph

930 Commits

Author SHA1 Message Date
Kay Marquardt (Gnadelwartz)
21f29a496f send_messages split messages >4096 at last newline 2020-06-19 20:57:59 +02:00
Kay Marquardt (Gnadelwartz)
e4d13fd92d convert newlines to STRING \n when send to telegra 2020-06-19 18:50:55 +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)
5dcc7ef3f6 jsonDB check for empty filename always 2020-06-19 11:13:36 +02:00
Kay Marquardt (Gnadelwartz)
9adc62d6ec update doc for loggin 2020-06-18 16:20:42 +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)
30eedcffb1 fix updateArray check for empty array 2020-06-18 14:33:13 +02:00
Kay Marquardt (Gnadelwartz)
02715e4128 rename UPDATE.log to BASHBOT.log 2020-06-18 14:06:36 +02:00
Kay Marquardt (Gnadelwartz)
8b3e92d233 explain why $ in user imput can be dangeruous 2020-06-18 14:00:38 +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)
3cd8dc91ae readDB on empty array given to updateArray 2020-06-18 11:48:24 +02:00
Kay Marquardt (Gnadelwartz)
2dbe63b79e quote exaples 2020-06-17 19:10:42 +02:00
Kay Marquardt (Gnadelwartz)
ea27513706 should we be more BSD comaptible? sorry ... 2020-06-17 19:02:49 +02:00
Kay Marquardt (Gnadelwartz)
91ced1fa35 add /edited_message example to mycommands.sh 2020-06-17 18:36:05 +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)
413779dede fix deleteKeyDB after conversion 2020-06-16 08:39:54 +02:00
Kay Marquardt (Gnadelwartz)
5dcbccd236 simplify updateArray 2020-06-16 08:31:32 +02:00
Kay Marquardt (Gnadelwartz)
70e7ee4bc1 only one message on suspend/resume jobs 2020-06-16 07:03:47 +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)
6439d435c2 jssh no more double implementation of complex functions 2020-06-15 11:23:43 +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)
4e043c5717 fix updateArray, new flock use method 2020-06-14 21:26:45 +02:00
Kay Marquardt (Gnadelwartz)
852ab9de16 adjust modules coment 2020-06-14 20:56:46 +02:00
Kay Marquardt (Gnadelwartz)
dda5b6d10e make jsonDB.sh independent from bashbot 2020-06-14 20:44:11 +02:00
Kay Marquardt (Gnadelwartz)
2af9d76ea7 jssh_updateArray update array only if file has changed 2020-06-14 20:36:14 +02:00
Kay Marquardt (Gnadelwartz)
bc44331183 allow block chats also, optimize blockfile reading 2020-06-14 18:22:11 +02:00
Kay Marquardt (Gnadelwartz)
cc69310a7e countKey optimze fast path 2020-06-14 17:39:18 +02:00
Kay Marquardt (Gnadelwartz)
2281943940 optimze countKeyDB_async 2020-06-14 17:00:41 +02:00
Kay Marquardt (Gnadelwartz)
de811c173a fix order of debug start message 2020-06-14 13:57:36 +02:00
Kay Marquardt (Gnadelwartz)
656389182f doc log files 2020-06-14 13:50:44 +02:00