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

130 Коммитов

Автор SHA1 Сообщение Дата
Shane Tomlinson ea7d713de8
Release v1.134.1 2019-04-02 14:56:09 +01:00
Shane Tomlinson 6014d759af
fix(deps): Fix the audit warnings.
Update:
* tap
* js-yaml
* grunt
2019-04-02 14:34:43 +01:00
Shane Tomlinson a153198e11
Release v1.134.0 2019-04-02 13:45:17 +01:00
Shane Tomlinson 6f73c3c8b8
refactor(server): Extract and simplify record retreival/storage, user defined rules.
server.js has a whole bunch of mixed concerns, part of which was record retreival
and loading/checking user defined rules.

This PR extracts record handling logic as well as user defined rules logic
into their own modules.

Loading/saving records can now be done through a common interface. fetchRecords no longer
holds the assumption that an ip address will be passed in. setRecord no longer requires
passing in a key as the key is stored on the record, and setRecords now only accepts records
instead of it's confusing signature.  It's now possible to define non-enumerable
properties on a record that are not saved when serialized.

I started to use async/await to simplify logic where it made sense as well as
started down the path to using native promises in places.

Note, no remote tests are modified, so functionality should be the same.

This is groundwork to simplify the DataFlow integration where a simple API is
needed to fetch records of varying types.
2019-03-21 12:28:56 +00:00
Shane Tomlinson 48dbee59ea
Release v1.132.0 2019-03-05 13:21:24 +00:00
Shane Tomlinson ad16e74d0a
feat(fraud-detection): Listen for DataFlow fraud detection events
Hook up to GCP PubSub to listen for fraud detection events
from the DataFlow fraud detection pipeline.

fixes #311
2019-03-01 17:06:56 +00:00
Phil Booth f7cfac3630
Release v1.130.0 2019-02-06 15:33:05 +00:00
Phil Booth 9257d4d8de
Release v1.129.0 2019-01-25 14:18:18 +00:00
Phil Booth 469ca49eab
fix(logs): preserve homogeneity of log properties 2019-01-24 15:53:13 +00:00
Shane Tomlinson 0df9787aae
Release v1.124.0 2018-10-30 15:49:36 +00:00
Shane Tomlinson fd69125507
feat(deps): Add tls-shrink, remove "^" prefix on audit-filter version
follow on from #280
2018-10-30 10:24:14 +00:00
Shane Tomlinson f76530532a
Merge pull request #280 from g-k/filtered-npm-audit r=@shane-tomlinson
fix(deps): add filtered npm audit support
2018-10-30 10:20:51 +00:00
Greg Guthe fbc7d3b8b8
fix(deps): add filtered npm audit support
refs: #270, #271

https://github.com/mozilla/fxa/issues/303
https://bugzilla.mozilla.org/show_bug.cgi?id=1478025
2018-10-22 17:13:44 -04:00
Shane Tomlinson 79e0bc9cb7
Release v1.123.0 2018-10-16 12:58:53 +01:00
Shane Tomlinson 460f46a41a
Release v1.122.0 2018-10-02 20:51:09 +01:00
Shane Tomlinson cad8df4f0a
Release v1.121.0 2018-09-18 14:32:52 +01:00
Ryan Kelly aa4258c181
Release v1.120.1 2018-09-07 11:49:41 +10:00
Ryan Kelly 5aea8bf0de
Release v1.120.0 2018-09-06 11:28:38 +10:00
Shane Tomlinson 884909eddd
fix(deps): Remove nsp support, add npm audit support in logging only mode. (#274) r=@vladikoff
fixes #270
fixes #271
2018-08-24 17:33:42 +01:00
Shane Tomlinson d50ec3261f feat(deps): Update to the newest restify. (#264)
Update to restify@7.2.1, restify-safe-json-formatter@0.3.0
2018-08-24 08:38:44 -04:00
Shane Tomlinson 020f030bf3
Release v1.119.0 2018-08-22 13:34:40 +01:00
Shane Tomlinson a46e713873
Release v1.118.1 2018-08-14 13:38:03 +01:00
Shane Tomlinson 8b1daec7d4
Release v1.118.0 2018-08-08 22:15:45 +01:00
Greg Guthe 3fd7639208 fix(deps): update ip-reputation-js-client to 4.1.0 (#263) r=@vladikoff
Makes timeout param include DNS resolution and connect() not just time since last byte after a connection is established.

mozilla-services/ip-reputation-js-client#24
2018-08-01 10:31:50 -04:00
Shane Tomlinson 69a25602df Release v1.117.0 2018-07-24 16:22:00 +01:00
Shane Tomlinson d617b0b632 Release v1.116.0 2018-07-11 14:04:30 +01:00
Ryan Kelly 6ed167daa6 Release v1.115.0 2018-06-27 15:44:43 +10:00
Aaron Meihm 6376028ecb Updates to reputation service integration (#251) r=@vladikoff
* fix(deps): update ip-reputation-js-client to 4.0.2

* feat(reputation): request time logging, update tests

- Modify reputation service integration to log reputation service query
  time
- Include a test to verify ip-reputation-js-client return values contain
  the desired timing value
- The newer version of the reputation service deprecated the POST /
  endpoint for reputation updates. Modify the stub reputation service
  and tests to use the update endpoint (which should be used for both
  new reputation creation and reputation updates now).
2018-06-25 18:21:48 -04:00
Vijay Budhram 5fb8acb583 Release v1.114.3 2018-06-22 13:38:41 +10:00
Shane Tomlinson 96ff4ad7df Release v1.114.2 2018-06-13 14:55:24 -07:00
Shane Tomlinson aa594fdfe5 Release v1.114.1 2018-06-13 11:47:44 -07:00
Shane Tomlinson 057a039bf3 Release v1.114.0 2018-06-13 10:29:11 -07:00
Greg Guthe ab1fb6e2e7 fix(deps): update ip rep client to v4 (#249) r=@vladikoff 2018-06-08 07:09:35 -07:00
Vlad Filippov c40684e4d9 fix(deps): Update ip rep client to v3 (#247), r=@vbudhram 2018-05-31 09:59:37 -04:00
Shane Tomlinson 00e252b8d8 Release v1.113.0 2018-05-30 20:08:11 +01:00
Shane Tomlinson ab2a4a3599 Release v1.112.0 2018-05-16 13:54:50 +01:00
Vlad Filippov aaa2afbd03
fix(npm): update shrinkwrap (#241) 2018-05-11 18:00:23 -07:00
John Morrison 40580f100d fix(nsp): Update newrelic version (#240) r=@vladikoff 2018-05-07 20:26:48 -04:00
Shane Tomlinson cbde513dd8 Release v1.111.0 2018-05-02 11:03:08 +01:00
Vlad Filippov e8e2e458c7
feat(node): update to node 8 (#239) r=@jrgm 2018-04-23 21:17:19 -04:00
Shane Tomlinson 85a8abbcb2 Release v1.110.0 2018-04-18 13:39:12 +01:00
Ryan Kelly 29a52a5db0 Release v1.109.0 2018-04-04 11:27:07 +10:00
Phil Booth abac95c164 chore(deps): update ip-reputation-js-client (#231) r=@vladikoff 2018-03-22 06:17:13 -04:00
Ryan Kelly 9de273decf Release v1.108.0 2018-03-21 13:37:13 +11:00
Ryan Kelly be3b5794da Release v1.106.0 2018-02-21 12:36:27 +11:00
Vlad Filippov d420b3a538
chore(deps): update deps, fix nsp (#229) r=@philbooth 2018-02-17 09:33:59 -05:00
Ryan Kelly e417db5025 Release v1.103.0 2018-01-09 14:05:48 +11:00
Vlad Filippov 4cbc5440c7
feat(logs): add Sentry error logs (#224) r=@vbudhram 2018-01-04 21:23:36 -05:00
Ryan Kelly c33a018d90 fix(blocklist): Fix use of setImmediate to work with node 8 (#220) r=@vladikoff
Fixes #212
2017-12-20 10:44:40 -06:00
Ryan Kelly b0152daeb3 Release v1.102.0 2017-12-13 17:34:03 -06:00