Commit Graph
2040 Commits
Author SHA1 Message Date
Jakub Warmuz 3c645a9916 messages2.Error.__str__ (more readable exceptions)
This partially fixes #349.
2015-05-05 19:09:57 +00:00
Jakub Warmuz b6b86e44ce Fix typo 2015-05-05 10:47:36 +00:00
Jakub Warmuz d0b63a3500 nit: EOF newline 2015-05-05 08:40:05 +00:00
Jakub Warmuz 64a00d37bb Update docker setup.
Changes:
- uses debian:jessie as base image (more lightweight)
- .dockerignore .git/.tox to speed up build process considerably
- more caching-aware Dockerfile
- copy current directory instead of git cloning the repo inside the container
- /etc/letsencrypt and /var/lib/letsencrypt volumes;
  no need for "if os.environ.get" hack

bootstrap script for debian had to be adjusted, as lsb_release is not
present in debian:jessie image.
2015-05-05 08:26:23 +00:00
Seth Schoen b0dfea33c6 Remove a debug print statement 2015-05-04 16:33:17 -07:00
Seth Schoen 45541a3a23 Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer 2015-05-04 15:59:14 -07:00
Jakub Warmuz 3a0db7efa1 Merge remote-tracking branch 'github/letsencrypt/master' into docker
Conflicts:
	letsencrypt/client/client.py
2015-05-04 21:22:38 +00:00
Jakub Warmuz 4c871b57c8 Remove a bit of nginx code dedup from apache 2015-05-04 15:36:00 +00:00
Jakub Warmuz 5863323eb0 PluginEntryPoint.description, show in CLI 2015-05-04 14:30:02 +00:00
Jakub Warmuz aa6984e310 Attempt at cleaning {cert,chain}_path mess 2015-05-04 14:29:32 +00:00
Jakub Warmuz c185480ae9 setup.cfg aliases don't work with pip 2015-05-04 14:02:03 +00:00
Jakub Warmuz 803bb9595c Fix test dirs chmods errors.
Stragely, when run on digitalocean jessie x64 droplet (as root), the
following error were produced before this fix:

======================================================================
ERROR: test_add_name_vhost (letsencrypt.client.plugins.apache.tests.configurator_test.TwoVhost80Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/lets-encrypt-preview/letsencrypt/client/plugins/apache/tests/configurator_test.py", line 35, in setUp
self.ssl_options)
File "/root/lets-encrypt-preview/letsencrypt/client/plugins/apache/tests/util.py", line 76, in get_apache_configurator
version)
File "/root/lets-encrypt-preview/letsencrypt/client/plugins/apache/configurator.py", line 96, in __init__
self.verify_setup()
File "/root/lets-encrypt-preview/letsencrypt/client/plugins/apache/configurator.py", line 938, in verify_setup
self.config.config_dir, constants.CONFIG_DIRS_MODE, uid)
File "/root/lets-encrypt-preview/letsencrypt/client/le_util.py", line 37, in make_or_verify_dir
"permissions or owner" % directory)
LetsEncryptClientError: /tmp/tmp1wYWIMconfig exists, but does not have the proper permissions or owner
2015-05-04 13:48:18 +00:00
Jakub Warmuz 73ac2e36cc Fix plugins command 2015-05-04 12:47:08 +00:00
Jakub Warmuz f38911eb10 Actually install ConfigArgParse@python2.6 branch 2015-05-04 12:04:27 +00:00
Jakub Warmuz a2df245567 Temporary fox for ConfigArgParse#17 2015-05-04 11:56:09 +00:00
Jakub Warmuz 8ae6a60fba pep8 2015-05-04 08:26:08 +00:00
Jakub Warmuz 1c75100f79 Merge remote-tracking branch 'github/letsencrypt/master' into cli
Conflicts:
	letsencrypt/client/plugins/apache/configurator.py
2015-05-04 08:14:19 +00:00
Jakub Warmuz 9e7918fc75 Test CLI plugins command 2015-05-04 08:10:52 +00:00
Jakub Warmuz b4f99df798 Full coverage and lint for display.ops 2015-05-03 22:15:30 +00:00
James Kasten e4ac29ef81 Merge pull request #380 from kuba/boulder-130-fixed
boulder#130 fixed
2015-05-03 13:06:32 -07:00
Jakub Warmuz 0216ea3f26 boulder#130 fixed 2015-05-03 19:44:53 +00:00
Jakub Warmuz 138a9e9f01 Full coverage and lint for disco/disco_test 2015-05-03 14:28:23 +00:00
Jakub Warmuz 1878db3416 More coverage for plugins.disco 2015-05-03 13:21:36 +00:00
Jakub Warmuz b600e2d270 PLuginsRegistry: verify, prepare, misconfigured, available. 2015-05-03 12:38:53 +00:00
Jakub Warmuz 595230fd8e PluginsEntryPoint.prepare, move pick_* to display_ops 2015-05-03 07:56:49 +00:00
Jakub Warmuz 2ffc3c37cb Fix missing comma 2015-05-02 18:00:57 +00:00
James Kasten 93cdad120d Merge pull request #375 from kuba/apache-no-sudo
Don't use sudo in apache plugin
2015-05-02 09:17:43 -07:00
Jakub Warmuz 8a5be3ee3a Remove determine_{authenticator,installer} 2015-05-02 13:14:03 +00:00
Jakub Warmuz bd45d5ceea constants.CLI_DEFAULTS / flag_default() 2015-05-02 12:38:33 +00:00
Jakub Warmuz 9c6bb5e63c Tests and lint for plugins disco 2015-05-02 12:18:57 +00:00
Jakub Warmuz fc059b6269 Add docs for plugins.common and disco 2015-05-02 12:18:57 +00:00
Jakub Warmuz 5672916cb2 Tests and lint for plugins.common 2015-05-02 11:19:46 +00:00
Jakub Warmuz 140ca2b4d0 Merge remote-tracking branch 'github/letsencrypt/master' into cli
Conflicts:
	letsencrypt/client/plugins/standalone/tests/authenticator_test.py
2015-05-02 08:56:35 +00:00
Jakub Warmuz c9a7172388 Somewhat usable CLI+disco 2015-05-02 08:53:06 +00:00
Jakub Warmuz 7a4d37e320 Don't use sudo in apache plugin. 2015-05-02 08:08:11 +00:00
Jakub Warmuz 19cff00835 common.Plugin (with .conf(var), PluginEntryPoint, PluginRegistry 2015-05-02 07:01:44 +00:00
Seth Schoen bdcb94a2b5 pylint seems strict about the local variable count 2015-05-01 21:57:22 -07:00
Seth Schoen 40091cf60e Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer 2015-05-01 21:47:47 -07:00
Seth Schoen eeb625063b Changes to pass pylint 2015-05-01 18:38:04 -07:00
Jakub Warmuz 17e8ddcb5c Assert CLI test (--help) raises SystemExit 2015-05-01 20:19:31 +00:00
Jakub Warmuz cc32eeb7cf Merge remote-tracking branch 'github/letsencrypt/master' into cli
Conflicts:
	letsencrypt/client/client.py
	letsencrypt/client/constants.py
	letsencrypt/client/interfaces.py
	letsencrypt/client/tests/client_test.py
	letsencrypt/scripts/main.py
	setup.py
2015-05-01 20:17:30 +00:00
James Kasten 828e09543b Merge pull request #368 from kuba/bugs/273
rsa256_key.pem -> jose/testdata/rsa512_key.pem (fixes #273)
2015-05-01 12:32:03 -07:00
James Kasten 963c95dfe0 Merge pull request #366 from kuba/constants-cleanup
Move relevant constants to acme module.
2015-05-01 12:23:25 -07:00
Jakub Warmuz c838faffd8 Merge remote-tracking branch 'github/letsencrypt/master' into bugs/273
Conflicts:
	letsencrypt/client/plugins/standalone/tests/authenticator_test.py
2015-05-01 19:18:19 +00:00
Jakub Warmuz 57ae12745d Merge remote-tracking branch 'github/letsencrypt/master' into constants-cleanup
Conflicts:
	letsencrypt/client/constants.py
2015-05-01 19:10:00 +00:00
James Kasten fcb774f71b Merge pull request #367 from kuba/bugs/336
Call record.getMessage() in DialogHandler (fixes #336)
2015-05-01 12:08:21 -07:00
Seth Schoen 996b598eb3 Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer 2015-05-01 11:49:49 -07:00
James Kasten 1e62579688 Merge pull request #362 from letsencrypt/boulder
Boulder
2015-05-01 11:46:22 -07:00
Jakub Warmuz 5b762e51be Update ACME docs (protocol version info) 2015-05-01 10:55:26 +00:00
Jakub Warmuz 0845d82f65 Update Configuration test 2015-05-01 10:24:48 +00:00