Commit Graph
31 Commits
Author SHA1 Message Date
Wyatt JohnsonandKiwi 21e1a5cbef [next] Comment Moderation Actions (#2068)
* fix: renamed snake case to camel case

* fix: changed case for mutators

* fix: renamed all snake case to camel case for db

* feat: added support for comment revisions + split comment actions

* fix: updated tests

* feat: implemented CommentModerationAction

* fix: fixed case issues

* feat: enabled WeakMap for wordList processsing

* chore: npm audit
2018-11-21 17:42:47 +01:00
Wyatt JohnsonandGitHub ca12b73b55 [next] Story Mutations (#2055)
*  feat: added mutations for removing + scraping stories

- added mutation for removing stories
- added mutation for scraping stories
- renamed all delete* to remove* to avoid reserved keyword collision

* fix: linting

* feat: implemented createStory

* feat: added support for createStory

* feat: improved Story deletion

- Deletes comments on the deleted Story
- Deletes actions of comments that were deleted via new
  `root_item_id` parameter for Comment Action's
- Added logging around critical components of the remove
  process

* feat: implemented mergeStory

- Added new merge function for root actions
- Added new merge function for story comments
- Added new merge function for comment status counts
- Added new remove stories function

* fix: fixed story creation method

* fix: added action count merging

* fix: removed outdated file

* fix: removed queue that got duplicated via rebase

* fix: prevent error when action counts are empty
2018-11-02 23:18:12 +00:00
Wyatt Johnson 092e707785 Merge branch 'next' into next-auth 2018-10-29 17:39:06 -06:00
Wyatt JohnsonandGitHub 1dc400ba58 [next] Rename Asset to Story (#2044)
* feat: rename asset -> story in server

* feat: renamed asset -> story for client code and tests

* feat: renamed article -> story
2018-10-29 22:49:35 +00:00
Wyatt Johnson 3b6f3c9ea8 fix: rename wordlist to wordList 2018-10-22 15:52:17 -06:00
Wyatt Johnson fa240376b5 Merge branch 'next' into next-respect 2018-09-26 13:29:45 -06:00
Wyatt JohnsonandGitHub 20170333ed feat: initial comment count support (#1903) 2018-09-26 19:23:54 +00:00
Wyatt Johnson 411f5bc302 Merge branch 'next' into next-respect 2018-09-26 10:15:37 -06:00
Wyatt Johnson 3c640f87d3 fix: cleanup of comments service 2018-09-24 14:07:44 -06:00
Wyatt Johnson 3cdaa284ed feat: added flag creation and deletion mutations 2018-09-24 13:46:13 -06:00
Wyatt Johnson 10748347b9 feat: support deleting comment reactions 2018-09-24 12:50:30 -06:00
Wyatt Johnson dee14709c8 feat: added reaction adding mutation 2018-09-24 12:34:27 -06:00
Wyatt Johnson 8c3b0071c2 fix: renamed, middleware fixes 2018-09-24 12:32:57 -06:00
Wyatt Johnson d8417eda2e feat: introduce asset action count caching 2018-09-23 20:43:43 -06:00
Wyatt Johnson 1702040537 feat: added parent/parents edges 2018-09-22 00:26:09 -06:00
Wyatt Johnson 7eb1755c5e feat: expanded action counts 2018-09-20 15:13:46 -06:00
Wyatt Johnson 8d86900376 feat: added support for action creation via edit 2018-09-18 16:59:32 -06:00
Wyatt JohnsonandGitHub 1d98bc78f2 Merge branch 'next' into next-respect 2018-09-18 15:56:38 -06:00
Wyatt Johnson 76c222dbed fix: linting 2018-09-11 16:50:10 -06:00
Wyatt Johnson 7a4bf847b0 feat: merge metadata during edit 2018-09-11 16:35:12 -06:00
Wyatt Johnson a794fe8cd7 fix: remove assetID from EditCommentInput 2018-09-11 16:35:00 -06:00
Wyatt Johnson 1bd841ec01 feat: initial action implementations 2018-09-06 16:24:34 -06:00
Wyatt JohnsonandGitHub 3897b06029 [next] Comment Editing (#1795)
* feat: initial impl of comment edits

* feat: added edit metadata

* review: switched out explcit null + nullable types

* fix: changed commentEdge -> edge, test comments

* [next] Tasks (#1777)

* feat: initial support for synced tenants

* fix: cleanup

* fix: logger now respects logging level

* fix: cache now ignores updates issued from itself

* feat: print subscriber count

* feat: initial moderation + validation for new comments

* fix: added Promiseable type

* feat: initial actions impl

* feat: more moderation phases

* fix: handle settings inheritence

* fix: moved settings into new file

* fix: defaults and documentation

* fix: replace merge with object spread

* feat: added integration with akismet

* fix: support tenant cache for oidc strategy

* fix: fixed compile

* fix: import ordering

* feat: added bull for queue support

* feat: support for scraping

* fix: fixes for scraper

- Implemented simple metascraper replacement (to resolve security advisory
  warning)
- Implemented simle dotize replacement (to resolve not
  working version that couldn't handle date objects)
- Plugged in asset scraping to asset creation process

* fix: handles array values

* feat: added initial scraper implementation

* feat: seperate queues but share config

* fix: simplified auth data access

* feat: moved more settings into the graph

* feat: improved mailer design

* fix: fixed issue with dotize

* fix: fixed some issues with adapter

* fix: queue cleanup

* feat: added organizationName to Tenant

* feat: email rendering

* review: support es6 imports

* fix: restore old ci step

* fix: adjusted logging messages

* fix: linting
2018-09-04 18:57:41 +00:00
Wyatt JohnsonandGitHub 0b3aead1d2 [next] Perspective API Integration (#1797)
* feat: initial toxic comments impl

* feat: improved logging

* feat: tenant cache adapter

* feat: move more types into graphql
2018-08-14 14:37:00 +00:00
Wyatt JohnsonandGitHub 4606626ec4 [next] Settings/Tenant (#1758)
* feat: initial support for synced tenants

* fix: cleanup

* fix: logger now respects logging level

* fix: cache now ignores updates issued from itself

* feat: print subscriber count

* fix: support tenant cache for oidc strategy

* fix: replace some constructor initializers with property initializers

* fix: audit

* [next] Comments and Moderation (#1759)

* feat: initial moderation + validation for new comments

* fix: added Promiseable type

* feat: initial actions impl

* feat: more moderation phases

* fix: handle settings inheritence

* fix: moved settings into new file

* fix: defaults and documentation

* fix: replace merge with object spread

* feat: added integration with akismet

* fix: fixed compile

* fix: import ordering

* fix: merge issue causing build to fail
2018-08-02 20:09:55 +00:00
Wyatt Johnson 871206740f fix: cleanups for asset 2018-07-11 16:35:20 -06:00
Wyatt Johnson 6efe36ceaa feat: signup enhancements; more extensions to schema 2018-07-10 15:54:52 -06:00
Wyatt Johnson 87ce65755c feat: initial local passport strategy 2018-07-05 15:58:19 -06:00
Wyatt Johnson fa57c72842 linting + initial mutation
- added tslint
- mutation support
2018-06-25 14:32:01 -06:00
Wyatt Johnson 6f80a2458c linting 2018-06-21 10:44:36 -06:00
Wyatt Johnson 02e1236792 initial commit 2018-06-16 17:20:51 -06:00