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

14 Коммитов

Автор SHA1 Сообщение Дата
hritvi 1b910f0af9 refactor(fxa-auth-server): Added semicolons(semi rule) 2019-03-26 11:09:35 +05:30
Sean McArthur 09e18e5161 feat(bounces): add tiers to bounce blocklist
The config for each bounce type can now contain a map of counts vs
durations. This allows a tiered approach to blocking email actions based
on bounce history.

For example:

```
{
  0: 5000,
  5: 20000
}
```

This tier mapping is translated as "more than 0 in 5 seconds" or "more
than 5 in 20 seconds". If either condition is true, the appropriate
error is thrown.

The throw error also now includes the timestamp of the latest bounce, to
allow for reporting of when exactly that bounce was recorded at.

Closes #1893
2017-06-07 17:04:16 -07:00
Sean McArthur 48d7625d65 refactor(bounces): pull bounce logic into separate module 2017-03-28 10:06:29 -07:00
Vijay Budhram 2e84e07e02 feat(email): Add flow events for email delivery notifications (#1626), r=@philbooth
Adds support for handling and processing `flowEvents` for email delivery.
2017-01-26 13:52:05 -05:00
Vijay Budhram 0fa378e25b fix(logging): Log bounced complaint
https://github.com/mozilla/fxa-auth-server/pull/1622

r=philbooth
2017-01-24 15:34:32 +00:00
Vijay Budhram e6a1b87e31 fix(logging): Log templates that don't have flow event data (#1618), r=@philbooth 2017-01-18 14:33:19 -05:00
Phil Booth a8f8c4a2f1 refactor(logging): remove request argument from log methods 2017-01-06 13:28:08 +00:00
Vijay Budhram 69552618cf refactor(signin): Add support for sending flow metrics in email (#1593); r=pb,vladikoff
Emails now include X-Flow-Id and X-Flow-Begin-Time headers, and we use them
to emit flow events if the email bounces.
2017-01-04 16:37:52 +11:00
Vijay Budhram cccd899a8f feat(logging): Log email template header if available (#1466), r=@jbuck
* feat(logging): Log email template header if avalible

* feat(logging): Add flow logging and unit tests

* feat(logging): Remove flowEvent logging

* feat(logging): Add logging of bounce type

* feat(logging): Fix busted test case
2016-10-04 13:47:13 -04:00
Vlad Filippov 61941e867e fix(ses): add status and diagnosticCode for bounce (#1401) r=seanmonstar,vbudhram
Fixes #834
2016-08-09 16:09:12 -04:00
Ryan Kelly 9b976e7a74 fix(bounces): Cope with quoted email addresses in bounce notifications. 2016-02-12 08:01:32 +11:00
Ryan Kelly a1da2284ac refactor(bounces): Make bounce-handling code testable, add some tests. 2016-02-12 07:42:38 +11:00
Ryan Kelly 203c054f01 feat(metrics): send email-bounce-related metrics to statsd. 2015-11-20 08:52:55 +11:00
Danny Coates 2817971924 reorganized source files 2015-05-10 12:11:59 -07:00