Commit Graph

1392 Commits

Author SHA1 Message Date
Roland Shoemaker 00a83e49a1 Add another test 2015-08-18 14:29:18 -07:00
Roland Shoemaker 7151c3cefb Review fixes pt. 2 2015-08-18 14:25:51 -07:00
Roland Shoemaker eb710716a0 Quick subdomain fix 2015-08-18 14:14:26 -07:00
Roland Shoemaker 5e50104d65 Update boulder-config.json 2015-08-15 16:58:33 -07:00
Roland Shoemaker 4fb747ead1 Merge master 2015-08-15 16:50:57 -07:00
Jacob Hoffman-Andrews 3afc1bb71a Merge pull request #624 from letsencrypt/mysql_unit
use MariaDB in the unit tests
2015-08-15 01:01:39 -07:00
Jeff Hodges 7e12d6a33b add comments explaining db-related tech debt 2015-08-14 19:17:53 -07:00
Jacob Hoffman-Andrews 5076799f4c Merge pull request #616 from letsencrypt/a_test_cmd
add all of cmd/ to test.sh and Makefile
2015-08-14 17:32:57 -07:00
Roland Shoemaker b9913a2b41 Review fixes 2015-08-14 17:14:02 -07:00
Jeff Hodges 5e97aa23c6 use MariaDB in the unit tests
And delete the uses of sqlite3
2015-08-14 17:13:15 -07:00
Roland Shoemaker 60478f13b0 Merge master 2015-08-14 16:46:09 -07:00
Roland Shoemaker ffe3d19da2 Initial review fixes 2015-08-14 16:44:44 -07:00
Jacob Hoffman-Andrews 3363646893 Merge pull request #619 from letsencrypt/handle_serial
handle empty serial number table a bit better
2015-08-14 12:58:05 -07:00
Jeff Hodges 71c2e55f77 add all of cmd/ to test.sh and Makefile
Plus, add to test.sh all future possible packages by using `go list` and
all future possible cmd's to the Makefile with `find`.

Also, fix a bug in external-cert-importer from a bad merge somewhere.
2015-08-14 12:21:44 -07:00
Roland Shoemaker d57759efa0 Merge pull request #622 from letsencrypt/fix-policy
Add stomped/forgotten PolicyDB config struct
2015-08-14 12:11:25 -07:00
Roland Shoemaker 17fa14264e Switch to separate PA struct 2015-08-14 11:12:59 -07:00
Roland Shoemaker 56aa55208e Add stomped/forgotten PolicyDB config struct
Standardize DB config names

Actually standardize

Yeah really this time
2015-08-14 11:04:17 -07:00
Roland Shoemaker 6cae3f27ce Merge pull request #620 from letsencrypt/always_set_parse_time
always set parseTime to true
2015-08-14 10:52:45 -07:00
Roland Shoemaker c3db8092eb Merge pull request #618 from letsencrypt/forgot_fuzz_test
add missed github.com/miekg/dns/fuzz_test.go
2015-08-13 23:01:18 -07:00
Jeff Hodges ae5fa728ea always set parseTime to true
There's no reason to not just enforce it in the code completely and not
worry about it elsewhere. If we need to extract code out of NewDbMap,
we'd need recombineURLForDB in it, anyhow.
2015-08-13 22:45:33 -07:00
Jeff Hodges 1b3da14df5 handle empty serial number table a bit better
Before, this code would panic and cause various bits of code to
spin-loop. This way, we can at least figure out what's going on.
2015-08-13 22:41:44 -07:00
Jeff Hodges 75615aa60c add missed github.com/miekg/dns/fuzz_test.go
I missed this when updating github.com/miekg/dns in #615.
2015-08-13 22:39:32 -07:00
Jeff Hodges e00fd9cf8b Merge pull request #614 from letsencrypt/cleanup_db
remove some no longer used db struct tags
2015-08-13 18:04:36 -07:00
Jeff Hodges 33867f007a Merge pull request #615 from letsencrypt/refresh_dns
update github.com/miekg/dns
2015-08-13 18:03:57 -07:00
Jeff Hodges b701cb60ce Merge pull request #605 from letsencrypt/rm-jsonbuffer
Remove JSONBuffer from TypeConverter.
2015-08-13 17:44:59 -07:00
Jeff Hodges f7ebed875c update github.com/miekg/dns
This is needed for the race condition that errors in our test suite on
Go 1.5rc1 that was fixed in https://github.com/miekg/dns/pull/245
2015-08-13 14:50:58 -07:00
Jeff Hodges 24dca1a758 remove some no longer used db struct tags 2015-08-13 14:29:53 -07:00
Jeff Hodges db739ca94f Merge pull request #612 from letsencrypt/cover_race2
use the default, not racy covermode in TravisCI
2015-08-13 14:21:17 -07:00
Jeff Hodges 2c397ff681 Merge pull request #613 from letsencrypt/revert-505-store-ips
Revert #505 while checking merge breakage
2015-08-13 13:22:08 -07:00
Roland Shoemaker bcb0ecb3ba Revert "Resolve and store IP addresses for SimpleHTTP and DVSNI validation (also store redirect chains)" 2015-08-13 13:00:37 -07:00
Jeff Hodges 25ba6e0400 use the default, not racy covermode in TravisCI
The count covermode is racy and was causing spurious-to-us looking (but not
really) race detections in the tests. See
https://github.com/golang/go/issues/12118
2015-08-13 12:34:30 -07:00
Roland Shoemaker 71e62bce13 Merge pull request #505 from letsencrypt/store-ips
Resolve and store IP addresses for SimpleHTTP and DVSNI validation (also store redirect chains)
2015-08-13 11:13:59 -07:00
Jacob Hoffman-Andrews 17dd15a5d3 Merge pull request #608 from letsencrypt/txt-fix
Fix LookupTXT
2015-08-13 08:56:50 -07:00
Roland Shoemaker c448c01d70 Add concat test 2015-08-12 18:47:09 -07:00
Roland Shoemaker eefa8005c4 Fix LookupTXT 2015-08-12 17:21:08 -07:00
Roland Shoemaker bda301b6bb Set NOT NULL 2015-08-12 15:24:25 -07:00
Roland Shoemaker af14fef972 Add PA schema file 2015-08-12 15:13:10 -07:00
Roland Shoemaker 7eae93873d Merge pull request #607 from jcjones/schema_update
Bring the SQL schema up-to-date with current Boulder changes.
2015-08-12 14:21:40 -07:00
J.C. Jones 822796a4bc Make some things `NOT NULL` again. 2015-08-12 13:46:45 -07:00
J.C. Jones 899c89fe63 Bring the SQL schema up-to-date with current Boulder changes. 2015-08-12 12:03:23 -07:00
Roland Shoemaker 2840a99440 Merge pull request #606 from letsencrypt/update-ocsp
Update OCSP
2015-08-12 10:45:17 -07:00
Richard Barnes 4aef1ad2fb godep update golang.org/x/crypto/ocsp 2015-08-12 08:52:55 -07:00
Jacob Hoffman-Andrews 8c89e6db8c Remove JSONBuffer from TypeConverter. 2015-08-11 22:55:37 -07:00
Jacob Hoffman-Andrews 64987a3639 Merge pull request #599 from letsencrypt/mysql
use MariaDB in integration tests and start.py
2015-08-11 20:31:46 -07:00
Jeff Hodges 86390e312b require mysql+tcp:// as the scheme for db conns 2015-08-11 20:17:35 -07:00
Roland Shoemaker 8c919e649e Merge pull request #602 from letsencrypt/no-log-dbconnect
Remove logging of dbConnect string.
2015-08-11 15:10:01 -07:00
Roland Shoemaker 810c9dc7f4 Review fixes 2015-08-11 14:27:11 -07:00
Jacob Hoffman-Andrews 4d8367bc0e Remove logging of dbConnect string.
This can accidentally put passwords in logs.
2015-08-11 12:32:10 -07:00
Roland Shoemaker bc1a649325 Actually use whitelist enforcement config val 2015-08-11 12:32:02 -07:00
Roland Shoemaker e629c61d5d Check port is in valid range 2015-08-11 12:30:37 -07:00