Kay Marquardt (Gnadelwartz)
|
c084005106
|
add support for JSON.awk, 5 times faster
|
2020-12-15 16:36:27 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
d7d61a411f
|
sendJson: factor out curl/wget, better log. fix git-add.sh
|
2020-12-15 10:40:20 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
8379a624e3
|
sendJson check chat is a number
|
2020-12-15 10:12:18 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
2e24918beb
|
debug log sentMessage also
|
2020-12-15 10:07:43 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
4442382a10
|
option to ignore commands for other bots if admin
|
2020-12-14 20:35:45 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
3c1ea93168
|
try recover from block in update loop
|
2020-12-14 14:00:23 +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)
|
22741d9a0c
|
fix no need for JsonDecode
|
2020-12-13 10:24:26 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
cdb63b8c76
|
optimze venue and contact detection
|
2020-12-13 10:10:15 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
401a31a172
|
less grep in process_message
|
2020-12-13 09:57:57 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
b9cfd4b5e8
|
process service messages in groups only
|
2020-12-13 08:53:29 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
10c104d471
|
check for locale C
|
2020-12-07 15:50:56 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
62cab32da5
|
bottoken starts with bot id
|
2020-12-05 14:11:21 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
d6e1c222f7
|
optimize getBotName
|
2020-12-03 20:43:20 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
40106ee163
|
offer to check bottoken online on first init
|
2020-12-03 14:52:35 +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)
|
ef80aa5690
|
better curl/wget not found message
|
2020-11-29 17:43:00 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
95b2b9a79d
|
detect if no curl AND no wget
|
2020-11-29 17:20:57 +01:00 |
|
Gnadelwartz
|
282448772a
|
fix BASHBOT_UPDATELOG
|
2020-11-29 15:57:26 +01:00 |
|
Gnadelwartz
|
b5caff0a32
|
statisfy newer shellcheck version
|
2020-11-29 15:34:00 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
b4dcb52793
|
allow enabling of getJson update logging
|
2020-11-29 10:50:05 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
b4c83c141a
|
adjust curl not found messages
|
2020-11-29 09:40:45 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
0b64af7423
|
check if iconv exist
|
2020-11-28 17:36:34 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
de31d7731f
|
optimize detect_curl
|
2020-11-28 17:14:35 +01:00 |
|
Kay Marquardt (Gnadelwartz)
|
6948ecd778
|
warning if curl is not found in PATH and default locations
|
2020-11-28 12:30:32 +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
|
269d18507f
|
Corrected return code for bottoken error
|
2020-09-27 20:30:10 +02:00 |
|
dcoomber
|
d667ecc262
|
Merging with topkecleon-develop
|
2020-09-27 20:24:15 +02:00 |
|
dcoomber
|
7488d52922
|
Cosmetic updates to some comments
|
2020-09-26 21:25:17 +02:00 |
|
dcoomber
|
12579c8712
|
Cosmetic updates to spelling and indentation
|
2020-09-26 19:52:06 +02:00 |
|
David Coomber
|
d9620c7de6
|
Updated prompt references to basbot / BASBOT to bashbot / BASHBOT
|
2020-09-06 19:33:13 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
65e9775ad6
|
replace newlines with \n in all sendMessage functions
|
2020-08-15 09:47:16 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
d8c10ef069
|
start develop v1.1
|
2020-08-15 09:42:20 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
25a33b3731
|
Bashbot Version 1.0
|
2020-08-15 09:29:13 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
3e10396e2e
|
save startup time while cleanup botconfig
|
2020-08-06 08:34:59 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
b9c8dc0ff8
|
fix help if not in bashbot dir
|
2020-08-05 08:08:50 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
6011444a3c
|
fix leftchatmember example and message
|
2020-08-04 08:31:38 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
c4ab7ff4ee
|
some more comment polishing
|
2020-08-01 11:37:32 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
3daf84dad8
|
Bashbot Version 0.99
|
2020-07-27 18:14:18 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
6e0242368e
|
get/send Json: output debug messages to DEBUGLOG
|
2020-07-24 12:58:04 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
1952610282
|
show blocked users on stats
|
2020-07-23 09:14:38 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
2dc1f385f2
|
better readable sed command
|
2020-07-20 16:08:21 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
ef4d21f6f4
|
fix BASHBOT_RETRY, add example it bot is blocked
|
2020-07-12 11:19:58 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
2b104716df
|
fix some small DEBUG problems
|
2020-07-11 14:11:48 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
35528760fd
|
fix DEBUGLOG not set
|
2020-07-11 08:34:57 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
f4f6c2c501
|
fix log_error printf
|
2020-07-11 08:06:44 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
9799db4cb9
|
debug should always last argument
|
2020-07-10 08:39:33 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
d85c7794a9
|
move old logfiles to logs on init
|
2020-07-09 22:31:58 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
d8cff8f70e
|
create log dir on init
|
2020-07-09 13:44:14 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
a12738734b
|
create log dir on init
|
2020-07-09 13:41:09 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
487deee08c
|
final debug msgs
|
2020-07-04 09:18:28 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
9b1119d51d
|
move individual debug checks to mycommands.sh part 2
|
2020-07-02 17:24:56 +02:00 |
|
Kay Marquardt (Gnadelwartz)
|
550387bdbc
|
Bashbot Version 0.98
|
2020-07-01 12:23:57 +02:00 |
|
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 |
|