Commit Graph

636 Commits

Author SHA1 Message Date
Kay Marquardt (Gnadelwartz)
358f95a766 rework BASHBOTDEBUG is always global 2020-06-30 07:26:16 +02:00
Kay Marquardt (Gnadelwartz)
9e3d301d37 finalise service pinned message, fix new/left member ARRAY 2020-06-29 13:29:47 +02:00
Kay Marquardt (Gnadelwartz)
12b4696e80 minor optimisation to URLS processing 2020-06-29 12:25:55 +02:00
Kay Marquardt (Gnadelwartz)
4883c18974 fix possible problems found while adjust test 2020-06-29 11:21:56 +02:00
Kay Marquardt (Gnadelwartz)
63b9c283a2 service message start with /_ to avoid clashes 2020-06-29 08:14:39 +02:00
Kay Marquardt (Gnadelwartz)
4b3363f603 more places with debug_checks 2020-06-28 08:52:02 +02:00
Kay Marquardt (Gnadelwartz)
456e86b932 fix of fix test errors 2020-06-27 18:51:17 +02:00
Kay Marquardt (Gnadelwartz)
e6de3828d3 adjust version strings 2020-06-27 18:33:58 +02:00
Kay Marquardt (Gnadelwartz)
ae4610a742 fix problems found by tests 2020-06-27 18:32:50 +02:00
Kay Marquardt (Gnadelwartz)
c517129559 fix missing copy botconfig 2020-06-27 12:43:46 +02:00
Kay Marquardt (Gnadelwartz)
724f36b4df start using log_error 2020-06-27 10:43:08 +02:00
Kay Marquardt (Gnadelwartz)
423bf35411 more debug checks to locate where broken config or strange files appears 2020-06-27 10:29:36 +02:00
Kay Marquardt (Gnadelwartz)
c79031f604 prepare 0.98 release 2020-06-26 16:23:16 +02:00
Kay Marquardt (Gnadelwartz)
5afe05aa44 implement RETRY for send_album 2020-06-26 09:11:10 +02:00
Kay Marquardt (Gnadelwartz)
a69204596e fix EVENT_SEND for upload 2020-06-26 09:07:00 +02:00
Kay Marquardt (Gnadelwartz)
e3151626c0 first working version of send album for URLs 2020-06-26 08:26:52 +02:00
Kay Marquardt (Gnadelwartz)
01a72e8a26 improve init 2020-06-25 17:15:49 +02:00
Kay Marquardt (Gnadelwartz)
af156a4e1b fix merge conflict 2020-06-25 13:32:36 +02:00
Kay Marquardt (Gnadelwartz)
d904371fb9 resolve conflict with develop 2020-06-24 19:01:30 +02:00
Kay Marquardt (Gnadelwartz)
48f314eaaa unneeded : in start_bot fixes #134 2020-06-23 20:57:38 +02:00
Kay Marquardt (Gnadelwartz)
3d760b3319 unneeded : in start_bot fixes #134 2020-06-23 20:48:28 +02:00
Kay Marquardt (Gnadelwartz)
d2a578a757 codespell is much better 2020-06-23 16:35:50 +02:00
Kay Marquardt (Gnadelwartz)
80a6dbbe9f more save split to array 2020-06-22 18:38:15 +02:00
Kay Marquardt (Gnadelwartz)
4fe969766b better handling of restart jobs 2020-06-22 14:10:36 +02:00
Kay Marquardt (Gnadelwartz)
d52ea8c240 avoid unintended file overwrite 2020-06-20 20:12:36 +02:00
Kay Marquardt (Gnadelwartz)
4d8c2054a6 fix detecting sourceing 2020-06-19 18:47:18 +02:00
Kay Marquardt (Gnadelwartz)
f119c447ce fix 2 message typo 2020-06-19 17:39:53 +02:00
Kay Marquardt (Gnadelwartz)
1cba3aaf53 check for no arg at beginning 2020-06-19 13:41:29 +02:00
Kay Marquardt (Gnadelwartz)
f1d71a0771 process help at beginning 2020-06-19 13:15:50 +02:00
Kay Marquardt (Gnadelwartz)
11b5aab9b9 do not create botconfig on help 2020-06-19 12:56:09 +02:00
Kay Marquardt (Gnadelwartz)
75024a1726 rearrange get botname, allow recover from broken botconfig 2020-06-19 12:54:05 +02:00
Kay Marquardt (Gnadelwartz)
cf536c9ca3 make help browseable if w3mmor lynx exists 2020-06-19 12:51:36 +02:00
Kay Marquardt (Gnadelwartz)
fa5be1eafb rename BOTDATABASE to BOTCONFIG 2020-06-19 12:49:18 +02:00
Kay Marquardt (Gnadelwartz)
ba614b71fd fix nolog on updates 2020-06-18 16:04:39 +02:00
Kay Marquardt (Gnadelwartz)
67f2dcd498 finalise get/send Json log on debug 2020-06-18 15:38:05 +02:00
Kay Marquardt (Gnadelwartz)
02715e4128 rename UPDATE.log to BASHBOT.log 2020-06-18 14:06:36 +02:00
Kay Marquardt (Gnadelwartz)
eea1de6cbd global BASHBOTDEBUG, do not log getting updates 2020-06-18 13:19:30 +02:00
Kay Marquardt (Gnadelwartz)
d221fb698e global BASHBOTDEBUG, log send/get Json to debuglog 2020-06-18 13:11:19 +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)
215667b3ef direct read is faster than caching botconfig with updateArray 2020-06-18 11:51:19 +02:00
Kay Marquardt (Gnadelwartz)
18f0ace928 finalize service message processing 2020-06-17 08:38:44 +02:00
Kay Marquardt (Gnadelwartz)
6e3655fc2b fix startup message 2020-06-17 05:44:01 +02:00
Kay Marquardt (Gnadelwartz)
7694df5ecc detect edited message 2020-06-16 23:05:52 +02:00
Kay Marquardt (Gnadelwartz)
b33132ea5e inform dot admin about stop, resume, restart 2020-06-15 20:07:43 +02:00
Kay Marquardt (Gnadelwartz)
8991cc98f0 optimize update processing, fix LEFTMEMBER 2020-06-15 19:44:46 +02:00
Kay Marquardt (Gnadelwartz)
4b18757779 remove JsonEscape for markup type, not needed 2020-06-15 14:22:28 +02:00
Kay Marquardt (Gnadelwartz)
4990f70bce escape tab in JSON send to telegram 2020-06-15 14:16:14 +02:00
Kay Marquardt (Gnadelwartz)
834f5ba200 escape tab in JSON send to telegram 2020-06-15 14:14:34 +02:00
Kay Marquardt (Gnadelwartz)
c943280034 cache blocked users with updateArray 2020-06-15 10:42:36 +02:00
Kay Marquardt (Gnadelwartz)
24a7eaa8dd cache botconfig, optimze updateArray 2020-06-15 09:09:08 +02:00
Kay Marquardt (Gnadelwartz)
3e4e90443c inform admin about successful start 2020-06-15 08:39:52 +02:00
Kay Marquardt (Gnadelwartz)
bc44331183 allow block chats also, optimize blockfile reading 2020-06-14 18:22:11 +02:00
Kay Marquardt (Gnadelwartz)
de811c173a fix order of debug start message 2020-06-14 13:57:36 +02:00
Kay Marquardt (Gnadelwartz)
74caa49ab1 startup message, optimize file_id 2020-06-14 09:10:43 +02:00
Kay Marquardt (Gnadelwartz)
e0b9f6f870 create setconfigKey, clean botconfig on update startup 2020-06-13 21:39:52 +02:00
Kay Marquardt (Gnadelwartz)
cdc6dd323d add LEFTMEMBER values, doc values 2020-06-13 19:57:24 +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)
2397f0d0b4 fix newmember first_name last_name 2020-06-13 11:09:31 +02:00
Kay Marquardt (Gnadelwartz)
8838d93e9c fix newmember first_name last_name 2020-06-13 11:07:54 +02:00
Kay Marquardt (Gnadelwartz)
5baab14cd2 fix newmwber first_name last_name 2020-06-13 11:05:28 +02:00
Kay Marquardt (Gnadelwartz)
f32833ccf9 output bot validation result on tty only 2020-06-13 09:30:30 +02:00
Kay Marquardt (Gnadelwartz)
a901cc78d4 first working version with jssh botconfig database 2020-06-12 23:41:47 +02:00
Kay Marquardt (Gnadelwartz)
8affc94813 start 0.98 dev, create botconfig db 2020-06-12 21:18:32 +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)
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)
b6e9f9ed16 log updates received on debug 2020-06-11 11:32:52 +02:00
Kay Marquardt (Gnadelwartz)
6c02bab1bd document timer tick disabled by default 2020-06-11 09:23:03 +02:00
Kay Marquardt (Gnadelwartz)
81c8771898 enable retry by default 2020-06-11 08:33:59 +02:00
Kay Marquardt (Gnadelwartz)
2bc8f398c0 shorten action in error messages 2020-06-10 18:52:26 +02:00
Kay Marquardt (Gnadelwartz)
f968c8b92d some small error message changes 2020-06-10 18:26:51 +02:00
Kay Marquardt (Gnadelwartz)
de21079d2f create and use compare_sorted test 2020-06-10 18:07:12 +02:00
Kay Marquardt (Gnadelwartz)
d70656db68 make diff tests more stable 2020-06-10 17:42:54 +02:00
Kay Marquardt (Gnadelwartz)
e64d066db4 fix argment list on help 2020-06-10 17:24:23 +02:00
Kay Marquardt (Gnadelwartz)
769d07d151 retry now working 2020-06-10 15:56:34 +02:00
Kay Marquardt (Gnadelwartz)
aec4e71dc8 always source commands.sh 2020-06-10 14:02:29 +02:00
Kay Marquardt (Gnadelwartz)
c2f47535cc use function _round_float for converting ms to s 2020-06-10 11:11:42 +02:00
Kay Marquardt (Gnadelwartz)
ec7fce72ac fix sleep on empty updatevresponse 2020-06-10 10:24:48 +02:00
Kay Marquardt (Gnadelwartz)
848219d82c improve count cleanup on startup 2020-06-10 09:48:37 +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)
5b2582129b fix missing \n 2020-06-10 08:50:56 +02:00
Kay Marquardt (Gnadelwartz)
eb89aee3d5 fix debug start message 2020-06-10 08:47:53 +02:00
Kay Marquardt (Gnadelwartz)
0c0a4cc3c9 some small changes to error messages 2020-06-10 08:26:23 +02:00
Kay Marquardt (Gnadelwartz)
72c8531cee revert and redo fixed last commit 2020-06-10 08:20:48 +02:00
Kay Marquardt (Gnadelwartz)
1133f25f35 some small changes to error messages 2020-06-10 07:50:43 +02:00
Kay Marquardt (Gnadelwartz)
7790e47a7e fix get error code 2020-06-09 22:54:09 +02:00
Kay Marquardt (Gnadelwartz)
6d940c7cc8 fix jsshGetKey 2020-06-09 22:45:34 +02:00
Kay Marquardt (Gnadelwartz)
deeef7edc5 show files after init 2020-06-09 19:26:51 +02:00
Kay Marquardt (Gnadelwartz)
a792048dfe fix problems found by tests 2020-06-09 19:21:46 +02:00
Kay Marquardt (Gnadelwartz)
eace5e18a4 prefix logged message with date 2020-06-09 17:51:04 +02:00
Kay Marquardt (Gnadelwartz)
4fd6f98f77 do not start timer by default 2020-06-09 16:51:50 +02:00
Kay Marquardt (Gnadelwartz)
a71d68ee43 error processing for get update loop 2020-06-09 14:46:45 +02:00
Kay Marquardt (Gnadelwartz)
dba4f95e9a log action on error 2020-06-09 12:41:15 +02:00
Kay Marquardt (Gnadelwartz)
7644c6c14c do not retry with wget 2020-06-09 12:27:28 +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)
eb4924122e bashbotBlockRecover: notify bot about block 2020-06-09 08:47:13 +02:00
Kay Marquardt (Gnadelwartz)
78c066e1e5 finalize retry 2020-06-08 21:47:36 +02:00
Kay Marquardt (Gnadelwartz)
de745719dc error handling: retry or not to retry? 2020-06-08 20:51:15 +02:00
Kay Marquardt (Gnadelwartz)
9b138eecbd fix/extend sendJson error handling 2020-06-08 17:36:42 +02:00
Kay Marquardt (Gnadelwartz)
b189191b85 fix init with BASHBOT_HOME 2020-06-08 16:04:45 +02:00
Kay Marquardt (Gnadelwartz)
19c45c4771 fix JSONS.sh download, obfuscate joke hack 2020-06-08 15:48:07 +02:00
Kay Marquardt (Gnadelwartz)
6f86036809 more sendJson error handling, rearrange source modules 2020-06-08 12:58:36 +02:00
Kay Marquardt (Gnadelwartz)
bd22e2aa17 fix make-standalone, add minimized standalone version 2020-06-08 12:04:48 +02:00
Kay Marquardt (Gnadelwartz)
d11598e082 make curl location configurable 2020-06-07 19:06:02 +02:00
Kay Marquardt (Gnadelwartz)
601fe0ea51 interactive working again, more logging 2020-06-07 13:30:59 +02:00
Kay Marquardt (Gnadelwartz)
313ff03e17 place DEBUG anf ERROR log in ./logs if exist 2020-06-06 14:48:01 +02:00
Kay Marquardt (Gnadelwartz)
d42429efad log Errors in telegram response 2020-06-06 10:16:27 +02:00
Kay Marquardt (Gnadelwartz)
0ad70fda87 fix addon dir if BASHBOT_HOME is set 2020-06-06 09:21:56 +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)
c729cf428b fix wrong json.sh location if included from other location 2020-06-04 16:10:58 +02:00
Kay Marquardt (Gnadelwartz)
31b3203483 fix problems found by tests 2020-06-01 11:50:42 +02:00
Kay Marquardt (Gnadelwartz)
ed14e850a4 use jsshDB internally, e.g. block / count users, it's working well now 2020-06-01 09:54:35 +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)
8f29907442 fix shell expansion 2020-05-22 08:29:49 +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)
a4636668a7 optimized version of countKeyDB 2020-05-19 19:26:10 +02:00
Kay Marquardt (Gnadelwartz)
876361f562 install gnu utils on BSD and MacOS ... 2020-05-19 14:58:29 +02:00
Kay Marquardt (Gnadelwartz)
3d92bf3ca8 some bot token checks: format, length, non printable chars 2020-05-18 18:34:34 +02:00
Kay Marquardt (Gnadelwartz)
dcf6534c1f add some bot token warnings 2020-05-18 14:57:53 +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)
f13a2d05cc almost finished for 0.94 2020-05-15 18:52:12 +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)
8a119f8806 some small fixes, start dev3 2020-05-14 13:04:57 +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)
3d636f77e6 explain REGEX usage vs. file globbing 2019-12-07 13:25:50 +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 (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)
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)
55c9d8bb4d jsshDB: read write single key/value pairs 2019-06-04 12:00:19 +02:00
Kay Marquardt (Gnadelwartz)
4594e057a3 Json2Array allows only :alphanum:,._" character in index 2019-06-04 10:04:03 +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)
e2c998c5b9 fix delete message and *.jssh must be writeable 2019-06-03 16:46:32 +02:00
Kay Marquardt (Gnadelwartz)
5819b5cac4 *.jssh must be writeable by owner 2019-06-03 16:05:02 +02:00
Kay Marquardt (Gnadelwartz)
6302ef4795 adjust examples to v0.90 2019-06-01 12:46:27 +02:00
Kay Marquardt (Gnadelwartz)
9a81e440f1 some minor adjustments in bashbot.sh 2019-06-01 12:41:12 +02:00
Kay Marquardt (Gnadelwartz)
5ebfaccfa1 Bahsbot Version 0.90 2019-05-31 23:00:44 +02:00
Kay Marquardt (Gnadelwartz)
7029f7f93d load modules in commands.sh on debug only 2019-05-31 22:53:48 +02:00
Kay Marquardt (Gnadelwartz)
dbb6caf667 fix call from outside install dir 2019-05-31 22:33:59 +02:00
Kay Marquardt (Gnadelwartz)
ffec76a830 use CMD to check for global commands 2019-05-30 21:08:39 +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)
ce6749e8df run timer event every 59.5 s 2019-05-29 17:33:31 +02:00
Kay Marquardt (Gnadelwartz)
74cb204d1a add EVENT_TIMER 2019-05-29 13:49:05 +02:00
Kay Marquardt (Gnadelwartz)
6651cf4f0a _is_function process_inline is always true 2019-05-28 21:28:58 +02:00
Kay Marquardt (Gnadelwartz)
afc669c915 make some globals readonly 2019-05-28 21:12:02 +02:00
Kay Marquardt (Gnadelwartz)
cb3f3e32f3 use declare -x 2019-05-28 20:50:19 +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)
bbbc8aece1 add EVENT_TEXT and EVENT_CMD 2019-05-27 12:27:09 +02:00
Kay Marquardt (Gnadelwartz)
cfdcb41a38 final _exec_if_function, fix env_test 2019-05-26 21:25:01 +02:00
Kay Marquardt (Gnadelwartz)
3c6b2d3b35 execute_function: execute function if exist 2019-05-26 18:22:31 +02:00
Kay Marquardt (Gnadelwartz)
d23bb28ebc execute event only if function exist 2019-05-26 17:57:12 +02:00
Kay Marquardt (Gnadelwartz)
b60f33afac fix EVENT typo and order 2019-05-26 17:40:51 +02:00
Kay Marquardt (Gnadelwartz)
483da5a797 finally fix send_message test 2019-05-26 17:03:58 +02:00
Kay Marquardt (Gnadelwartz)
981c0eec01 dev2, fix test for send_message 2019-05-26 16:50:19 +02:00
Kay Marquardt (Gnadelwartz)
ec856365ed check if send_message is availible 2019-05-25 20:11:50 +02:00
Kay Marquardt (Gnadelwartz)
bee9f33022 basic infrastructure for addons ready 2019-05-25 19:31:20 +02:00
Kay Marquardt (Gnadelwartz)
7bad01b258 fix tests, start addon implementation 2019-05-25 17:02:25 +02:00
Kay Marquardt (Gnadelwartz)
15e7f014bd add file description to doc 2019-05-24 16:49:11 +02:00
Kay Marquardt (Gnadelwartz)
f019ab190f sync again with master 2019-05-24 16:26:35 +02:00
Kay Marquardt (Gnadelwartz)
6b886562f7 sync with master 2019-05-24 16:21:51 +02:00
Kay Marquardt (Gnadelwartz)
b268e4dafe backport getBotname for new installations 2019-05-24 16:17:47 +02:00
Kay Marquardt (Gnadelwartz)
48022e4ed2 fix small typo 2019-05-24 16:13:31 +02:00
Kay Marquardt (Gnadelwartz)
31c6c4b111 add test URL for getMe 2019-05-24 10:47:27 +02:00
Kay Marquardt (Gnadelwartz)
3808496b32 fix missing ME on startup 2019-05-23 20:05:42 +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)
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
Kay Marquardt (Gnadelwartz)
51aa2ed4b3 fix shell exit on sourcing without arg source 2019-05-23 10:50:39 +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)
5bce3f7151 some small optimization 2019-05-22 10:01:39 +02:00
Kay Marquardt (Gnadelwartz)
d8e0b5c975 fix get_file 2019-05-22 09:50:48 +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)
fd7ca77cc1 move job control to module background and make it more failsave 2019-05-20 21:40:14 +02:00
Kay Marquardt (Gnadelwartz)
8dfdf2e168 more save resumeback killback handling 2019-05-20 20:48:49 +02:00
Kay Marquardt (Gnadelwartz)
f1ebdbb72d remove tmux (c) and tmux example 2019-05-20 19:49:41 +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)
9482bd62bf better explanation for not upgraded bot running 2019-05-20 11:09:44 +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)
beb77a4b65 start, kill, resume, suspend now working 2019-05-19 15:03:44 +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
Kay Marquardt (Gnadelwartz)
31a5d00a64 Bashbot Version 0.76 2019-05-16 17:06:58 +02:00
Kay Marquardt (Gnadelwartz)
61a1f6f626 Bashbot Version 0.76 2019-05-16 17:01:54 +02:00
Kay Marquardt (Gnadelwartz)
e8a1fd0bf1 Bashbot Version 0.76 2019-05-16 16:57:04 +02:00
Kay Marquardt (Gnadelwartz)
6d497d5f5e remove send_message at bot startup 2019-05-16 16:55:32 +02:00
Kay Marquardt (Gnadelwartz)
a72f24ac9c some fixes to wget fallback 2019-05-16 16:42:38 +02:00
Kay Marquardt (Gnadelwartz)
d01addf0a9 replace unusual command by id, remove phyton tests 2019-05-16 11:23:27 +02:00
Kay Marquardt (Gnadelwartz)
d5994166c0 update doc 2019-05-14 20:55:24 +02:00
Kay Marquardt (Gnadelwartz)
eb0cde55df add documentaion and ENV for wget and Telegram URL 2019-05-14 19:58:59 +02:00
Kay Marquardt (Gnadelwartz)
aacdc76af2 SendJson bash only, no more python! 2019-05-14 17:56:23 +02:00
Kay Marquardt (Gnadelwartz)
bce7f1a6dc replace all curl calls, add wget as curl replacement 2019-05-14 15:25:15 +02:00
Kay Marquardt (Gnadelwartz)
df03727e14 some fixes for updates from older versions 2019-05-14 13:16:58 +02:00
Kay Marquardt (Gnadelwartz)
5f945e5e0a more strict checks for send_file 2019-05-13 12:47:03 +02:00
Kay Marquardt (Gnadelwartz)
e9cf8d25e5 fix old errors found while factor out send_message to module 2019-05-13 11:24:42 +02:00
Kay Marquardt (Gnadelwartz)
92f022d038 fix source commands.sh, fix sendJson, sendMEssage module 2019-05-12 17:51:52 +02:00
Kay Marquardt (Gnadelwartz)
acee08deff fix commands.sh in process_message 2019-05-12 17:11:58 +02:00
Kay Marquardt (Gnadelwartz)
d08d91205d move process_inline to bashbot.sh, documentation make-standalone.sh 2019-05-11 18:36:40 +02:00
Kay Marquardt (Gnadelwartz)
e492da05f7 add make-standalone.sh, creates old style minimal bashbot files 2019-05-11 12:07:06 +02:00
Kay Marquardt (Gnadelwartz)
0c5e3dd597 develop v0.80-dev2 2019-05-10 21:44:13 +02:00
Kay Marquardt (Gnadelwartz)
db14eb990a Bashbot Version 0.72 2019-05-10 19:09:03 +02:00
Kay Marquardt (Gnadelwartz)
67c47ac785 Bashbot Version 0.72 2019-05-10 18:50:30 +02:00
Kay Marquardt (Gnadelwartz)
73b7734fa3 add debug mode, remove old test mode 2019-05-10 11:33:41 +02:00
Kay Marquardt (Gnadelwartz)
65b32aa2bd refactor JSON generation of common args 2019-05-09 16:48:38 +02:00
Kay Marquardt (Gnadelwartz)
9b850002ef prepare for 0.72 release with working inline query 2019-05-09 14:49:23 +02:00
Kay Marquardt (Gnadelwartz)
cbdfc7c945 fix save messages 2019-05-02 23:42:28 +02:00
Kay Marquardt (Gnadelwartz)
66c390e481 remove debug +x 2019-05-02 17:51:37 +02:00
Kay Marquardt (Gnadelwartz)
5b8f2a2118 fix iQUERY[0] 2019-05-02 17:28:17 +02:00
Kay Marquardt (Gnadelwartz)
5cea14003f inline queries working as before 2019-05-02 15:14:18 +02:00
Kay Marquardt (Gnadelwartz)
9bcab666ce first version with inline query 2019-05-02 12:33:10 +02:00
Kay Marquardt (Gnadelwartz)
4e4194d4a4 start 0.80 dev 2019-05-02 11:10:55 +02:00
Kay Marquardt (Gnadelwartz)
e337b745bb Bashbot Version 0.70 2019-05-01 14:36:34 +02:00
Kay Marquardt (Gnadelwartz)
7c112122e8 add tests for ENV, fix some small nitpits 2019-05-01 11:46:57 +02:00
Kay Marquardt (Gnadelwartz)
4b69c4eaad Version v0.7 RC1 2019-04-30 15:50:23 +02:00
Kay Marquardt (Gnadelwartz)
4b83377905 v0.70-pre2, doc for examples 2019-04-29 19:34:47 +02:00
Kay Marquardt (Gnadelwartz)
bd4a1167e9 v0.70 pre1 2019-04-26 17:40:24 +02:00
Kay Marquardt (Gnadelwartz)
45f042d2cc buttons for send_message 2019-04-26 17:19:48 +02:00
Kay Marquardt (Gnadelwartz)
d6d640a3d9 optimize send_message 2019-04-26 16:45:39 +02:00
Kay Marquardt (Gnadelwartz)
d26a992ecb testsuite for send_message, fix 3 found problems 2019-04-26 14:41:49 +02:00