Releases: haecker-felix/hebbot
Hebbot v2.1
Changelog
- The bot automatically accepts room invites now on startup (reporting/admin room) (4c85737)
- New
!about
command to print bot version (1715051) - New
!details
command to show details for a specific section / project (9330fd2) - Bot messages are now using
m.notice
as message type (029f2cd) - Fixed a bug where the
!render
command didn't display the correct number of rendered news (b0b2c10)
This update can be installed with no need to make any changes to the configuration file.
Hebbot v2.0
Hebbot v2.0 is out and it packs a lot of goodness so reports are easier and faster than ever to issue!
The new !render
command now warns you about common mistakes like:
- a news entry has been added to several sections or projects (and will be rendered several times)
- a news entry is lacking both a section or project (and will not be rendered at all)
It also tells you when you probably forgot something, i.e. when:
- a news entry is not added to any project
- a news entry is about a given project, but it has also been added to a section which is not the default one for this project
You don't need to add both the project and the section for a news entry anymore. Hebbot's configuration file now allow you to add your project to a default_section
. Then, when you add a project to a news entry, Hebbot will automatically add it to the default section for that project as well.
Hebbot is now less strict: while the previous version forced you to define a project, you can now add a news entry only to a section and it will be rendered. Hebbot also allows you to add several news to a single project and will not duplicate the section or project title.
And finally, one of the greatest improvements of this release is the ability to keep track of photos and videos as well! When someone reports a piece of news and sends a photo/video shortly before/after, an editor can tag it with 📷️/📹️. Next time you issue the !report
command, Hebbot will generate a report with the proper markdown to add the photos and videos and will give you a curl command to paste in your terminal to retrieve all the media assets!
IMPORTANT UPGRADE NOTE:
Hebbot v1.0 cannot be upgraded directly to v2.0. The configuration file must be adapted (JSON -> TOML). You can use the following file as a template: config.toml.example
To simplify the upgrade you can use the following web tool: https://pseitz.github.io/toml-to-json-online-converter/
(Don't forget to add the new values like default-section
, image_emoji
, image_markdown
, ... and some values were renamed like project repository
-> website
)
Hebbot v1.0
Ignore bot name capitalization