Kiwi
c91a0fafa5
[CORL-116] Configure sitewide commenting ( #2193 )
...
* feat: configure sitewide commenting
* fix: repaired snapshots
* fix: updated snapshots
* test: update snapshots
2019-02-13 18:36:37 +01:00
Kiwi
51880bcfc9
[CORL-129] Render Community Guidelines ( #2191 )
...
* chore: Rename InnerProps to Props
* feat: Render community guidelines
* chore: refactor schema communityGuidelines* settings into it's own type
* test: update snapshots
2019-02-13 18:06:42 +01:00
Kiwi
710de07fa6
chore: harmonize authToken to accessToken ( #2184 )
2019-02-08 23:40:20 +01:00
Kiwi
53e168ae93
[next] Implement configuration panes ( #2173 )
...
* feat: moderation config
* feat: configure banned and suspect words
* chore: upgrade react and test libs to the newest version <3
* chore: upgrade typescript + some refactor
* feat: general, organization and advanced configuration panes
* fix: translation
* feat: speedup fetching markdown editor
* feat: localize markdown editor
* chore: refactor container names
* chore: rename infobox to communityGuidelines
* feat: closing comment streams duration config
* test: add feature tests for configurations
* fix: mock only console.error
* chore: upgrade node
* chore: require node >= 10
* fix: better validation and default values
* feat: Make DurationField a general purpose component and reuse for Edit Comment Timeframe
* test: add unit test for duration field
* fix: patch for bug when built in production
* chore: bump npm version to latest
* fix: adapted Dockerfile to new version of node
* refactor: harmonized seconds/milliseconds to seconds
* fix: resolve bug from merge conflict
2019-02-07 01:10:51 +01:00
Kiwi
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
Kiwi
939152ee81
[next] Report Comment + Stream Refactor & Test Improvements ( #2144 )
...
* fix: stabilize mutations
* feat: Refactor Stream + Implement Report Comment
* test: add unit tests
* chore: Improve stream integration tests
* test: add integration test for reaction
* test: add feature/integration tests for report comment
* fix: order import
* fix: performance issues + keep active button styling until clicked away
2019-01-16 22:31:43 +00:00
Wyatt Johnson
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 Johnson
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
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
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
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
71ce74e1d1
feat: batch admin configure mutations ( #2089 )
2018-11-27 21:49:40 +00:00
Kiwi
3fcb9a179a
[next] Support external config ( #2088 )
...
* fix: correctly determine expired token
* feat: support external config
* fix: lint
* fix: npm audit fix
2018-11-27 18:54:55 +00:00
Kiwi
6fa0c7f538
[next] Support login and logout for TalkStreamEmbed ( #2081 )
...
* feat: Support login and logout for TalkStreamEmbed
* fix: better test names
* fix: remove obsolete line
2018-11-20 17:48:57 +01:00
Kiwi
9af523318c
[next] Prevent accidental lock out from admin or stream ( #2084 )
...
* feat: prevent auth lockout by accident
* test: add integration tests
* test: update snapshots
2018-11-20 17:41:35 +01:00
Kiwi
ecdb4e1307
[next] Broadcast mutation events ( #2083 )
...
* feat: Implement mutation events
* fix: correct testcase name
2018-11-20 15:44:07 +01:00
Kiwi
1a65b734d3
feat: don't use expired token ( #2082 )
2018-11-20 15:36:01 +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
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
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
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
Kiwi
c2ffb30431
[next] i18n short number support ( #1992 )
...
* feat: Implement i18n short number
* test: fix failing tests
2018-10-12 23:16:13 +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
b6554b344c
Implement Show Conversation Link
2018-09-25 21:42:15 +02: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
dbd7f4f820
[next] Resubscribe local state ( #1884 )
...
* Resubscribe local state
* Don't pass context
2018-09-18 14:59:51 -06:00
Chi Vinh Le
632c4b263e
Merge branch 'next' into next-edit
2018-09-12 20:25:44 +02:00
Kiwi
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
a36d944e4a
Implement edit
2018-09-11 00:15:27 +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
3a1b043eb7
Merge branch 'next' into next-reply
2018-09-06 21:38:20 +02:00
Kiwi
53e548d77a
[next] Save Comment Draft + Pym Storage ( #1843 )
...
* Implement pym storage
* Save comment draft + test
* Apply suggestions
* Use class for PymStorage implementation
* Add some comments
2018-09-06 17:07:17 +00:00
Chi Vinh Le
441cc9d57b
Stream should work outside of iframe for debugging
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
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
ccf91480da
Implement pym storage
2018-09-03 09:28:09 +02:00
Chi Vinh Le
4c1f2e72cb
Use createSinonStub
2018-08-31 17:24:42 +02:00
Chi Vinh Le
25e8cb517b
Add integration test
2018-08-31 17:15:40 +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
0dcff65344
Upgrade react-relay types
2018-08-30 16:43:01 +02:00