Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Danny Coates 3fa9529194
chore(deps): updated dependencies
chore(deps): updated aws-sdk

chore(deps): remove raven and update @sentry/*

chore(deps): updated mysql deps

chore(deps): updated eslint-plugin-fxa

chore(deps): updated bluebird

chore(deps): updated request

chore(deps): use jest 24.9.0 (same as react-scripts)

chore(deps): update convict

chore(deps): update morgan

chore(deps): update eslint-plugin-jest

chore(deps): update babel-eslint

chore(deps): removed nodemon

chore(deps): update @types/convict

chore(deps): set @types/jest to match jest version

chore(deps): set @babel/core to ^7.9.0

chore(deps): set @babel/preset-env to 7.9.0

chore(deps): update hapi
2020-06-22 17:11:50 -07:00
Danny Coates 1dd1b038d4
refactor(config): replace 127.0.0.1 with localhost
why, after all these years?

because there's a few annoying cases where the loopback
makes dev harder. When you try to test a flow from a not
local machine, like a tv, mobile device, or a saucelabs
proxy session. With localhost it's easy enough to forward
but loopback not so much

enough is enough
2020-04-15 13:55:42 -07:00
Barry Chen 6933399568
feat(support-panel): display geo info
This patch displays all the available geo info from a user's session
token meta data in Support Panel.  A new route is added to auth server
to support this feature.
2020-01-24 16:32:06 -06:00
Barry Chen 25efa5c244
refactor(support-panel): get subscriptions from auth-server
This patch removes the support panel's dependency on SubHub by fetching
a FxA user's subscriptions from the auth server instead.  The requests
are authenticated by a shared secret between the support panel and the
auth server.
2020-01-23 16:52:05 -06:00
Ben Bangert 107d46ed86
refactor(support-panel): update deps, cleanup
Because:

* My JS skills were a bit more newbie when I wrote some of this the
  first time leading to some copypasta.
* Optional chaining in Typescript 3.7 is slick.
* esModuleInterop has cleaner imports and is recommended.
* We are removing the use of Bluebird everywhere.

This commit:

* Removes some copypasta for more standard JS idioms.
* Updates all the dependencies as well as TypeScript -> 3.7.
* Refactors imports to use esModuleInterop.
* Drops the Bluebird dependency.
2019-11-11 11:41:47 -08:00
Phil Booth 7e69761f05
chore(hooks): turn on prettier hook for typescript 2019-08-16 12:10:44 +01:00
Barry Chen b2bd1326b0
fix(support-panel): add CSP frame-ancestors
Hapi's route security configurations by default set 'DENY' for
X-Frame-Options.  The 'frame-ancestors' CSP directive obsoletes the
X-Frame-Options header.

Note that the module/Hapi plugin used to generate the CSP header also
produces default values for other directives; those are _not_ configured
in this patch.

Fixes #2142
2019-08-09 17:03:25 -05:00
Ben Bangert 2b6f1f17ef
feat(support-panel): log the accessing user by provided header
Issue #702
2019-07-26 16:46:01 -07:00
Ben Bangert 79534bc49b
feat(support-panel): support live user queries
Closes #704
2019-07-18 15:06:13 -07:00