Commit Graph

367 Commits

Author SHA1 Message Date
Kay Marquardt (Gnadelwartz)
0d50c8df6e better JSON.awk instructions 2020-12-19 22:10:06 +01:00
Kay Marquardt (Gnadelwartz)
0db0215d9b fix sendJsonResult and chat is not a number 2020-12-18 14:47:53 +01:00
Kay Marquardt (Gnadelwartz)
53c7879c9f add error respone for chat id not a nuber 2020-12-18 14:23:20 +01:00
Kay Marquardt (Gnadelwartz)
1dd546b037 add bin directory to distribution 2020-12-16 18:01:16 +01:00
Kay Marquardt (Gnadelwartz)
e6223b6645 start of ready to use scripts 2020-12-16 13:45:59 +01:00
Kay Marquardt (Gnadelwartz)
9d39fe181b JSON.awk documentation 2020-12-15 17:06:37 +01:00
Kay Marquardt (Gnadelwartz)
3c1ea93168 try recover from block in update loop 2020-12-14 14:00:23 +01:00
Kay Marquardt (Gnadelwartz)
3496a21d62 fix edit_message documentation 2020-12-13 20:36:16 +01:00
Kay Marquardt (Gnadelwartz)
78ddc1f4e6 add edit_message documentation 2020-12-13 19:10:12 +01:00
Kay Marquardt (Gnadelwartz)
eda77f8b55 add /_migrate_group to mycommands.sh example 2020-12-13 12:44:14 +01:00
Kay Marquardt (Gnadelwartz)
da7a3f1f21 detect supergroup migration 2020-12-13 12:00:18 +01:00
Kay Marquardt (Gnadelwartz)
336f00bb3c fix BOTSENT spelling 2020-12-07 18:34:23 +01:00
Kay Marquardt (Gnadelwartz)
5db2ef6f30 add BOTSENT[ID] to documentation 2020-12-07 18:29:37 +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)
95b2b9a79d detect if no curl AND no wget 2020-11-29 17:20:57 +01:00
Gnadelwartz
11c1d55322 bc and codespell are optional 2020-11-29 15:48:22 +01:00
Gnadelwartz
b5caff0a32 statisfy newer shellcheck version 2020-11-29 15:34:00 +01:00
Kay Marquardt (Gnadelwartz)
a1773cce84 document enabling update logging 2020-11-29 10:58:06 +01:00
Kay Marquardt (Gnadelwartz)
1cf1dfff00 Merge branch 'develop' of github.com:topkecleon/telegram-bot-bash into develop 2020-11-03 12:21:55 +01:00
Kay Marquardt (Gnadelwartz)
a749d2907e extend _is_allowed: ALL means every user 2020-11-03 12:21:11 +01:00
Kay Marquardt
352ef813e2
Merge pull request #157 sync with main
sync with main
2020-10-29 13:37:04 +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
d667ecc262 Merging with topkecleon-develop 2020-09-27 20:24:15 +02:00
dcoomber
676a69465d Cosmetic updates to DEV document 2020-09-27 19:41:08 +02:00
dcoomber
9c8b4f9611 Correct instances of bahsbot to bashbot 2020-09-27 17:36:01 +02:00
Kay Marquardt (Gnadelwartz)
a52116280a fix array check for ash 2020-09-24 18:20:39 +02:00
Kay Marquardt (Gnadelwartz)
e835bbc408 fix doc 2020-09-24 17:13:20 +02:00
Kay Marquardt (Gnadelwartz)
b941d06f10 bashbot version 1.1 2020-09-23 15:55:48 +02:00
Kay Marquardt (Gnadelwartz)
c0eb399869 fix emmbedded 2020-09-23 15:46:34 +02:00
Kay Marquardt (Gnadelwartz)
c20eef461d extend doc bash checks 2020-09-23 15:35:31 +02:00
Kay Marquardt (Gnadelwartz)
c479c80362 fix doc bash checks 2020-09-23 15:22:30 +02:00
Kay Marquardt (Gnadelwartz)
1153d654d8 check for bash features 2020-09-23 10:58:18 +02:00
Kay Marquardt (Gnadelwartz)
6718d24133 use zip and or tar files 2020-09-09 17:48:47 +02:00
Kay Marquardt (Gnadelwartz)
c292292709 delete addons on install from github 2020-09-08 12:13:35 +02:00
Kay Marquardt (Gnadelwartz)
c2a110a74d updates should be done from distribution files 2020-09-08 11:56:09 +02:00
David Coomber
7e2f5a8495 Corrected references to bashbot.rc and dev/all-tests.sh; other cosmetic updates 2020-09-06 19:33:13 +02:00
Kay Marquardt (Gnadelwartz)
25a33b3731 Bashbot Version 1.0 2020-08-15 09:29:13 +02:00
Kay Marquardt (Gnadelwartz)
682f3941e3 warn if old send_keyboard format is detected 2020-08-08 17:58:18 +02:00
Kay Marquardt (Gnadelwartz)
acf9d8432f update documentation 2020-07-28 09:14:57 +02:00
Kay Marquardt (Gnadelwartz)
3daf84dad8 Bashbot Version 0.99 2020-07-27 18:14:18 +02:00
Kay Marquardt (Gnadelwartz)
38a6198198 some doc cleanup 2020-07-26 13:35:12 +02:00
Kay Marquardt (Gnadelwartz)
550387bdbc Bashbot Version 0.98 2020-07-01 12:23:57 +02:00
Kay Marquardt (Gnadelwartz)
9e89627ae9 add exmaple welcome message to mycommands 2020-06-29 20:17:23 +02:00
Kay Marquardt (Gnadelwartz)
10f0dea98d fix missing } in doc 2020-06-29 15:39:03 +02:00
Kay Marquardt (Gnadelwartz)
595d21ff84 update doc 2020-06-29 14:55:08 +02:00
Kay Marquardt (Gnadelwartz)
63b9c283a2 service message start with /_ to avoid clashes 2020-06-29 08:14:39 +02:00
Kay Marquardt (Gnadelwartz)
c79031f604 prepare 0.98 release 2020-06-26 16:23:16 +02:00
Kay Marquardt (Gnadelwartz)
a597303115 fix typos in install.md 2020-06-26 11:10:12 +02:00
Kay Marquardt (Gnadelwartz)
24e9ec6e75 adjust doc for 0.98 release 2020-06-26 11:01:56 +02:00
Kay Marquardt (Gnadelwartz)
5ec83bbc2f prepare for release, remove python reference from doc 2020-06-24 18:54:02 +02:00
Kay Marquardt (Gnadelwartz)
e7739b8333 link to telegram InlineMarkup 2020-06-23 17:58:01 +02:00
Kay Marquardt (Gnadelwartz)
fb61a488c6 use codespell for english text in git hooks 2020-06-23 17:42:34 +02:00
Kay Marquardt (Gnadelwartz)
d2a578a757 codespell is much better 2020-06-23 16:35:50 +02:00
Kay Marquardt (Gnadelwartz)
694ee6185d use vim spellcheck for MD 2020-06-23 16:11:45 +02:00
Kay Marquardt (Gnadelwartz)
9adc62d6ec update doc for loggin 2020-06-18 16:20:42 +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)
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)
18f0ace928 finalize service message processing 2020-06-17 08:38:44 +02:00
Kay Marquardt (Gnadelwartz)
8991cc98f0 optimize update processing, fix LEFTMEMBER 2020-06-15 19:44:46 +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
Kay Marquardt (Gnadelwartz)
cdc6dd323d add LEFTMEMBER values, doc values 2020-06-13 19:57:24 +02:00
Kay Marquardt (Gnadelwartz)
15e6c7bcbe Version 0.96 2020-06-12 11:11:17 +02:00
Kay Marquardt (Gnadelwartz)
3871ca9656 finalize error logs, update events doc 2020-06-12 10:00:52 +02:00
Kay Marquardt (Gnadelwartz)
737d54d365 improved logging, error handling on update 2020-06-12 01:17:15 +02:00
Kay Marquardt (Gnadelwartz)
471ad21e90 update background job doc 2020-06-11 23:00:14 +02:00
Kay Marquardt (Gnadelwartz)
38164ba9a2 dispose JSON.sh complaint about empty input 2020-06-11 15:55:15 +02:00
Kay Marquardt (Gnadelwartz)
15f6da85dc remove count.jssh.flock after cleanup 2020-06-11 12:37:36 +02:00
Kay Marquardt (Gnadelwartz)
e663979206 improve doc 2020-06-11 12:17:07 +02:00
Kay Marquardt (Gnadelwartz)
15928bd58f update doc for error processing 2020-06-11 11:00:16 +02:00
Kay Marquardt (Gnadelwartz)
6c02bab1bd document timer tick disabled by default 2020-06-11 09:23:03 +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)
bd22e2aa17 fix make-standalone, add minimized standalone version 2020-06-08 12:04:48 +02:00
Kay Marquardt (Gnadelwartz)
3e4008844f rm vi swap file 2020-06-07 19:49:02 +02:00
Kay Marquardt (Gnadelwartz)
720dc59713 update environment doc 2020-06-07 19:47:46 +02:00
Kay Marquardt (Gnadelwartz)
3fcb8547e8 update doc 2020-06-07 14:32:18 +02:00
Kay Marquardt (Gnadelwartz)
5fc4d01a51 update interactive doc 2020-06-07 14:04:06 +02:00
Kay Marquardt (Gnadelwartz)
d0e9bd874b update doc 2020-06-05 22:24:33 +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)
8e7583d3b7 add test and doc for stats, make test send_message more stable 2020-06-01 15:04:37 +02:00
Kay Marquardt (Gnadelwartz)
2a66ee928f 0.96-dev3, update tests and docs for new features 2020-06-01 13:44:30 +02:00
Kay Marquardt (Gnadelwartz)
dddd1ce2de update docs 2020-06-01 12:00:37 +02:00
Kay Marquardt (Gnadelwartz)
578056b57d new feature block users, use jsshDB for count 2020-05-29 20:11:51 +02:00
Kay Marquardt (Gnadelwartz)
2a3dcaa471 betterjsshDB doc 2020-05-27 22:53:47 +02:00
Kay Marquardt (Gnadelwartz)
975f99a4b0 fix jsshDB doc 2020-05-27 22:28:09 +02:00
Kay Marquardt (Gnadelwartz)
a7997f21b5 update jsshdb doc 2020-05-27 10:57:25 +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)
037b1ea326 fix doc typos 2020-05-19 19:48:38 +02:00
Kay Marquardt (Gnadelwartz)
ab863af08b add doc for jssh_countKeyDB 2020-05-19 19:41:54 +02:00
Kay Marquardt (Gnadelwartz)
46af6348a7 some doc typo and imorovments 2020-05-19 15:15:26 +02:00
Kay Marquardt (Gnadelwartz)
876361f562 install gnu utils on BSD and MacOS ... 2020-05-19 14:58:29 +02:00
Kay Marquardt (Gnadelwartz)
dcf6534c1f add some bot token warnings 2020-05-18 14:57:53 +02:00
Kay Marquardt (Gnadelwartz)
1dc0211890 example bash -c bash2env.sh 2020-05-17 18:19:03 +02:00
Kay Marquardt (Gnadelwartz)
f0a7d85351 example bash -c bash2env.sh 2020-05-17 18:16:14 +02:00
Kay Marquardt (Gnadelwartz)
ca803c0a47 Version 0.94 2020-05-17 14:13:12 +02:00
Kay Marquardt (Gnadelwartz)
ced78d3656 fix broken link 2020-05-17 14:02:03 +02:00
Kay Marquardt (Gnadelwartz)
7aa409fbc8 Version 0.94 2020-05-17 13:51:32 +02:00
Kay Marquardt (Gnadelwartz)
bdb50c8716 allow += for jsshDB, this allows adding to keys without overwrite 2020-05-17 13:19:21 +02:00
Kay Marquardt (Gnadelwartz)
6531fecfed update doc for MacOS 2020-05-17 13:16:01 +02:00
Kay Marquardt (Gnadelwartz)
f13a2d05cc almost finished for 0.94 2020-05-15 18:52:12 +02:00
Kay Marquardt (Gnadelwartz)
c02327f7a1 use flock for atomic, update doc 2020-05-15 17:45:23 +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)
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)
4aa7561f7c update doc, prepare for release 2020-05-14 15:47:04 +02:00
Kay Marquardt (Gnadelwartz)
8a119f8806 some small fixes, start dev3 2020-05-14 13:04:57 +02:00
Kay Marquardt
2e446d91f6
Merge branch 'develop' into master 2020-05-14 12:05:08 +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)
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)
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)
0497513eb9 BASHBOT_EVENT_SEND plus documentation 2019-06-04 18:04:52 +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
Kay Marquardt (Gnadelwartz)
1e851bd296 provide event key to function 2019-06-03 20:34:43 +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)
d5f9b1c4fb fix read timer event timing 2019-05-30 18:02:57 +02:00
Kay Marquardt (Gnadelwartz)
b240edee41 some doc updates plus working version of antiFlood.sh 2019-05-30 15:08:07 +02:00
Kay Marquardt (Gnadelwartz)
1c5594a5c2 add jsshDB functions to function reference 2019-05-30 14:07:29 +02:00
Kay Marquardt (Gnadelwartz)
2a28e7f0c9 add new functions to functions reference 2019-05-30 12:47:13 +02:00
Kay Marquardt (Gnadelwartz)
9148dc5f04 fix uppercase DIST and STANDALONE dirs 2019-05-30 12:16:13 +02:00
Kay Marquardt (Gnadelwartz)
405276bbbc fix misspellings 2019-05-30 12:14:23 +02:00
Kay Marquardt (Gnadelwartz)
60b1a59a8e adjust documenation 2019-05-30 12:03:40 +02:00
Kay Marquardt (Gnadelwartz)
5779accfe8 explain BASHBOT_EVENTS 2019-05-29 18:33:54 +02:00
Kay Marquardt (Gnadelwartz)
a1a4829109 add some word about modules and addons 2019-05-29 18:02:20 +02:00
Kay Marquardt (Gnadelwartz)
981c0eec01 dev2, fix test for send_message 2019-05-26 16:50:19 +02:00
Kay Marquardt (Gnadelwartz)
9f74bcfec4 prepare doc for addons 2019-05-25 14:06:41 +02:00
Kay Marquardt (Gnadelwartz)
43372f5278 adjust documentation to command overwrite 2019-05-25 13:55:11 +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)
0f6864f763 resolve conflict with master 2019-05-24 15:09:10 +02:00
Kay Marquardt (Gnadelwartz)
856b831736 add json test db for using my-json-server.typicode.com 2019-05-24 10:01:47 +02:00
Kay Marquardt (Gnadelwartz)
cb77d411a8 autodetect sourcing, add CURL and WGET options, e.g. for using tor 2019-05-23 19:40:15 +02:00
Kay Marquardt (Gnadelwartz)
b1fb35d421 update expert use 2019-05-23 14:06:38 +02:00
Kay Marquardt (Gnadelwartz)
e0bb9f85e1 fix bashbot.sh source errors and update documentation 2019-05-23 13:32:13 +02:00
Kay Marquardt (Gnadelwartz)
80a47780ce Add BASHBOT_HOME, commandline examples 2019-05-23 12:26:53 +02:00