Commit Graph
184 Commits
Author SHA1 Message Date
Wyatt JohnsonandGitHub 326a10dc5d [next] Concurrency (#2136)
* feat: added concurrency options

* fix: Default CONCURRENCY to 2 for development
2018-12-20 17:01:10 +00:00
KiwiandWyatt Johnson 1fc49f8e50 [next] Moderate (#2118)
* fix: load .env before building / watching

* feat: Implement AppBar, Brand, and SubBar

* feat: add card ui component

* feat: add modqueue components

* feat: implement modqueue

* feat: add translations

* test: add unit tests

* feat: single comment view

* test: feature / integration tests for modqueue

* test: fix remaining tests

* feature: support TextMatchOptions

* fix: remove body count marker

* fix: remove accidently added package

* feat: testHelper toJSON

* chore: cleanup + comments

* chore: better types

* test: fix test

* chore: refactor decision history test

* chore: tiny fix

* fix: adjust to recent server changes

* fix: marking suspect and banned words

* feat: added moderation queue edge to accept/reject comment payloads

- Simplified moderationQueue returns
- Simplified resolvers

* feat: update counts

* feat: added id's to moderation queue and settings

* fix+test: test count changes, apply fix

* chore: adapt to server change, and remove custom mutation handlers

* fix: use common utils

* fix: purify fix, babel fix

* fix: workaround css treeshake issue and upgrade css plugins

* fix: fixed snapshot

* fix: support empty word lists

* feat: separate client config
2018-12-18 18:00:39 +00:00
Wyatt JohnsonandKiwi 6f538d3235 [next] DOM Purification (#2115)
* feat: added purify + linkify + better link detection

* fix: linting + tests

* chore: refactor RequireProperty Type
2018-12-13 00:14:29 +01:00
Wyatt JohnsonandKiwi e134b4de04 [next] Flag Improvements (#2114)
* fix: applied fix for reaction mutation

* fix: removed comment length flag

* feat: added additionalDetails field to flags

* feat: added other flag type
2018-12-12 22:49:51 +01:00
Wyatt JohnsonandKiwi 8a64e6f62d fix: resolved race loading issues with dataloader (#2117) 2018-12-12 21:54:43 +01:00
Wyatt JohnsonandKiwi 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 JohnsonandGitHub 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 JohnsonandKiwi f160eae500 fix: allowed client router to take over routing past the mount point (#2086) 2018-11-21 17:56:50 +01:00
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
KiwiandWyatt Johnson 05350d651f [next] Admin Configure (#2076)
* feat: Add RadioButton and CheckBox

* feat: configure facebook and google auth

* feat: configure sso, localAuth and displayName + some tests

* test: add integration tests for configure auth

* test: more integration tests

* feat: add oidc support

* test: add oidc integration test

* feat: generate sso key initially

* fix: import fetchQuery from correct package

* fix: admin url

* fix: set timezone to utc when testing

* refactor: improve route config

* fix: remove obsolete line

* fix: clientMutationId increment

* fix: oidc only create when enabled

* fix: copy

* test: update snapshots

* feat: fixed graphql logging extension

* Update src/locales/en-US/admin.ftl

Co-Authored-By: cvle <vinh@wikiwi.io>

* Apply suggestions from code review

Co-Authored-By: cvle <vinh@wikiwi.io>

* test: update snapshots

* fix: change Local Auth to Email Authentication

* fix: copy updates
2018-11-19 22:47:32 +00:00
Wyatt JohnsonandGitHub 3f949b3712 fix: fixed install route (#2064) 2018-11-06 16:28:04 +00: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 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 JohnsonandChi Vinh Le c81d612c70 feat: moved some useful tools to common 2018-11-01 18:15:42 +01:00
Wyatt Johnson f0753214e1 review: upgraded merged upstream @types/mongodb 2018-10-31 18:00:30 -06: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 Johnson 93b91a0573 feat: added google support 2018-10-29 17:36:15 -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 58e51b299d feat: created oauth2 abstract class 2018-10-29 15:13:10 -06:00
Wyatt Johnson c47032f257 feat: support facebook auth 2018-10-29 14:31:47 -06:00
Wyatt Johnson 2571f048ad feat: support development url's 2018-10-29 14:31:35 -06:00
Wyatt Johnson 33ecbaecda fix: linting 2018-10-26 12:17:24 -06:00
Wyatt Johnson 3c613754f0 feat: added allowRegistration option 2018-10-25 12:57:20 -06:00
Wyatt Johnson d1e6d297f3 fix: fixed linting 2018-10-25 12:03:28 -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 eadf7bde43 feat: added memoization to the regexp generation 2018-10-25 10:55:22 -06:00
Wyatt Johnson e7131e1567 fix: adjusted to include the openID 2018-10-25 10:31:43 -06:00
Wyatt Johnson 977161db0a fix: linting 2018-10-25 08:58:58 -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 9608198d86 [next] Content Security Policy (#1972)
* feat: initial csp support

* fix: strip non-frame directives

* review: added tests, fixed some edge cases
2018-10-19 17:06:40 +00:00
Wyatt JohnsonandGitHub 9f37c3b3da Merge branch 'next' into next-static-uri 2018-10-15 22:47:04 +00: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 3633fd7afb feat: added static uri support 2018-10-15 14:56:43 -06:00
Wyatt Johnson 5362a26976 fix: fix graphiql 2018-10-12 15:04:45 -06:00
Wyatt JohnsonandGitHub cda72ba249 [next] Docker + Revision Metadata (#1991)
* feat: added version metadata, release to Docker

* fix: fixed mistake with export

* fix: adjusted circle cache beheviour

* fix: removed node_modules from workspace

* fix: added version prefix to cache keys

* review: patched invalid job name

* fix: hardcode cache version prefix :(

* fix: improved cache keys
2018-10-12 19:13:55 +00: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
Wyatt JohnsonandGitHub 8184c3932e [next] Install (#1957)
* Wip

* Adding Wizard and initial step <3

* Wip

* Adding more steps to the Install Wizard

* Mantaining state across steps

* Adding Steps

* Step Component

* wip

* feat: improved logging

* feat: added tenant install route

* Progress

* Refactor

* Adding rest install mutation

* Wip

* Done

* Addding snapshots

* URL validators

* Adding validation for url, and final step

* Header component and main variants

* fix: resolved router

* fix: corrected spec for prop

* fix: updated test snapshot

* Translations

* Translations

* Adding extra validation

* prefixing events with On - onSaveData

* prefixing events with On - onSaveData

* Adding translations, and colors from the palette

* Centering steps

* Ready

* feat: added production redirects

* fix: fixes during production

* fix: removed dead code

* Placeholder translations

* removing submit from cancel

* Adding a description for the URL field

* typo

* Refactor and renaming

* Using white as var

* Refactor and renaming

* feat: use new palette colors

* fix: extracted styles

* Adding await to avoid race condition with setState :)

* lint

* feat: added urls

* fix: wizard leaking styles

* fix: simplify icon style

* fix: adjust global body css to remove padding to allow seamless integration

* fix: types and small refactors

* fix: correctly filter wizard children

* refactor: simplify step containers

* fix: better typecheck

* test: remove obsolete snapshots

* fix: don't export FormProps
2018-10-11 22:13:02 +00:00
Wyatt JohnsonandGitHub 44e6d4b26a [next] GraphiQL Fixes (#1967)
* fix: fixed playground middleware

* fix: replaced express middleware with custom html based middleware
2018-10-10 16:25:26 +00:00
Chi Vinh Le bd1d677b63 Merge branch 'next' into next-respect 2018-10-04 19:15:00 +02:00
KiwiandGitHub 13b039099f Merge branch 'next' into next-profile 2018-10-03 02:15:41 +02:00
Wyatt Johnson 74fc0fab61 feat: cleanup of router 2018-10-02 15:13:01 -06:00
Wyatt Johnson 733ea936d6 feat: simplified view 2018-10-02 14:58:27 -06: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