1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-21 19:01:07 +03:00
Commit Graph

3235 Commits

Author SHA1 Message Date
Jakub Warmuz
18ddcc72f6 More quickfix for boulder#985 2015-10-14 19:40:07 +00:00
Jakub Warmuz
99a31463b0 Fix typo: porta -> port 2015-10-14 19:23:33 +00:00
Jakub Warmuz
371daa42ca Quickfix for boulder#985 2015-10-14 19:16:30 +00:00
Jakub Warmuz
8a8dfd4bc3 More verbose tox python env tests 2015-10-14 18:48:43 +00:00
Jakub Warmuz
9b77c9aecb Uncomment simplehttp/dvsni port check 2015-10-14 17:35:30 +00:00
Jakub Warmuz
244a020b0a Merge remote-tracking branch 'github/letsencrypt/master' into standalone2 2015-10-14 17:26:35 +00:00
Jacob Hoffman-Andrews
63d76ed21e Merge pull request #974 from letsencrypt/ratelimited
Add rateLimited error type.
2015-10-14 09:45:12 -07:00
Jacob Hoffman-Andrews
d5fd9986de Add rateLimited error type. 2015-10-14 09:26:59 -07:00
bmw
c6852cbfa9 Merge pull request #967 from letsencrypt/919
Only test CLI for nginx plugin if it is present
2015-10-13 15:05:50 -07:00
Peter Eckersley
c7732114cb Only test CLI for nginx plugin if it is present
- Fixes 919
2015-10-13 14:50:23 -07:00
James Kasten
ccd9c54a6f Merge pull request #949 from kuba/bugs/838
Fix tests under dev release packaging
2015-10-13 14:38:17 -04:00
Jakub Warmuz
c4042e6ce8 Busy wait loop for testing serve_forever2
This fixes race conditions, such as those in
https://travis-ci.org/letsencrypt/letsencrypt/jobs/84990239:

+ nosetests -c /dev/null --with-cover --cover-tests --cover-package acme --cover-min-percentage=100 acme
.......................................................................................................................................................................................................................................................................................................................................................Exception in thread Thread-5:
Traceback (most recent call last):
  File "/opt/python/2.7.9/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/opt/python/2.7.9/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/opt/python/2.7.9/lib/python2.7/SocketServer.py", line 271, in handle_request
    timeout = self.socket.gettimeout()
  File "/opt/python/2.7.9/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
  File "/opt/python/2.7.9/lib/python2.7/socket.py", line 170, in _dummy
    raise error(EBADF, 'Bad file descriptor')
error: [Errno 9] Bad file descriptor
.127.0.0.1 - - [12/Oct/2015 20:08:23] "GET /foo HTTP/1.1" 404 -
.127.0.0.1 - - [12/Oct/2015 20:08:23] "GET / HTTP/1.1" 200 -
.127.0.0.1 - - [12/Oct/2015 20:08:23] "GET /.well-known/acme-challenge/eHh4eHh4eHh4eHh4eHh4eA HTTP/1.1" 200 -
.....
Name                           Stmts   Miss  Cover   Missing
------------------------------------------------------------
acme.py                            0      0   100%
acme/challenges.py               215      0   100%
acme/challenges_test.py          366      0   100%
acme/client.py                   215      0   100%
acme/client_test.py              308      0   100%
acme/crypto_util.py               92      0   100%
acme/crypto_util_test.py          53      0   100%
acme/errors.py                    19      0   100%
acme/errors_test.py               18      0   100%
acme/fields.py                    32      0   100%
acme/fields_test.py               41      0   100%
acme/jose.py                       8      0   100%
acme/jose/b64.py                  15      0   100%
acme/jose/b64_test.py             38      0   100%
acme/jose/errors.py               12      0   100%
acme/jose/errors_test.py           8      0   100%
acme/jose/interfaces.py           39      0   100%
acme/jose/interfaces_test.py      73      0   100%
acme/jose/json_util.py           170      0   100%
acme/jose/json_util_test.py      214      0   100%
acme/jose/jwa.py                 105      0   100%
acme/jose/jwa_test.py             58      0   100%
acme/jose/jwk.py                 114      0   100%
acme/jose/jwk_test.py             96      0   100%
acme/jose/jws.py                 205      0   100%
acme/jose/jws_test.py            145      0   100%
acme/jose/util.py                114      0   100%
acme/jose/util_test.py           126      0   100%
acme/jws.py                       17      0   100%
acme/jws_test.py                  27      0   100%
acme/messages.py                 184      0   100%
acme/messages_test.py            198      0   100%
acme/other.py                     21      0   100%
acme/other_test.py                48      0   100%
acme/standalone.py               102      1    99%   58
acme/standalone_test.py          109      0   100%
acme/test_util.py                 28      0   100%
acme/util.py                       3      0   100%
acme/util_test.py                  7      0   100%
------------------------------------------------------------
TOTAL                           3643      1    99%
nose.plugins.cover: ERROR: TOTAL Coverage did not reach minimum required: 100%
2015-10-13 07:09:28 +00:00
bmw
5ca70e19a7 Merge pull request #950 from letsencrypt/jsha/nginx-improvements
Nginx improvements
2015-10-12 16:41:52 -07:00
bmw
abd37a65ae Merge pull request #961 from BKreisel/master
PEP8 Love: E126 Fix for #945
2015-10-12 13:51:58 -07:00
Brandon Kreisel
d4af07a7f8 PEP8 Love: E126 Fix for #945 2015-10-12 16:43:22 -04:00
Jakub Warmuz
73ae361559 Merge remote-tracking branch 'github/letsencrypt/master' into standalone2 2015-10-12 19:36:46 +00:00
bmw
0465f8e131 Merge pull request #945 from ddworken/master
Fixes #902
2015-10-12 12:24:30 -07:00
David Dworken
20d7576f66 Deleted duplicate line caused by #912 2015-10-12 15:14:13 -04:00
David Dworken
589145686f Don't print error message and only call os.geteuid() once 2015-10-12 15:02:07 -04:00
bmw
806246b8ef Merge pull request #886 from BKreisel/mac-psutil
Add Mac compatibility to integration tests
2015-10-12 11:22:17 -07:00
bmw
bb508739f0 Merge pull request #935 from letsencrypt/plugin_tests
Plugin tests
2015-10-12 10:17:24 -07:00
Brad Warren
7defdb1819 Updated a2enmod comments 2015-10-12 10:08:35 -07:00
Brad Warren
67ee9bf930 Added 'strict_permissions' to constants.py 2015-10-12 10:00:35 -07:00
Brad Warren
990e90df1f Merge branch 'master' into plugin_tests 2015-10-12 09:58:15 -07:00
Brad Warren
9c59b50894 Reverted incorrect change from 18adec0 2015-10-11 17:33:00 -07:00
Brad Warren
90f3b26bcf Fixed a2enmod 2015-10-11 17:29:19 -07:00
Brandon Kreisel
52f7a64b84 lint newline 2015-10-11 17:56:30 -04:00
David Dworken
8ec7fdd323 Always create the folders 2015-10-11 16:20:18 -04:00
David Dworken
a809a059f0 Don't create renewal_configs_dir and config_dir, instead just print a helpful error message and fail 2015-10-11 15:57:57 -04:00
Jacob Hoffman-Andrews
216e589d46 Replace lambda with comprehension. 2015-10-11 12:30:02 -07:00
bmw
b56467c0c0 Merge pull request #907 from ArchimedesPi/instructions-for-a-new-pr
Add instructions for submitting a PR
2015-10-11 12:26:03 -07:00
Jacob Hoffman-Andrews
f16489f762 Go back to hasattr and add a test. 2015-10-11 12:19:39 -07:00
David Dworken
c23deb8a31 Merged in changes 2015-10-11 15:12:58 -04:00
bmw
ac68be7e1f Merge pull request #912 from kuba/bugs/897
Renewer logging setup (fixes #897)
2015-10-11 11:55:28 -07:00
Jacob Hoffman-Andrews
06c85d6b5a Fix line-wrapped function indents. 2015-10-11 11:30:11 -07:00
Jacob Hoffman-Andrews
f0cfd69cdc Respond to review feedback. 2015-10-11 11:28:39 -07:00
Jacob Hoffman-Andrews
cd52fc02b9 Add a sleep to let Nginx finish reloading. 2015-10-11 11:20:21 -07:00
Brad Warren
4c73db9aa1 Revert "Fixed version string"
This reverts commit d1ee831137.
2015-10-11 10:34:32 -07:00
bmw
9dce7c7d04 Merge pull request #944 from letsencrypt/faster-travis
Limit Travis runs to master and PRs.
2015-10-11 10:33:40 -07:00
bmw
2fe7d671dc Merge pull request #947 from kuba/revert-master-dev-release
Revert "Release 0.0.0.dev20151008"
2015-10-11 10:33:09 -07:00
Jacob Hoffman-Andrews
dd8c6d6548 Nginx improvements
Add a server_names_hash_bucket_size directive during challenges to fix an nginx
crash on restart (Fixes #922).

Use fullchain instead of chain (Fixes #610).

Implement OCSP stapling (Fixes #937, Fixes #931).

Hide Boulder output in integration tests to make them more readable.
2015-10-11 10:20:08 -07:00
David Dworken
ef9312817e Alphabetized imports and added newline at end of file 2015-10-11 11:39:55 -04:00
David Dworken
f8daf5f094 Fixed failing lint test and explicitly created all needed folders 2015-10-11 08:53:38 -04:00
Jakub Warmuz
ce41201861 Require tests pass in dev release. 2015-10-11 10:52:08 +00:00
Jakub Warmuz
5edd809161 ApacheConfigurator.is_enabled using filecmp (fixes #838). 2015-10-11 10:51:24 +00:00
Jakub Warmuz
7a153ebf50 Revert "Release 0.0.0.dev20151008"
This reverts commit 9e1477faa4.
2015-10-11 07:05:35 +00:00
David Dworken
f96c34546e Fixes #902
Fix for #902

If the directory does't exist, it will create the directory before proceeding.
2015-10-10 18:33:44 -04:00
Jacob Hoffman-Andrews
84418516c9 Limit Travis runs to master and PRs. 2015-10-10 13:31:35 -07:00
Brad Warren
ecf82c4bcf Add 'strict_permissions' when creating config 2015-10-09 16:57:07 -07:00
Brad Warren
d1ee831137 Fixed version string 2015-10-09 16:55:34 -07:00