Commit Graph

400 Commits

Author SHA1 Message Date
Kay Marquardt (Gnadelwartz)
bbda41b0f3 doc: markdown v2 reserved characters 2021-01-02 13:08:02 +01:00
Kay Marquardt (Gnadelwartz)
dad68a95d0 credits to dcoomber 2021-01-02 10:18:58 +01:00
dcoomber
d4bb169e6b Updated README (and docs referenced from README) 2021-01-02 08:49:17 +02:00
dcoomber
072dfa4213 Standardised usage of Linux and Unix 2021-01-02 07:17:02 +02:00
Kay Marquardt (Gnadelwartz)
3407b0500b doc: fix typo 2020-12-30 11:18:48 +01:00
Kay Marquardt (Gnadelwartz)
41378f87a9 doc: 7_develop: explain test installation 2020-12-30 11:06:32 +01:00
Kay Marquardt (Gnadelwartz)
889fe8e865 doc: better description for git installation 2020-12-30 10:58:25 +01:00
Kay Marquardt (Gnadelwartz)
7ecb836c6d doc: fix missing ``` 2020-12-29 13:46:48 +01:00
Kay Marquardt (Gnadelwartz)
d083390dcb doc: improve jsshDB flock description 2020-12-29 11:27:22 +01:00
Kay Marquardt (Gnadelwartz)
2aa5c75fe0 doc: improve jsshDB description again 2020-12-29 11:22:49 +01:00
Kay Marquardt (Gnadelwartz)
fee0615c28 doc: improve jsshDB description 2020-12-29 11:16:14 +01:00
Kay Marquardt (Gnadelwartz)
cf6f3eedd7 doc: remove old stuff part 2 2020-12-29 11:02:28 +01:00
Kay Marquardt (Gnadelwartz)
13d15f453c doc: remove old stuff 2020-12-29 10:18:41 +01:00
Kay Marquardt (Gnadelwartz)
1a0b51d2ab adjust send_meassge test 2020-12-28 15:03:53 +01:00
Kay Marquardt (Gnadelwartz)
a3efcd2e7f fix injecting JSON.awk to work on updates 2020-12-28 14:21:29 +01:00
Kay Marquardt (Gnadelwartz)
a4dce7bb5a myfilelocationstartshere -> myfilestartshere 2020-12-28 12:29:38 +01:00
Kay Marquardt (Gnadelwartz)
249dbb0471 some minor text changes 2020-12-27 21:17:39 +01:00
Kay Marquardt (Gnadelwartz)
8c9298d548 skip tests with --notest 2020-12-27 17:27:04 +01:00
Kay Marquardt (Gnadelwartz)
eedd0b3ab3 update installation instructions 2020-12-27 17:13:37 +01:00
Kay Marquardt (Gnadelwartz)
0bda9d9feb doc: send_file better explanation 2020-12-27 10:49:51 +01:00
Kay Marquardt (Gnadelwartz)
79402eca27 doc: send_file absolute path vs relative to UPLOADDIR 2020-12-27 10:38:49 +01:00
Kay Marquardt (Gnadelwartz)
1bd1727ea0 braodcast.sh check for 403 erros 2020-12-26 20:43:45 +01:00
Kay Marquardt (Gnadelwartz)
232a16bc90 bin/ check files before include 2020-12-26 20:39:21 +01:00
Kay Marquardt (Gnadelwartz)
00af5b86c8 doc: update dev hints for debian 2020-12-26 20:37:07 +01:00
Kay Marquardt (Gnadelwartz)
239dd769c2 Version 1.20 2020-12-25 21:47:08 +01:00
Kay Marquardt (Gnadelwartz)
2ab00a2c57 add bin/send_file.sh, fix logging caption 2020-12-25 20:57:05 +01:00
Kay Marquardt (Gnadelwartz)
269cbfb1d2 doc: send_text_messge -> send_normal_message 2020-12-25 18:03:23 +01:00
Kay Marquardt (Gnadelwartz)
dca7a6dccb doc: add usage of \n 2020-12-25 17:55:46 +01:00
Kay Marquardt (Gnadelwartz)
1dd94410fd doc: add bin/ scripts usage 2020-12-25 17:54:33 +01:00
Kay Marquardt (Gnadelwartz)
c93c9ae891 doc: add bin/ scripts 2020-12-24 12:27:12 +01:00
Kay Marquardt (Gnadelwartz)
20bfef1e6a doc: JSON.awk now in zip / tar 2020-12-23 14:00:13 +01:00
Kay Marquardt (Gnadelwartz)
05bb23a49f shorter urls for download 2020-12-23 13:46:39 +01:00
Kay Marquardt (Gnadelwartz)
f56b7ae5c5 always patch JSON.awk 2020-12-23 13:14:52 +01:00
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