FoxxMD
eee2a8e856
feat: Support multiple expressions for regex property
2022-11-22 16:03:50 -05: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
FoxxMD
a949a4ed10
fix(cache): Fix pre activities being wrongly reconstructed when retrieved from memory provider cache
...
Thanks @CryptoMaximalist for reporting the bug and providing logs!
2022-10-25 15:32:47 -04:00
FoxxMD
d67283a923
feat(filter): Add same regex/matching functionality for author flair filtering as item has
2022-10-24 13:02:27 -04:00
FoxxMD
21b2182ef0
fix(filter): Re-add missing item is criteria to filter test
...
Somehow got removed during refactor! Oops
2022-10-24 11:51:47 -04:00
FoxxMD
fcfb037d6c
feat(docs): Add more cookbook recipies
2022-10-20 12:33:20 -04:00
FoxxMD
8c3601a4cf
refactor(docs): Improve CM examples by using a "cookbook"
...
* Better instructions on how to use configs
* Remove json examples since everything else in docs is yaml
2022-10-20 10:49:17 -04:00
FoxxMD
cfc96b6c82
Merge branch 'sharedBaseConfig' into edge
...
# Conflicts:
# src/Subreddit/UserNotes.ts
2022-10-20 09:37:01 -04:00
FoxxMD
239d173ffd
feat(config): Implement ACL for full config sharing
2022-10-20 09:35:26 -04:00
FoxxMD
fda6090ddd
feat(config): Refactor manager config updates to check hydrated structure
...
Instead of checking wiki revision, check hydrated (with config fragments) config hash against last good config hash
2022-10-19 16:19:39 -04:00
FoxxMD
d23f87ba60
feat(config): Add config fragments to shared cache
2022-10-19 16:19:29 -04:00
FoxxMD
2941386955
feat(cache): Add force/shared options for getting content/wiki/url results from subreddit resources
...
* Also refactor Manager to use subreddit resources for getting wiki page (DRY)
2022-10-19 15:15:58 -04:00
FoxxMD
b2b924c01d
feat(cache): Add default prefix and shared option for interacting with cache
...
Enables getting cache KVs from shared *always* based on logic flow
2022-10-19 15:15:01 -04:00
FoxxMD
ee20ba786b
refactor: Move cache key prefix into CMCache
...
* Makes adding prefix cache provider agnostic
* Prepares for #115
2022-10-19 14:33:05 -04:00
FoxxMD
f71933b9b9
refactor: Improve reuseability of SubredditResources
...
* Extract cache related functions into own class and encapsulate pruning/key search there as well
* Refactor SubredditStates to be "re-init"-able if state frequency changes
* Simplify and SubredditSource init and configuration functionality so that class is only created once and then reconfigured if major settings change
* Only reinstantiates stats or cache class based on setting changes
* Remove obsolete maxActionedEvents from operator/subreddit config (from pre-db code)
2022-10-19 14:13:23 -04:00
FoxxMD
e6246188ad
refactor: Extract stat-related functionality from SubredditResources into its own class
2022-10-19 11:23:24 -04:00