Skip to content

Releases: FoxxMD/context-mod

v0.4.1

28 Jun 16:04

Choose a tag to compare

New

  • Added usernotes to result data
  • authorIs test for age using string comparison like automod
  • authorIs test for comment, link, and combined karma
  • authorIs test for verified email
  • Add duration parsing for window to use dajys shorthand
  • Add authorIs and itemIs tests on Actions
  • Add useful logging information in verbose when rule does not pass
  • Add optional subreddit name for log label
  • Added test for item deleted before running checks

Changed

  • (BC) Refactored history critiera to use string comparison like automod
  • (BC) all threshold criteria for rules refactored to use string comparison like automod
  • (BC) standardized all condition operator names to be consistent
  • (BC) Most Attribution rule properties moved into criteria to make entire rule more configurable
  • Refactored rule results to make summaries easier to visualize in logs
  • Update fail/pass symbols so they aren't emojis
  • Refactored footer to be configurable per subreddit and action
  • Fixed error logging to not erase initial message from log statement

v0.3.0

17 Jun 02:40

Choose a tag to compare

New

  • Added Toolbox User Note reading for Author filter and as a write Action
  • Implement parsing configuration from YAML
  • Added itemIs filter to Rule and Checks to allow skip/fail based on Activity state (approved, removed, locked, etc.)
  • Added Approve and Ban Actions
  • Added satisfyOn option for window criteria to determine how/when activities should be returned when multiple criteria are present
  • Added end-of-event stats logging for reddit/app

Changed

  • (BC) authors changed to authorIs to reflect consistent behavior with itemIs
    • Added to Check level
  • Many, many bug fixes
  • Fixed examples for documentation and improved it (lots and lots)
  • Allowed rules to be optional on a Check -- if no rules present actions are immediately performed (if Check passes author/item filters)
  • Re-balanced logging level statements so more are on verbose -- info is now less noisy
  • Set the default log level to verbose so new users get a bunch of information by default

v0.2.1

11 Jun 23:43

Choose a tag to compare

New

  • Added HistoryRule for checking percentages/totals on comment/submission of an Author's total history
  • Implemented basic caching
    • Author activities cached app-wide based on window criteria
    • wiki pages cached for Comment/Report Action content parsing
  • Added a slew of env/arg variables to make everything more configurable
  • Added documentation for Rule examples and best practices
  • Added verbose logging level for more output without having to go all the way to debug

Changed

  • Snoowrap debug is now logged with app logger
  • Improved logger clarity and more information on startup
  • Schema updates
  • Many fixes, improvements, and additions to Rule configurations
  • Better error handling per check so app doesn't crash as often
  • Snoowrap now retries 5 times on reddit 500 errors

v0.2.0

08 Jun 20:27

Choose a tag to compare

New

  • Added AttributionRule which aggregates the domains an author's submissions come from (youtube, twitter, etc.)
  • Added Named Rules and Actions. Any Action or Rule objects with names can be referenced in configuration by their name to use instead of an object.
  • Added better cli command support (usage) and new check command to run checks on an individual comment/submission
  • Added Heroku quick deploy action

Changed

  • (BC) cli syntax is changed to better support command and options
  • All action/rule names must be unique and are constrained to a regex pattern (see schema)
  • Lots of logging clarity and improvements to context prefixing
  • Log validation errors in a more friendly away
  • Massive amount of schema documentation improvements

Templating

04 Jun 18:09

Choose a tag to compare

New

  • Add templating data for all actions and update documentation
  • Add WIKI_CONFIG env/option to allow specifying wiki location of configuration

Changed

  • Implemented constraint on name for Rule, Check, and Action so it can be used for action templating

MVP

04 Jun 04:00

Choose a tag to compare

MVP

Hooray! This is the Minimum Viable Product release for Context Bot. With this release the bot is fully usable. 🎉