Nick Funk
5c863f1307
[CORL-1155] Fix theming for rebranded stream/admin ( #3012 )
...
* Repair theming and CSS variables for the rebrand
This separates the CSS variables into three sections
for admin, stream, as well as a shared set between
them.
This also adds injection of the raw colours from the
design team into post css variables.
Lastly, this re-maps the existing theme variables to
a new consolidated set with fallbacks for compatibility.
Since this is a singular commit from various WIP commits,
I am crediting @cvle as well as myself for this work.
Thank you all who helped make this rebrand with theming
possible!
CORL-1155
Co-authored-by: Chi Vinh Le <vinh@vinh.tech >
* Convert old css variables in CallOut
* Rename postive/negative => success/error
CORL-1155
* Change some CSS Variable names
* fix TextField/PasswordField colors
Co-authored-by: Chi Vinh Le <vinh@vinh.tech >
2020-07-15 18:20:25 +00:00
Vinh
2acc761a5d
[CORL-1074] Upgrade dependencies ( #2999 )
...
* chore: upgrade eslint, typescript
* chore: upgrade deps
* chore: revert upgrade ts-node-dev
* chore: revert unneeded comments
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-06-26 22:38:52 +00:00
Wyatt Johnson
1624787004
i18n Validator ( #2953 )
...
* feat: added validate script and docs
* fix: added link
2020-05-07 16:07:07 +00:00
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
e42c2b925d
[CORL-687] Webhooks ( #2738 )
...
* feat: initial webhook impl
* feat: added support for key rotation
* feat: harmonized fetcher
* feat: added expired secrets cleaning
* feat: event system refactor
* feat: added story event
* feat: simplfiied webhook handler
* feat: added ref's to locations where user events can be added
* feat: added UI to support webhooks
* fix: renaming some Webhook -> WebhookEndpoint
* fix: review comments to adjuist flow
* feat: added localizations
* fix: linting, updated snapshots
* fix: adapted for new fluent
* fix: rearranged folders
* fix: linting
* feat: added webhooks documentation
* feat: improved toc generation
* feat: added some tests to webhooks
* fix: chain transition hooks
* feat: added tests around webhook ui
* fix: renamed events
* fix: adjusted circle markdown linting
* fix: adjusted doctoc script call
* review: review fixes
* review: review comments
* review: adjusted signing secret confirmation
* review: adjusted styles to harmonize button usage
* fix: updated snapshots and tests
* review: move form out of webhooks
Moved the form out of the webhooks by relocating the layout used for the
route associated with the configure routes.
* fix: fixed bugs and snapshots with tests
* feat: revised slack message format to use block api
* fix: fixed a small text bug
Co-authored-by: Vinh <vinh@vinh.tech >
Co-authored-by: Kim Gardner <kgardnr@gmail.com >
2020-02-18 13:25:48 -05:00
Vinh
2b1c9aea78
[CORL-832] IE11 Compatibility for the Embed Stream ( #2801 )
...
* IE11 support
* fix: types and tests
* chore+fix: optimise polyfills and bugfixes for ie11
* chore+fix: fix docz, radically cleanup babel configs
* fix: ie11 proxy bug
* feat: normalize rte html
* fix: css issues in ie11
* chore: improve bundle size
* chore: upgrade coral rte
* feat: make counts work in ie11
* fix: remove native password reveal in ie11
* fix: markdowneditor icons in ie11
* fix: ie11 brittleness in auth popup
* fix: callout width in ie11
* test: fix snapshots
2020-01-29 17:42:32 -05:00
Nick Funk
84bbc3d0c3
[CORL-688] Refactor: Consolidate the tenant and common context together ( #2780 )
...
* feat: initial impl
* Create preliminary comment moderation slices
CORL-688
* Move slices logic into stacks
CORL-688
* Create user comment counts
CORL-688
* Create naive mutation that initializes user comment counts
CORL-688
* Use bulk updates in user counts migration
CORL-688
* fix: review
* fix: fixed issue with aggregation
* Migrate creating comment into stacks
CORL-688
* Migrate editing a comment to the stacks
CORL-688
* Break publishing comment status out of updateAllCounts
CORL-688
* review: removed variable scoping in favor of export
* revert: feb8e8196cd448f5cd24f1ca2eb0b91fe9bd43c7
* review: simplification of stacks implementation
This simplifies the stacks implementation to better reuse code related
to count management and event publishing. This can be used to great
effect with the upcomming events PR #2738 .
* Consolidate the tenant and common context together
CORL-688
* review: removed variable scoping in favor of export
* revert: feb8e8196cd448f5cd24f1ca2eb0b91fe9bd43c7
* review: simplification of stacks implementation
This simplifies the stacks implementation to better reuse code related
to count management and event publishing. This can be used to great
effect with the upcomming events PR #2738 .
* fix: check if authorID is null before update user counts
CORL-688
* Consolidate common/tenant context supporting files
CORL-688
* feat: renamed TenantContext -> GraphContext
Co-authored-by: Wyatt Johnson <accounts+github@wyattjoh.ca >
2020-01-08 17:07:25 +00:00
Vinh
7615dc2aaf
[CORL-720] Integratejest-axe ( #2741 )
...
* feat: axe checks for tests
* test: add another axe check
* fix: tests
2019-12-05 16:44:16 -05:00
Vinh
18346d1683
[CORL-666] Viewer Events ( #2681 )
...
* feat: viewer event system
* feat: more events
* feat: MORE events
* fix: tests
* fix: rte focus events
* chore: add comments
* fix: remove listening to events
* chore: update RTE
* fix: tests
* feature: generate event docs
* fix: remove obsolete line in docs
* chore: improve docs
* chore: improve formatting
* feature: protect events.md from getting out of sync
* chore: small improvements
* fix: removing redundant lambda
2019-11-08 17:17:01 +00:00
Vinh
3bfcc509d2
[CORL-678] Transition to eslint ( #2634 )
...
* chore: setup eslint
* chore: tslint checks with types & check for import order
* chore: complete eslint transition
* fix: tests
* fix: linting after rebase, faster lint for lint-staged
* chore: remove line
* fix: lint rules
* feat: add a11y linter and fix errors
* fix: tests
2019-10-15 22:56:38 +00:00
Wyatt Johnson
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
64f102e6d4
[CORL-540] Logging improvements ( #2565 )
...
* fix: enhanced errors around story creation
* feat: enhanced child loggers
* feat: logging enhancements
2019-09-18 13:07:42 -04:00
Vinh
43b6a2cdcd
[CORL-149] Persisted Queries ( #2445 )
...
* feat: enable persisted queries on the client
* fix: use `id` inside websocket message
* feat: initial server support for PQ
* feat: deeper server support
* feat: abstracted persisted query replacing logic
2019-08-15 21:03:32 +00:00
Wyatt Johnson
4c65d43954
[CORL-404] Recent Comment History ( #2354 )
...
* feat: initial support for auto pre-moderation
* chore: refactor collection access
* fix: linting
* fix: rebasing issue
* fix: exported helpers
* feat: added extensions, lintd
* fix: rebase fix
* feat: renamed automaticPreModeration to recentCommentHistory
* feat: initial implementation of admin config
* feat: support recent history markers
* feat: rename visible to published
* feat: reworked history drawer
* chore: extracted tooltip
* feat: implemented user drawer
* fix: fixed translation key
* fix: resolved issue with NaN
2019-08-08 18:18:18 +00:00
Vinh
d4b99a2a57
[CORL-420] Upgrade Relay ( #2346 )
...
* chore: upgrade Relay
* fix: fix errors
* fix: snapshot
* fix: relay prefix
* fix: fragment spec error
2019-06-07 21:42:26 +00:00
Kiwi
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
ab466510f3
fix: use custom webpackHotDevClient with debounced reload and filter unwanted warnings ( #2314 )
2019-05-15 20:33:39 +02:00
Wyatt Johnson
df57b4eb17
[next] Email ( #2261 )
...
* feat: suspending, banning, now propogation
* feat: added email rendering + localization support
* fix: fix related to lib
* refactor: moved juicer to queue task
* refactor: cleanup of job processor
* refactor: improved error messaging around failed email
* feat: initial forgot passwor impl
* fix: fixed rebase errors
* feat: send back Content-Language header with requests
* feat: added ban email
* feat: implemented forgotten password API
* fix: linting
* feat: support more emails
* fix: promise patches
* feat: initial confirm email API
* feat: added rate limiting
* feat: added URL support
* feat: added email docs
* fix: updated docs
* chore: documentation review
* fix: fixed build bug
* feat: implement forgot password in auth popup
* test: add tests + fixes
* chore: rename StatelessComponent to FunctionComponent
* fix: types and test fixes
* chore: upgrade deps
* fix: THANK YOU TESTS FOR SAVING MY A**
* chore: reorder imports
* chore: remove obsolete !
* feat: implement accounts bundle
* refactor: review suggestion
* fix: rebase upgrade error
* fix: rebase bug
* feat: reset password link support
* test: add tests for account password reset page
* fix: remove redirect uri
* fix: revert local state changes
2019-05-09 22:54:56 +02:00
Kiwi
ea6f42c256
[CORL-305] Speed up build process and upgrade dependencies ( #2304 )
...
* feat: speed up build process, upgrade majority of dependencies
* feat: allow specifying max cores
* chore: add some comments
2019-05-07 20:22:19 +02:00
Wyatt Johnson
59aaec48fc
[next] Release ( #2296 )
...
* feat: added release process
* fix: removed debug echo's
* fix: fixed typo and bug
- replaced // with /# to remove "v" prefix only, not all "v" in string
* fix: updated docs
2019-05-02 19:35:48 +00:00
Kiwi
5150cdf60e
[CORL-331] Better tests with types ( #2270 )
...
* feat: suspending, banning, now propogation
* feat: new mutation api with hooks support
* feat: better types in tests and refactor
* fix: lint
2019-04-23 19:46:14 +00:00
Wyatt Johnson
3b31e3b02d
feat: added markdown to closed messages ( #2255 )
2019-04-12 00:06:01 +02:00
Kiwi
538e1fca9d
[CORL-139, CORL-140] Community ( #2239 )
...
* feat: Add table ui component
* feat: community user table
* feat: filters and role change
* fix: add some comments
* fix: user viewer
* fix: snapshots
* test: add tests
* fix: better popover experience
* fix: test
* chore: use enum
* feat: prevent server side setting your own role
* fix: cleanup
2019-03-22 20:13:11 +00:00
Wyatt Johnson
d37333be89
[CORL 133] API Review ( #2197 )
...
* refactor: removed unused subscription code
* refactor: removed management api's
* refactor: cleanup of connections
* refactor: refactored comments edge
* refactor: simplified connection resolving
* feat: added story connection edge
* fix: added story index
* feat: added user pagination and user edge
* fix: added filter to comment query
* fix: removed unused resolvers
* fix: creating a comment reply should require auth
* refactor: cleanup of graph files
* feat: removed display name, made username non-unique
* fix: fixed tests
* fix: fixed tests
* fix: added more api docs
* fix: fixed bug with installer
* refactor: fixes and updates
* fix: added linting for graphql, fixed schema
* feat: added docker build tests
* fix: upped output timeout
* fix: fixed stacktraces in production builds
* fix: removed `git add`
- `git add` was causing issues with
partial staged changs on files
* feat: improved error messaging for auth
* refactor: cleaned up queue names
* fix: merge error
2019-03-12 15:12:21 +01:00
Wyatt Johnson
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
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
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
fa72d5deda
feat: support new auth methods for Tenants
...
- New Time scalar type is implemented on the Server
- Single Sign-On keys can now be generated
- Single Sign-On keys can be regenerated
- Single Sign-On keys now store the date they were generated on.
- Initial implementation of `AuthenticationTargetFilter`'s
2018-10-19 16:05:58 -06:00
Wyatt Johnson
0b3aead1d2
[next] Perspective API Integration ( #1797 )
...
* feat: initial toxic comments impl
* feat: improved logging
* feat: tenant cache adapter
* feat: move more types into graphql
2018-08-14 14:37:00 +00:00
Wyatt Johnson
d2106b3de5
[next] Templates ( #1760 )
...
* feat: initial support for synced tenants
* fix: cleanup
* fix: logger now respects logging level
* fix: cache now ignores updates issued from itself
* feat: print subscriber count
* feat: initial nunjucks support
* fix: support tenant cache for oidc strategy
* fix: replace some constructor initializers with property initializers
* fix: audit
* [next] Comments and Moderation (#1759 )
* feat: initial moderation + validation for new comments
* fix: added Promiseable type
* feat: initial actions impl
* feat: more moderation phases
* fix: handle settings inheritence
* fix: moved settings into new file
* fix: defaults and documentation
* fix: replace merge with object spread
* feat: added integration with akismet
* fix: fixed compile
* fix: import ordering
* fix: merge issue causing build to fail
* feat: added gulp, static templates
* fix: added compile step back
* Fix extract css + remove cross-env
2018-08-10 16:17:39 +00:00
Kiwi
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
2ac6883737
Merge branch 'next' into next-passport
2018-08-01 13:13:54 -06:00
Kiwi
5fd7062a3a
[next] Support development on windows ( #1769 )
...
* Support windows
* Fix error when loading locales
2018-07-31 18:24:01 +00:00
Chi Vinh Le
78d00d69fe
Fix CI thanks to wyatt
2018-07-18 19:36:43 -03:00
Wyatt Johnson
8487f22b8e
feat: added test results
2018-07-17 14:09:00 -06:00
Wyatt Johnson
01dab3213a
Merge branch 'next' into next-passport
2018-07-16 11:49:31 -06:00
Wyatt Johnson
7e98580264
review: changes for review
2018-07-16 11:38:28 -06:00
Chi Vinh Le
5f756056b1
More colors
2018-07-13 19:49:39 -03:00
Chi Vinh Le
1cd4d537af
Colors
2018-07-13 19:46:12 -03:00
Chi Vinh Le
70ccd646ff
Short circuit endless respawn
2018-07-13 19:39:15 -03:00
Chi Vinh Le
27334c7bd1
Apply suggestions
2018-07-13 16:07:51 -03:00
Chi Vinh Le
035d241a72
Support watcher sets
2018-07-13 14:56:36 -03:00
Chi Vinh Le
e76740c31f
Make filter only a pure function
2018-07-13 11:37:56 -03:00
Chi Vinh Le
9684b6046b
Parallel cleanup, skip empty watches
2018-07-13 11:26:19 -03:00
Chi Vinh Le
d8021f0f33
Support sane watcher + auto detect watchman
2018-07-13 03:13:55 -03:00
Chi Vinh Le
05552f7a84
Use different kill method for watcher
2018-07-13 02:00:23 -03:00
Wyatt Johnson
b3f850724a
Merge branch 'next' into next-passport
2018-07-05 16:01:44 -06:00
Wyatt Johnson
87ce65755c
feat: initial local passport strategy
2018-07-05 15:58:19 -06:00