Commit Graph
21 Commits
Author SHA1 Message Date
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
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
KiwiandGitHub ecdb4e1307 [next] Broadcast mutation events (#2083)
* feat: Implement mutation events

* fix: correct testcase name
2018-11-20 15:44:07 +01: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
Chi Vinh Le 46ff3dea89 Reply opens auth popup when not logged in 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 d8b5b00adc Fix fragments and queries 2018-08-24 14:11:09 +02:00
Chi Vinh Le 65a212b531 Fix UserBox 2018-08-24 11:17:09 +02:00
Chi Vinh Le 89749926c6 Auto adapt height of popup 2018-08-22 19:29:25 +02: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 1c135a9ccb Adding variable to the scope and contemplating undefined from the BE 2018-08-17 12:02:07 -03:00
Belen Curcio e704c6d968 SignOff Mutation 2018-08-16 12:02:09 -03:00
Belen Curcio 551ce1521c Progress 2018-08-15 13:12:19 -03:00
Belen Curcio 7c5ff1bcb1 Able to Sign In 2018-08-14 13:11:35 -03:00
Belén Curcio 4c86d842dd Validations for all forms: SIGN UP, SIGN IN, FORGOT PASSWORD, RESET PASSWORD 2018-08-13 00:20:15 -03:00
Belén Curcio ab4ca7f24c Adding PoweredBy and more 2018-08-12 22:52:03 -03:00
Belén Curcio 9e39a093fd Adding UserBoxAuthenticated and using correct properties for the Flex Component 2018-08-12 22:12:23 -03:00
Belén Curcio 0dfdea0e4e Auth Views 2018-08-09 13:17:45 -03:00
Belén Curcio 52ab434740 Adding SignIn View 2018-08-09 12:01:27 -03:00
Chi Vinh Le b21f3560ff Styling, refactor + tests 2018-08-08 14:18:27 +02:00
Chi Vinh Le fe7b734b2c Add UserBox 2018-08-08 01:04:25 +02:00