Commit Graph

36 Commits

Author SHA1 Message Date
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 6bd3e093b3 [CORL-157] Ignore Users (#2328)
* feat: added server impl of ignore user

* feat: added development error wrapping

* feat: Add arror to popover

* fix: dependencies

* fix:  server locals watch paths

* feat: AuthorPopover & Member Since

* chore: refactor stream file organization

* feat: ignore user

* fix: file case

* feat: add support for useLocal hook!

* test: test ignored users
2019-05-31 22:41:20 +00:00
Kiwi 898bc0de06 feat: allow explicitly disabling client routes (#2311) 2019-05-15 01:27:34 +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 945bd7f2b0 [CORL-367] Speedup scripts & better server development and debugging (#2306)
* feat: speedup scripts & make server development faster

* feat: fix server debugging + allow attaching to a running node process

* feat: make npm run during watch less chatty
2019-05-09 22:08:12 +02: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
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
Belén Curcio 4dc46f7fee Adding Found Relay to the Admin side 2018-09-26 16:32:45 -03:00
Belén Curcio bbf98d0b67 First iteration of admin 2018-09-25 15:09:43 -03:00
Belén Curcio ff0f00a486 initial work 2018-09-24 19:52:08 -03:00
Wyatt Johnson 8e3c62c9db Merge branch 'next' into auth-views 2018-08-21 17:46:23 +00:00
Kiwi 059292e979 Compile schema when watching client (#1809) 2018-08-21 17:45:11 +00:00
Belén Curcio 443ccd61ce Merge branch 'next' of github.com:coralproject/talk into auth-views
* 'next' of github.com:coralproject/talk:
  [next] Templates (#1760)
  Adapt typography
  NO NORMALS
2018-08-12 19:23:47 -03: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
Belen Curcio dd45b345b7 Merge branch 'next' of github.com:coralproject/talk into auth-views 2018-08-08 13:12:29 -03:00
Belen Curcio 6df52aadbb Adding auth to the watcher 2018-08-08 11:13:23 -03:00
Chi Vinh Le 34fb53b3b0 Add auth target 2018-08-08 01:03:49 +02: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 2e4d23e900 Merge branch 'next' into next-passport 2018-07-20 19:26:58 +00:00
Chi Vinh Le d31d8d94e2 Read env in watchers.ts 2018-07-19 19:26:50 -03:00
Chi Vinh Le b34b9e5986 Use readable css names in docz dev 2018-07-16 16:25:20 -03:00
Wyatt Johnson 34f42c2991 feat: support graphql schema type compilation for watcher 2018-07-16 13:24:02 -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 b6305bec16 Remove jest from watcher config, as it doesnt run well inside 2018-07-13 16:23:36 -03:00
Chi Vinh Le b1a7cdb78f Add jest set 2018-07-13 16:21:31 -03:00
Chi Vinh Le 911a03ba3d Cleanup docz scripts 2018-07-13 15:03:43 -03:00
Chi Vinh Le 035d241a72 Support watcher sets 2018-07-13 14:56:36 -03:00
Wyatt Johnson c90f6cbe53 Merge branch 'next' into next-passport 2018-07-11 15:42:52 -06:00
Chi Vinh Le ec1eff2b9d Mark comments as always returning a value 2018-07-10 19:14:42 -03:00
Chi Vinh Le 25c931cc05 Implement Replies 2018-07-09 16:45:36 -03:00
Chi Vinh Le eb7ddd7310 Do not rerun relay compiler on its own changes 2018-07-04 14:39:54 -06:00
Wyatt Johnson ec6955715f fixed config 2018-07-04 10:21:29 -06:00
Wyatt Johnson 679ad01a7d feat: supported watcher 2018-07-04 10:17:48 -06:00
Chi Vinh Le 70b88de51a Do not rerun relay compiler on its own changes 2018-07-03 15:49:35 -03:00
Kiwi 044e1c2863 Watcher infrastructure (#1724)
* wip

* Adding chokidar and types

* specifiying build tasks

* new structure, new types, executor and watchers

* Adding log

* Fully implemented watchers

* adapt vscode launc

* Add .babelrc.js to toplevel tsconfig project

* Typo

* Get schema path from .graphqlconfig

* Use watcher binary

* Add joi validation to watcher

* Remove fb-watchman for now

* Use correct ignore path

* Fix dist folder

* Allow setting watcher

* Per default only spawn one process at a time

* Support runOnInit

* Rename RestartingExecutor to LongRunningExecutor

* Use debounce instead of throttle

* Remove console log

* Debounce command execution

* Simplify debounce

* Watcher name change

* Typos

* Rename "watcher" root level config to "backend"
2018-07-03 12:21:58 -06:00