Merge pull request #2071 from mozilla/train-94.1

This commit is contained in:
Phil Booth 2017-08-23 15:30:37 +01:00 коммит произвёл GitHub
Родитель 431e629823 38b39dfc43
Коммит b07795a9f6
4 изменённых файлов: 48 добавлений и 5 удалений

Просмотреть файл

@ -1,3 +1,45 @@
<a name="1.94.2"></a>
## [1.94.2](https://github.com/mozilla/fxa-auth-server/compare/v1.93.1...v1.94.2) (2017-08-23)
### Bug Fixes
* **deps:** update shrinkwrap ([4694cd1](https://github.com/mozilla/fxa-auth-server/commit/4694cd1))
* **devices:** saner mobile/tablet recognition for devices (#2051), r=@vbudhram ([3e5859f](https://github.com/mozilla/fxa-auth-server/commit/3e5859f))
* **l10n:** fix l10n updates ([2d3c4ab](https://github.com/mozilla/fxa-auth-server/commit/2d3c4ab))
* **senders:** update gettext dependency that can parse es6 syntax (#2057) r=vladikoff ([12dd0fe](https://github.com/mozilla/fxa-auth-server/commit/12dd0fe))
* **strings:** change "to" to "for" for verify secondary email (#2048), r=@vbudhram ([742be75](https://github.com/mozilla/fxa-auth-server/commit/742be75))
* **tests:** update remote db tests for uaFormFactor column ([c4d1e50](https://github.com/mozilla/fxa-auth-server/commit/c4d1e50))
### chore
* **ci:** remove node4 test target from travis-ci (#2054) r=vladikoff ([e1de16d](https://github.com/mozilla/fxa-auth-server/commit/e1de16d))
* **docs:** update precommit doc script to use grunt-newer ([fd62a8d](https://github.com/mozilla/fxa-auth-server/commit/fd62a8d))
* **eslint:** fix eslint task config so newer works (#2055) r=vladikoff ([12a14fc](https://github.com/mozilla/fxa-auth-server/commit/12a14fc)), closes [#2055](https://github.com/mozilla/fxa-auth-server/issues/2055)
* **git:** remove prepush git hook (#2058) r=vladikoff ([8e1de31](https://github.com/mozilla/fxa-auth-server/commit/8e1de31))
### Features
* **email:** Notify services when user changes primary email (#2066) r=vladikoff,rfk ([7bbdd44](https://github.com/mozilla/fxa-auth-server/commit/7bbdd44))
* **server:** add parsed user agent info to the request object (#2061), r=@vbudhram ([cc69b36](https://github.com/mozilla/fxa-auth-server/commit/cc69b36))
### Refactor
* **email:** extract common flow id boilerplate (#2065) r=vladikoff ([8d5f2b0](https://github.com/mozilla/fxa-auth-server/commit/8d5f2b0))
* **sms:** unleash es6 in senders/sms (#2064), r=@vbudhram ([a37589c](https://github.com/mozilla/fxa-auth-server/commit/a37589c))
<a name="1.94.1"></a>
## [1.94.1](https://github.com/mozilla/fxa-auth-server/compare/v1.94.0...v1.94.1) (2017-08-23)
### Bug Fixes
* **deps:** update shrinkwrap ([4694cd1](https://github.com/mozilla/fxa-auth-server/commit/4694cd1))
<a name="1.94.0"></a>
# [1.94.0](https://github.com/mozilla/fxa-auth-server/compare/v1.93.1...v1.94.0) (2017-08-22)

6
npm-shrinkwrap.json сгенерированный
Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "fxa-auth-server",
"version": "1.94.0",
"version": "1.94.2",
"dependencies": {
"acorn": {
"version": "5.0.3",
@ -328,9 +328,9 @@
"resolved": "git+https://github.com/mozilla/eslint-plugin-fxa.git#41504c9dd30e8b52900c15b524946aa0428aef95"
},
"fxa-auth-db-mysql": {
"version": "1.93.0",
"version": "1.94.1",
"from": "git+https://github.com/mozilla/fxa-auth-db-mysql.git#master",
"resolved": "git+https://github.com/mozilla/fxa-auth-db-mysql.git#0a7c2c6e6c9b4357033a3dcde310f82f8294bfcb",
"resolved": "git+https://github.com/mozilla/fxa-auth-db-mysql.git#f1e21529c7ebcf22a724c6c48df09429335e0cf7",
"dependencies": {
"base64url": {
"version": "2.0.0",

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "fxa-auth-server",
"version": "1.94.0",
"version": "1.94.2",
"description": "Firefox Accounts, an identity provider for Mozilla cloud services",
"bin": {
"fxa-auth": "./bin/key_server.js"

Просмотреть файл

@ -174,7 +174,7 @@ describe('remote db', function() {
})
.then(sessions => {
assert.equal(sessions.length, 1, 'sessions contains one item')
assert.equal(Object.keys(sessions[0]).length, 16, 'session has correct number of properties')
assert.equal(Object.keys(sessions[0]).length, 17, 'session has correct number of properties')
assert.equal(typeof sessions[0].tokenId, 'string', 'tokenId property is not a buffer')
assert.equal(sessions[0].uid, account.uid, 'uid property is correct')
assert.ok(sessions[0].createdAt >= account.createdAt, 'createdAt property seems correct')
@ -183,6 +183,7 @@ describe('remote db', function() {
assert.equal(sessions[0].uaOS, 'Mac OS X', 'uaOS property is correct')
assert.equal(sessions[0].uaOSVersion, '10.10', 'uaOSVersion property is correct')
assert.equal(sessions[0].uaDeviceType, null, 'uaDeviceType property is correct')
assert.equal(sessions[0].uaFormFactor, null, 'uaFormFactor property is correct')
assert.equal(sessions[0].lastAccessTime, sessions[0].createdAt, 'lastAccessTime property is correct')
// Fetch the session token