Releases: FoxxMD/context-mod
Releases · FoxxMD/context-mod
v0.4.1
New
- Added usernotes to result data
authorIstest forageusing string comparison like automodauthorIstest for comment, link, and combined karmaauthorIstest for verified email- Add duration parsing for
windowto use dajys shorthand - Add
authorIsanditemIstests on Actions - Add useful logging information in
verbosewhen 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
New
- Added Toolbox User Note reading for Author filter and as a write Action
- Implement parsing configuration from YAML
- Added
itemIsfilter to Rule and Checks to allow skip/fail based on Activity state (approved, removed, locked, etc.) - Added Approve and Ban Actions
- Added
satisfyOnoption 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)
authorschanged toauthorIsto reflect consistent behavior withitemIs- Added to Check level
- Many, many bug fixes
- Fixed examples for documentation and improved it (lots and lots)
- Allowed
rulesto be optional on aCheck-- if no rules presentactionsare immediately performed (if Check passes author/item filters) - Re-balanced logging level statements so more are on
verbose--infois now less noisy - Set the default log level to
verboseso new users get a bunch of information by default
v0.2.1
New
- Added
HistoryRulefor 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
verboselogging level for more output without having to go all the way todebug
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
New
- Added
AttributionRulewhich aggregates the domains an author's submissions come from (youtube, twitter, etc.) - Added Named Rules and Actions. Any
ActionorRuleobjects with names can be referenced in configuration by their name to use instead of an object. - Added better cli command support (usage) and new
checkcommand 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
New
- Add templating data for all actions and update documentation
- Add
WIKI_CONFIGenv/option to allow specifying wiki location of configuration
Changed
- Implemented constraint on
namefor Rule, Check, and Action so it can be used for action templating