Commit Graph

213 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 5b62082693 [next] Decision History (#2103)
* feat: decision history components

* feat: implement decision history container

* test: add unit tests

* test: integration test

* test: fix remaining snapshots

* test: add more concepts from react-testing-library

* fix: wrap long username into the next line

* fix: fallback to word-break: break-all;
2018-11-30 20:51:45 +01:00
Kiwi 50cb46a053 [next] Delay showing loading spinner (#2090)
* feat: delay showing loading spinner

* fix: snapshots

* fix: lint

* fix: make delay duration shorter
2018-11-21 23:14:15 +01: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
Kiwi 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
Kiwi cd2ccf8792 Merge branch 'next' into next-ui-select 2018-10-19 20:42:56 +02:00
Chi Vinh Le 544c21440b fix: select not propagating value in ff 2018-10-19 20:20:38 +02:00
Chi Vinh Le 1f0cba5657 fix: use correct value 2018-10-19 19:43:46 +02:00
Chi Vinh Le 1176080aee feat: Implement InReplyTo 2018-10-19 17:31:21 +02:00
Chi Vinh Le bee35c3865 fix: better types 2018-10-17 16:41:13 +02:00
Chi Vinh Le b6ee59eb91 fix: missing change 2018-10-17 16:00:33 +02:00
Chi Vinh Le aeb75666de Merge branch 'next-ui-select' of https://github.com/coralproject/talk into next-ui-select 2018-10-17 15:48:30 +02:00
Chi Vinh Le 6f51f68776 fix: improve types 2018-10-17 15:48:06 +02:00
Kiwi 2b5ef018d0 Merge branch 'next' into next-ui-select 2018-10-17 15:45:14 +02:00
Chi Vinh Le 847d5d0ea9 fix: types 2018-10-17 15:36:00 +02:00
Chi Vinh Le 70465ebd31 feat: Implement SelectField 2018-10-17 00:02:12 +02:00
Kiwi 50dd2e28b0 fix: ff focus styles (#1997) 2018-10-16 17:21:12 +00:00
Kiwi 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 Johnson 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 11fb12a22a fix: undesired margin 2018-10-08 16:24:18 +02:00
Belén Curcio 45e942a345 Adding styling 2018-09-25 14:13:54 -03:00
Chi Vinh Le 2a640d2bbc Don't use css capitalize 2018-09-20 17:23:26 +02:00
Chi Vinh Le 2af01e5f4b Styling fixes 2018-09-17 22:12:58 +02:00
Chi Vinh Le b00a7f9618 WIP 2018-09-17 21:12:27 +02:00
Chi Vinh Le 0983d31c10 Update snapshots 2018-09-17 21:01:20 +02:00
Chi Vinh Le 0b0aa7b1ee Namespace ids 2018-09-17 20:56:42 +02:00
Chi Vinh Le 3314bc3ba6 Move styles to button 2018-09-17 20:52:36 +02:00
Belén Curcio 2969dad58b Merge branch 'next' of github.com:coralproject/talk into ui-tab
* 'next' of github.com:coralproject/talk:
  Adapt snapshot
  Fix lint
  Only show edit button for the author
  Use Message Component
  Adapt integration test
  Fix integration test
  Add edited marker
  fix: remove assetID from client queries to edit comment
  feat: merge metadata during edit
  fix: remove assetID from EditCommentInput
  Fix linting
  Add integration tests
  Add integration test
  More unit tests
  Fix lint and test
  Implement edit
2018-09-14 09:50:23 -03:00
Belén Curcio 38f1068a77 Updates 2018-09-14 09:33:16 -03:00
Belén Curcio 23a5243611 Merge branch 'next' of github.com:coralproject/talk into ui-tab
* 'next' of github.com:coralproject/talk:
  new snapshots after rebuilding the schema
  new snapshots after rebuilding the schema
  updated status
  changes
  Updated tests
  Updated tests
  Updated tests
  Adding MessageIcon
  Updated colors
  Updated snapshots
  Supporting icons with ValidationMessages
  Updated API
  Adding Message Matching the exact values
2018-09-13 14:27:42 -03:00
Belén Curcio bb7007214d Adding button 2018-09-13 09:32:05 -03:00
Chi Vinh Le c8cd68c6b7 Use Message Component 2018-09-12 22:01:43 +02:00
Chi Vinh Le aa904ab0e2 Merge branch 'next' into next-edit 2018-09-12 21:44:16 +02:00
Belen Curcio e6f8b7623b Adding docs and changes 2018-09-12 15:10:14 -03:00
Belen Curcio 6f367a0078 changes 2018-09-12 13:13:09 -03:00
Chi Vinh Le b1e7c6d2d4 Add edited marker 2018-09-12 17:05:31 +02:00
Belén Curcio d04b9d818c Test added 2018-09-12 09:20:50 -03:00
Belén Curcio cc67f2f572 Changes 2018-09-12 09:00:38 -03:00
Belén Curcio 19b1a7882c Changes 2018-09-12 08:53:22 -03: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
Belén Curcio 91d421ad46 Updated tests 2018-09-11 10:01:14 -03:00
Belén Curcio 1ca2c5ec95 Merge branch 'ui-message' of github.com:coralproject/talk into ui-message
* 'ui-message' of github.com:coralproject/talk: (26 commits)
  Adapt snapshots
  Disable RTE when submitting
  Wrap long words
  Disable submit button when empty
  Fix test
  Fix types and tests
  Remove outdated workarounds
  Remove accidently commited files
  Move uuid generation to TalkContext
  Full PromisifiedStorage + Simplifications
  Update package-lock
  Return null cursor when creating comment
  Change commentEdge to edge
  Update snapshots
  Fix types
  Reply opens auth popup when not logged in
  Better tests
  Stream should work outside of iframe for debugging
  Add test
  Focus RTE when opening reply
  ...
2018-09-11 09:58:16 -03:00
Belén Curcio a35ee79098 Adding MessageIcon 2018-09-11 09:57:55 -03:00
Belén Curcio b5db80b1e1 Updated colors 2018-09-11 09:47:59 -03:00
Chi Vinh Le a36d944e4a Implement edit 2018-09-11 00:15:27 +02:00
Belén Curcio b608e8a521 Adding descriptions 2018-09-10 13:22:57 -03:00
Belén Curcio a8b24187cb change 2018-09-10 12:55:31 -03:00
Belén Curcio 49bfb6bcbf Merge branch 'next' of github.com:coralproject/talk into ui-tab
* 'next' of github.com:coralproject/talk: (26 commits)
  Adapt snapshots
  Disable RTE when submitting
  Wrap long words
  Disable submit button when empty
  Fix test
  Fix types and tests
  Remove outdated workarounds
  Remove accidently commited files
  Move uuid generation to TalkContext
  Full PromisifiedStorage + Simplifications
  Update package-lock
  Return null cursor when creating comment
  Change commentEdge to edge
  Update snapshots
  Fix types
  Reply opens auth popup when not logged in
  Better tests
  Stream should work outside of iframe for debugging
  Add test
  Focus RTE when opening reply
  ...
2018-09-10 12:40:29 -03:00