FoxxMD
20acc12460
Add footer to comment/ban content
...
Closes #5
0.3.0
2021-06-16 22:29:28 -04:00
FoxxMD
60c0569e21
Add missing actions
...
Closes #19
2021-06-16 22:04:44 -04:00
FoxxMD
879807390d
Add YAML as configuration language to readme
2021-06-16 21:30:43 -04:00
FoxxMD
08413dbe16
Implement YAML parsing
2021-06-16 21:27:48 -04:00
FoxxMD
75cbde8b8b
Improve logging levels and add end-run stats
...
* Increase some noisy log statements to verbose
* Display action summary on info level
* verbose -- Display run stats (checks, rules, actions) at end of event
* verbose -- Display reddit api stats (initial, current, used) at end of event
2021-06-16 13:31:37 -04:00
FoxxMD
3acf268313
Check notes length before trying to get current note
2021-06-16 12:30:28 -04:00
FoxxMD
97b9391f3b
Remove debug statement derp
2021-06-16 12:21:19 -04:00
FoxxMD
f8ec0d7ee0
Fix and/or condition logic for checks and rulesets
2021-06-16 12:20:38 -04:00
FoxxMD
0002c1bc11
Allow rules to be optional, increase startup logging, and change default log level
...
* Allow rules to be optional on json -- if no rules actions are run immediately after check passes author/item tests
* When verbose logging show much more detail about check stats, rules, and actions on startup
* Set verbose as default log level. New users should have more information of the box so they can understand how things work.
2021-06-16 11:38:45 -04:00
FoxxMD
a09f3fe4f1
Finally got action example working correctly
2021-06-16 10:39:27 -04:00
FoxxMD
daf66083d0
Schema documentation improvements
2021-06-16 10:33:36 -04:00
FoxxMD
7acd62d787
Refactor window criteria to actually work as described
2021-06-16 00:27:04 -04:00
FoxxMD
75889cc927
Add more error handling for reddit timeout issues
2021-06-15 17:05:14 -04:00
FoxxMD
db0440356c
Refactor author usage to be more universal and change name to match item behavior
...
* (BC) rename authors to authorIs to match itemIs -- since they have the same behavior
* Add author filter to Check so it matches usage of itemIs
2021-06-15 16:12:06 -04:00
FoxxMD
016952128c
Update documentation for Toolbox User Notes
2021-06-15 15:31:59 -04:00
FoxxMD
884966b8d3
Remove more debugging statements
...
ugh
2021-06-15 14:33:47 -04:00
FoxxMD
0ad7c66e9d
Fix error display on config error
2021-06-15 14:26:42 -04:00
FoxxMD
c075e5fb24
Remove debug statements
2021-06-15 14:11:07 -04:00
FoxxMD
a3de885620
Add some action checks
2021-06-15 14:04:06 -04:00
FoxxMD
e29d19ada8
Implement itemIs test for Checks and Rules
2021-06-15 13:54:54 -04:00
FoxxMD
c52e1d5e1d
Implement toolbox usernote action
2021-06-15 12:09:26 -04:00
FoxxMD
257563a3b8
Implement toolbox usernote author filter and rule criteria
2021-06-15 10:39:16 -04:00
FoxxMD
7761372091
Implement toolbox usernote read/write
2021-06-14 22:45:48 -04:00
FoxxMD
eb62e39975
Add unmoderated run command
2021-06-14 10:26:05 -04:00
FoxxMD
bdd72dc28e
Add more schema examples
2021-06-12 00:54:23 -04:00
FoxxMD
e7b5a9bb60
Change repeat activity behavior when useSubmissionAsReference=true but not a link
...
Return false result instead of throwing an error since this is probably the expected behavior
2021-06-12 00:02:32 -04:00
FoxxMD
699f2577e5
Fix return value of author filter
2021-06-11 23:59:57 -04:00
FoxxMD
a22096a667
Fix snoowrap logger code
...
Accidentally not instantiating if debug not true
2021-06-11 23:43:52 -04:00
FoxxMD
a6e72dc79d
Add rule ordering and api caching to advanced concepts
0.2.1
2021-06-11 19:35:25 -04:00
FoxxMD
962e44bf57
Fix some more links wtf
2021-06-11 19:20:16 -04:00
FoxxMD
2189d92725
Update recent activity examples descriptions
2021-06-11 19:17:09 -04:00
FoxxMD
14711efeb3
Use better link for example
2021-06-11 19:13:48 -04:00
FoxxMD
774b41c2a3
Add readmes for all sections
2021-06-11 19:12:11 -04:00
FoxxMD
4928b8b57a
Add examples
2021-06-11 18:30:30 -04:00
FoxxMD
4b39794e2f
Normalize named rule value
2021-06-11 18:29:19 -04:00
FoxxMD
c0ede0561c
Add general percentages to history result data
2021-06-11 16:40:51 -04:00
FoxxMD
d7cea1f705
Add totalCount threshold property for recent activity rule
2021-06-11 16:00:17 -04:00
FoxxMD
3e29d7eb9f
Remove noisy poll logging
...
Duh
2021-06-11 14:17:10 -04:00
FoxxMD
48ea60f886
Move heartbeat to app-level config
2021-06-11 14:15:54 -04:00
FoxxMD
1897d96a8f
Add dryrun setting to help with testing
...
Can be configured at action, check, subreddit, or app level
2021-06-11 12:38:01 -04:00
FoxxMD
1279975a8a
Add verbose log statements to log rule results and comment/report action contents
2021-06-11 11:56:55 -04:00
FoxxMD
7d0f7e8714
Decode content in render util instead of in each action
2021-06-11 11:44:36 -04:00
FoxxMD
f6b3f02e05
unescape content before report/comment
2021-06-11 10:36:37 -04:00
FoxxMD
1f439dc290
Re-add report length enforcement
...
Reddit returns 200 for longer content but then never actually makes the report
2021-06-11 10:28:51 -04:00
FoxxMD
0a299308fb
Make history summary more succinct
2021-06-11 10:28:29 -04:00
FoxxMD
a84b39cc5a
Wrap snoowrap logger function so arguments can be passed correctly to winston
2021-06-10 15:57:04 -04:00
FoxxMD
f64c6e0df5
Fix default for boolean option
2021-06-10 15:56:41 -04:00
FoxxMD
250313b6a8
Add separator between check name and description
2021-06-10 14:27:27 -04:00
FoxxMD
e4be9ed4e6
Display api limit on startup
2021-06-10 14:27:02 -04:00
FoxxMD
788af401b3
Support JSON5 for parsing configuration
2021-06-10 13:20:11 -04:00