Commit graph

8131 commits

Author SHA1 Message Date
Erica Portnoy
1d3141ee71 Add tests to centos6 Dockerfile to make sure we install python3 if and only if appropriate to do so. 2018-01-05 16:25:41 -08:00
Erica Portnoy
007383d8f2 add documentation for YES_FLAG and QUIET_FLAG 2018-01-04 12:19:22 -08:00
Erica Portnoy
835e4c051c address review comments 2018-01-03 19:00:58 -08:00
Erica Portnoy
7344bb3d55 remove commented out code 2018-01-03 11:29:17 -08:00
Erica Portnoy
21a56b3910 build 2018-01-03 11:25:20 -08:00
Erica Portnoy
6c18b5b03d typo 2018-01-03 11:24:45 -08:00
Erica Portnoy
0e2b86d828 Use SSLContext and an environment variable so that our tests continue to never verify server certificates. 2018-01-03 11:21:38 -08:00
Erica Portnoy
b11dec0fd0 Merge branch 'master' into killpy26 2018-01-02 17:05:08 -08:00
Erica Portnoy
5a58af7e2e don't verify server certificates in fetch.py HttpsGetter 2018-01-02 16:29:18 -08:00
Brad Warren
ed2168aaa8 Fix auto_tests on systems with new bootstrappers (#5348) 2017-12-21 16:55:21 -08:00
Erica Portnoy
80ef7c6ad9 get fetch.py working with python2 and 3 2017-12-21 15:52:12 -08:00
Erica Portnoy
173c8199c7 python3ify fetch.py 2017-12-21 15:23:40 -08:00
Erica Portnoy
48f0cf131e switch to LE_PYTHON not affecting bootstrap selection and not overwriting LE_PYTHON 2017-12-21 14:18:32 -08:00
Erica Portnoy
c5102f10c7 use built-in venv for py3 2017-12-21 13:58:57 -08:00
Erica Portnoy
07975a5553 replace NOCRASH, update LE_PYTHON set logic 2017-12-20 17:14:05 -08:00
Erica Portnoy
eed279c8f2 rip out NOCRASH 2017-12-20 16:54:42 -08:00
Erica Portnoy
f23dc97f41 set USE_PYTHON_3 for all cases 2017-12-20 16:46:24 -08:00
Erica Portnoy
48cbaf29c2 fix syntax errors 2017-12-20 16:16:38 -08:00
Erica Portnoy
6b5100d3db Merge branch 'master' into killpy26 2017-12-20 13:48:08 -08:00
Erica Portnoy
dd52dfaa98 build leauto 2017-12-19 20:59:54 -08:00
Erica Portnoy
4076ae75fb close brace 2017-12-19 20:53:02 -08:00
Erica Portnoy
85025026ff build letsencrypt-auto 2017-12-19 20:30:39 -08:00
Erica Portnoy
2b2b93feac document DeterminePythonVersion parameters 2017-12-19 20:04:19 -08:00
Erica Portnoy
a2c1e4b2fc add no python error and exit 2017-12-19 19:59:50 -08:00
Erica Portnoy
694d7b1522 fix up python version return value when no python installed 2017-12-19 19:52:59 -08:00
Erica Portnoy
533b45c66b factor out all initialization code 2017-12-19 19:40:01 -08:00
Brad Warren
d6b11fea72 More pip dependency resolution workarounds (#5339)
* remove pyopenssl and six deps

* remove outdated tox.ini dep requirement
2017-12-19 16:16:45 -08:00
Erica Portnoy
defd06b4b2 address style, documentation, nits 2017-12-18 14:52:45 -08:00
Brad Warren
a1aea021e7 Pin dependencies in oldest tests (#5316)
* Add tools/merge_requirements.py

* Revert "Fix oldest tests by pinning Google DNS deps (#5000)"

This reverts commit f68fba2be2.

* Add tools/oldest_constraints.txt

* Remove oldest constraints from tox.ini

* Rename dev constraints file

* Update tools/pip_install.sh

* Update install_and_test.sh

* Fix pip_install.sh

* Don't cat when you can cp

* Add ng-httpsclient to dev constraints for oldest tests

* Bump tested setuptools version

* Update dev_constraints comment

* Better document oldest dependencies

* test against oldest versions we say we require

* Update dev constraints

* Properly handle empty lines

* Update constraints gen in pip_install

* Remove duplicated zope.component

* Reduce pyasn1-modules dependency

* Remove blank line

* pin back google-api-python-client

* pin back uritemplate

* pin josepy for oldest tests

* Undo changes to install_and_test.sh

* Update install_and_test.sh description

* use split instead of partition
2017-12-18 12:31:36 -08:00
Brad Warren
1b6005cc61
Pin josepy in letsencrypt-auto (#5321)
* pin josepy in le-auto

* Put pinned versions in sorted order
2017-12-14 18:15:42 -08:00
Erica Portnoy
f60ff9691b Always check for python2.6 2017-12-14 16:21:53 -08:00
Erica Portnoy
dee46d8d71 If there's no python or there's only python2.6 on red hat systems, install python3 2017-12-12 18:07:03 -08:00
Joona Hoikkala
0e92d4ea98 Parse variables without whitespace separator correctly in CentOS family of distributions (#5318) 2017-12-11 11:50:56 -08:00
Jannis Leidel
2abc94661a Use josepy instead of acme.jose. (#5203) 2017-12-11 11:25:09 -08:00
Brad Warren
8bc785ed46
Make Travis builds faster in master (#5314)
* Remove extra le-auto tests from master

* Remove dockerfile-dev test from master

* Remove intermediate Python 3.x tests from master

* Reorder travis jobs for speed
2017-12-08 16:35:59 -08:00
Noah Swartz
0046428382 print warnings for 3.3 users (#5283)
fix errors
2017-12-08 12:45:04 -08:00
Michael Coleman
5d0888809f Remove slash from document root path in Webroot example (#5293)
It seems the document root path to the `--webroot-path`, `-w` option
can't have a trailing slash.  
Here is an example of a user who followed this example and had their
certificate signing request error out.  
https://superuser.com/questions/1273984/why-does-certbot-letsencrypt-recieve-a-403-forbidden
2017-12-07 15:53:47 -08:00
Noah Swartz
8096b91496
Merge pull request #5304 from certbot/0.20.0-changelog
Update changelog for 0.20.0
2017-12-07 15:32:35 -08:00
Brad Warren
e696766ed1 Expand on changes to the Apache plugin 2017-12-07 13:48:44 -08:00
ohemorange
8b5d6879cc Create a new server block when making server block ssl (#5220)
* create_new_vhost_from_default --> duplicate_vhost

* add source_path property

* set source path for duplicated vhost

* change around logic of where making ssl happens

* don't add listen 80 to newly created ssl block

* cache vhosts list

* remove source path

* add redirect block if we created a new server block

* Remove listen directives when making server block ssl

* Reset vhost cache on parser load

* flip connected pointer direction for finding newly made server block to match previous redirect search constraints

* also test for new redirect block styles

* fix contains_list and test redirect blocks

* update lint, parser, and obj tests

* reset new vhost (fixing previous bug) and move removing default from addrs under if statement

* reuse and update newly created ssl server block when appropriate, and update unit tests

* append newly created server blocks to file instead of inserting directly after, so we don't have to update other vhosts' paths

* add coverage for NO_IF_REDIRECT_COMMENT_BLOCK

* add coverage for parser load calls

* replace some double quotes with single quotes

* replace backslash continuations with parentheses

* update docstrings

* switch to only creating a new block on redirect enhancement, including removing the get_vhosts cache

* update configurator tests

* update obj test

* switch delete_default default for duplicate_vhost
2017-12-07 09:48:54 -08:00
Brad Warren
d039106b68
Merge pull request #5303 from certbot/candidate-0.20.0
Release 0.20.0
2017-12-06 17:59:51 -08:00
Brad Warren
abed73a8e4
Revert "Nginx reversion (#5299)" (#5305)
This reverts commit c9949411cd.
2017-12-06 17:45:20 -08:00
Noah Swartz
3951baf6c0
Merge pull request #5284 from Eccenux/issue_5274
Show a diff when re-creating certificate
2017-12-06 17:07:36 -08:00
Brad Warren
716f25743c Update changelog for 0.20.0 2017-12-06 16:33:55 -08:00
Noah Swartz
b3ca6bb2b1
Merge pull request #5228 from jonasbn/master
Documentation update to certbot/main.py
2017-12-06 16:26:26 -08:00
Brad Warren
78d97ca023 Bump version to 0.21.0 2017-12-06 14:52:16 -08:00
Brad Warren
f1554324da
Release 0.20.0 2017-12-06 14:46:55 -08:00
Brad Warren
c9949411cd
Nginx reversion (#5299)
The reason for this PR is many bug fixes in the nginx plugin for changes we haven't released yet are included in #5220 which may not make our next release. If it doesn't, we will (mostly) revert the nginx plugin back to its previous state to avoid releasing these bugs and will revert this PR after the release.

* Revert "Nginx IPv6 support (#5178)"

This reverts commit 68e37b03c8.

* Revert "Fix bug that stopped nginx from finding new server block for redirect (#5198)"

This reverts commit e2ab940ac0.

* Revert "Nginx creates a vhost block if no matching block is found (#5153)"

This reverts commit 95a7d45856.
2017-12-05 20:04:08 -08:00
Brad Warren
678ab7328e
Merge pull request #5300 from certbot/flexible-challenge-uri++
ACMEv2: Allow "uri" or "url" in challenge part 2
2017-12-05 12:11:48 -08:00
Brad Warren
62c1112d10 Keep the same behavior with the uri attribute 2017-12-05 10:26:32 -08:00