Skip to content

Releases: SOBotics/Belisarius

v1.8.0

28 Aug 09:26
3528141
Compare
Choose a tag to compare

Several parts of the code have been rewritten. This release includes:

  • Fixes for #48, #49, #67.
  • Dependency updates.
  • Simpler and more specific instructions to run the bot.
  • Several other bugfixes.
  • Many more tests.

v1.6.2

23 Oct 14:38
Compare
Choose a tag to compare

Stable version 1.6.2 of Belisarius.

Features added

  • Include information in the .properties file 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 FewUniqueCharacters reason.
  • Connect to Redunda.

Bugfixes

  • Rewrite most of the code in Belisarius.java because 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 method JsonParser.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 null instead of throwing an IOException when a page to /revisions/guid/view-source 404s. IOException is 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 if and return statements).
  • Efficient iterations over hashmap.
  • Improve variable readability.
  • Add comments.
  • Use the final modifier wherever possible.
  • Cleanup and remove files with 1-2 methods.
  • Use LOGGER.error rather than LOGGER.info on errors.
  • Log more information.
  • Rename StackOverflowUser to User,
  • Simplify PropertyService to use one method (getProperty(String propertyName)).
  • Simplify RepeatedWordFilter using Arrays.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

06 Sep 11:28
2fc6a46
Compare
Choose a tag to compare

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 tp or fp feedback 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.