FoxxMD
79db9d3848
feat: Add dns lookup caching
...
Reduces dns traffic by 95%
2024-06-13 14:16:46 -04:00
FoxxMD
4e3ef71c73
fix(mhs): Check for authentication error response
...
MHS will return a 200 HTTP response but with response detailing auth error
2024-02-21 09:38:41 -05:00
FoxxMD
c1c0f02c91
fix(notes): Fix user/mod note existing check bugs
...
* Render note content to check criteria so templated content isn't compared against rendered content
* Fix cached mod note acted on id to have correct prefix based on thing type
* Fix references mod action not checking note for acted on
2023-10-06 11:32:17 -04:00
FoxxMD
da45925f0c
feat(history): Store rule failure context in results
2023-10-06 11:30:49 -04:00
MHFDoge
e465f2f1e7
Update configuration.md
...
(cherry picked from commit 6e37fc4eb7 )
2023-05-23 11:41:49 -04:00
FoxxMD
00bc917296
fix: activity fetch reporting wrong raw count
...
unfiltered doesn't need to be initialized until it is actually used
2023-05-23 11:41:17 -04:00
FoxxMD
8080a0b058
feat: Add banned user lookup functionality
...
* Retrieve author's ban status in subreddit on a per-name basis
* Cache author's ban status for AuthorTTL
2023-05-17 11:49:13 -04:00
FoxxMD
f7dc9222d6
feat(template): Add flair text props to template rendering for submissions and authors
...
#141
2023-04-21 10:06:52 -04:00
FoxxMD
021e5c524b
feat(cache): Cache reddit request errors when fetching activities
...
Use small, in-memory cache to store reddit api response errors for 5 seconds to prevent wasting api calls
2023-01-30 12:22:12 -05:00
FoxxMD
e5fe4589e0
fix: Prevent non-serious errors from contributing to retry counts
...
Do not increase retry count if any error in the stack was marked as non-serious.
2023-01-30 12:20:43 -05:00
FoxxMD
580a9c8fe6
feat(filter): Implement own-subreddit placeholder for subreddit filtering
...
When subreddit criteria name is `{{subreddit}}` CM checks the given subreddit against the name of the subreddit the bot is currently operating in.
2022-12-16 10:26:42 -05:00
FoxxMD
ef372e531e
fix(database): Prevent usage of LIMIT in session storage driver when db backend is mysql/mariadb
...
Related to freshgiammi-lab/connect-typeorm#8
Closes #128
2022-11-29 09:47:55 -05:00
FoxxMD
fde2836208
chore: remove comments about wrong endpoints
...
At some point maybe this was fixed by reddit silently?
2022-11-28 14:36:33 -05:00
Matt Foxx
021dd5b0c5
Merge pull request #130 from rysie/bug/selecftlair-fix
2022-11-28 14:35:39 -05:00
Marcin Macinski
5bd38d367a
assignFlair doesn't work with flair_template_id
2022-11-25 17:13:49 +01:00
FoxxMD
e79779d980
feat: Implement templating for flair actions
2022-11-21 11:43:34 -05:00
FoxxMD
b094b72d4a
docs: Update docker compose instructions
...
* Specify docker-compose minimum version
* Change commands to use new syntax
2022-11-21 11:29:14 -05:00
FoxxMD
d90e88360d
feat: Add some author properties for templating
2022-11-17 13:16:10 -05:00
FoxxMD
9031f7fec8
refactor(polling): Improve resilience for polling source parsing
...
* Replace hard-coded polling sources with string constants
* Implement string to PollOn parsing which is case-insensitive and forgives mispelling
* Check that manager specifies only one of each polling source type when build config
2022-11-17 12:03:55 -05:00
FoxxMD
0a2b13e4c4
fix: Fix including self activities in Recent Activity without filtering
...
* Consolidate ACID check for author history results into authorActivities function so it can be used everywhere
* Remove self check in Recent Activity and used consolidated functionality so that filtering still occurs on current activity
2022-11-16 10:18:37 -05:00
FoxxMD
5183747219
feat(docs): Improve jekyll dependencies to speed up docker image build
2022-11-15 13:58:35 -05:00
FoxxMD
718f81b921
feat(docs): Generate docs on startup or in docker build
...
* Generate docs if none found on Web client startup
* Add "Docs" link to local docs index
* Add working implementation of building docs in docker image
2022-11-15 13:07:40 -05:00
FoxxMD
154603328c
chore: Exclude jekyll generated files from typescript compiler
2022-11-15 10:15:16 -05:00
FoxxMD
4041ea5bb5
docs: Revert to using docs folder only
...
* Using project dir copies too much to _site directory and causes TS issues
* In order to keep "home" page in generated docs need to duplicate project README (unfortunately)
2022-11-15 09:36:29 -05:00
FoxxMD
981591a5fa
docs: Add more filters documentation
2022-11-14 14:42:56 -05:00
FoxxMD
999329c6ce
docs: Add missing mermaid version
2022-11-14 13:28:44 -05:00
FoxxMD
d7cf15dcc1
docs: Fix links in main readme
2022-11-14 12:21:57 -05:00
FoxxMD
f58430c615
docs: Add doc site development documentation
2022-11-14 11:59:02 -05:00
FoxxMD
8e18afbda9
chore: Add excluded folders for idea
2022-11-14 11:54:23 -05:00
FoxxMD
b3b0d92f2a
docs: Use project README as index and fix more links
2022-11-14 11:54:07 -05:00
FoxxMD
34ee5da082
docs: Fix broken link
2022-11-14 11:33:05 -05:00
FoxxMD
ba8ad100bc
docs: Fix detail expansion blocks
...
https://github.com/just-the-docs/just-the-docs/issues/246#issuecomment-643783307
2022-11-14 10:46:40 -05:00
FoxxMD
4b6f66499a
docs: Fix relative links
2022-11-09 15:19:47 -05:00
FoxxMD
9a08df1990
testing relative links in plain docs with parent
2022-11-09 14:47:03 -05:00
FoxxMD
1f3aa8e732
testing relative links in plain docs
2022-11-09 14:44:53 -05:00
FoxxMD
ec98d8f629
docs: Initial implementation of just-the-docs
2022-11-09 14:22:53 -05:00
FoxxMD
2d8b7f7b86
fix: Modify reddit entity parsing regex to allow subreddit names that have been replaced with placeholders
...
Placeholder naming broke "normal" subreddit naming convention
2022-11-08 09:47:20 -05:00
FoxxMD
b9f85814d4
Merge branch 'dockerCompose' into edge
2022-11-01 16:41:14 -04:00
FoxxMD
e11a1d2a52
feat: Add full docker-compose support and documentation
...
* Annotated docker-compose file
* simplified CM config.yaml for docker-compose "base"
* instructions for usage in installation docs
2022-11-01 16:41:00 -04:00
FoxxMD
43bfa3ca51
fix(ui): Add workaround for removal reason copy-to-clipboard when in unsecure context
2022-10-31 11:30:17 -04:00
FoxxMD
0127cbfd0f
docs: Add cookbook recipe for monitoring popular submissions
2022-10-27 15:40:53 -04:00
FoxxMD
59d31bde84
feat(comment): Implement commenting as subreddit
2022-10-27 14:29:05 -04:00
FoxxMD
17ae7fa295
refactor(modnotes): Encapsulate filtering functionality in modnote class for future testing
2022-10-27 11:36:12 -04:00
FoxxMD
bf074487ff
fix: Fix how submission/comment snoowrap entities are generated from reddit thing ids
2022-10-27 11:34:12 -04:00
FoxxMD
85e786d248
fix(filter): Re-add missing modaction filtering improvements
...
They were removed by a merge somewhere??
2022-10-27 09:56:45 -04:00
FoxxMD
641a7fbd63
fix(filter): Fix usernote cutoff date comparison
2022-10-27 09:50:05 -04:00
FoxxMD
0278a4d673
feat(filter): Improve building filters from config
...
* Fix ignoring of filters when they are plain objects
* Fix default filter merging behavior to account for "new" filter structure (named criteria)
* Add tests for building/merging filters
2022-10-26 14:43:44 -04:00
FoxxMD
d318286507
fix(cache): Fix more memory provider cache object reconstruction issues #123
...
Same issues as a949a4ed10 -- memory provider stores objects in memory (no serialization) so need to check for object instance before trying to reconstruct
2022-10-26 09:48:41 -04:00
FoxxMD
36221705fa
fix(filter): Fix filtered usernote assignment when search type is current and no notes exist
...
Addresses #123
2022-10-26 09:27:15 -04:00
FoxxMD
fdc0ccf4c8
fix(mhs): Fix examples missing criteria property
2022-10-25 16:51:47 -04:00