Commit Graph

1083 Commits

Author SHA1 Message Date
Jacob Hoffman-Andrews 3a7635eb82 Merge pull request #513 from letsencrypt/fix-test-gofmt
Fix gofmt test
2015-07-23 17:10:18 -07:00
Jacob Hoffman-Andrews a7a92c67ca Merge pull request #510 from letsencrypt/log-csr
Record initial application CSR.
2015-07-23 17:09:39 -07:00
Jacob Hoffman-Andrews d8ffa41d67 Remove backup logging in case of error.
AuditObject already does this for us.
2015-07-23 13:24:57 -07:00
Roland Shoemaker 9d02c1afad Merge pull request #518 from jcjones/rpm_build
Support RPM builds for those who want them.
2015-07-23 13:00:54 -07:00
J.C. Jones 79415f3fd1 Support RPM builds for those who want them. 2015-07-23 11:41:52 -07:00
Jacob Hoffman-Andrews 752080871d Instead of panic on error, log an error. 2015-07-23 09:34:04 -07:00
Jacob Hoffman-Andrews 9a4cd50a93 Use []byte to implicitly marshal to base64. 2015-07-22 17:50:43 -07:00
Jacob Hoffman-Andrews 5071d75b39 Restore pointer receivers for MockSyslogWriter. 2015-07-22 17:02:13 -07:00
Jacob Hoffman-Andrews 941df62ad4 Switch to AuditObject for CSR logging.
This allows us to log the remote address and registration object along with the
CSR.

Also, restore part of a comment on CertificateRequest that was deleted.
2015-07-22 16:32:11 -07:00
Jacob Hoffman-Andrews 6952aebeb3 Record initial application CSR.
Fixes https://github.com/letsencrypt/boulder/issues/493.
Also, modify MockSyslogWriter so that it implements the SyslogWriter interface
(no pointer receivers).
2015-07-22 15:34:59 -07:00
Jacob Hoffman-Andrews ce4ca429a6 Merge pull request #502 from letsencrypt/directory
Basic ACME directory endpoint
2015-07-22 15:32:15 -07:00
Jacob Hoffman-Andrews 61394e4f2d Merge pull request #506 from letsencrypt/native-mx-lookup
Replace net.LookupMX use with core.LookupMX
2015-07-22 15:17:38 -07:00
Roland Shoemaker 2d0ca54c00 Fix error messages 2015-07-22 15:14:47 -07:00
Jacob Hoffman-Andrews 7fce01b7ce Merge pull request #491 from letsencrypt/cache-headers
WFE cache headers
2015-07-22 15:09:02 -07:00
Jacob Hoffman-Andrews 12a3e6c4dd Merge pull request #481 from tomclegg/414-va-log-redirects
Log redirects encountered during HTTP validation. Fixes #414
2015-07-22 15:08:54 -07:00
Roland Shoemaker 057d200e95 Merge pull request #514 from jcjones/remove_ocsp_updater_limit
Remove the artificial OCSP Updater limit check
2015-07-22 14:51:48 -07:00
J.C. Jones 4a84484912 Remove the artificial OCSP Updater limit check
Use whatever comes from the administrator. Adminstrator knows what she is doing.
2015-07-22 14:33:05 -07:00
Jacob Hoffman-Andrews 6a25f554b6 Fix gofmt test.
Previously, the gofmt test was not properly causing Travis to fail, because it
would call run_and_comment on a printf command, which always succeeded. Instead,
we create a function for the gofmt check that outputs on stdout and returns a
meaningful status code, then call run_and_comment on that.

Also fix up a few places that expected TRAVIS_PULL_REQUEST=false, which doesn't
happen when running locally.
2015-07-22 14:24:36 -07:00
Roland Shoemaker 31f0674f03 Replace net.LookupMX with core.LookupMX using defined resolver 2015-07-21 22:36:29 -07:00
Roland Shoemaker 9f18d6fd71 Remove redudant comments 2015-07-21 19:46:20 -07:00
Tom Clegg a6a1e27ac7 Remove useless test function. 2015-07-21 21:40:20 -04:00
Tom Clegg 2583ce55a5 Verify logs were generated. 2015-07-21 21:37:34 -04:00
Tom Clegg e09f9eebf1 Merge remote-tracking branch 'upstream/master' into 414-va-log-redirects
Conflicts:
	va/validation-authority_test.go
2015-07-21 21:32:50 -04:00
Roland Shoemaker b093613191 Add cache helper methods and always send static cache max-age 2015-07-21 18:21:48 -07:00
Roland Shoemaker 0e83538b56 Merge master 2015-07-21 17:48:19 -07:00
Jacob Hoffman-Andrews 99c339f850 Merge pull request #498 from tomclegg/490-mock-logs
Add mock for syslog.
2015-07-21 17:40:06 -07:00
Roland Shoemaker 1a3e41ee57 Review fixes 2015-07-21 17:39:16 -07:00
Roland Shoemaker 2d758a7ab6 Basic ACME directory endpoint 2015-07-21 16:55:57 -07:00
Tom Clegg 2d0be62966 Use mock syslog in test suites (except core and log). Drop SwitchLog(). 2015-07-21 17:06:39 -04:00
Tom Clegg bf0142897e Change array to more readable map. 2015-07-21 13:02:16 -04:00
bifurcation 31f8a3083c Merge pull request #413 from letsencrypt/dnssec-cleanup
Remove local DNSSEC checking
2015-07-21 18:58:12 +02:00
Richard Barnes 7dcb2a6067 Fixing build issue induced by merge 2015-07-21 18:40:39 +02:00
Tom Clegg 1bccb99adf Fix unsafe reuse of log buffer during Clear(). Document safe use of GetAll*(). 2015-07-21 12:08:35 -04:00
Richard Barnes 55d5488b49 Merge branch 'master' into dnssec-cleanup 2015-07-21 17:14:41 +02:00
Richard Barnes d8a12d8073 Addressing @bifurcation comments 2015-07-21 16:42:23 +02:00
Jacob Hoffman-Andrews 8e94f9feb1 Merge pull request #467 from tomclegg/master
Dry up "method not allowed" error handling.
2015-07-20 13:31:49 -07:00
Jacob Hoffman-Andrews d41737ecaf Merge pull request #496 from letsencrypt/int-dns-srv
Add tiny DNS server for client integration tests
2015-07-20 12:44:27 -07:00
Roland Shoemaker 6e03f78ad0 Extend wfe.Certificate tests 2015-07-20 12:27:26 -07:00
Roland Shoemaker b569e6aa3d Review fixes 2015-07-20 11:27:40 -07:00
Tom Clegg 249664383d Simplify init(). Add UseMockLog(), to mock syslog for an entire test process. 2015-07-19 14:21:48 -04:00
Tom Clegg 0e72f95660 Add mock for syslog. 2015-07-19 05:44:56 -04:00
Tom Clegg 7b3378fcc1 Change "redirecting" log level from Notice to Info. 2015-07-18 22:17:45 -04:00
Roland Shoemaker 3fecf06cba Typo 2015-07-17 22:32:08 -07:00
Roland Shoemaker 8ad357cffd Copyright header and cleanup 2015-07-17 22:29:39 -07:00
Roland Shoemaker 77ee133c0e Add tiny DNS server for client integration tests! 2015-07-17 21:53:30 -07:00
Roland Shoemaker 87827be6f1 Merge branch 'master' into cache-headers 2015-07-17 17:44:55 -07:00
Roland Shoemaker 6a2344e1bf Add config vars and wire them into cmd/boulder and cmd/boulder-wfe 2015-07-17 17:44:03 -07:00
Roland Shoemaker f08261edb5 Add cache-control headers to terms, issuer, and certificate endpoints 2015-07-17 17:14:39 -07:00
Jacob Hoffman-Andrews 8549ecae81 Merge pull request #439 from letsencrypt/426-amqp_acl_restrictive
426 - Support minimum permissions in AMQP
2015-07-17 15:59:25 -07:00
Roland Shoemaker 65bc941868 Merge pull request #483 from letsencrypt/port
add debug server config for the monolithic boulder
2015-07-17 13:28:55 -07:00