Commit graph

10174 commits

Author SHA1 Message Date
Peter Eckersley
ecd987b8ca letsencrypt-auto now knows about -vvvv 2015-10-14 22:30:18 -07:00
Peter Eckersley
87000ac5c6 Move docker back into "using"
It seems the changes removing bootstrap from "using" weren't commited earlier,
either
2015-10-14 22:24:57 -07:00
lf
2cd0e64537 Change as_string to a __str__ in nginxparser.py
This change would make the RawNginxDumper more in line with other Python libraries and the standard library.
2015-10-14 22:35:52 -06:00
Brad Warren
68ed333fc0 Quick fix 2015-10-14 21:07:40 -07:00
Peter Eckersley
8a5d199ddf Try to make the "using" instructions as simple and accurate as possible
Some of the verbose stuff we had before is really of historical/developer
interest only
2015-10-14 18:35:34 -07:00
Peter Eckersley
2e0dc4fc50 Remove misleading Docker suggestion from the quick-install docs
But keep it around in case anyone needs this?
2015-10-14 18:25:14 -07:00
Luke Rogers
29ee633ded Tidy up a list in the readme.
Just capitalising a few things.
2015-10-15 14:12:38 +13:00
Peter Eckersley
7a1c37968c Make the UX clearer before sudo 2015-10-14 17:46:11 -07:00
Peter Eckersley
99793c54d6 More portability 2015-10-14 17:46:11 -07:00
Peter Eckersley
b85e13de3f Add bootstrapping to letsencrypt-auto 2015-10-14 17:46:11 -07:00
Peter Eckersley
47eaf297fb Start a letsencrypt-auto script
Which handles all venv-related tasks for installing from pip, and gives us
auto-updating.
2015-10-14 15:57:09 -07:00
bmw
9549af1bad Merge pull request #979 from letsencrypt/explain-email
Explain email recovery better
2015-10-14 15:20:37 -07:00
Peter Eckersley
4083cd42ad Explain email recovery better 2015-10-14 15:09:55 -07:00
bmw
dc10e4f267 Merge pull request #978 from letsencrypt/no_renewal_msgs
Removed misleading renewal messages
2015-10-14 13:26:37 -07:00
Brad Warren
7cdcea4dd5 Mock account not client 2015-10-14 12:43:06 -07:00
Jakub Warmuz
18ddcc72f6
More quickfix for boulder#985 2015-10-14 19:40:07 +00:00
Brad Warren
128147af3b Removed misleading renewal messages 2015-10-14 12:28:57 -07: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
3f942d7426
Basic virtualenv bootstrap script for end users. 2015-10-14 18:19:10 +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
pypoet
147f58bdbc Rounds out missing features and is now on par with ConfigParser.py.
Still missing logging, composibility and a couple of attributes.
2015-10-14 02:49:34 -04:00
Brad Warren
00e5515fe6 Added broken config test 2015-10-13 19:04:25 -07:00
Brad Warren
2239ae9a68 Don't read global renewer config file 2015-10-13 18:39:23 -07:00
Brad Warren
0e6d652ce3 Move ConfigObj parsing inside of RenewableCert.__init__ 2015-10-13 18:25:31 -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
Peter Eckersley
78be30d457 Basic support for --apache and --nginx
- Also begin to clean up the code that integrates --configurator,
   --installer, and --authenticator inputs.
2015-10-13 14:38:31 -07:00
pypoet
fe17c873c0 Initial re-vamp of the Config object to centralize validation and
lay the basis for making compositions of configs and overrides.
Lots of TODOs, be warned.
2015-10-13 17:09:03 -04: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
Brad Warren
acc44f2b65 Always delete lockfiles in _fix_symlinks 2015-10-12 21:04:40 -07:00
Brad Warren
b90827dc98 Added tests 2015-10-12 20:40:17 -07:00
Brad Warren
f8f80f5392 Added calls to recovery code 2015-10-12 18:39:17 -07:00
Brad Warren
49ba0c05e7 Added recovery function 2015-10-12 18:35:07 -07:00
Douglas José
6ae3f4c973 Added pip and virtualenv installation steps to Mac's bootstrap script. 2015-10-12 21:25:52 -04:00
Brad Warren
15cf1c1a4e Added _lockfiles 2015-10-12 18:23:12 -07:00
Brad Warren
3ee4ee0996 Added lockfiles around link update 2015-10-12 18:07:21 -07: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