Commit Graph
76 Commits
Author SHA1 Message Date
KiwiandWyatt Johnson 7e8ef2189d [next] Admin Authentication (#2155)
* feat: Support sign in via E-Mail, and social logins + permission check

* feat: no permission info

* test: unit test

* test: fix remaining tests

* test: add integration tests

* feat: add admin account completion

* test: auth completion feature tests

* fix: translation

* fix: comment marker design

* fix: linting issues

* chore: address pr review comments

* chore: add comment
2019-02-04 21:26:41 +00:00
Wyatt JohnsonandKiwi 94eb72a9bf [next] Auth Callback + Chunking (#2139)
* feat: added new auth-callback

* fix: removed unused polyfill code

* fix: fixed missed intersection observer

* feat: enabled vendor chunks

* fix: fix some issues with chunk splitting

* fix: added intersection-observer to app polyfill

* fix: fixed test

* fix: removed lodash plugin which caused issue in prod

* chore: access_token -> accessToken

* feat: Show social login errors

* fix: lint + add test

* fix: restore width after facebook social login
2019-01-11 15:31:24 +01:00
Wyatt JohnsonandKiwi 01a2ace3f0 [next] User Input Validation (#2125)
* feat: added user validation

* fix: adapt client validation to match servers

* fix: snapshots

* feat: moved validation code to common

* chore: renamed utils/validate to helpers/validate
2018-12-20 23:33:23 +01:00
KiwiandGitHub 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
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
KiwiandWyatt Johnson 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
KiwiandGitHub 13147c4ba4 [next] UserBox with respect to auth settings (#2079)
* feat: adapt userbox according to settings in embed stream

* fix: lint and test

* feat: respect allowRegistration
2018-11-20 17:56:02 +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
KiwiandWyatt Johnson bc5db7b599 [next] Admin auth + design (#2056)
* feat: extract jwt information

* feat: login status dependent auto redirect

* feat: Sign Out button

* feat: add a 404 page

* feat: improve loading state and use auth token info

* feat: redirect to previous destination

* feat: implement new design

* fix: change asset to story

* feat: add translations

* feat: more compact design

* test: add unit tests

* chore: refactor NavigationLink

* test: add integration tests

* chore: refactor replaceHistoryLocation

* fix: typo

* fix: property name typo
2018-10-31 23:11:32 +00:00
Chi Vinh Le 2a640d2bbc Don't use css capitalize 2018-09-20 17:23:26 +02:00
Chi Vinh Le aa904ab0e2 Merge branch 'next' into next-edit 2018-09-12 21:44:16 +02:00
Belen Curcio 2c8bdc6c9a updated status 2018-09-12 15:40:04 -03:00
Chi Vinh Le 632c4b263e Merge branch 'next' into next-edit 2018-09-12 20:25:44 +02:00
Wyatt JohnsonandGitHub ff9c6af7c6 Merge branch 'next' into ui-message 2018-09-12 16:05:37 +00:00
KiwiandWyatt Johnson 8b09b52be8 [next] Start a clean session when user logs in / out (#1853)
* Clear user session after login / logout

* Filename cases

* Improve type checking

* Apply suggestions
2018-09-12 16:04:54 +00:00
Chi Vinh Le b1e7c6d2d4 Add edited marker 2018-09-12 17:05:31 +02:00
Belén Curcio 5a8ce7655c Updated tests 2018-09-11 13:09:49 -03:00
Belén Curcio f7fa1dae23 Updated tests 2018-09-11 10:17:46 -03:00
Kim GardnerandGitHub 04d7ddf41a Merge branch 'next' into ui-message 2018-09-10 10:54:38 -04:00
Belén Curcio dce2177dcd Updated snapshots 2018-09-07 13:03:56 -03:00
Chi Vinh Le fb1b9c51ee Fix test 2018-09-07 00:59:59 +02:00
Chi Vinh Le df664bdb73 Fix types and tests 2018-09-07 00:51:57 +02:00
Chi Vinh Le 845fbc1b1b Move uuid generation to TalkContext 2018-09-07 00:34:17 +02:00
Chi Vinh Le e132087682 Full PromisifiedStorage + Simplifications 2018-09-06 23:53:29 +02:00
Chi Vinh Le 90a875f40e Better tests 2018-09-06 00:07:14 +02:00
Chi Vinh Le 942ce366b8 Finish porting to relay-1.7 including types 2018-08-30 23:49:38 +02:00
Chi Vinh Le 09caad7bdd Keep future added values 2018-08-30 16:08:42 +02:00
Chi Vinh Le a99fe3c0ff Integrate actual translations into integration tests 2018-08-29 22:55:13 +02:00
Chi Vinh Le 885a724876 Make each test independent 2018-08-29 16:02:31 +02:00
Chi Vinh Le 9945c099a7 Add integration tests 2018-08-28 01:35:13 +02:00
Chi Vinh Le dcb3c23f56 Test, Colorize TextFields, disable on submit 2018-08-27 21:36:36 +02:00
Chi Vinh Le 17563824fd Use polling 2018-08-27 18:17:09 +02:00
Chi Vinh Le 123bbf6e65 Give more more time 2018-08-27 17:37:32 +02:00
Chi Vinh Le 5a87e6abc6 Give more time for render 2018-08-27 17:36:43 +02:00
Chi Vinh Le f57773393a Better popup size when loading fonts 2018-08-27 17:36:15 +02:00
Chi Vinh Le 9bea53911f Adapt Forgot and Reset Password 2018-08-27 17:15:20 +02:00
Chi Vinh Le 5a26b319d8 Adapt sign up plus validation and translations 2018-08-27 16:49:58 +02:00
Chi Vinh Le 39edec79cb Adapt SignIn 2018-08-27 15:51:59 +02:00
Chi Vinh Le 65a212b531 Fix UserBox 2018-08-24 11:17:09 +02:00
Chi Vinh Le 0455293c0b Also add AutoHeightContainer to the password forms 2018-08-22 19:31:44 +02:00
Chi Vinh Le 89749926c6 Auto adapt height of popup 2018-08-22 19:29:25 +02:00
Belén Curcio 6fa28d6410 Errors handled by the forms 2018-08-22 10:06:50 -03:00
Belén Curcio 7b5a87207b removing input from user signOff 2018-08-22 09:48:06 -03:00
Belén Curcio e9db68269b Adding styling in the main auth App 2018-08-22 09:41:41 -03:00
Belén Curcio bace76decc changes 2018-08-21 22:47:39 -03:00
Belén Curcio ec5cdb5681 Merge branch 'auth-views' of github.com:coralproject/talk into auth-views
* 'auth-views' of github.com:coralproject/talk: (27 commits)
  feat: added token blacklisting
  Compile schema when watching client (#1809)
  TSLint imports ordered
  Missing console.log
  Adding variable to the scope and contemplating undefined from the BE
  Tests updated
  Updated tests and latest changes
  User signedIn enters the stream
  Adding test for FormField, InputDescription and Spinner
  Updated docs
  Adding Spinner Component to UI and some corrections to the docs
  Working validation from the server using CallOuts
  Working validation from the server using CallOuts
  Handling error messages
  Working type submit for forms - Button Component
  Hitting the delete route and deleting the token
  SignOff Mutation
  Progress
  Working signin and comment
  Able to Sign In
  ...
2018-08-21 22:18:48 -03:00
Belen Curcio 348ce99828 TSLint imports ordered 2018-08-17 12:17:22 -03:00
Belen Curcio fe3f6e8d41 Missing console.log 2018-08-17 12:10:09 -03:00
Belen Curcio 310f250212 Updated tests and latest changes 2018-08-17 11:40:31 -03:00
Belen Curcio 6e1b9c99ac Working validation from the server using CallOuts 2018-08-16 16:24:49 -03:00