2470 Commits
Author SHA1 Message Date
Brad Warren fe0c9c8ff1 Release 0.4.2 2016-03-03 15:50:15 -08:00
bmw 9229864839 Merge branch 'master' into bad-permissions 2016-03-02 18:11:15 -08:00
schoen f205d15ba2 Merge pull request #2579 from letsencrypt/legacy-http01-port
Legacy http01 port
2016-03-01 18:11:29 -08:00
Brad Warren b1918995d1 documentation++ 2016-03-01 16:26:03 -08:00
Peter Eckersley ebf0163983 Merge pull request #2513 from thanatos/py3k-minor-fixes
Py3k minor fixes
2016-03-01 16:11:47 -08:00
Brad Warren c531c4477d add test coverage to nonetype http01_port 2016-03-01 11:43:31 -08:00
Brad Warren ce2d307f54 handle legacy http01_port value 2016-03-01 11:39:52 -08:00
Brad Warren d0a461b26a fix permissions on renewal conf files 2016-03-01 11:25:38 -08:00
Brad Warren 1f254f5330 Change renewal period to fix leap year problems 2016-02-29 11:34:17 -08:00
Roy Wellington Ⅳ 8046cdc26a Make uses of StringIO.StringIO Python 3 compatible. 2016-02-26 22:02:16 -08:00
Roy Wellington Ⅳ 74a31c737c The Queue module moved to queue in Python 3.
Use six.moves.queue to import the right module regardless.
2016-02-26 22:02:16 -08:00
Roy Wellington Ⅳ edf6d2db24 Make these print statements Python 3 compatible. 2016-02-26 22:02:16 -08:00
Roy Wellington Ⅳ 19b93ec025 Update this octal literal to be Python3 compatible.
The `"0" 1*digits` syntax is gone in Python 3. This syntax replaced it.
It was ported into Python 2 at 2.6[1].

[1]: https://docs.python.org/2/whatsnew/2.6.html
2016-02-26 21:18:20 -08:00
Roy Wellington Ⅳ b965e8349e Use six.iteritems instead of .iteritems for Python 3.
And in one place, `list(six.iterkeys(<obj>))`, as the values didn't
appear to be used.
2016-02-26 21:18:20 -08:00
Roy Wellington Ⅳ 3a303dbf40 Use six to make this list + list work in Python 3.
The RHS here in Python 3 is a set-like object over keys; it's
essentially the same as .iterkeys() in Python 2. Unfortunately, + is not
defined for list + <dict>.keys().

In Python 3, it's idiomatic to simply list(VERBS.keys()) here;
basically, take that and use six to make it Python 2 compatible.
2016-02-26 21:18:20 -08:00
Peter Eckersley 5c6638f60a lint 2016-02-25 16:43:05 -08:00
Peter Eckersley 6e0457841c More accurate function name 2016-02-25 16:41:34 -08:00
Peter Eckersley 087271204d And the renewal conf file for the test case... 2016-02-25 16:22:02 -08:00
Peter Eckersley 152bfce313 After much madness, a test case 2016-02-25 16:21:13 -08:00
Peter Eckersley 5828bf7eda Cast webroot-path from str to [str] if needed
- for compatibility with pre-public-beta renewal conf files
 - fixes #2542
2016-02-25 11:58:18 -08:00
Peter Eckersley 07d04527c5 Merge pull request #2534 from letsencrypt/renew-exit
Return an error code if any renewals fail
2016-02-24 16:31:06 -08:00
Peter Eckersley 6950dbd070 Merge pull request #2493 from TheNavigat/clienttest
More tests for client.py
2016-02-23 17:44:33 -08:00
Peter Eckersley 10eda83cc3 Merge pull request #2504 from letsencrypt/no-csr-with-run
Explicit error message for #2206
2016-02-23 17:30:13 -08:00
Peter Eckersley 4000319c1d Merge pull request #2515 from thanatos/class-advice-impossible
Class advice impossible
2016-02-23 17:25:56 -08:00
Peter Eckersley d67a754d85 Merge remote-tracking branch 'origin/master' into renew-exit 2016-02-23 13:55:53 -08:00
Peter Eckersley ba88ea1b31 Cleanup & lint 2016-02-23 12:53:31 -08:00
Peter Eckersley bf0e20bfa6 Test renewal erroring
For the new case and a lot of previous ones...
2016-02-23 12:47:21 -08:00
Peter Eckersley c86b602ede Return an error code if any renewals fail 2016-02-23 12:46:18 -08:00
Roland Shoemaker 7aa5edb212 Set CSR version in make_csr 2016-02-22 21:31:14 -08:00
Roy Wellington Ⅳ e9d981aceb Change zope's classProvides to be a class decorator.
When attempting to import any module that uses
zope.interface.classProvides in Python 3, a TypeError is raised; it
reads:

    TypeError: Class advice impossible in Python3.  Use the @provider
    class decorator instead.

Following the listed advice seems to function in Python 3.
2016-02-20 00:41:01 -08:00
Roy Wellington Ⅳ b6142c13d6 Change zope's implements to be a class decorator.
When attempting to import any module that uses zope.interface.implements
in Python 3, a TypeError is raised; it reads:

    TypeError: Class advice impossible in Python3.  Use the @implementer
    class decorator instead.

Following the listed advice seems to function in Python 3.
2016-02-20 00:37:40 -08:00
Seth Schoen 5eba011f8e Generalize and move check inside handle_csr 2016-02-18 18:35:45 -08:00
Seth Schoen 1de66b3d7d Explicit error message for #2206 2016-02-18 16:02:07 -08:00
Peter Eckersley 9b21efc6b8 Merge pull request #2480 from filipochnik/remove-acme-challenge
Remove acme-challenge after cleaning up all challenges
2016-02-18 12:43:13 -08:00
Filip Ochnik 0554163ff9 Additional tests for webroot cleanup 2016-02-17 17:21:25 +08:00
Filip Ochnik 4d9f487e89 Handle rmdir failure 2016-02-17 17:04:10 +08:00
TheNavigat 8b7f72b5bc Adding test for obtain_certificate_from_csr with auth_handler set to None 2016-02-17 06:38:11 +02:00
TheNavigat fe1ab15f4b Adding test for unsupported MX error 2016-02-17 05:33:00 +02:00
Peter Eckersley 1a77c73857 Merge pull request #2472 from TheNavigat/clienttest
Tests for client.py
2016-02-16 16:18:21 -08:00
Peter Eckersley 314f9f4755 Merge pull request #2475 from moshevds/perform_method_documentation
Updating perform method documentation in interfaces.py
2016-02-16 16:14:45 -08:00
Seth Schoen 31a27f675a Trivial change to re-run tests after spurious integration test failure 2016-02-16 14:41:02 -08:00
Seth Schoen 16761bc836 Fix lint line-too-long complaint 2016-02-16 13:00:08 -08:00
Seth Schoen beeb65d2f2 Add test 2016-02-16 12:24:29 -08:00
Seth Schoen a23b36bf56 Merge remote-tracking branch 'origin/master' into explain_no_ip_certs 2016-02-16 12:17:43 -08:00
Filip Ochnik 9b5ff7bcd7 Remove acme-challenge after cleaning up all challenges 2016-02-16 20:46:42 +08:00
Filip Ochnik 780c9ce2ae Refactor path logic in webroot plugin 2016-02-16 20:36:46 +08:00
Filip Ochnik 69e1c62859 Add test for cleaning up acme-challenge 2016-02-16 20:33:22 +08:00
Peter Eckersley 9c7e99cbf5 Merge pull request #2397 from thanatos/future-pylint-fixes
Fix import ordering s.t. future versions of pylint won't warn on it.
2016-02-15 11:59:08 -08:00
Peter Eckersley 22ef20cde7 Merge pull request #2396 from thanatos/urlparse-py3
Make this use of urlparse.urlparse Python 3 compatible.
2016-02-15 11:55:46 -08:00
TheNavigatandMôshe van der Sterre 4bbea4e30b Updating perform method documentation in interfaces.py 2016-02-15 17:16:43 +01:00