Releases: FoxxMD/context-mod
Releases · FoxxMD/context-mod
v0.10.7
Bug Fixes
- (bot) Fix own profile detection when building managers
- (client) Make sure all moderated subreddits are fetched
- (recent) Remove code that should have been deleted during refactor
- (recent) Potential fix for reddit ACID issues on history retrieval
- (server) Correctly filter bots and managers on auth on server
- (server) Fix logs not persisting for managers
- (util) Ensure provided state description is reattached to strong sub state
Features
- (config) Implement default filter criteria behavior
- (polling) Implement shared streams for all polling sources
- (regex) Experimental support for parsing regex expressions from fetched URL
- (ui) Run/Dry run buttons @rysie
Refactor
- (auth) Refactor auth data structures to consolidate logic
- (filter) Consolidate
authorIslogic and add additional control to exclude logic - (polling) Simplify and cleanup all polling logic
- (ui) Fix and simplify button logic
v0.10.6
v0.10.5
Features
- (userflair) Add UserFlair action @rysie 🎉
- (userflair) Implement using flair template id to flair submissions or users @rysie 🎉
- (config) Allow top-level operator snoowrap config
- (item filter) Support checking for different report types: total, user, mod
- (recent) Add combined karma to template variables
- (No Category) Prevent bot from running on reports/comments it just created
Bug Fixes
- (bot) Reduce retries for more aggressive fallback on reddit api issues
- (polling) Fix set timeout args
- (recent) Fix default behavior for submissionReference based on activity type
- (ui) Fix subreddit intersection check for bot related routes
- (No Category) Fix and improve code related to stopping bots when reddit api is not OK
Refactor
- (server) Return app earlier so UI is available earlier
- (userflair) Fix dryrun usage and add unflair functionality
YAML and in-app config editing
This is a big release that adds these major features:
- Support for YAML editing in editor, YAML schema validation in the editor, and YAML examples in the docs
- Editing/creating bot wiki pages from the built-in editor
- Automatic wiki page creation by bot if it has the proper permissions
- Support loading github blob file and regular gist URLs into the editor
- Auto moderation invitation acceptance based on whitelisted subreddits list, managed from UI
Full Changelog
Bug Fixes
- (bot) Add missing invite check in healthloop
- (editor) Fix how initial editor value is set
- (No Category) Fix missing hyphen character on regex for parsing reddit entity name @prometheus-22
Documentation
- (onboarding) Update moderator getting started to reflect new editor capabilities
- (yaml) Create yaml versions of subreddit ready examples
- (yaml) Add regex yaml examples
- (yaml) Add recentActivity yaml examples
- (yaml) Add history and author yaml examples
- (yaml) Add attribution and advanced concepts yaml examples
- (yaml) Add yaml examples fo activities window
Features
- (bot) Add ability to create non-existing wiki page and change visibility
- (bot) Add modself oauth permission
- (bot) Add basic programmatic moderator invitation acceptance
- (config) Make manager aware of config format
- (editor) Use manager format to infer format for editor
- (editor) Resolve raw gist url from gist id
- (editor) Implement wiki page creation
- (editor) Resolve raw url from github blob url
- (manager) Improve wiki page creation
- (ui) Enable additional scopes usage
- (ui) Implement basic wiki editing capabilities for editor
Refactor
- (ui) Migrate all editor usage to monaco-yaml base
v0.10.3
Bug Fixes
- (bot) Actually get all moderated subreddits
- (repost) Fix max weighted score and formatting
- (repost) Use average of all algos to get high score
- (stream) Remove processing clear behavior for polling to try to fix weird polling behavior
- (ui) Add missing yaml asset files
- (No Category) Correct error description for reading a config file
- (No Category) Improve falloff behavior when reddit api error are encountered
- (No Category) Add more staggering on heartbeat check
Documentation
- (regex) Add subreddit-ready example for removing discord link spam
- (regex) Add link-spamming regex config
- (repost) Add youtube credentials requirements for repost rule
- (No Category) Specify yaml can be validated in editor
Features
- (userFlair) Support setting user flair by flair_template_id by @rysie 🎉
- In preparation for upcoming
userFlairaction implementation
- In preparation for upcoming
- (regex) Add match sample to rule results so it can be used in content template
- (repost) Implement occurrence count and time comparisons
- (repost) Fix some bugs and improve result data
- (repost) Improve text matching and default values
- (rule) Implement repost rule
- (subreddit) Implement user profile filtering for SubredditState
- (ui) Add quick-n-dirty YAML editor
Refactor
- (docker) Remove monaco editor local dependency to reduce image size
- (docker) Reduce image size with best practices
- (repost) Improve repost criteria configuration and add documentation
- (ui) Unify editor look-and-feel
- (No Category) Remove set-random-interval dependency
- (No Category) Remove unusused ts-auto-guard package
v0.10.2
This release mostly addresses CM deployment with Heroku 🎉
Heroku deployment instructions
Bug Fixes
- (bot) Remove own profile "sub" from default moderated subreddits to run on
- (heroku) Add redirect uri env to heroku deploy template
- (heroku) Add OPERATOR to heroku deploy template
Documentation
- (heroku) Add information on dyno usage
Refactor
- (heroku) Heroku-specific docker change
v0.10.1
v0.10.0 Colorblind Improvements
This release features a revamped color palette for the UI focusing on color contrast between layout elements and text in order to improve the experience for users with colorblindness. Thanks @OmgImAlexis for the feedback on these changes.
The Breaking Change and version bump are solely due to the removal of light/dark theme -- the dark theme is now the only (and default) theme to reduce maintenance requirements.
Features
- (attribution) Add additional subreddit and activity filtering functionality to criteria
- (author) Implement author profile description regex/string testing
- (ui) Add lang attribute for html #35
- (ui) Add tooltip descriptions for depleted/limit reset stats #36
Bug Fixes
- (author) Fix missing true return statement for author flair check
- (criteria) Improve criteria filtering for removed/deleted activities and logging
Refactor
v0.9.4
Features
- (attribution) Add additional subreddit and activity filtering functionality to criteria
- (author) Implement author profile description regex/string testing
Bug Fixes
- (author) Fix missing true return statement for author flair check
- (criteria) Improve criteria filtering for removed/deleted activities and logging
v0.9.3
This release introduces Image Comparisons to enable ContextMod to find duplicates based on image-content 🎉
Features
- (cache) Implement batching for subreddit info
- (filter) Implement age test for comment/submission
- (image) Leverage reddit image previews for download/comparison
- (image) Implement perceptual hashing image comparison
- (polling) Implement memory bloat mitigation for long-running SnooStorm polling
- (ui) Display subreddit and subreddit crit statistics in cache call breakdown popup
Bug Fixes
- (docker) Add libvips dependency
- (image) Clone sharp instance so converting between outputs doesn't cause issues
- (recent) Revert debug change for concurrency on activity comparisons
- (regex) Fix regex generation for simple subreddit strings
- (subreddit) Fix subreddit state testing edge case and undefined criteria
Documentation
- (image) Add documentation for image comparison
Refactor
- (cache) Better cache usage for some known state conditions
- (image) Document resemble compare options for performance
- (image) Profile image comparison analysis time to debug statement
- (image) Remove resemblejs dependency
- (polling) Improve processed list configuration/usage-
- (No Category) Introduce staggered startup for bots/polling to decrease load on host/reddit and improve image comparison performance