Commit Graph

125 Commits

Author SHA1 Message Date
Wyatt Johnson 21e1a5cbef [next] Comment Moderation Actions (#2068)
* fix: renamed snake case to camel case

* fix: changed case for mutators

* fix: renamed all snake case to camel case for db

* feat: added support for comment revisions + split comment actions

* fix: updated tests

* feat: implemented CommentModerationAction

* fix: fixed case issues

* feat: enabled WeakMap for wordList processsing

* chore: npm audit
2018-11-21 17:42:47 +01:00
Kiwi 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
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 b3cfe32631 [next] Story Improvements (#2054)
* feat: improved logs

* feat: improved scraper

- added scraper debug graph call

* feat: improved story closing

* fix: fixed tests
2018-11-01 21:34:48 +01: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
Wyatt Johnson 1dc400ba58 [next] Rename Asset to Story (#2044)
* feat: rename asset -> story in server

* feat: renamed asset -> story for client code and tests

* feat: renamed article -> story
2018-10-29 22:49:35 +00:00
Kiwi 38fba52839 [next] Show reply information (#2020)
* feat: Implement replyTo

* feat: use full size buttons on small screens

* feat: show full size buttons in edit form on small screens
2018-10-26 17:56:35 +00:00
Wyatt Johnson 917fffc292 Merge branch 'next' into next-inReplyTo 2018-10-19 17:54:57 +00:00
Kiwi 2e6237b9d9 [next] Implement Comment History Pagination (#2008)
* refactor: profile

* feat: add pagination to comment history

* feat: add getMeSourceID helper

* feat: update profile in CreateCommentMutation

* fix: clear query response cache on mutation

* test: add integration tests for profile

* test: add unit tests
2018-10-19 17:54:40 +00:00
Kiwi bc4d746291 fix: use asset url (#2005) 2018-10-19 17:32:12 +00:00
Chi Vinh Le 1176080aee feat: Implement InReplyTo 2018-10-19 17:31:21 +02:00
Wyatt Johnson e9c80fc02a [next] Relay GraphQL Batching (#1965)
* feat: added graphqlBatch

* refactor: cleanup of json serial

* refactor: cleanup of json serilization

* feat: use react network layer

* fix: adjusted broken user

* fix: temporarily disable cache for profile query

* test: temporarily use precompiled modules

* fix: bug when updating comment count on an asset

* fix: compile modules to commonjs for jest

* test: add react-relay-network-layer to transform whitelist

* fix: use react-relay-network-layer/es

* types: add react-relay-network-modern typescript types

* feat: integrate custom error middleware

* review: add todo
2018-10-15 22:46:21 +00:00
Belén Curcio ba15cbf23c [next] Pluralization for the comment count (#1983)
* Pluralization comment count

* Adding updated snapshots

* fix: snapshots
2018-10-12 17:28:59 +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
Belén Curcio 0d588f2f28 [next] Login prompt for not signed in users trying to react to comments. (#1979)
* Fixing the commentCount for 0 comments

* Show signIn when logged-off user reacts to a comment

* Snapshots updated

* removing graphiql

* Reaction: Icon - Label - Count
2018-10-09 16:33:13 +00:00
Chi Vinh Le 0feb7384b2 Merge branch 'next' into next-comment-counts 2018-10-08 21:07:08 +02:00
Belén Curcio ec539c2dae Tests updated 2018-10-08 15:01:34 -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 bd7903fc53 Snapshots updated 2018-10-04 20:27:03 -03:00
Belén Curcio d3fb04225c Snapshots updated 2018-10-04 18:35:24 -03:00
Chi Vinh Le bd1d677b63 Merge branch 'next' into next-respect 2018-10-04 19:15:00 +02:00
Chi Vinh Le a09b50a9e7 test: fix snapshots 2018-10-03 16:49:42 +02:00
Chi Vinh Le 9dc702d29e Merge branch 'next' into next-profile 2018-10-03 01:33:09 +02:00
Belén Curcio 52cdec056b updated snapshots 2018-10-01 16:32:40 -03:00
Belén Curcio ede3951309 Adding Snapshots and translations 2018-10-01 15:38:06 -03:00
Belén Curcio 5aa3024921 Adding Snapshots and translations 2018-10-01 15:35:56 -03:00
Chi Vinh Le ccb6f347ae test: use baseComment and baseAsset in fixtures 2018-09-27 17:48:10 +02:00
Chi Vinh Le 3ffdb09afe fix: lint 2018-09-27 15:18:21 +02:00
Chi Vinh Le 2e9d0a21fe test: simplify tests 2018-09-27 15:02:53 +02:00
Chi Vinh Le d49a30c50a fix: pass settings to deeper ReplyListContainer 2018-09-27 14:56:28 +02:00
Wyatt Johnson 9966d5a644 fix: remove debug 2018-09-26 17:49:01 -06:00
Wyatt Johnson bc447dbde0 fix: test updates 2018-09-26 17:48:24 -06:00
Belén Curcio 16cbbe8d2c Adding spected 2018-09-26 17:23:54 -03:00
Belén Curcio 210146e998 More snapshots 2018-09-26 17:13:28 -03:00
Belén Curcio fd01fec70b Adding actionCounts to the fixtures 2018-09-26 17:03:01 -03:00
Belén Curcio 473e41cdc4 Updated snapshots 2018-09-26 16:37:30 -03:00
Chi Vinh Le b5b3c66d61 Add tests 2018-09-25 21:42:15 +02:00
Belén Curcio 45802c651e Merge branch 'next' into next-profile 2018-09-25 14:15:14 -03:00
Belén Curcio 4c898e8825 Merge branch 'next' into next-profile 2018-09-25 13:08:30 -03:00
Wyatt Johnson 2ce955bc96 Merge branch 'next' into next-server-threading 2018-09-24 21:45:11 +00:00
Chi Vinh Le 62a1fc5901 Implement local reply list for last threading level 2018-09-24 20:08:11 +02:00
Belén Curcio 661f392281 Adding the difss 2018-09-24 10:58:40 -03:00
Belén Curcio 0cea633b0b Merge branch 'next' of github.com:coralproject/talk into next-profile
* 'next' of github.com:coralproject/talk:
  [next] Embed plus (#1877)
  [next] Permit (#1899)
  Use upstream @types/recompose
  [next] Limited threading (#1894)
  More clarifying comments
  Improve cross browser support
  Don't use css capitalize
  Upgrade RTE to fix a paste issue
  [next] Resubscribe local state (#1884)
  Styling fixes
  WIP
  Update snapshots
  Namespace ids
  Move styles to button
2018-09-24 10:30:20 -03:00
Wyatt Johnson a8f315db4b fix: test patches 2018-09-23 18:08:24 -06:00
Kiwi 106a5d36ed [next] Embed plus (#1877)
* Implement StreamEmbed instance and rename library to coral

* Add article & articleButton.html, only show embed htmls in production

* Respect assetURL

* Add tests

* Add parseHashQuery

* Fix permalink query and integration tests

* Fix permalink URL

* Remove optionalparams from pym

* Scroll when showing permalink view

* Implement autoRender

* AutoRender immediately when render permalink

* Add test for `showPermalink` event

* Add comment
2018-09-21 22:43:28 +00:00
Kiwi 18e6638162 [next] Limited threading (#1894)
* Implement limited threading

* Adapt snapshots

* Test threading
2018-09-21 15:57:33 +00:00
Chi Vinh Le 2a640d2bbc Don't use css capitalize 2018-09-20 17:23:26 +02:00
Belén Curcio 5bf6161e46 Adding div as mapping, since div cannot be descendant of p 2018-09-17 11:04:47 -03:00