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

589 Коммитов

Автор SHA1 Сообщение Дата
Ryan Kelly a229ddcde7 feat(mysql): Add config option for REQUIRED_SQL_MODES. (#334) r=@philbooth,@vladikoff
This also tweaks the implementation to preserve any existing mode
flags on the connection, rather than overwriting them with just the
modes from the required list.
2018-04-04 10:59:13 -04:00
Jon Buckley 1400a26483 fix(node): Use Node.js v6.14.0 (#332) 2018-03-29 15:11:02 +00:00
Vijay Budhram 9bdb47be6f fix(unblock): update consume unblock code (#330) r=@vladikoff 2018-03-28 12:09:16 -04:00
Vlad Filippov f6ab4985f9
fix(codes): drop all codes when one is consumed (#326) r=@rfk
Fixes https://github.com/mozilla/fxa-bugzilla-mirror/issues/440
2018-03-27 14:46:00 -04:00
Deepti c226b07511 feat(mysql): STRICT_ALL_TABLES and NO_ENGINE_SUBSTITUTION required in sql (#327) r=@vladikoff,@rfk
Fixes #277

Added the query to set the sql_mode
Added unit test to disallow any other sql_mode
2018-03-27 11:28:23 -04:00
Vijay Budhram 9c433ba307
fix(verify): update verifyWithMethod to update a session verification status (#329), r=@philbooth 2018-03-26 17:07:56 +00:00
Ryan Kelly 1361ba4471 Merge branch 'train-107' into train-108 2018-03-22 06:15:30 +11:00
Ryan Kelly 564b4df660 Release v1.107.1 2018-03-21 21:30:54 +11:00
Ryan Kelly 6059acad73
fix(emails): Make all request paths containing an email use hex encoding. (#1); r=philbooth 2018-03-21 21:29:07 +11:00
Vijay Budhram 8b8b2424be Release v1.108.0 2018-03-20 15:37:54 -04:00
Deepti 7effcb3067 fix(test): correct promises error handling (#325) r=@eoger 2018-03-20 12:25:43 -04:00
Vijay Budhram 995d52b6da
feat(totp): initial recovery codes (#319), r=@philbooth 2018-03-20 15:58:46 +00:00
Deepti 818edcf5b8 chore(api): remove bufferization from db layer
https://github.com/mozilla/fxa-auth-db-mysql/pull/323
r=philbooth
2018-03-19 20:27:32 +00:00
Vlad Filippov 7727d88da2
feat(node): update to node v6.13.1 r=@jbuck
Ref https://github.com/mozilla/fxa-auth-server/pull/2353
2018-03-19 14:29:30 -04:00
Edouard Oger 4808a1c479
feat(devices): Devices capabilities (#320) r=@philbooth 2018-03-19 10:28:20 -04:00
Deepti 5092779574 fix(buffers): convert remaining Buffer to Buffer.from r=@vladikoff
Fixes #316
2018-03-12 19:38:41 -04:00
Deepti cc6e08b7d6 fix(email): Use email buffer for DEL ‘/email/:email’ route (#315), r=@vladikoff, @vbudhram 2018-03-10 18:07:03 +00:00
Deepti c2e21dd9e0 fix(db): remove database configuration option, hardcode 'fxa'  (#314) r=@vladikoff
Fixes #290
2018-03-09 12:20:04 -05:00
Ryan Kelly d7cb9edf83 Release v1.107.0 2018-03-08 09:38:08 +11:00
Vijay Budhram f6d603c706 feat(totp): vlad updates for totp (#313) r=@vladikoff 2018-02-28 13:27:26 -05:00
Vijay Budhram ee19e1bc43
feat(totp): Add initial totp session verification logic (#309), r=@philbooth 2018-02-27 21:46:05 +00:00
Vijay Budhram da2e9ef26b
chore(tests): cleanup `sessionToken` endpoints and docs, r=@philbooth, @rfk 2018-02-22 18:16:29 +00:00
Ryan Kelly af53ea4c04 Release v1.106.0 2018-02-21 12:31:51 +11:00
Vlad Filippov 0d874f9ae8
chore(deps): update deps, fix nsp (#308) r=@philbooth 2018-02-17 09:35:09 -05:00
Ryan Kelly fdff3e9007
feat(sessions): Add support for reauth on an existing session. (#305); r=philbooth 2018-02-14 13:51:25 +11:00
Vijay Budhram 9b8efcb3c9
feat(totp): Add totp management api (#299), r=@philbooth 2018-02-12 15:29:55 +00:00
Vijay Budhram 6a4fb6771d
fix(token): Fix mem verifyTokenCode (#303), r=@rfk, @philbooth 2018-02-08 14:41:48 +00:00
Ryan Kelly 71445b16bc Release v1.105.0 2018-02-07 09:48:59 +11:00
Vijay Budhram c7d3638ef0
feat(tests): make tests more independent (#293), r=@philbooth, @rfk 2018-01-24 03:25:41 +00:00
Vijay Budhram 2a5423da98 Release v1.104.0 2018-01-23 14:28:19 -05:00
Phil Booth a2dd2446cf
feat(devices): return session token id from deleteDevice
https://github.com/mozilla/fxa-auth-db-mysql/pull/298
r=vbudhram
2018-01-23 10:23:57 +00:00
Ryan Kelly 5c6622c419
fix(pruning): Avoid accidental full-table scans when pruning session tokens. (#295); r=philbooth 2018-01-22 11:36:38 +11:00
Phil Booth 0790b8910e fix(scripts): add SET NAMES to reverse migration boilerplate (#296), r=@vbudhram 2018-01-19 10:33:34 -05:00
Ryan Kelly b6cb3e583d Release v1.103.0 2018-01-09 14:03:17 +11:00
Vlad Filippov 6348a953cf
feat(logs): add Sentry for errors (#292) r=@vbudhram
Fixes #288
2018-01-04 21:32:28 -05:00
John Morrison 6080c0c9bd fix(node): use node 6.12.3 (#291) r=@vladikoff 2018-01-03 21:00:50 -05:00
Ryan Kelly 35d596342d Release v1.101.0 2017-11-29 12:17:18 +11:00
Vlad Filippov c3d8e6e88e
refactor(dbserver): clean up the db server package (#289) r=@rfk 2017-11-27 20:26:24 -05:00
Vijay Budhram ac0b814eb1 feat(codes): add support for verifying token short code (#287) r=@vladikoff,@rfk
This PR exposes new APIs to create and verify sessionTokens using a short code. Couple notes

- Each code has an expiration date
- Codes are stored as hashes in database
- Support for resending (aka regenerating) a code to come in later PR.
- New endpoint `verifyTokensShortCode` used to explicitly verify shortCodes. 

Connects with https://github.com/mozilla/fxa-auth-server/pull/2218

Feature doc: https://docs.google.com/document/d/1xQtCGBJ9XZuF1q9faZV3YIiOnxomQMHKiTP62YSf3v8/edit
2017-11-27 17:32:34 -05:00
Ryan Kelly b06a8ed112 Release v1.100.0 2017-11-15 13:14:17 +11:00
John Morrison 4b7e696ea6 fix(newrelic): newrelic native requires make, python, gyp, c++; update node 6.12.0 (#286) r=@vladikoff 2017-11-14 11:36:54 -05:00
John Morrison bfc1963198 fix(newrelic): futureproofing comment and up to newrelic@2.3.2 with npm run shrink (#285) r=@vladikoff 2017-11-12 13:14:07 -05:00
John Morrison ca57f3e4da
Merge pull request #283 from mozilla/travis-node-8
fix(travis): run tests with 6 and current stable (failure not allowed anymore)
2017-10-31 16:20:02 -07:00
John Morrison c4e0e9840b fix(travis): run tests with 6 and current stable (failure not allowed anymore) 2017-10-31 15:38:40 -07:00
Jon Buckley 0890bd9423 Release v1.98.0 2017-10-26 12:51:51 -04:00
Jon Buckley 7cc32513b5 chore(docker): Update to node v6.11.5 for security fix 2017-10-26 12:48:45 -04:00
Vijay Budhram 015d529e4d Release v1.97.0 2017-10-03 21:44:45 -04:00
Phil Booth 67bd8fb2d4 feat(db): prune session tokens (again)
https://github.com/mozilla/fxa-auth-db-mysql/pull/282
r=rfk
2017-09-22 07:34:34 +01:00
Phil Booth e05375c84b Release v1.96.1 2017-09-20 20:14:04 +01:00
Phil Booth 2c34f2e3d0 fix(db): call latest version of the prune stored procedure (#281) r=vladikoff 2017-09-20 15:12:37 -04:00