Commit Graph
103 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
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 a3aca825e3 feat: upgrade react and enzyme 2018-10-19 20:19:27 +02: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
Belén Curcio 51b7f5470e Refactor 2018-10-08 14:58:10 -03:00
Belén Curcio 7e7a5856c2 Revert "Revert "Using fragment and updated fixtures""
This reverts commit 333e1a6dac.
2018-10-08 08:41:40 -03:00
Belén Curcio 333e1a6dac Revert "Using fragment and updated fixtures"
This reverts commit 8dae12b5ab.
2018-10-05 10:05:28 -03:00
Belén Curcio 8dae12b5ab Using fragment and updated fixtures 2018-10-05 09:54:47 -03:00
Belén Curcio aa105061c9 Adding comment count 2018-10-04 18:31:16 -03:00
Chi Vinh Le fabe52a0a6 feat: hide profile tab when not logged in 2018-10-03 15:49:49 +02:00
Belén Curcio 0a17fc7e64 Presentational components, events, tabs and more 2018-10-01 17:04:16 -03:00
Belén Curcio 3edaa6bf2d Changes 2018-09-25 13:37:22 -03:00
Belén Curcio 72bdf5d40b Changes 2018-09-25 11:08:31 -03:00
Belén Curcio 2502dfedd2 Show profile tab if user is signed in 2018-09-24 10:54:45 -03:00
Belén Curcio 1009045c4c Working tabs 2018-09-14 10:13:42 -03:00
Chi Vinh Le ecc9eadc67 Add activeTab to local state 2018-09-13 18:29:22 +02:00
Chi Vinh Le db483849dd Move files into tab structure 2018-09-13 18:29:22 +02:00
Chi Vinh Le 72f5af9f3b Adapt snapshot 2018-09-13 18:29:05 +02:00
Chi Vinh Le ba2c2c32b2 Fix lint 2018-09-13 18:20:55 +02:00
Chi Vinh Le 3955c960bf Only show edit button for the author 2018-09-13 16:42:04 +02:00
Chi Vinh Le 0c045eff0a Merge branch 'next-edit' of https://github.com/coralproject/talk into next-edit 2018-09-12 17:05:40 +02:00
Chi Vinh Le b1e7c6d2d4 Add edited marker 2018-09-12 17:05:31 +02:00
Wyatt Johnson b1aac28eec fix: remove assetID from client queries to edit comment 2018-09-11 17:07:42 -06:00
Chi Vinh Le cf070ddb0f Merge branch 'next' into next-edit 2018-09-11 21:40:47 +02:00
Chi Vinh Le 7b221c40a0 Add integration test 2018-09-11 18:03:54 +02:00
Chi Vinh Le 4e63858c66 Fix lint and test 2018-09-11 17:25:40 +02:00
Chi Vinh Le a36d944e4a Implement edit 2018-09-11 00:15:27 +02:00
Chi Vinh Le 89312e3d98 Adapt snapshot 2018-09-07 21:42:11 +02:00
Chi Vinh Le 7644f93e7c Fix types 2018-09-07 18:24:08 +02:00
Chi Vinh Le 5010e342df Pending comment blur 2018-09-07 18:18:39 +02:00
Chi Vinh Le e132087682 Full PromisifiedStorage + Simplifications 2018-09-06 23:53:29 +02:00
Chi Vinh Le 942bcba5a1 Update snapshots 2018-09-06 00:07:14 +02:00
Chi Vinh Le 2bf9b5f2c1 Fix types 2018-09-06 00:07:14 +02:00
Chi Vinh Le 46ff3dea89 Reply opens auth popup when not logged in 2018-09-06 00:07:14 +02:00
Chi Vinh Le 441cc9d57b Stream should work outside of iframe for debugging 2018-09-06 00:06:58 +02:00
Chi Vinh Le 28c8252b63 Add test 2018-09-06 00:06:58 +02:00
Chi Vinh Le 444c86cb3c Focus RTE when opening reply 2018-09-06 00:06:58 +02:00
Chi Vinh Le 110becb075 Implement reply 2018-09-06 00:06:58 +02:00
Chi Vinh Le ee30003390 Indent comment only 2018-09-06 00:06:58 +02:00
Chi Vinh Le c96112fc8c Fix tests 2018-09-06 00:06:58 +02:00
Chi Vinh Le 31bc5fa913 WIP 2018-09-06 00:06:28 +02:00
Chi Vinh Le aa2b70fd8c Save comment draft + test 2018-09-03 12:16:01 +02:00
Chi Vinh Le 428c35a931 Hide forward ref and fix tests 2018-08-31 16:11:25 +02:00
Chi Vinh Le 792ceed2ad No more patched packages! 2018-08-31 02:28:53 +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 7ab70b8484 Update relay-runtime types 2018-08-30 15:41:08 +02:00
Chi Vinh Le 0497718764 WIP 2018-08-30 10:23:13 +02:00
Chi Vinh Le 5381b75a49 Update snapshots 2018-08-27 20:50:46 +02:00