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

17 Коммитов

Автор SHA1 Сообщение Дата
Ben Bangert d43952f812
feat(support): convert to NestJS framework
Because:

* We want to unify on frameworks for our new backend apps.

This commit:

* Refactors/converts the app to use NestJS and splits up business logic
  to avoid difficult to test large functions.

Closes #6261
2020-12-16 11:04:41 -08:00
Jackie Munroe bf8bc234d2
feat (support + auth server): add past product information to support panel
auth server:
- created simplified endpoint to return only the data needed for the support panel
- included past plan information from subscription metadata

support panel:
- added past plan information to subscription data displayed

Because:
- when we introduce the ability to upgrade/downgrade subscriptions, we want to ensure that our support team is aware of plan changes to allow for a better customer experience

fixes #5242
2020-05-14 10:00:31 -07:00
Dave Justice 33e59c64d4
feat(payment-server): mobile payments flow for fpn
- fixes #4145

task(payments-server): add details component for new payment
 flow

- fixes #4142

task(payment-server): add payment confirmation component

- added cc brand to customer object in auth server
- added latest_invoice to subscription object in auth
- fixes #4143

task(payments-server): update payment form for new mobile flow

- fixes #4144

task(auth-server): remove lingering subhub references

task(payment-server): add payment confirmation component

- added cc brand to customer object in auth server
- added latest_invoice to subscription object in auth
- fixes #4143

task(payments-server): new subscription create page

- refs #3929

task(payment-server): adding payment confirmation page

- refs #3929

fix(payments-server): fix failing product route tests

- refs #3929
- refs #4311

task(123done): update links to stripe products

task(payments-server): listen for resize in product/index

task(payment-server): final cleanups for confirmation flow

feat(auth-server + payments-server): add billing_name to customer response

- updated the getCustomer response to include the billing_name
- updated tests and validators

fixes #4612

updated broken tests

task(payment-server): adding payment confirmation page

- refs #3929

fix(payments-server): fix failing product route tests

- refs #3929
- refs #4311

task(payments-server): payment and confirmation view follow ups

- fixes #4529
- fixes FXA-1382

task(payments-server): attempt at fix for confirm view height on tablet

task(payments-server): attempt at fix for confirm view height on tablet

task(payments-server): add interval_count to confirmation story

task(auth-server): add app links to download email

- fixes #3872

fix(styles): Minor FPN mobile enhancements tweaks

task(payments-server): svgo and l10n fallback tweak
2020-04-09 20:30:21 +00:00
Jackie Munroe 4ffe01b374
task(subscriptions): remove references to plan.name and plan.nickname
Because
- with the introduction of longer duration subscriptions, the current plan_name string is no longer applicable. Instead of using this custom formatted name, we will use the product_name along with plan billing data (interval + interval_count)

fixes #4693
2020-04-03 14:49:09 -07:00
Jackie Munroe 56fcda6215
feat(support-panel): add subscription created date
- add the subscription creation timestamp to the information displayed

issue #3981
2020-03-12 09:44:27 -07:00
Barry Chen b1e93685b2
fix(support-panel): encode email addr in subscriptions request
This patch URI encodes the email address of the FxA user for whom the
support panel is fetching a list of subscriptions from the auth server.
Previously the request fails when the email address contains a '+'.
2020-02-19 15:29:56 -06: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 525b9804a8
fix(support panel): update query param validation
Fixes #2082
2019-08-06 09:10:38 -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 3d4d38287d
feat(event-broker): add script to simulate webhook calls
Closes #1774
2019-07-26 10:34:00 -07:00
Ben Bangert e64d7f9fd0
fix(support-panel): log totp error, return appropriate errors
Closes #1863
2019-07-24 14:23:51 -07:00
Ben Bangert ef21715748
fix(support-panel): handle 404 correctly
The prior fix failed to account for a leftover nock intercept.
2019-07-22 10:57:30 -07:00
Ben Bangert 31b5a9466c
fix(support-panel): handle totp returning a 404, and use enabled column
Closes #1861, #1862
2019-07-22 08:28:53 -07:00
Ben Bangert 79534bc49b
feat(support-panel): support live user queries
Closes #704
2019-07-18 15:06:13 -07:00