Commit Graph
1946 Commits
Author SHA1 Message Date
Jacob Hoffman-Andrews 969c2c052d Re-remove server_url. 2015-05-21 23:44:13 -07:00
Jacob Hoffman-Andrews d2425e5283 Merge branch 'master' into kuba-test-mode 2015-05-21 23:43:30 -07:00
Jacob Hoffman-Andrews ef8daba47f Merge pull request #400 from kuba/test-mode
Test mode and --server with scheme
2015-05-21 23:41:00 -07:00
Jakub Warmuz 7495145563 Merge remote-tracking branch 'github/letsencrypt/master' into test-mode
Conflicts:
	letsencrypt/network2.py
2015-05-22 06:26:16 +00:00
Jakub Warmuz 8dac7daf87 config.server_url -> config.server 2015-05-22 06:21:53 +00:00
Jacob Hoffman-Andrews e1e6135313 Use a different port for test mode. 2015-05-21 19:08:05 -07:00
Jacob Hoffman-Andrews 233d1fb7f6 Merge branch 'master' into kuba-test-mode 2015-05-21 19:01:03 -07:00
Jacob Hoffman-Andrews 424acfe16e Fixes to running on command line.
Use cert_dir instead of cert_path
Restore server_url
When creating a unique file, only loop for EEXISTS, not other OS errors like
  permission denied.
Pass uid explicitly to make_or_verify_dir.
2015-05-21 18:58:40 -07:00
Jacob Hoffman-Andrews 1ca6016bb0 Merge branch 'test-mode' of https://github.com/kuba/lets-encrypt-preview into kuba-test-mode
Conflicts:
	letsencrypt/network2.py
2015-05-21 12:28:39 -07:00
schoen ead60d8f4b Merge pull request #437 from Hainish/kuba-docker
Kuba docker
2015-05-19 18:00:32 -07:00
William Budington 2fe8a75200 Use a discrete path for venv in docker, rather than /opt/letsencrypt.
This is useful for the docker development container, which we will want
venv to persist for across runs.
2015-05-19 17:39:53 -07:00
Seth Schoen 58156a29d3 Fix typos 2015-05-19 17:06:06 -07:00
schoen 1681fbea3a Merge pull request #435 from kuba/boulder-compat
Spec and Boulder compatibility fixes
2015-05-19 17:04:07 -07:00
William Budington e4e4c69f36 sharng docker-compose.yml to add two separate container specifications:
one for development (that mounts the host git root to
/opt/letsencrypt/src) and one for production (that doesn't).
2015-05-19 16:53:31 -07:00
William Budington 6a7e3438a9 Adding self as maintainer 2015-05-19 16:43:51 -07:00
William Budington 1b1763b011 Removing cruft from Dockerfile which copies entire project working directory 2015-05-19 16:41:32 -07:00
William Budington ea667744f5 Being more verbose in explanation of EXPOSE instruction 2015-05-19 16:39:54 -07:00
James Kasten 36bb03df63 Merge pull request #427 from diracdeltas/fix/nginxparser-issues
fix some nginxparser issues
2015-05-19 15:12:55 -07:00
Jakub Warmuz e7cf4792b3 Fix typos 2015-05-19 22:01:01 +00:00
Jakub Warmuz 5a22ff17d0 Dockerfile: debian.sh -> ubuntu.sh 2015-05-19 21:49:57 +00:00
Jakub Warmuz 3c0ce923b2 Dockerfile: use ubuntu:trusty (based on review feedback). 2015-05-19 20:51:11 +00:00
Jakub Warmuz ac0868b6de acme.messages2.Error title is omitempty 2015-05-19 20:13:55 +00:00
Jakub Warmuz cd6b9bc9c7 Fix coverage for acme.messages2.Error 2015-05-19 20:09:11 +00:00
Jakub Warmuz 0018bc0500 Error: typ/title no omitempty 2015-05-19 19:50:00 +00:00
Jakub Warmuz 41115bfc77 Spec and Boulder compatibility fixes.
Relevant acme-spec:
- https://github.com/letsencrypt/acme-spec/issues/127
- https://github.com/letsencrypt/acme-spec/pull/119
- https://github.com/letsencrypt/acme-spec/issues/98
- https://github.com/letsencrypt/acme-spec/issues/92

Relevant boulder:
- https://github.com/letsencrypt/boulder/pull/170
- https://github.com/letsencrypt/boulder/issues/128
2015-05-19 19:42:53 +00:00
Jakub Warmuz 2cadfdaae1 response might carry binary data, use repr() in network2 logging 2015-05-19 19:21:04 +00:00
Jakub Warmuz c0acf8239d network2: Log GET/POST uri 2015-05-19 19:19:29 +00:00
yan 24f9da5275 Add support and tests for some Nginx config edge cases
1. Match "if" statements
2. Allow special characters in nginx directives when enclosed in single or
   double quotes.
2015-05-18 17:58:28 -04:00
James Kasten 1ada2cab15 Merge pull request #417 from kuba/plugins
Plugins fixes (unhashable PluginEntryPoint, typo in examples)
2015-05-18 11:22:04 -07:00
James Kasten 064ec73903 Merge pull request #425 from kuba/tests
Do not depend on letsencrypt_apache in core
2015-05-18 11:15:45 -07:00
James Kasten 8b8ce85c59 Merge pull request #426 from jmdcal/patch-1
typeo
2015-05-18 10:42:42 -07:00
James Kasten 7c1248dba1 Merge pull request #399 from kuba/get_sans
get_sans_from_csr using pyOpenSSL
2015-05-18 10:28:55 -07:00
James Kasten 7416f3fbbc Merge pull request #419 from letsencrypt/fix_standalone_signal_race
Attempt to fix #378
2015-05-18 10:18:12 -07:00
James Kasten 77d4b5a28a Merge pull request #382 from kuba/test-dirs-chmods
Fix test dirs chmods errors.
2015-05-18 10:17:11 -07:00
confidential b0d98edcfe typeo
fixing spelling
2015-05-18 09:58:14 -05:00
Jakub Warmuz 3fd4f2a94a Do not depend on letsencrypt_apache in core tests 2015-05-17 07:52:25 +00:00
Seth Schoen 6f4212dcf1 Fix trivial documentation typo 2015-05-16 23:52:33 -07:00
Jakub Warmuz 74d6d4e0b3 Fix typo in examples 2015-05-15 19:53:41 +00:00
Jakub Warmuz a941cf61b7 Merge remote-tracking branch 'github/letsencrypt/master' into test-dirs-chmods
Conflicts:
	letsencrypt_nginx/dvsni.py
2015-05-15 19:44:07 +00:00
Jakub Warmuz 834691278e Fix repr for PluginsRegistry (unhashable PluginEntryPoint).
(venv)root@le:~/lets-encrypt-preview# letsencrypt -vv auth
DEBUG:root:Logging level set at 10
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 471, in format
record.message = record.getMessage()
File "/usr/lib/python2.7/logging/__init__.py", line 335, in getMessage
msg = msg % self.args
File "/root/lets-encrypt-preview/letsencrypt/plugins/disco.py", line 219, in __repr__
self.__class__.__name__, set(self._plugins.itervalues()))
TypeError: unhashable type: 'PluginEntryPoint'
Logged from file cli.py, line 356
Traceback (most recent call last):
File "/root/lets-encrypt-preview/venv/bin/letsencrypt", line 9, in <module>
load_entry_point('letsencrypt==0.1', 'console_scripts', 'letsencrypt')()
File "/root/lets-encrypt-preview/letsencrypt/cli.py", line 356, in main
logging.debug("Discovered plugins: %r", plugins)
File "/usr/lib/python2.7/logging/__init__.py", line 1630, in debug
root.debug(msg, *args, **kwargs)
File "/usr/lib/python2.7/logging/__init__.py", line 1148, in debug
self._log(DEBUG, msg, args, **kwargs)
File "/usr/lib/python2.7/logging/__init__.py", line 1279, in _log
self.handle(record)
File "/usr/lib/python2.7/logging/__init__.py", line 1289, in handle
self.callHandlers(record)
File "/usr/lib/python2.7/logging/__init__.py", line 1329, in callHandlers
hdlr.handle(record)
File "/usr/lib/python2.7/logging/__init__.py", line 757, in handle
self.emit(record)
File "/root/lets-encrypt-preview/letsencrypt/log.py", line 40, in emit
for line in record.getMessage().splitlines():
File "/usr/lib/python2.7/logging/__init__.py", line 335, in getMessage
msg = msg % self.args
File "/root/lets-encrypt-preview/letsencrypt/plugins/disco.py", line 219, in __repr__
self.__class__.__name__, set(self._plugins.itervalues()))
TypeError: unhashable type: 'PluginEntryPoint'
2015-05-15 15:00:53 +00:00
James Kasten e166c4159e Merge pull request #416 from kuba/tests
Small tests improvements
2015-05-14 22:26:10 -07:00
Seth Schoen ca4bece393 Attempt to fix #378 2015-05-14 15:36:51 -07:00
Jakub Warmuz 0bc5791a55 More tests for cli.py 2015-05-14 21:44:36 +00:00
Jakub Warmuz 82bd808ab3 100% coverage for network2_test 2015-05-14 21:16:38 +00:00
Jakub Warmuz 484fd8fe9e Fix randomly created mock_dir 2015-05-14 21:13:12 +00:00
Jakub Warmuz a2767d30a1 Remove dead code 2015-05-14 21:12:58 +00:00
James Kasten c57443812b Merge pull request #409 from kuba/pkgs_sep_prep
Fix references to letsencrypt.client
2015-05-13 11:59:50 -07:00
Jakub Warmuz e06c0cbbf7 Revert "Bump coverage"
This reverts commit da53813770.
2015-05-12 22:09:45 +00:00
Jakub Warmuz 787c64c546 Fix references to letsencrypt.client 2015-05-12 22:08:00 +00:00
Jakub Warmuz 514d319662 Use debian:jessie as docker base image
le                  latest              e1f2e8ce3a0e        14 minutes ago      780.2 MB
vs
  le                  latest              d3276dd3976c        About a minute ago   393.6 MB

where:
  buildpack-deps      jessie              ecff3a5a9760        12 days ago          677.4 MB
  debian              jessie              41b730702607        13 days ago          125.1 MB
2015-05-12 22:01:20 +00:00