Vijay Budhram
a805ec601c
Release v1.130.0
2019-02-05 13:38:06 -05:00
Phil Booth
2e888ba5dd
Merge pull request #473 from mozilla/pb/node-10
...
https://github.com/mozilla/fxa-auth-db-mysql/pull/473
r=shane-tomlinson
2019-02-01 19:17:01 +00:00
Phil Booth
5467e2fcb5
chore(ci): run tests on node 10
2019-02-01 18:32:21 +00:00
Phil Booth
932f2dd755
refactor(crypto): fall back to node's scrypt implementation
2019-02-01 18:32:21 +00:00
Vijay Budhram
415a998d26
Merge pull request #472 from mozilla/train-129
...
Release v1.129.0
2019-01-24 08:59:24 -05:00
Vijay Budhram
509e015d34
Release v1.129.0
2019-01-23 22:32:39 -05:00
John Morrison
25fbd76e94
Merge pull request #471 from mozilla/test-script-to-create-account-rows
...
fix(test): add a test script to add account rows
2019-01-13 23:30:32 -08:00
John Morrison
3aa09cd057
fix(test): add a test script to add account rows
2019-01-13 23:19:58 -08:00
Vijay Budhram
3edcda9b0e
Merge pull request #469 from mozilla/train-128
...
Release v1.128.0
2019-01-09 21:32:47 -05:00
Vijay Budhram
c34f63585e
Release v1.128.1
2019-01-09 10:31:59 -05:00
Vijay Budhram
93be27d3e8
Merge pull request #470 from mozilla/update-shrink
...
chore(deps): reshrink to get ramda deps
2019-01-09 10:31:36 -05:00
Vijay Budhram
260063bd5f
chore(deps): reshrink to get ramda deps
2019-01-09 10:13:47 -05:00
Vijay Budhram
f4e5e3555b
Release v1.128.0
2019-01-08 18:34:06 -05:00
Vijay Budhram
6440de56b0
Merge pull request #468 from mozilla/fix-set-primary-email, r=@vladikoff
...
fix(query): update set primary email query to not check if email is verified
2018-12-21 14:13:53 -05:00
Vijay Budhram
b9bc3c7b49
fix(query): update set primary email query to not check if email is verified
2018-12-21 14:10:15 -05:00
Vlad Filippov
310d4b4f53
Merge pull request #450 from mozilla/tls-shrhink
...
feat(npm): update shrink script
2018-12-19 09:48:53 -05:00
vladikoff
96b3ce59a4
feat(npm): update shrink script
...
Connects to https://github.com/mozilla/fxa/issues/325
2018-12-18 16:44:08 -05:00
Vijay Budhram
066b6cd21f
Merge pull request #445 from mozilla/issue-411, r=@rfk
...
fix(query): remove `ROW_COUNT()` from remaining procedures
2018-12-12 11:47:26 -05:00
Vijay Budhram
4e8b058384
fix(query): remove `ROW_COUNT()` from remaining procedures
2018-12-12 11:44:37 -05:00
Vijay Budhram
170cc9580e
Merge pull request #446 from mozilla/train-127, r=@vladikoff
...
Release v1.127.0
2018-12-11 13:06:38 -05:00
Vijay Budhram
8b4776fcee
Release v1.127.0
2018-12-11 12:29:30 -05:00
Phil Booth
d48dc9a16e
Merge pull request #443 from mozilla/pb/lints
...
https://github.com/mozilla/fxa-auth-db-mysql/pull/443
r=vbudhram
2018-11-28 20:07:46 +00:00
Phil Booth
3aeca8e0fb
feat(scripts): lint-ignore tables that already have foreign keys
2018-11-28 11:19:07 +00:00
Phil Booth
edf0bb4d2a
chore(scripts): ignore newly failing stored procedures
2018-11-28 11:19:07 +00:00
Phil Booth
6065fe8ee3
refactor(scripts): harmonise row count stuff with rest of lint script
2018-11-28 11:19:07 +00:00
Phil Booth
daf267713c
feat(scripts): check for missing expected encodings on procedure args
2018-11-28 11:19:07 +00:00
Phil Booth
82170ebf45
feat(scripts): check for FOREIGN KEY in migration lint script
2018-11-28 10:49:05 +00:00
Vijay Budhram
f29914c09b
Merge pull request #442 from mozilla/train-126
...
Release v1.126.0
2018-11-27 14:58:00 -05:00
Vijay Budhram
54eb5ba191
Release v1.126.0
2018-11-27 14:34:30 -05:00
Vijay Budhram
5d3d89f280
Merge pull request #441 from mozilla/issue-438, r=@philbooth
2018-11-27 14:00:29 -05:00
Vijay Budhram
a45c8a0f95
fix(account): update accountRecord to specify charset for inEmail
2018-11-27 12:56:15 -05:00
Vijay Budhram
d2cfe49cde
fix(account): don't use `LOWER(uid)` in account query
2018-11-27 12:22:21 -05:00
Vlad Filippov
3620c15aee
Merge pull request #439 from mozilla/fake-email-addresses-should-not-be-buffers
...
fix(tests): Don't put binary data into fake email addresses.
2018-11-22 10:01:10 -05:00
Ryan Kelly
5c83dec91d
fix(tests): Don't put binary data into fake email addresses.
...
This avoids some sporadic test failures which would trigger
if the binary data happened to make a string that MySQL refused
to store.
2018-11-22 14:46:39 +11:00
Vlad Filippov
a80d3ad925
Merge pull request #437 from mozilla/train-125
...
Release v1.125.0
2018-11-14 10:33:54 -08:00
Vijay Budhram
7fbcbc7d20
Release v1.125.0
2018-11-14 07:15:41 -05:00
Phil Booth
007bdc716f
Merge pull request #419 from mozilla/pb/411
...
https://github.com/mozilla/fxa-auth-db-mysql/pull/419
r=vladikoff
2018-11-07 21:55:57 +00:00
Phil Booth
5ddf8631a3
chore(scripts): lint-ignore consumeRecoveryCode_2 and setPrimaryEmail_3
...
These two scripts use ROW_COUNT() but I couldn't see an obvious way to
work round them. In the case of consumeRecoveryCode_2, ROW_COUNT() is
used as an interim signal for aborting the remainder of the procedure.
In the case of setPrimaryEmail_3, the UPDATE is in a transaction which
causes affectedRows to be zero upon returning.
2018-11-07 21:51:54 +00:00
Phil Booth
0eb01425ef
feat(scripts): add ROW_COUNT() checks to the procedure-linting script
...
In https://bugzilla.mozilla.org/show_bug.cgi?id=1499819 , it was found
that `ROW_COUNT()` causes db replication to lag. As such, it makes sense
to grep for `ROW_COUNT()` in our stored procedure lint script.
The script was called `explain-warn.js` before, but in light of the new
functionality it's renamed here to the more generic `procedure-lint.js`.
2018-11-07 21:51:54 +00:00
Phil Booth
00ea877b4d
Merge pull request #431 from mozilla/pb/393
...
https://github.com/mozilla/fxa-auth-db-mysql/pull/431
r=shane-tomlinson
2018-11-02 14:44:54 +00:00
Phil Booth
a8b1ecb42e
Merge train-124 into master
...
https://github.com/mozilla/fxa-auth-db-mysql/pull/430
r=shane-tomlinson
2018-11-02 13:25:44 +00:00
Phil Booth
f01b520a4b
chore(db): use mariadb-friendly drop index syntax
...
Sometimes we get self-hosters or contributors showing up who want to use
MariaDB. Even though the official line is that we don't support it, it
happens often enough that we may as well just fix the places where we're
incompatible. Afaik, that is just the `DROP INDEX` syntax in a couple of
places.
Note there are also occurrences in the reverse migrations, which I
haven't bothered to fix. Seeing as they're not invoked in normal running
and need to be manually uncommented before running anyway, it seems
reasonable for them to be manually edited if anyone needs to do so.
2018-11-02 13:20:28 +00:00
Phil Booth
e8498a84ef
Release v1.124.1
2018-11-02 12:31:53 +00:00
Phil Booth
7ff80b244e
Merge pull request #429 from mozilla/pb/deps
...
https://github.com/mozilla/fxa-auth-db-mysql/pull/429
r=shane-tomlinson
2018-11-02 12:31:57 +00:00
Phil Booth
d44e10f397
fix(package): update deps
2018-11-02 07:18:49 +00:00
Phil Booth
b033726a4b
Merge pull request #425 from mozilla/pb/fix-explain-script
...
https://github.com/mozilla/fxa-auth-db-mysql/pull/425
r=shane-tomlinson
2018-11-01 13:20:23 +00:00
Phil Booth
ff0ac5c4a3
fix(scripts): stop the explain script tripping over git grep colours
...
The explain script was using `cut` to split paths from git grep before
the colon character. This fails on system where control characters such
as colours are emitted before the colon.
A more robust approach is to use a regex to pull out the specific text
we're looking for. The script is already hard-coded with other paths
like `lib/db/mysql.js`, so matching against the expected migration path
doesn't seem like too much of a stretch to me.
2018-10-30 16:52:29 +00:00
Phil Booth
b0dd33d61c
Merge train-124 into master
...
https://github.com/mozilla/fxa-auth-db-mysql/pull/426
r=shane-tomlinson
2018-10-30 15:52:05 +00:00
Phil Booth
2dd33a1494
Release v1.124.0
2018-10-30 14:16:29 +00:00
Shane Tomlinson
129f366bc0
Merge pull request #424 from mozilla/train-123 r=@shane-tomlinson
...
Uplift train-123 point-releases to master.
2018-10-30 11:46:02 +00:00