Commit Graph
104 Commits
Author SHA1 Message Date
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 JohnsonandGitHub 7aa9a6b4f7 feat: upgraded apollo-server-express, logging extension (#2058) 2018-11-01 22:05:04 +00:00
Wyatt JohnsonandKiwi b3cfe32631 [next] Story Improvements (#2054)
* feat: improved logs

* feat: improved scraper

- added scraper debug graph call

* feat: improved story closing

* fix: fixed tests
2018-11-01 21:34:48 +01:00
Wyatt Johnson f39da1f76b review: fixed function name 2018-10-31 17:57:21 -06: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 2571f048ad feat: support development url's 2018-10-29 14:31:35 -06:00
Wyatt Johnson 3c613754f0 feat: added allowRegistration option 2018-10-25 12:57:20 -06:00
Wyatt Johnson 6dab5836c3 review: adapted graph responses for OIDC mutations 2018-10-25 11:51:28 -06:00
Wyatt Johnson ffd0f90965 fix: documentation + moved discover into query 2018-10-25 11:29:10 -06:00
Wyatt Johnson 45cbac7972 feat: added OIDC management mutations 2018-10-24 16:54:07 -06:00
Wyatt Johnson 0bb64f1d97 feat: added OIDC discovery 2018-10-23 15:27:23 -06:00
Wyatt Johnson 3b6f3c9ea8 fix: rename wordlist to wordList 2018-10-22 15:52:17 -06:00
Wyatt Johnson fa72d5deda feat: support new auth methods for Tenants
- New Time scalar type is implemented on the Server
- Single Sign-On keys can now be generated
- Single Sign-On keys can be regenerated
- Single Sign-On keys now store the date they were generated on.
- Initial implementation of `AuthenticationTargetFilter`'s
2018-10-19 16:05:58 -06:00
Wyatt JohnsonandGitHub e9c80fc02a [next] Relay GraphQL Batching (#1965)
* feat: added graphqlBatch

* refactor: cleanup of json serial

* refactor: cleanup of json serilization

* feat: use react network layer

* fix: adjusted broken user

* fix: temporarily disable cache for profile query

* test: temporarily use precompiled modules

* fix: bug when updating comment count on an asset

* fix: compile modules to commonjs for jest

* test: add react-relay-network-layer to transform whitelist

* fix: use react-relay-network-layer/es

* types: add react-relay-network-modern typescript types

* feat: integrate custom error middleware

* review: add todo
2018-10-15 22:46:21 +00:00
Wyatt Johnson 5362a26976 fix: fix graphiql 2018-10-12 15:04:45 -06:00
KiwiandWyatt Johnson 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 41575303a1 feat: added Asset edge on the Comment 2018-10-01 12:20:17 -06:00
Belén CurcioandGitHub 98f90e125d Merge branch 'next' into next-profile 2018-10-01 14:34:31 -03:00
Wyatt Johnson 5acd19790a feat: replaced respect with reaction and added some options! 2018-09-26 16:06:35 -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
Belén CurcioandGitHub 45802c651e Merge branch 'next' into next-profile 2018-09-25 14:15:14 -03:00
Wyatt Johnson 7cce84b7f8 feat: added dontAgree create/delete mutations 2018-09-24 14:25:48 -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 936347e8e4 fix: restricted action counts on Asset's 2018-09-24 11:36:44 -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 32fdc51506 fix: updated comment 2018-09-22 00:49:48 -06:00
Wyatt Johnson 2edd923b9e feat: prime current user in user cache 2018-09-22 00:45:58 -06:00
Wyatt Johnson ae60311e85 feat: added root parent edge 2018-09-22 00:45:48 -06:00
Wyatt Johnson 1702040537 feat: added parent/parents edges 2018-09-22 00:26:09 -06:00
Wyatt Johnson 0fbd27cdcb fix: fixes for comment counting 2018-09-21 23:52:28 -06:00
Wyatt Johnson daee96dc4c review: applied some review changes 2018-09-21 15:29:34 -06:00
Wyatt Johnson ebe43a28e6 feat: presence and count improvements 2018-09-21 13:16:21 -06:00
Wyatt Johnson aff29d7818 fix: removed unused types 2018-09-20 23:35:56 -06:00
Wyatt Johnson be3ef78875 feat: added action counts to graph 2018-09-20 23:35:56 -06:00
Wyatt Johnson 395cfe4ade feat: added reaction configuration 2018-09-18 16:59:21 -06:00
Wyatt JohnsonandGitHub 1d98bc78f2 Merge branch 'next' into next-respect 2018-09-18 15:56:38 -06:00
Wyatt Johnson 8283932c29 fix: linting 2018-09-17 17:16:43 -06:00
Wyatt Johnson 9044fc2400 fix: server fixes 2018-09-17 17:16:10 -06:00
Belén Curcio cb2cfe1581 Adding View Conversation functionality and styling 2018-09-14 17:52:55 -03:00
Belén Curcio f391d7b7ad Working comment history, styling in progress 2018-09-14 12:37:25 -03:00
Belén Curcio ced45a914c Comment History Working 2018-09-14 12:05:19 -03:00