Vinh
c9a0ab8848
[CORL-878] Upgrade dependencies ( #2867 )
...
* chore: upgrade fluent
* chore: upgrade metascraper
* chore: upgrade akismet-api
* chore: upgrade apollo-server-express
* chore: upgrade archiver
* chore: upgrade bull
* chore: upgrade express, cheerio, content-security-policy-builder
* chore: upgrade convict
* chore: upgrade cors, cron
* chore: upgrade csv-stringify
* chore: upgrade dompurify
* chore: upgrade dotenv
* chore: upgrade express-static-gzip
* chore: upgrade fs-extra
* chore: upgrade graphql-js
* chore: upgrade graphql packages
* chore: upgrade html-minifier
* chore: upgrade html-to-text
* chore: upgrade ioredis
* chore: upgrade joi
* chore: upgrade jsdom
* chore: upgrade jsonwebtoken
* chore: upgrade juice
* chore: upgrade jwks-rsa ad linkifyjs
* chore: upgrade lodash
* chore: upgrade luxon
* chore: upgrade metascraper
* chore: upgrade mongodb
* chore: upgrade ms
* chore: upgrade node and node-fetch types
* chore: upgrade nodemailer nunjucks and typescript-eslint
* chore: Upgrade passport
* upgrade: prom-client react-helmet source-map-support stack-utils
* chore: upgrade uuid
* chore: upgrade @babel packages
* chore: upgrade types
* chore: upgrade autoprefixer
* chore: upgrade jest
* chore: upgrade ts-jest
* chore: remove linkify.d.ts
* chore: upgrade bowser
* chore: case-sensitive-paths-webpack-plugin
* chore: upgrade classnames
* chore: upgrade commander
* chore: upgrade comment-json
* chore: upgrade cross-spawn compression-webpack-plugin del
* chore: upgrade build and watch related dependencies
* chore: upgrade css-vars-ponyfill
* chore: upgrade eslint and css-vars-ponyfill
* chore: upgrade enzyme and eventemitter2
* fix: form bug
* chore: upgrade farce
* chore: upgrade final form
* chore: upgrade react-popper
* chore: upgrade flat and fork-ts-checker-webpack-plugin
* chore: upgrade husky and gulp related, intersection observer
* chore: upgrade lint-staged
* chore: upgrade marked, loader-utils, mini-css-extract-plugin
* chore: upgrade postcss-nested, proxy-polyfill, pstree.remy
* chore: upgrade prettier
* chore: fix prettier changes, upgrade react
* chore: mute createFactory deprecated message
* chore: upgrade react-copy-to-clipbard, react-axe, react-dom, react-test-renderer, react-timeago
* chore: upgrade react-transistion-group, react-responsive
* chore: upgrade types
* chore: upgrade react-dev-utils, react-error-overlay regenerator-runtime
* chore: upgrade types, sinon, sockjs-client, strip-ansi
* chore: upgrade types, fonts
* chore: upgrade nunjucks, ts-node, typescript-snapshot-plugin, wait-for-expect
* chore: upgrade eslint packages
* chore: upgrade fluent, types
* chore: upgrade jsdom dep
* chore: upgrade mongo
* chore: upgrade deps
* chore: upgrade typescript, recompose
* chore: upgrade prettier
* chore: remove obsolete prettier config
* chore: upgrade jsdom types
* chore: upgrade typescript-eslint
* chore: upgrad deps
* chore: upgrade deps
* chore: upgrade relay related modules
* chore: upgrade docz WIP
* chore: upgrade docz
* chore: add guard
* chore: remove obsolete line
* chore: comment
* chore: refactors
* fix: hook count change error
2020-04-15 18:15:31 +02:00
Wyatt Johnson
e180cf87d7
fix: added more details to slack config ( #2937 )
v6.1.0
2020-04-14 22:28:14 +00:00
Kim Gardner
de976a5397
Additional Dutch translations ( #2936 )
...
* Fix typo
* Add new NL translations
2020-04-14 22:18:34 +00:00
Wyatt Johnson
257830a6c5
[CORL-1035] Moderated By Bug ( #2935 )
...
* fix: improved moderated by component
* fix: uncommented line
2020-04-14 21:55:40 +00:00
Tessa Thornton
518056f382
[CORL-1033] don't show view conversation link if callback is not defined ( #2934 )
...
* don't show view conversation link if callback is not defined
* remove unnecessary callback
2020-04-13 17:39:17 +00:00
Tessa Thornton
84936ca35c
fix error thrown attempting to remove announcements ( #2933 )
2020-04-13 16:09:33 +00:00
Wyatt Johnson
4194b08a12
[CORL-1002] Queue Improvements ( #2931 )
...
* fix: improved count handler for stories not found
* feat: removed performance-now
* feat: cleaned up processors, exposed counts
* feat: increased verb of schd jobs
* fix: removed dead code
2020-04-10 16:15:09 +00:00
Wyatt Johnson
98e6a3ccc7
chore: bump version 6.1.0 ( #2932 )
...
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-04-10 15:25:01 +00:00
Kim Gardner
64f5171ff2
[CORL-1003] Add Markdown link to configure page & revert some French translations ( #2928 )
...
* french corrections
* Add translations
* Updated FR translations
* More FR fixes
Co-authored-by: Gilles FRANCOIS <gilles@sopress.net >
2020-04-10 10:37:11 -04:00
Wyatt Johnson
6711f09a79
[CORL-1001] Wordlist Fixes ( #2920 )
...
* fix: improve wordlist highlighting and perf
* fix: updated tests
* fix: implmeneted new regexp lib/patterns
* fix: improve comment body css
* fix: take into account the tree shaking is disabled
See: https://github.com/webpack/webpack/issues/7094
Co-authored-by: Chi Vinh Le <vinh@vinh.tech >
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-04-06 15:04:05 -04:00
Wyatt Johnson
8966a8201b
fix: removed crossorigin attribute on custom css tags ( #2919 )
...
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-04-03 17:58:52 -04:00
Tessa Thornton
7fc0e2e489
[CORL-974] Add more classnames ( #2913 )
...
* wired css
* add more classnames to hook into
* update snaps
* update more snaps
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-04-03 15:54:17 -04:00
Cristian Dean
7c3c510bbc
Add tenantDomain to StoryCreatedEventPayload ( #2899 )
...
* Add tenantID and siteID to StoryCreatedEventPayload
* fix: added tenantID to payload
* Remove tenantID from StoryCreatedCoralEvent
* Add tenantDomain to webhook schema
* fix: small comment fixes
Co-authored-by: Wyatt Johnson <me@wyattjoh.ca >
2020-04-02 21:39:58 +00:00
Wyatt Johnson
94ece10284
[CORL-996] Force SSL Configuration ( #2917 )
...
* fix: added new FORCE_SSL config, reverted production SSL handling
* fix: added another test to handle purify testing
2020-03-30 20:35:18 +00:00
Hector Nieva
ef01f427de
Update PT-BR translations after release 6 ( #2915 )
...
Co-authored-by: hector.melo <hector.melo@corp.globo.com >
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-03-30 16:12:34 -04:00
Tessa Thornton
5db096942a
remove 'mailto:' prefix from links ( #2914 )
...
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-03-27 14:09:42 -04:00
Tessa Thornton
4645ed4cd7
[CORL-943] Send test emails ( #2882 )
...
* add smtp test email
* disable button if email not enabled
* add error handling
* internationalize strings
* sort imports
2020-03-27 11:46:53 -04:00
Tessa Thornton
7fd524cd6a
[CORL-924/CORL-923] show all comments or staff comments in slack ( #2872 )
...
* add allcomments option to slack config
* create separate class for hadnling slack event publishing
* add strings
Co-authored-by: Wyatt Johnson <wyattjoh@gmail.com >
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-03-26 21:21:09 -04:00
Wyatt Johnson
3cb5d0ff9f
[CORL-970] CircleCI Version Bump ( #2893 )
...
* feat: bump config version
* fix: removed old version tag
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-03-26 21:04:44 -04:00
Tessa Thornton
44216221a4
show badges for suspended and premod users ( #2895 )
...
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-03-26 20:34:14 -04:00
Wyatt Johnson
0f9b2ba114
feat: added new DEFAULT_QA_STORY_MODE feature flag ( #2905 )
...
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-03-26 18:31:48 -04:00
Nick Funk
071666e8b8
Add more punctuation types to word list rules ( #2907 )
...
CORL-957
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-03-26 18:21:48 -04:00
Tessa Thornton
2a9a5099dc
update click to copy link button styles ( #2912 )
...
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-03-26 17:50:02 -04:00
Wyatt Johnson
d0f51d8815
fix: added more guard clauses around the endpoint ( #2910 )
...
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-03-26 17:29:51 -04:00
Andrew Losowsky
b228725370
Updated text ( #2911 )
...
removed mention of Talk, Coral Project, and links to v4 userguides
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-03-26 14:46:19 -04:00
Tessa Thornton
58f2f71743
[CORL-916] conversation view ( #2850 )
...
* show comment counts for stories in story table
* remove debug code
* add modal to view comment
* load converasation view into modal
* style modal header
* style conversation view modal
* style conversation thread in conversation modal
* styles conversation view comments
* show replies to replies on click
* update snaps
* update snap
* pass settings prop through to comment content, set default replies to 5
2020-03-26 13:47:16 -04:00
Wyatt Johnson
8fd266deeb
Merge branch 'master' into release/6
2020-03-23 12:20:18 -06:00
Wyatt Johnson
1b73a5fcd7
[CORL-976] Story Closed Fix ( #2903 )
...
* fix: fixed issue where `isStoryClosed` can return null
* chore: version bump
v6.0.3
2020-03-23 18:02:45 +00:00
Nick Funk
9a58673545
[CORL-929] SSO Key Rotation (Front-end) ( #2877 )
...
* feat: initial impl
* Create preliminary SSO rotation components
CORL-929
* Create rotateSSOKey mutation
CORL-929
* Fix sorting by date for SSO keys
CORL-929
* Show tool tips beside expiring/expired statuses
CORL-929
* Hook up Deactivate and Delete SSO key mutations
CORL-929
* Tweak expired tooltip on SSO keys
CORL-929
* Replace old SSO key config with key rotation
CORL-929
* Fix copy button for SSO key's secret
CORL-929
* Refactor SSOKeyCard func's into components
All the func's building the sub-components
were prime targets for component's with props.
CORL-929
* Update tests to match SSO Key rotation
CORL-929
* Fix typo in translation id
CORL-929
* Test key rotation
CORL-929
* Plumb disabled through SSO key rotation
CORL-929
* Remove duplicate input/payload pairs from schema
For some reason it perfectly duplicated the
input/payload pairs for SSO key rotation on
rebase.
CORL-929
* Remove debug logging
CORL-929
* Use switch instead of if's to compute SSO date field
CORL-929
* Use switch to compute SSO action button state
CORL-929
* Use switch to compute SSO StatusField state
CORL-929
* Remove 10 second key rotation option
CORL-929
* Use memo in sorting SSO keys
CORL-929
Co-authored-by: Wyatt Johnson <wyattjoh@gmail.com >
2020-03-20 20:59:59 +00:00
Wyatt Johnson
2dc63d3a27
[CORL-754] SSO Key Management ( #2732 )
...
* feat: initial impl
* feat: clean up redis when keys are deleted
* fix: remove test timeout value
2020-03-19 20:57:49 +00:00
Wyatt Johnson
1503b735e5
fix: set SameSite: None for cookies ( #2890 )
v6.0.2
2020-03-19 19:16:50 +00:00
Wyatt Johnson
6db72db837
[CORL-963] Story sorting fix ( #2887 )
...
* fix: fixed sorting issues with queries
* review: naming touchups
2020-03-19 18:59:34 +00:00
Wyatt Johnson
18b274a6a9
[CORL-972] Version Linter ( #2898 )
...
* fix: added version linting
* chore: bump 6.0.2
2020-03-19 18:44:56 +00:00
Wyatt Johnson
78cfb4cac8
fix: added more checks to migration ( #2894 )
v6.0.1
2020-03-18 20:53:16 +00:00
Wyatt Johnson
d513e3807a
chore: bump 6.0.0 ( #2891 )
v6.0.0
2020-03-16 15:47:09 +00:00
Vinh
faf4ad9480
[ADR] Use Relay over Apollo ( #2881 )
...
* chore: ADR on Relay and Apollo
* chore: typo
* chore: add neg cons
* chore: add another pos
* chore: remove neg, because apollo needed an introspection query as a build step too..
* chore: fix number
* chore: deco
* chore: typo
* chore: clarification
Co-authored-by: Wyatt Johnson <wyattjoh@gmail.com >
2020-03-13 21:20:24 +00:00
Tessa Thornton
e5ea1ee179
[CORL-959] pass siteID through to approved and rejected route queries ( #2884 )
...
* pass siteID through to approved and rejected route queries
* Fix tests
Co-authored-by: Wyatt Johnson <wyattjoh@gmail.com >
2020-03-12 22:19:26 +00:00
Tessa Thornton
75c0bad073
use getModerationLink helper in moderateSearchBar ( #2885 )
...
Co-authored-by: Wyatt Johnson <wyattjoh@gmail.com >
2020-03-12 18:03:07 +00:00
Nick Funk
8b92878e9b
Disable featuring options when a story is in Q&A mode ( #2883 )
...
CORL-960
Co-authored-by: Wyatt Johnson <wyattjoh@gmail.com >
2020-03-12 17:48:27 +00:00
Wyatt Johnson
2b2ff7b9c4
[CORL-965] Experimental Notice on Webhooks ( #2880 )
...
* fix: added experimental callout message to webhooks
* fix: copy/design review
2020-03-12 17:03:27 +00:00
Wyatt Johnson
2057b750f3
fix: changed copy ( #2879 )
2020-03-12 16:15:45 +00:00
Wyatt Johnson
7abd703f72
fix: addressed issues with cache headers ( #2873 )
...
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-03-10 16:46:44 -04:00
Nick Funk
6f1014289b
Add flag to optionally enable Q&A ( #2878 )
...
CORL-956
2020-03-10 20:22:26 +00:00
Wyatt Johnson
45b778c522
feat: expanded regexp generation, locale support, caching ( #2869 )
...
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-03-10 12:05:44 -04:00
Nick Funk
7d967fc93b
[CORL-933] Add additional error handling around logQuery ( #2868 )
...
* Add additional error handling around logQuery
We are seeing that sometimes the context has
an undefined logger. We probably want to catch
this case and ensure we don't fail. If it happens
again, we will catch everything we need to know
and that will help us resolve the issue in the
future.
CORL-933
* Simplify logging objects for efficiency
Some of the objects that we were going to log
are too large to be dumped to the logging context.
Instead, prefer simple boolean evaluation of their
existence.
CORL-933
2020-03-02 16:34:17 +00:00
Jan Slusarczyk
ae7b0fbb37
polish updates for QA and fixes for #2856 ( #2870 )
2020-02-28 18:05:16 +00:00
Tessa Thornton
2478e9a250
[CORL-770] save comment sort order preference in local storage ( #2854 )
...
* save comment sort order preference in local storage
* await async localstorage operation
Co-authored-by: Wyatt Johnson <accounts+github@wyattjoh.ca >
2020-02-27 23:28:07 +00:00
Nick Funk
fe8b6535a9
Ensure comments are still visible when stream is closed ( #2865 )
...
CORL-938
Co-authored-by: Wyatt Johnson <accounts+github@wyattjoh.ca >
2020-02-27 22:40:24 +00:00
Jan Slusarczyk
7989f87d02
q&a fix for consistency of unanswered tab string ( #2864 )
2020-02-27 22:26:28 +00:00
Nick Funk
769ab2a910
Q&A Fixes ( #2866 )
...
* Fix various Q&A moderation/tagging issues
- Allow Staff members to have their questions
answered and appropriately tagged
- Properly filter answering for only top level
questions (comments)
- Add documentation around various moderation
phases and comment creation steps
- Remove unnecessary status filter when setting
the status for a comment
* fix: abstracted out perspective configs
* fix: reworked tag injection
* Fix sorting/unused imports
Co-authored-by: Wyatt Johnson <accounts+github@wyattjoh.ca >
2020-02-27 14:40:01 -07:00