Commit Graph

367 Commits

Author SHA1 Message Date
Roland Shoemaker ca21cce198 some registration + authorization tests 2015-05-03 15:19:06 -07:00
Roland Shoemaker e25c60eaf8 PK typo 2015-05-03 14:08:02 -07:00
Roland Shoemaker 06536fae13 v2 compatible lock column setting 2015-05-03 13:51:11 -07:00
Roland Shoemaker 1597af6d2b fix vet problems 2015-05-03 13:35:15 -07:00
Roland Shoemaker 99f385c56e only add lock cols to tables that need them... 2015-05-03 02:59:45 -07:00
Roland Shoemaker 7a1a7ec32a add opti-lock (for v1) col, fix certificatesStatus typo, better FinalizeAuthorization 2015-05-03 02:29:58 -07:00
Roland Shoemaker 421434f2cb clean up boulderTypeConverter 2015-05-03 01:57:30 -07:00
Roland Shoemaker 0a4affaeba switch rest of functions to gorp, extended TypeConverter 2015-05-02 23:58:19 -07:00
Roland Shoemaker 1cee83c262 add db tags to structs we are embeding, update models, add custom type converter, simplify DumpTables (+ fix it), move GetCert... methods to gorp 2015-05-02 21:28:39 -07:00
Roland Shoemaker 4b27ae253e finish dumpTables and make it public (DumpTables) 2015-05-02 17:08:47 -07:00
Roland Shoemaker 31d0b92f26 actually add the files 2015-05-02 16:01:40 -07:00
Roland Shoemaker 8a6748182e add gorp dep 2015-05-02 16:00:35 -07:00
jsha c4497aca72 Merge pull request #134 from letsencrypt/ocsp-table
More steps towards revocation / OCSP support
2015-05-02 11:22:23 -07:00
Jacob Hoffman-Andrews ac78f333f8 Merge branch 'master' into ocsp-table
Conflicts:
	ca/certificate-authority.go
	ca/certificate-authority_test.go
	cmd/boulder-ca/main.go
	cmd/boulder/main.go
	sa/storage-authority.go
	sa/storage-authority_test.go
2015-05-02 11:10:05 -07:00
James 'J.C.' Jones 84e8f34af6 Merge pull request #144 from kuba/index.php
WFE: index (GET /)
2015-05-02 11:02:33 -07:00
Jakub Warmuz c4aec38066
WFE: index (GET /) 2015-05-02 15:55:46 +00:00
James 'J.C.' Jones bef94d74f3 Merge pull request #141 from letsencrypt/randfail
Check for RNG failures
2015-05-01 22:12:13 -07:00
J.C. Jones 9c272cebe8 Resolve comments from PR #141 2015-05-01 22:06:38 -07:00
Peter Eckersley 1543a71c3e Remove stray code... 2015-05-01 22:04:00 -07:00
Peter Eckersley d609aebc3f Some NewToken tests 2015-05-01 22:03:59 -07:00
Peter Eckersley f00848e115 Hypothetical RNG failure handling 2015-05-01 22:03:59 -07:00
James 'J.C.' Jones 3ce61478ee Merge pull request #138 from letsencrypt/135-auditlogger_singletons
Issue #135: Convert the AuditLogger object to have Singleton pattern semantics
2015-05-01 22:03:27 -07:00
J.C. Jones cead23df00 Updates per jsha's review 2015-05-01 21:50:07 -07:00
J.C. Jones a77152e828 Rework Authority "New" methods to obtain AuditLogger from Singleton
- Also ran `go fmt` against these files I was touching anyway:
    sa/storage-authority.go
    va/validation-authority.go
    wfe/web-front-end.go
2015-05-01 21:50:07 -07:00
J.C. Jones e828c61818 Add singleton semantics to Audit Logger, per Issue #135
- Update tests to use the singleton logger
- Update commands to set the audit logger singleton
- Formatting updates to the tests (go fmt)
2015-05-01 21:48:24 -07:00
Jacob Hoffman-Andrews 7733793bb6 Fix test mode boulder instances.
Update initialization stanza.
Revert to inmemory sqlite storage for now.
Remove NOT NULL constraint from some fields.
2015-05-01 19:28:10 -07:00
Jacob Hoffman-Andrews 8162c5eca8 Add comma to boulder test config. 2015-05-01 19:08:00 -07:00
Jacob Hoffman-Andrews 38ff46b201 Run go fmt on CA. 2015-05-01 16:11:52 -07:00
Jacob Hoffman-Andrews f116dfb176 Fix ca test. 2015-05-01 16:09:48 -07:00
Jacob Hoffman-Andrews 53b991f204 Incorporate JC changes to test-tools.go. 2015-05-01 16:09:35 -07:00
Jacob Hoffman-Andrews 7352757086 Add test 2015-05-01 16:01:50 -07:00
jsha 4282b18736 Merge pull request #139 from letsencrypt/test_speedup
Speed up test runs by pre-compiling sqlite3. Kudos to @jmhodges for the ...
2015-05-01 15:18:47 -07:00
J.C. Jones 15808a9a6f Speed up test runs by pre-compiling sqlite3. Kudos to @jmhodges for the tip! 2015-05-01 15:02:10 -07:00
James 'J.C.' Jones 16ce707966 Merge pull request #133 from kuba/bugs/130
"POST challenge" returns Challenge instead of Authorization (fixes: #130)
2015-05-01 14:59:59 -07:00
Jakub Warmuz e713658931
Revert 35834bf2, fix tests for wfe.Challenge 2015-05-01 08:14:23 +00:00
Jakub Warmuz 35834bf262
test.InitAuthorities, progress tests for wfe.Challenge 2015-05-01 00:33:22 +00:00
Jakub Warmuz 373636952e
Progress fixing tests for wfe.Challenge 2015-04-30 22:37:29 +00:00
Jakub Warmuz 4311f02a90
Add tests for wfe.Challenge 2015-04-30 20:48:02 +00:00
Jacob Hoffman-Andrews 79b548ad37 Add interface for RevokeCertificate. 2015-04-30 12:44:17 -07:00
Jakub Warmuz 738e442f63
Fix build. 2015-04-30 19:25:28 +00:00
Jakub Warmuz 37f430d80f
Location and "up" Link for Challenge 2015-04-30 19:05:02 +00:00
Jakub Warmuz 7d98856ad7
"POST challenge" returns Challenge instead of Authorization (fixes: #130). 2015-04-30 18:45:27 +00:00
Jacob Hoffman-Andrews 73603c95cf Add reason code and fix index. 2015-04-30 11:31:36 -07:00
Jacob Hoffman-Andrews 8e30ff81fb Partly done implementation of revoke. 2015-04-29 18:36:26 -07:00
jsha b4f8471447 Merge pull request #112 from letsencrypt/schema-updates
Add certificate status support
2015-04-29 14:48:33 -07:00
Jacob Hoffman-Andrews 1d2c6a5d7c Split out GetCertificate / GetCertificateByShortSerial.
Also stub out some initial revocation code.
2015-04-29 11:48:08 -07:00
Jacob Hoffman-Andrews 3aa3355b27 TEXT -> VARCHAR(255) 2015-04-29 10:20:56 -07:00
Jacob Hoffman-Andrews f66651bc86 Add revokedDate to certificate status table. 2015-04-28 18:51:15 -07:00
Jacob Hoffman-Andrews dd58bdcaa1 Merge branch 'master' into schema-updates
Conflicts:
	sa/storage-authority.go
2015-04-27 17:21:31 -07:00
jsha 6fe1a8be3b Merge pull request #113 from letsencrypt/improve-testjs
Improve test.js and misc changes to improve live deployment.
2015-04-27 17:07:57 -07:00