Releases: SOBotics/Belisarius
Releases · SOBotics/Belisarius
v1.8.0
v1.6.2
Stable version 1.6.2 of Belisarius.
Features added
- Include information in the
.propertiesfile rather than in the database. - Add maven unit testing.
- Add option to log messages instead of sending them to chat.
- Optionally connect to Higgs.
- Include the thresholds SmokeDetector uses for the
FewUniqueCharactersreason. - Connect to Redunda.
Bugfixes
- Rewrite most of the code in
Belisarius.javabecause the logic was flawed. - Fix
NullPointerExceptions which were thrown mostly because of the API responses (empty fields, etc.) - Fix deprecation notice in
org.google.code.gson(use static methodJsonParser.parseString). - Properly handle multiple blacklisted/offensive words in Higgs reports. Previously, they were merged into one.
- Check if an offensive word is saved before attempting to do so. I somehow forgot that!
- Return
nullinstead of throwing anIOExceptionwhen a page to/revisions/guid/view-source404s.IOExceptionis kinda more general. - Correctly handle few unique ASCII characters!
- Correctly handle the checking of a deleted post.
Improvements
- Update dependencies
- Simplifications (remove redundant code, simply
ifandreturnstatements). - Efficient iterations over hashmap.
- Improve variable readability.
- Add comments.
- Use the
finalmodifier wherever possible. - Cleanup and remove files with 1-2 methods.
- Use
LOGGER.errorrather thanLOGGER.infoon errors. - Log more information.
- Rename
StackOverflowUsertoUser, - Simplify
PropertyServiceto use one method (getProperty(String propertyName)). - Simplify
RepeatedWordFilterusingArrays.asList(). - Simplify the regex for chat message sanitization. Use
[abc]instead of expensive(a|b|c).
Documentation changes
- Add information on how to run the bot.
- Add information on the different types of feedbacks.
- Explain what Higgs and Hippo are.
- Add a page about autocomments.
- Explain filters in more detail.
- Change website theme to a better one.
- Fix typos.
Special thanks to Scratte for many of the bugfixes applied!
v1.0
First (stable) version of Belisarius.
The bot can now:
- Query the SE API to find recently created posts and checks them for potential vandalism.
- Save the reports in both a local SQLite database and Higgs.
- Accept
tporfpfeedback and stores it in both the database and in Higgs. - Check a post for vandalism and report it.
The documentation with the commands is available in the GitHub page. The bot is running on the SOBotics chat room.