Commit Graph

149 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)
5dcc7ef3f6 jsonDB check for empty filename always 2020-06-19 11:13:36 +02:00
Kay Marquardt (Gnadelwartz)
30eedcffb1 fix updateArray check for empty array 2020-06-18 14:33:13 +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)
3cd8dc91ae readDB on empty array given to updateArray 2020-06-18 11:48:24 +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)
6439d435c2 jssh no more double implementation of complex functions 2020-06-15 11:23:43 +02:00
Kay Marquardt (Gnadelwartz)
24a7eaa8dd cache botconfig, optimze updateArray 2020-06-15 09:09:08 +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)
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)
e0b9f6f870 create setconfigKey, clean botconfig on update startup 2020-06-13 21:39:52 +02:00
Kay Marquardt (Gnadelwartz)
ca0509556a fix/optimize getKey functions 2020-06-13 18:40:34 +02:00
Kay Marquardt (Gnadelwartz)
e0470aadc0 move Json2Arru and Array2Json to jsshDB module 2020-06-13 17:56:43 +02:00
Kay Marquardt (Gnadelwartz)
8affc94813 start 0.98 dev, create botconfig db 2020-06-12 21:18:32 +02:00
Kay Marquardt (Gnadelwartz)
f2a1d9f32f fix v0.96 jssh_updateKey 2020-06-12 19:18:22 +02:00
Kay Marquardt (Gnadelwartz)
15e6c7bcbe Version 0.96 2020-06-12 11:11:17 +02:00
Kay Marquardt (Gnadelwartz)
f4c1657270 fix keyDB_async, count cleanup only on bot start 2020-06-10 09:32:53 +02:00
Kay Marquardt (Gnadelwartz)
6d940c7cc8 fix jsshGetKey 2020-06-09 22:45:34 +02:00
Kay Marquardt (Gnadelwartz)
f96625ef9d explanation for BOTSEND_RETRY explanation and why printf 2020-06-09 11:57:25 +02:00
Kay Marquardt (Gnadelwartz)
b01e3e91b6 prepare for release, start cleanup and optimizing 2020-06-09 09:15:36 +02:00
Kay Marquardt (Gnadelwartz)
6f86036809 more sendJson error handling, rearrange source modules 2020-06-08 12:58:36 +02:00
Kay Marquardt (Gnadelwartz)
601fe0ea51 interactive working again, more logging 2020-06-07 13:30:59 +02:00
Kay Marquardt (Gnadelwartz)
3f85134d2f simplyfy start_proc, may fix interactive also 2020-06-07 09:31:03 +02:00
Kay Marquardt (Gnadelwartz)
515e07de5d fix suspend/kill background jobs 2020-06-07 09:10:02 +02:00
Kay Marquardt (Gnadelwartz)
4407ccf8ad no more named pipe for background 2020-06-06 23:01:11 +02:00
Kay Marquardt (Gnadelwartz)
407e1476a3 add jssh_clearBD 2020-06-05 22:13:18 +02:00
Kay Marquardt (Gnadelwartz)
bc74141db7 _async for every jssh function, use async in bashbot.sh 2020-06-05 09:01:20 +02:00
Kay Marquardt (Gnadelwartz)
31b3203483 fix problems found by tests 2020-06-01 11:50:42 +02:00
Kay Marquardt (Gnadelwartz)
46748ee4b8 revert shellcheck tip for send_message, sed is faster 2020-05-31 11:55:08 +02:00
Kay Marquardt (Gnadelwartz)
6d1e7cc065 jsonDB updates: insertKey, use builtin alias, fix updateDB_async, fix shellcheck hints 2020-05-31 11:04:38 +02:00
Kay Marquardt (Gnadelwartz)
67b9039d51 fix not working jssh_updateDB 2020-05-27 09:06:22 +02:00
Kay Marquardt (Gnadelwartz)
e63590b9b4 extended JsonEscape for V2 2020-05-20 16:38:56 +02:00
Kay Marquardt (Gnadelwartz)
01539286d1 revert old commands.sh 2020-05-20 16:35:22 +02:00
Kay Marquardt (Gnadelwartz)
7e83e5dd1c markdownv2 is not ccompatible, jssh_getKey 2020-05-20 15:18:23 +02:00
Kay Marquardt (Gnadelwartz)
a4636668a7 optimized version of countKeyDB 2020-05-19 19:26:10 +02:00
Kay Marquardt (Gnadelwartz)
b6f36c6e7a add jssh_countKeyDB function 2020-05-19 18:21:56 +02:00
Kay Marquardt (Gnadelwartz)
4b36432d09 Start 0.96-dev, use MarkdownV2 2020-05-19 17:48:18 +02:00
Kay Marquardt (Gnadelwartz)
f8f59a3cab revert v2 for master 2020-05-19 17:37:26 +02:00
Kay Marquardt (Gnadelwartz)
a055b775d7 use MarkdownV2 2020-05-19 17:32:29 +02:00
Kay Marquardt (Gnadelwartz)
7aa409fbc8 Version 0.94 2020-05-17 13:51:32 +02:00
Kay Marquardt (Gnadelwartz)
93f49665aa botadmin is also an admin, better default for /start command 2020-05-16 08:49:36 +02:00