feaf4858df
[CORL-1126] Run regex in a sandbox so it can time out ( #2988 )
...
* Run regex in a sandbox so it can time out
If it times out, we flag it and system withhold
it for future analysis.
CORL-1126
* Pass regex and test string into wordList sandbox
Allows us to use the pre-cached regex instead of
regenerating it via an in-line script copy.
CORL-1126
* feat: improve script reuse
* fix: renamed some functions
* fix: improve script performance
* feat: added testString to log output if it times out
* fix: fixed issue with form alert not showing
* fix: use a timeout from config
Co-authored-by: Wyatt Johnson <me@wyattjoh.ca >
Co-authored-by: Wyatt Johnson <wyattjoh@gmail.com >
2020-06-12 18:09:37 +00:00
Wyatt Johnson and GitHub
21cd47f6ed
[CORL-1077] Rudderstack Integration ( #2987 )
...
* feat: added rudderstack support with events
- Added events for
- Comment Moderated
- Comment Created
- Story Created
- Comment Reaction Created
- User Flagged Comment
* fix: added logging to event tracking
2020-06-11 22:10:52 +00:00
Wyatt Johnson and GitHub
eee909f05b
feat: removed throng and cluster support ( #2961 )
2020-06-08 13:47:23 -06:00
Wyatt Johnson and GitHub
ed92f4916d
[CORL-810] Custom Moderation Phases ( #2901 )
...
* feat: initial implementation
* feat: renamed fields from mutations
* fix: more renaming to streamline {Key,Secret}->SigningSecret
* feat: introduced WrappedInternalError
* feat: enhanced extern payload, more fetch options
- Added tenant.{id,domain} to extern payload
- Added site.id to the extern payload
- Added response size limit to fetch
- Added new SCRAPE_MAX_RESPONSE_SIZE env var for managing the size of
responses for scraping
* fix: fixed bug with scrape invocation
* feat: added more queries + mutations
- Added Query.externalModerationPhase
- Added Mutation.createExternalModerationPhase
- Added Mutation.updateExternalModerationPhase
- Added Mutation.enableExternalModerationPhase
- Added Mutation.disableExternalModerationPhase
- Added Mutation.deleteExternalModerationPhase
- Added Mutation.rotateExternalModerationPhaseSigningSecret
* feat: added secret management
* fix: linting
* fix: merge conflict fix
* feat: added UI
* fix: linting
* fix: linting
* fix: updated snapshots
* fix: improved docs
* fix: improved docs
* fix: added locales
* review: improve naming
* review: some review changes
- Switched /moderation/phase to /moderation/phases
- Fixed scrolling
- Fixed redirection
* fix: added scroll timeout for webhooks
2020-05-14 19:20:35 +00:00
Wyatt Johnson and GitHub
1f69bb2f14
[CORL-1075] Metrics Cleanup ( #2955 )
...
* feat: added support for metrics on another port
* fix: handle cluster better
* fix: linting
2020-05-11 21:01:53 +00:00
d0ab2ef8c5
feat: support auto-pause live updates ( #2947 )
...
Co-authored-by: Vinh <vinh@vinh.tech >
2020-05-07 16:21:37 +00:00
Vinh and GitHub
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 and GitHub
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 and GitHub
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
Wyatt Johnson and GitHub
e42cb59661
feat: added config variable for perspective timeout ( #2817 )
...
Added a configuration timeout variable for changing the perspective
timeout number.
2020-02-04 00:21:14 +00:00
Wyatt Johnson and GitHub
a396efef0d
Security Headers ( #2736 )
...
* feat: added more security headers
* fix: added option to disable forcing SSL
* fix: linting
2019-12-03 21:47:36 +00:00
Wyatt Johnson and GitHub
787f1c68e7
fix: introduced scraper timeout ( #2724 )
...
- fixes #2716
2019-11-22 18:16:41 +00:00
Wyatt Johnson and GitHub
ce4a3408fc
[CORL-628] CLI Support ( #2646 )
...
* feat: improved api for reloading tenants for cli
* fix: cleaned up merge beheviour
* feat: added support for stream/story edge
* feat: support tenant install
* fix: updated snapshot
* fix: fixed tests
2019-11-08 00:40:56 +00:00
Wyatt Johnson and GitHub
c045f52daa
[CORL-649] Migrations ( #2597 )
...
* feat: added migration framework
* chore: added premod user status migration
* feat: enhanced error handling of migrations
* fix: added missing argument from abstract method
* fix: another templating blunder
* fix: removed debug code
* feat: enhanced migration tracking
* fix: remove skipping migrations
* feat: moved indexing to migration system
* fix: linting
2019-10-01 16:00:27 +00:00
Wyatt Johnson and Kim Gardner
e76fddd13c
[next] Added trust proxy configuration ( #2471 )
...
* feat: added trust proxy configuration
* chore: version bump
2019-08-13 15:41:50 -04:00
Wyatt Johnson and GitHub
d312d380ae
[CORL-436] Embed Code ( #2398 )
...
* feat: initial implementation
* fix: moved embed configuration to advanced
* feat: added copy button to embed code
* fix: removing unused line
2019-07-12 22:35:09 +00:00
Wyatt Johnson and GitHub
b5b9cb7e2f
feat: support static uri's with paths ( #2399 )
2019-07-12 19:11:11 +00:00
Wyatt Johnson and GitHub
9e55ea66fa
[next] Websocket Keep Alive ( #2394 )
...
* feat: added keepalive config
* fix: format
* fix: adjusted client timeout default
* Update server.ts
2019-07-09 16:27:58 +00:00
Wyatt Johnson and GitHub
e7745a85aa
[CORL-416] Disable Live Updates ( #2391 )
...
* feat: initial implementation
* fix: docs
2019-07-05 23:10:19 +00:00
51b142035e
[CORL-183] Invite Users ( #2349 )
...
* feat: initial UI impl
* feat: attach react devtools hook in development
* feat: working mutations
* feat: polished the invite modal with mutation
Co-authored-by: Vinh <vinh@wikiwi.io >
* feat: added check
* feat: improve the invite server impl
* feat: admin invite interface improvements
* fix: update tests
* feat: moved invite UI to admin
* fix: include email enabled as condition for invite
* feat: added admin tests
* feat: added tests for invite complete flow
* fix: review
2019-06-28 22:51:42 +00:00
Cristian Dean and Wyatt Johnson
7beab6419e
[next] Add redis_options config ( #2323 )
...
* [next] Add redis_options config
* fix: updated docs, camelcased arg, used native merge
* fix: improved CI issues
2019-05-27 19:07:56 +00:00
Kiwi and GitHub
6da97c57d7
[CORL-314] Rename to Coral ( #2318 )
...
* chore: rename talk to coral
* fix: lint and unit tests
* fix: snapshot
2019-05-22 21:32:24 +02:00
Kiwi and GitHub
898bc0de06
feat: allow explicitly disabling client routes ( #2311 )
2019-05-15 01:27:34 +02:00
Wyatt Johnson and Kiwi
d4b8e5ef70
[CORL-281] Metrics ( #2298 )
...
* feat: iunitial metrics implementation
* fix: graphql endpoint was throwing errors.
* feat: add metrics env variables to readme
2019-05-10 00:26:24 +02:00
Wyatt Johnson and GitHub
a91de05af9
fix: modified uri parsing for mongodb ( #2282 )
2019-04-25 15:16:36 +00:00
Wyatt Johnson and GitHub
e0627925fb
[next] Heroku Support ( #2240 )
...
* feat: added env-rewrite support
* feat: added heroku support via app.json
* fix: fixed readme linting error
* fix: fixed error in app.json
* fix: improved environment variables exposed by app.json
2019-03-22 20:29:02 +00:00
Wyatt Johnson and GitHub
9fa5900acc
[next] Error and Logging Improvements ( #2152 )
...
* feat: added locale support for Tenant
* feat: added secret scrubbing to logs
* chore: cleanup logger
* chore: logger improvements
* feat: re-introduce scoped pretty logger
* feat: added initial error support
* refactor: replace trace-error.TraceError with talk.InternalError
* fix: fixed error logging
* refactor: replaced Error with VError
* fix: repaired issue with error management on api
* fix: patched bug with not found handler
* feat: added translations
* feat: added location path to invalid entries
* refactor: refactored error handling on graph
* fix: moved indexing operations to master node
* refactor: added throw for when the message isn't found in testing
* fix: removed duplicate log
* fix: fixed naming on environment variable
2019-02-06 23:42:17 +00:00
Wyatt Johnson and GitHub
9b0e6ed53b
[next] MongoDB Indexes ( #2142 )
...
* feat: added mongo indexing support
* fix: fixed typescript issue
* chore: better types
* fix: revert debug stuff
* fix: addressed ts error
* feat: added config option to disable auto-indexing
* chore: reordered imports
* refactor: cleaned up some filepaths
2019-02-06 17:53:34 +00:00
Kiwi and GitHub
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
Wyatt Johnson and GitHub
326a10dc5d
[next] Concurrency ( #2136 )
...
* feat: added concurrency options
* fix: Default CONCURRENCY to 2 for development
2018-12-20 17:01:10 +00:00
Kiwi and Wyatt Johnson
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 and Wyatt Johnson
6d7056d831
[next] Add support for embed ( #1762 )
...
* Move talk-server/config to talk-common/config
* Refactor build into /src/core/build and use common config
* Add embed webpack config
* Start implementing embed
* Implement embed
* Add pym types
* Add event emitter to Talk Context
* Add MatchMedia test for passing values from the context
* Add support for click far away
* Integrate pym click events to registerClickFarAway
* Add tests
* Resolve merge issues
* Apply PR review
2018-08-02 15:29:18 +00:00
Wyatt Johnson
a2a0cebb06
feat: initial token issuing support
2018-07-17 16:57:36 -06:00
Wyatt Johnson
6f6bedb07a
feat: production updates
2018-07-16 13:26:41 -06:00
Wyatt Johnson
34ddd2ea0b
fix: new mongo parser
2018-07-13 16:33:00 -06:00
Wyatt Johnson
fa57c72842
linting + initial mutation
...
- added tslint
- mutation support
2018-06-25 14:32:01 -06:00
Wyatt Johnson
6f80a2458c
linting
2018-06-21 10:44:36 -06:00
Wyatt Johnson
a3e3d93607
initial subscription support
2018-06-20 15:56:15 -06:00
Wyatt Johnson
4318e1ddbe
added tenant + graph support
2018-06-16 17:21:04 -06:00
Wyatt Johnson
02e1236792
initial commit
2018-06-16 17:20:51 -06:00