Commit Graph

595 Commits

Author SHA1 Message Date
Kay Marquardt (Gnadelwartz)
cbce60a3b0 support script to convert /bin/bash to /usr/bin/env 2020-05-17 12:44:16 +02:00
Kay Marquardt (Gnadelwartz)
96fda449b5 add admin checks to mycommands 2020-05-16 22:10:12 +02:00
Kay Marquardt (Gnadelwartz)
93f49665aa botadmin is also an admin, better default for /start command 2020-05-16 08:49:36 +02:00
Kay Marquardt (Gnadelwartz)
f13a2d05cc almost finished for 0.94 2020-05-15 18:52:12 +02:00
Kay Marquardt (Gnadelwartz)
aaa71c80d6 fix deleteKeyDB 2020-05-15 18:49:38 +02:00
Kay Marquardt
e721a1aaa3
Merge pull request #118 from topkecleon/develop
0.94 pre release for wider testing
2020-05-15 18:14:46 +02:00
Kay Marquardt (Gnadelwartz)
c02327f7a1 use flock for atomic, update doc 2020-05-15 17:45:23 +02:00
Kay Marquardt (Gnadelwartz)
52bde30271 add mycommands.clean to dist, update README.txt README.html 2020-05-15 12:28:37 +02:00
Kay Marquardt (Gnadelwartz)
b1d569a679 make kill inotify optional on shutdown 2020-05-15 12:10:20 +02:00
Kay Marquardt (Gnadelwartz)
ac9ca6049e jsshDB atomic write, fix testdata 2020-05-15 11:53:19 +02:00
Kay Marquardt (Gnadelwartz)
23a3d4b8f4 add printDB to doc, adjust writeDB and readDB examples 2020-05-15 00:21:40 +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)
6c6b312f47 fix BOTTOKEN check 2020-05-14 21:31:52 +02:00
Kay Marquardt (Gnadelwartz)
d28f9752d2 optimize emtpy sting checks in commands and addons 2020-05-14 20:49:13 +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)
4aa7561f7c update doc, prepare for release 2020-05-14 15:47:04 +02:00
Kay Marquardt (Gnadelwartz)
ac2ec02a98 extend mycommands to use new features 2020-05-14 15:02:17 +02:00
Kay Marquardt (Gnadelwartz)
a5975d93c4 provide a clean mycommánds.sh file 2020-05-14 14:21:15 +02:00
Kay Marquardt (Gnadelwartz)
bf8a9117aa make it clear to NOT edit commands.sh whenever possible 2020-05-14 13:27:53 +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
fa1afc4aa9
Merge pull request #117 from topkecleon/master
Merge master into develop
2020-05-14 12:05:58 +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
fdc28e97f6
more jsonDB exmples with bash assoc array 2020-05-06 15:00:30 +02:00
Kay Marquardt
a710e0cc33
re-arrange jsonDB examples 2020-05-06 14:36:23 +02:00
Kay Marquardt
43dce860ef
better jsonDB examples 2020-05-06 14:11:50 +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)
daa2dfadda add regex hint and tester to doc 2019-12-07 14:17:21 +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)
3d636f77e6 explain REGEX usage vs. file globbing 2019-12-07 13:25:50 +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 (Gnadelwartz)
e3ba1a053c remove non UTF-8 characters on get and send strings 2019-12-07 12:50:32 +01:00
Kay Marquardt
b84ab57f6f
fix m8ssi g chat id 2019-11-27 18:47:44 +01:00
Kay Marquardt
91ad865c17
fix FILE-REGEX test 2019-11-27 08:58:45 +01:00
Kay Marquardt (Gnadelwartz)
3531eb9565 no send events when sourced 2019-06-24 10:38:24 +02:00
Kay Marquardt (Gnadelwartz)
7843de5647 disable certificate checks 2019-06-19 11:56:31 +02:00
Kay Marquardt (Gnadelwartz)
c5caf937cc allow kill/stop/suspend when blocked 2019-06-17 10:44:20 +02:00
Kay Marquardt (Gnadelwartz)
d4f415f7d9 reference doc updates 2019-06-13 17:02:40 +02:00
Kay Marquardt (Gnadelwartz)
a7769add6a improve develop and event documentation 2019-06-06 16:04:42 +02:00
Kay Marquardt (Gnadelwartz)
ce605551c9 allow botadmin to activate antiFlood for any chat 2019-06-05 13:05:47 +02:00
Kay Marquardt (Gnadelwartz)
aec6de0304 fix wrong EVENT_SEND declaration 2019-06-05 10:45:04 +02:00
Kay Marquardt (Gnadelwartz)
0497513eb9 BASHBOT_EVENT_SEND plus documentation 2019-06-04 18:04:52 +02: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)
aad0bfecd8 adjust EVENT_TIMER documentation 2019-06-04 10:55:06 +02:00