Commit Graph
4692 Commits
Author SHA1 Message Date
Peter Eckersley da609a2577 Merge pull request #1814 from joohoi/domaincheck
Check domain list from plugin get_all_names() and remove wildcard, punycode etc. [needs tweak]
2015-12-08 12:52:55 -08:00
Joona Hoikkala 05723cbb4a Fixed wording 2015-12-08 21:28:23 +02:00
Joona Hoikkala 006edfdbd1 Wording change to error messages 2015-12-08 21:08:30 +02:00
Ingolf Becker bbd6534744 Fixed some pep8 formatting 2015-12-08 17:56:16 +00:00
Ingolf Becker 62ea74b9e4 Modify apache plugin to work on setups where apache listens to a specific ip 2015-12-08 13:22:52 +00:00
Joona Hoikkala 0cb80bf753 Better test coverage 2015-12-08 14:23:46 +02:00
Marius Gedminas 73878f2457 Abort when no Pythons are found
It seems ill-advised to continue without setting the LE_PYTHON variable, when the very next command tries to use it.
2015-12-08 11:30:13 +02:00
Dominic Cleal d761646167 Merge Augeas lens fix for SSLRequire wordlists
From https://github.com/hercules-team/augeas/commit/f86a28d03a5c42a6c58293667a95d7794e30a42f

Closes: #1766
2015-12-08 08:09:45 +00:00
Dominic Cleal f479497d6c Add failing test from ticket #1766
Augeas fails to parse the wordlist (args inside braces) in the
SSLRequire directive.
2015-12-08 08:09:45 +00:00
Peter Eckersley 3838ea4ad1 Merge pull request #1692 from letsencrypt/1531
Merge augeas lens fix for backslashes at the start of regexps
2015-12-08 00:01:53 -08:00
Joona Hoikkala 5c8b493eda Whitespace and dot fix 2015-12-08 09:54:56 +02:00
Joona Hoikkala 0fb4f7dc8b Tests for domain validation 2015-12-08 09:32:02 +02:00
Joona Hoikkala 3c1c3c3e8d Import and non-classmethod fix 2015-12-08 09:31:47 +02:00
Joona Hoikkala e891624cb1 Revert "Added domain checks for apache installer"
This reverts commit 5dcd508827.
2015-12-08 09:07:17 +02:00
Joona Hoikkala d8b83bc478 Revert "Corrected tests to reflect the removal of wildcard domains etc."
This reverts commit 53a4d0725d.
2015-12-08 09:05:33 +02:00
Joona Hoikkala 51a5d7ceb0 Move validation code to main client 2015-12-08 09:05:11 +02:00
Peter Eckersley 16ef4fdd3d Merge pull request #1822 from vszakats/patch-1
_rpm_common.sh: minor typo
2015-12-07 19:03:52 -08:00
Viktor Szakats d81620ccdd _rpm_common.sh: minor typo 2015-12-08 02:49:59 +01:00
Peter Eckersley 553df8483a Merge pull request #1681 from bit/link!
Remove ! at end of url (fixes open url in gnome-terminal)
2015-12-07 17:31:29 -08:00
schoen 597ac43ec3 Merge pull request #1709 from lord63-forks/fix-typo
Fix typo in README.rst and docs/using.rst
2015-12-07 15:27:00 -08:00
Joona Hoikkala d4337f3936 Give user command line control on using enable site helper script 2015-12-07 17:12:42 +02:00
Joona Hoikkala 0ce4fa4c67 Was using constant name instead of conf name 2015-12-07 17:04:22 +02:00
Joona Hoikkala 53a4d0725d Corrected tests to reflect the removal of wildcard domains etc. 2015-12-07 16:05:53 +02:00
Joona Hoikkala 82f71cba9b Linter fixes 2015-12-07 16:02:27 +02:00
Joona Hoikkala 5dcd508827 Added domain checks for apache installer 2015-12-07 15:37:09 +02:00
Joona Hoikkala 2d5d4a65c4 Moved domain check to le_util 2015-12-07 15:07:27 +02:00
Joona Hoikkala 5dd3ecfb53 Respect tool setting in rpm bootstrap 2015-12-07 14:42:14 +02:00
Joona Hoikkala f479a9b894 Added fedora layout 2015-12-07 14:22:56 +02:00
Joona Hoikkala 47eb7d76cd PEP8 & linter love 2015-12-07 13:37:58 +02:00
Joona Hoikkala 718a6481f1 Tests for the lone function in constants 2015-12-07 13:16:48 +02:00
Dominic Cleal 312669c64d Merge Augeas lens fix for closing multiple sections on one line
From https://github.com/hercules-team/augeas/commit/f44a7a55cc7162beced99659234eb078a8d20e1d

Closes: #1693
2015-12-07 10:49:40 +00:00
Joona Hoikkala 4347382780 Moved enable_site check to correct place 2015-12-07 12:46:56 +02:00
Joona Hoikkala b02a881c6e Constant value per OS basis if installer should handle enabling / disabling sites 2015-12-07 12:42:40 +02:00
Joona Hoikkala 9e0bcf9f3c Add cli parameter for handle_mods 2015-12-07 12:38:52 +02:00
Luca Beltrame 2b942d97b2 Address review comments
- move the umask call before the try/except block
- move comment in _prepare_single to the umask call

Simplify the code comments, too.

Tests still pass.
2015-12-07 11:17:29 +01:00
Joona Hoikkala c9f14e0461 Augeas test fix 2015-12-07 12:13:24 +02:00
Joona Hoikkala 3701560a88 Fix existing tests 2015-12-07 12:03:54 +02:00
Joona Hoikkala 3d9f8c9748 Cleanup & pydoc 2015-12-07 12:01:35 +02:00
Luca Beltrame edf3a4ed73 Make webroot usable also when running as non-root (GH #1795)
Thanks to @aburch's suggestions, the logic has been changed:

- Set umask before creating folders and files
- Leverage os.makedirs' mode option in conjunction with umask

The program still tries to change owner / group, but in case of errors
it continues gracefully.

Tests have been updated, and they pass.
2015-12-07 10:49:24 +01:00
Sachi King 16c8125045 Use print_function not print_statement
Change the print statements used into print functions.

The print satement is not valid in Python 3, however the print function
is valid in at least 2.6+.
2015-12-07 22:12:41 +13:00
Joona Hoikkala 6e3da9e043 Configurable directory path for challenge configuration file 2015-12-07 11:07:31 +02:00
Joona Hoikkala cd0ae93ddc Be more explicit in the configuration file parsing in vhost directory, augeas will silently fail if it encounters something funny 2015-12-07 11:06:32 +02:00
Sveder f1a50b08fb Changed freenode to link straight to the web IRC page for the letsencrypt channel. 2015-12-07 02:02:47 +02:00
Joona Hoikkala 651c8702cb Commented out TLS SNI apache extra config file logging options, because of distro specific paths 2015-12-07 01:16:07 +02:00
Joona Hoikkala e58c0a530f Call paper with customizable vhost root parameter 2015-12-07 01:15:29 +02:00
Peter Eckersley ce0ea2b104 Merge pull request #1784 from devvmh/patch-2
Mention the --renew-by-default flag
2015-12-06 13:09:24 -08:00
Joona Hoikkala b11f091023 Cleanup 2015-12-06 23:06:56 +02:00
Joona Hoikkala 103454e4a3 Support CentOS configuration layout in parser 2015-12-06 22:46:28 +02:00
Joona Hoikkala db9bf90cf9 Change apachectl parameters to work with other distros too 2015-12-06 22:42:51 +02:00
Joona Hoikkala e9c389f125 New constant for VirtualHost - configuration directory and changing the configurator to use it 2015-12-06 22:40:51 +02:00