Commit Graph

97 Commits

Author SHA1 Message Date
Kay Marquardt (Gnadelwartz)
c02327f7a1 use flock for atomic, update doc 2020-05-15 17:45:23 +02:00
Kay Marquardt (Gnadelwartz)
ac9ca6049e jsshDB atomic write, fix testdata 2020-05-15 11:53:19 +02:00
Kay Marquardt (Gnadelwartz)
d1f509a00f add jssh_prinDB and BG send_action 2020-05-14 23:04:08 +02:00
Kay Marquardt (Gnadelwartz)
284172fc10 allow DATA for jssh, add mycommands.sh.clean to shellcheck 2020-05-14 22:12:44 +02:00
Kay Marquardt (Gnadelwartz)
64efe96117 allow jsshDB files in BASHBOT_DATA also 2020-05-14 22:00:05 +02:00
Kay Marquardt (Gnadelwartz)
1e0de91a2d fix is_botadmin vs. is_admin, again 2020-05-14 21:46:02 +02:00
Kay Marquardt (Gnadelwartz)
0e75138548 optimize startup and testing for empty string 2020-05-14 20:33:30 +02:00
Kay Marquardt (Gnadelwartz)
c0a633f42d optimze sourcing of modules 2020-05-14 19:47:37 +02:00
Kay Marquardt (Gnadelwartz)
8a119f8806 some small fixes, start dev3 2020-05-14 13:04:57 +02:00
Kay Marquardt
eef955abf3
is_botadmin compatibility when changed from is_admin
if is_admin is changed to is_botadmin and vice versa, the first argument stays with chatid ...
2020-05-14 12:10:37 +02:00
Kay Marquardt
2e446d91f6
Merge branch 'develop' into master 2020-05-14 12:05:08 +02:00
Kay Marquardt
b3d7918a15
fix nasty get_member_status bug, improve user_is_admin 2020-05-14 08:04:19 +02:00
Kay Marquardt (Gnadelwartz)
11acaaaa1a escape quote and other charaters in JSON strings 2020-01-18 14:41:09 +01:00
Kay Marquardt (Gnadelwartz)
4f90215465 start v9.4 dev2, fix html doc creation 2019-12-07 13:59:54 +01:00
Kay Marquardt (Gnadelwartz)
f9c107850a remove non UTF-8 characters on get and send strings 2019-12-07 13:03:27 +01:00
Kay Marquardt
91ad865c17
fix FILE-REGEX test 2019-11-27 08:58:45 +01:00
Kay Marquardt (Gnadelwartz)
9b9125c9cc jssh_updateDB without deleting existing values 2019-06-04 13:16:48 +02:00
Kay Marquardt (Gnadelwartz)
55c9d8bb4d jsshDB: read write single key/value pairs 2019-06-04 12:00:19 +02:00
Kay Marquardt (Gnadelwartz)
db03e23be8 v0.94-dev 2019-06-03 17:04:19 +02:00
Kay Marquardt (Gnadelwartz)
31808a9e4f Bashbot Version 0.91 2019-06-03 16:47:29 +02:00
Kay Marquardt (Gnadelwartz)
5ebfaccfa1 Bahsbot Version 0.90 2019-05-31 23:00:44 +02:00
Kay Marquardt (Gnadelwartz)
4297fc164b answer inline parse_mode 2019-05-31 22:20:22 +02:00
Kay Marquardt (Gnadelwartz)
46271cc1a2 Bashbot Version 0.90-rc1 2019-05-30 20:59:17 +02:00
Kay Marquardt (Gnadelwartz)
3a2f58c535 Bashbot Version 0.90-rc1 2019-05-30 20:11:05 +02:00
Kay Marquardt (Gnadelwartz)
501b308532 fix get_file, fix EVENT_FILE, reset MESSAGE variables on new message 2019-05-30 19:52:14 +02:00
Kay Marquardt (Gnadelwartz)
d5f9b1c4fb fix read timer event timing 2019-05-30 18:02:57 +02:00
Kay Marquardt (Gnadelwartz)
afc669c915 make some globals readonly 2019-05-28 21:12:02 +02:00
Kay Marquardt (Gnadelwartz)
f2f5e11610 TMPDIR is used from BASH -> DATADIR 2019-05-28 20:44:40 +02:00
Kay Marquardt (Gnadelwartz)
9e020a9644 Array2Json, module jsshDB.sh 2019-05-27 14:30:21 +02:00
Kay Marquardt (Gnadelwartz)
981c0eec01 dev2, fix test for send_message 2019-05-26 16:50:19 +02:00
Kay Marquardt (Gnadelwartz)
15e7f014bd add file description to doc 2019-05-24 16:49:11 +02:00
Kay Marquardt (Gnadelwartz)
6b886562f7 sync with master 2019-05-24 16:21:51 +02:00
Kay Marquardt (Gnadelwartz)
5e6d62f19f start 0.90-dev - convert to array 2019-05-22 18:43:20 +02:00
Kay Marquardt (Gnadelwartz)
75691dc685 Bashbot Version 0.80 2019-05-22 16:28:06 +02:00
Kay Marquardt (Gnadelwartz)
e08b52e043 Bashbot Version 0.80-rc 2019-05-21 17:50:02 +02:00
Kay Marquardt (Gnadelwartz)
5b2d0e1e8f improved kill handling, fix job_control 2019-05-21 10:53:52 +02:00
Kay Marquardt (Gnadelwartz)
8669cfb785 optimize job_control 2019-05-20 21:48:44 +02:00
Kay Marquardt (Gnadelwartz)
fd7ca77cc1 move job control to module background and make it more failsave 2019-05-20 21:40:14 +02:00
Kay Marquardt (Gnadelwartz)
300553f8ba move _botadmin back to aliases 2019-05-20 19:16:00 +02:00
Kay Marquardt (Gnadelwartz)
d34c22f156 function download(), downloads URL to file in data-bot-bash 2019-05-20 18:42:21 +02:00
Kay Marquardt (Gnadelwartz)
e5f7b2da50 fix send_file, add test for send_file 2019-05-20 17:26:21 +02:00
Kay Marquardt (Gnadelwartz)
d1a3372d39 better kill handling, add send_file tests 2019-05-20 15:43:37 +02:00
Kay Marquardt (Gnadelwartz)
3c5ffdb506 test if script/job exist and is executable, more cleanup on startup 2019-05-20 12:12:11 +02:00
Kay Marquardt (Gnadelwartz)
b8ae9eca87 0.80-pre, adjust doc, convert echo with parameters to fprint 2019-05-20 10:50:51 +02:00
Kay Marquardt (Gnadelwartz)
7190c6e330 fix outproc exit and show script on ps 2019-05-19 17:31:55 +02:00
Kay Marquardt (Gnadelwartz)
83623ece2e fix interactive and MESSAGE extraction 2019-05-19 13:59:36 +02:00
Kay Marquardt (Gnadelwartz)
e7d2effc27 working background jobs, fix old pipes 2019-05-19 12:54:59 +02:00
Kay Marquardt (Gnadelwartz)
a3c0d3165c move procname and proclist, replace echo with cat for output to file 2019-05-19 10:52:44 +02:00
Kay Marquardt (Gnadelwartz)
a1a823b4b6 fix background execution 2019-05-18 21:06:29 +02:00
Kay Marquardt (Gnadelwartz)
bccd064516 start dev3 - remove tmux 2019-05-18 20:25:18 +02:00