Commit Graph

40 Commits

Author SHA1 Message Date
Wyatt Johnson 9b0e6ed53b [next] MongoDB Indexes (#2142)
* feat: added mongo indexing support

* fix: fixed typescript issue

* chore: better types

* fix: revert debug stuff

* fix: addressed ts error

* feat: added config option to disable auto-indexing

* chore: reordered imports

* refactor: cleaned up some filepaths
2019-02-06 17:53:34 +00:00
Wyatt Johnson 4584c3d4fb [next] Moderation Queues (#2098)
* fix: edit comment fix for reactions

* feat: Comment Queue Counts

- Removed "remove flag"
- Rearranged moderation services
- Rearranged comment counts on stories
- Added moderation queue counts to stories
- Added comments edge
- Improved Cursor/Connection types
- Improved count updators for stories

* feat: added shared comment counts and queues

- Added new AugmentedRedis type
- Added more log calls
- Update counts in shared counter as well
- Return a Query level Moderation Queue

* fix: fixed test
2018-12-07 00:37:33 +01:00
Wyatt Johnson a5c98cd587 [next] Comment Reply Revisions (#2072)
* feat: added revision id support for replies

* feat: use createCommentReply
2018-11-27 21:56:12 +00:00
Wyatt Johnson 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 Johnson 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 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
Kiwi cf2be96a13 [next] Permalink View (#1987)
* feat: Implement converation thread

* Update unit tests

* test: adapt integration tests

* test: refactor denormalization helpers

* test: Include multiple parents in permalink View

* test: add integration test for loading previous parent comments

* feat: use dashed & solid time line

* feat: use new conversation thread design

* feat: add header from new design

* test: update snapshots

* fix: better scrolling behavior

* feat: add user box

* fix: add translations

* fix: typo

* fix: plural translation

* fix: paddings

* feat: better styling for level 0 comments

* fix: gutter size

* fix: update iframe url with new comment id

* test: add unit tests
2018-10-12 16:41:58 +00:00
Chi Vinh Le bd1d677b63 Merge branch 'next' into next-respect 2018-10-04 19:15:00 +02:00
Wyatt Johnson 411f5bc302 Merge branch 'next' into next-respect 2018-09-26 10:15:37 -06:00
Belén Curcio 45802c651e Merge branch 'next' into next-profile 2018-09-25 14:15:14 -03:00
Wyatt Johnson bd56a39d73 review: fixes 2018-09-25 10:06:05 -06:00
Wyatt Johnson a318b56233 fix: patch for sort bug 2018-09-24 15:38:12 -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 a8ccf29bea fix: fixed issues with sorting 2018-09-23 17:28:15 -06:00
Wyatt Johnson 8589993401 fix: addressed cursor issue 2018-09-22 00:57:40 -06:00
Wyatt Johnson 50a691c1e5 fix: removed dead code comment 2018-09-22 00:50:55 -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 1d98bc78f2 Merge branch 'next' into next-respect 2018-09-18 15:56:38 -06:00
Belén Curcio ced45a914c Comment History Working 2018-09-14 12:05:19 -03:00
Wyatt Johnson 7a4bf847b0 feat: merge metadata during edit 2018-09-11 16:35:12 -06:00
Wyatt Johnson 1bd841ec01 feat: initial action implementations 2018-09-06 16:24:34 -06:00
Wyatt Johnson 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 Johnson 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 Johnson 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 c90f6cbe53 Merge branch 'next' into next-passport 2018-07-11 15:42:52 -06:00
Wyatt Johnson d2368f4cc5 fix: linting 2018-07-11 14:49:18 -06:00
Wyatt Johnson bfede26ddd fix: adjusted pageInfo 2018-07-11 14:24:51 -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
Chi Vinh Le 796d24db3d Use pagination container 2018-07-02 19:13:13 -03:00
Wyatt Johnson 986c92598d feature: added generated graph types 2018-06-28 17:06:45 -06:00
Kiwi 65c8da0f34 Merge client into next (#1709)
* Merge client
* Add linting script
* Rename serve to start:development
* Move error harmonization and handling to network layer
* Show Comment Stream
* Added initial test
2018-06-27 22:06:30 +00:00
Wyatt Johnson bcf5658c36 fix: type adjustments 2018-06-27 11:39:26 -06:00
Wyatt Johnson b51e1c9867 fix: added support for strictNullChecks 2018-06-26 14:46:58 -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 4318e1ddbe added tenant + graph support 2018-06-16 17:21:04 -06:00
Wyatt Johnson 02e1236792 initial commit 2018-06-16 17:20:51 -06:00