Commit Graph

37 Commits

Author SHA1 Message Date
Kiwi 065cb4b03a [next] Auth Popup v2 (#2101)
* feat: Implement new Sign In view

* feat: Move forgot + resetPassword to new design

* feat: Implement sign up with new design

* fix: narrow gutter

* test: add unit tests

* test: integration tests

* feat: support show / hide password

* feat: support oauth2 flow

* feat: add views for user completion

* feat: implement oauth2 sign up

* test: fix snapshots

* fix: lint

* fix: get more complete mutation response

* fix: removed array of OIDC integrations

* fix: renamed resolver function

* fix: adapt oidc client implementation

* fix: targetFilter should be stream on signup

* fix: removed unneeded message

* fix: moved password into local profile

* fix: made username optional, removed valid null value

* fix: linting

* fix: respect targetFilter

* feat: support user registration mutations

- Added `setUsername`
- Added `setEmail`
- Added `setPassword`
- Added `permit` to `@auth`
- Added `email` to `User`

* fix: fixed issue with query

* feat: added user password update

* feat: complete sign in mutation

* fix: adapt some rebasing gitches

* test: improve tests

* test: unittest for setting auth token

* fix: failing tests

* test: move most tests from enzyme to react-test-renderer

* fix: remove schema warnings in tests

* test: improve window mock

* test: test different social login configurations

* test: test social logins for sign up

* fix: use htmlFor instead of for

* test: more feature tests

* feat: always go through account completion

* test: feature test account completion

* feat: addtional account completion test

* Update start.ts

* chore: refactor auth token retrieval logic
2018-12-20 22:32:04 +01:00
Kiwi 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
Kiwi 097294909b [next] Embed: Defer login/logout until ready (#2123)
* feat: Embed defer login/-out until ready

* fix: make remove work with lazy render

* fix: typo

* fix: another typo

* fix: test

* chore: replace query-string for querystringify

* fix: types

* chore: small refactor

* feat: added webpack analzyer

* chore: rename compile -> generate

* fix: fix scripts and improve bundle size

* fix: lodash webpack plugin
2018-12-15 00:07:09 +00:00
Kiwi 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 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 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 d2106b3de5 [next] Templates (#1760)
* 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 nunjucks support

* 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

* feat: added gulp, static templates

* fix: added compile step back

* Fix extract css + remove cross-env
2018-08-10 16:17:39 +00:00
Kiwi 6d7056d831 [next] Add support for embed (#1762)
* Move talk-server/config to talk-common/config

* Refactor build into /src/core/build and use common config

* Add embed webpack config

* Start implementing embed

* Implement embed

* Add pym types

* Add event emitter to Talk Context

* Add MatchMedia test for passing values from the context

* Add support for click far away

* Integrate pym click events to registerClickFarAway

* Add tests

* Resolve merge issues

* Apply PR review
2018-08-02 15:29:18 +00:00
Wyatt Johnson 2ac6883737 Merge branch 'next' into next-passport 2018-08-01 13:13:54 -06:00
Kiwi 5fd7062a3a [next] Support development on windows (#1769)
* Support windows

* Fix error when loading locales
2018-07-31 18:24:01 +00:00
Chi Vinh Le 78d00d69fe Fix CI thanks to wyatt 2018-07-18 19:36:43 -03:00
Wyatt Johnson 8487f22b8e feat: added test results 2018-07-17 14:09:00 -06:00
Wyatt Johnson 01dab3213a Merge branch 'next' into next-passport 2018-07-16 11:49:31 -06:00
Wyatt Johnson 7e98580264 review: changes for review 2018-07-16 11:38:28 -06:00
Chi Vinh Le 5f756056b1 More colors 2018-07-13 19:49:39 -03:00
Chi Vinh Le 1cd4d537af Colors 2018-07-13 19:46:12 -03:00
Chi Vinh Le 70ccd646ff Short circuit endless respawn 2018-07-13 19:39:15 -03:00
Chi Vinh Le 27334c7bd1 Apply suggestions 2018-07-13 16:07:51 -03:00
Chi Vinh Le 035d241a72 Support watcher sets 2018-07-13 14:56:36 -03:00
Chi Vinh Le e76740c31f Make filter only a pure function 2018-07-13 11:37:56 -03:00
Chi Vinh Le 9684b6046b Parallel cleanup, skip empty watches 2018-07-13 11:26:19 -03:00
Chi Vinh Le d8021f0f33 Support sane watcher + auto detect watchman 2018-07-13 03:13:55 -03:00
Chi Vinh Le 05552f7a84 Use different kill method for watcher 2018-07-13 02:00:23 -03:00
Wyatt Johnson b3f850724a Merge branch 'next' into next-passport 2018-07-05 16:01:44 -06:00
Wyatt Johnson 87ce65755c feat: initial local passport strategy 2018-07-05 15:58:19 -06:00
Kiwi 37cb23dd59 [next] Jest implementation for React Components (#1733)
* Make jest testing work with custom path and css modules

* Add first test

* feat: added unit tests to ci

* fix: updated package-lock.json

* Update cssTransform.js

* Update cssTransform.js

* Fix test in ci
2018-07-05 09:04:38 -06:00
Kiwi e450fa05e0 Use JSDocs comments (#1727) 2018-07-04 14:39:54 -06:00
Wyatt Johnson 6a185e587e feat: added support for --only flag 2018-07-04 14:39:54 -06:00
Kiwi 1a14c13105 Use JSDocs comments (#1727) 2018-07-04 11:01:08 -06:00
Wyatt Johnson 9afc322314 feat: added support for --only flag 2018-07-04 10:50:10 -06:00
Wyatt Johnson 679ad01a7d feat: supported watcher 2018-07-04 10:17:48 -06:00
Wyatt Johnson eacdb7db59 Merge branch 'next' into next-passport 2018-07-04 09:57:07 -06:00
Kiwi 044e1c2863 Watcher infrastructure (#1724)
* wip

* Adding chokidar and types

* specifiying build tasks

* new structure, new types, executor and watchers

* Adding log

* Fully implemented watchers

* adapt vscode launc

* Add .babelrc.js to toplevel tsconfig project

* Typo

* Get schema path from .graphqlconfig

* Use watcher binary

* Add joi validation to watcher

* Remove fb-watchman for now

* Use correct ignore path

* Fix dist folder

* Allow setting watcher

* Per default only spawn one process at a time

* Support runOnInit

* Rename RestartingExecutor to LongRunningExecutor

* Use debounce instead of throttle

* Remove console log

* Debounce command execution

* Simplify debounce

* Watcher name change

* Typos

* Rename "watcher" root level config to "backend"
2018-07-03 12:21:58 -06:00
Wyatt Johnson ab8fd935e7 Merge branch 'next' into next-passport 2018-06-29 12:46:28 -06:00
Kiwi 986716b3c3 lint js files, cleanup scripts (#1713) 2018-06-29 15:25:40 +00: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