Releases: topkecleon/telegram-bot-bash
Bashbot Version 0.99
After 16 month of development and testing in production environment since v0.5, we are close to release version 1.0.
Thanks to all who helped with questions and issues to improve bashbot. Special thanks goes to @topkecleon who started development and gave me permission to extend bashbot to it's current state.
Even writing shell scripts since the 80's, I can't believe what's possible with magic of modern bash and gnu sed. Many improvements was possible only with the knowledge of guy's found on Stackoverflow.
Version 0.99 has no new features, only polishing and documentation updates, plus some small fixes.
If no issues are found within the next weeks I'll release version 0.99 as bashbot 1.0.
Pls test and give feedback.
Kay M (Gnadelwartz)
Bashbot Release 0.98
Bashbot is almost feature complete and we're getting closer to 1.0 ...
In this Release we provide the following new features as of V0.98:
- add debug_checks to start, stop of bot and interactive/background jobs
- support for sending albums #107
- support for multi line messages #133
- reworked remove_keyboard
- recover from broken botconfig
- improved logging
- browse help
- inform bot admin about start, stop, resume
- individual welcome message for new group members
- complete support for service messages
plus the usual fixes, improvements and documentation updates...
Bashbot Version 0.96
In this Release we provide the following new features as of V0.96:
- interactive scripts are working again, see note
- more error and activity logging, logfiles moved to logs
- automatic retry of failed send messages, e.g. throttling requested by telegram
- run a user defined function on broken connections, e.g. blocked from telegram
- allow to block users from using the bot
- reworked background job execution, no more named pipe
- start using jsshDB for internal functions, e.g. count, block users tbc
plus the usual fixes, improvements and documentation updates...
Note: From Version 0.96 on interactive scripts must read user input from '$3' instead of stdin!
Note 2: Bashbot internal "timer tick" is disabled by default if not used.
Bashbot Version 0.941 - Emergency Release
** Emergency Release / Update **
bashbot had a stupid varible expansion bug from day0, fixed for 0.94 with this emergency release.
PLS update NOW!
In this Release we provide the following new features as of V0.94:
- more save parsing of json values
- initial support for service message
- jsshDB uses now flock for more atomic operation, e.g. delete/update
- support for startup actions and service messages in mycommands.sh
- optimized sourcing and checking for empty strings
- fix forever broken is_admin
- more expressive do not edit string for commands.sh
- minimum version of mycommands as mycommands.sh.clean
- script to convert shebang for MacOS Users
- no change to default shebang because of Security
plus the usual fixes, improvements and documentation updates...
Bashbot Version 0.91
In this Release we provide the following new features:
- fix delete message and *.jssh must be writeable
- superfast JSON parsing, see #102
- allow overwrite/disable of global commands in 'commands.sh', see Best practices
- BASHBOT_EVENTS (message and timer), see Bashbot Events and Addons
- example Addons using EVENTS to process messages, see Addons Dir
- simple JSON.sh based storage, see jsshDB
- reworked sourcing detection
- examples how to use from command line and scripts, see Use from CLI and Scripts
- fix since 0.70 broken
get_file
- fix clear all message variables on new MESSAGE
plus the usual fixes, improvements and documentation updates...
Bashbot Version 0.80
In this Release we provide the following new features:
- removal of TMUX dependency
- complete refactoring of start, kill, restart for bashbot, interactive and background jobs
- new functions procname(), killproc(), killallproc() for easy handling of jobs and jobfiles, see Functions Reference
- fix send_file for uploading files to telegram, improved security checks for upload, see Functions Reference
- new function to download files from Telegram or Website to data-bot-bash, see Functions Reference
- improved cleanup at bot startup
plus the usual fixes, mprovements and documentation updates...
Version 0.72
In this Release we provide the following new features:
answer_inline_query
is confirmed to work again (may be the first time ever)- complete refactoring of inline query handling. It's now possible to send multiple results to an inline query
usinginline_query_multi
andanswer_inline_compose
, see Functions Reference - inline query processing is done in
mycommands.sh myinlines()
now - a bunch of working inline query examples - incl. yahoo image search - in mycommands.sh
- improved debugging with
./bashbot.sh startbot debug
command, see Bashbot Developer Notes - updated documentation
Note: If you are using inline queries you should update!
With a little luck, you can try the inline Yahoo image search of our test bot ...
Version v0.70
In this Release we provide the following new features:
- implementation of modules to extend bashbot
- user commands and functions are now in
mycommands.sh
- alisases/shortcuts for often needed funtions, see module aliases
- support for user access control, see advanced use
- optimize polling for new messages, no more stuipd poll as fast as possible
- add support for buttons and inline keyboards, see funtions reference
- add support for receiving VCARDS and VENUE
- add support for Environment variables, see Environment
- massive refactoring of 'send_xxx' and 'get_xxx' functions, see one curl to rule them all
- much improved documentation
- test suite and git hooks, only if all tests are passed checkin is allowed
- new and more useful examples, see examples dir
- refactoring of 'send_message' to support buttons, inline keyboards, linebreaks and more
- new developer tools and documentation
- ...
Plus many more fixes and enhancements not listed here. Special thanks to @gr72 , he inspired me for the example system status
Note: if you are using inline queries skip this release! Due to the massive refactoring and old logic for inline queries they will break on high propably!
Version 0.61 of Bashbot - fixed main loop
In this Release we provide the following new features:
- new, enanced format for sending keyboards
- support for mixed UTF-8 / UTF-16 encoding in JSON strings
- support functions for extracting Values and Strings from JSON
- reference and examples for all bashbot functions
- Documentation is split in several sections
Note: This is the first release of bashbot providing full JSON UTF-8 decoding.
Version 0.52 of bashbot
In this Release we provide the following new features:
- user access control, see advanced features
- bashbot is now linted with shellcheck
- more and updated documentation and examples
to update from an older bashbot installation download update zip and copy the files to your bashbot dir.
Note: this and all older versions of bashbot are not fully UTF-8 aware, messages recieved from Telegram containing UTF-8 codepoints >255 are wrongly decoded. This will be fixed in the next release