Brad Warren
5a1d031f07
Rename util to certbot_util
2017-08-10 14:19:44 -07:00
Brad Warren
4715b2b12c
Further document check_output
2017-08-10 14:18:27 -07:00
Brad Warren
5beaae3b65
Add check_output function and tests.
2017-08-10 14:17:13 -07:00
Brad Warren
dfd1cceb9b
Test prepare() failure due to missing postconf
2017-08-10 12:26:47 -07:00
Brad Warren
192f0f60da
test add_parser_arguments
2017-08-10 12:19:59 -07:00
Brad Warren
b395b72d1b
Don't hardcode postconf path.
2017-08-10 11:51:01 -07:00
Brad Warren
a2dbf2fe4c
Fix spacing
2017-08-10 11:20:21 -07:00
Brad Warren
86fe5ad362
Move calls to postconf to prepare().
2017-08-10 11:16:46 -07:00
Brad Warren
89ae874f89
(temporarily) remove ca-certificates logic
2017-08-10 11:03:47 -07:00
Brad Warren
2a217189a6
(temporarily) remove policy_file
2017-08-10 10:58:27 -07:00
Noah Swartz
af322a6068
Merge pull request #4896 from certbot/order-matters2
...
Explain --domains and --cert-name usage
2017-08-10 09:51:19 -07:00
Brad Warren
481fb8413b
Fix Postfix Installer __init__()
2017-08-10 08:50:08 -07:00
Brad Warren
d97a15861b
Add --postfix-config-dir argument
2017-08-09 16:06:06 -07:00
Brad Warren
a15fe57225
remove policy config param
2017-08-09 15:57:19 -07:00
cj-dev
48c890be61
#4434 Test Config Base Class ( #4974 )
...
* Addressing #4434 by implementing ConfigTestCase which mocks out a NamespaceConfig for consistent config use across tests
* Refactor account_test.py for use with ConfigTestCase
* Remove superfluous setup/teardown
* Pylint oops.
* Fix redundant inheritance class definitions
* Separate ConfigTestCase's mocked directories
* Module import style consistency
* Refactor log_test.py for use with ConfigTestCase
* Refactor eff_test.py for use with ConfigTestCase. Also tweak for import style consistency
* Refactor reverter_test.py for use with ConfigTestCase
* Refactor renewal_test.py for use with ConfigTestCase
* Refactor main_test.py for use with ConfigTestCase
* Refactor storage_test.py for use with ConfigTestCase
* Refactor cert_manager_test.py for use with ConfigTestCase
* Refactor client_test.py for use with ConfigTestCase
* Refactor configuration_test.py for use with ConfigTestCase
* Pylint!
* Incorporating PR feedback
* Remove comment
2017-08-09 13:19:43 -07:00
Bob Strecansky
5e58580d13
[ #4966 ] - Fedora 26 doesn't have development tools handy ( #4997 )
2017-08-09 09:12:36 -07:00
Brad Warren
6c52cc49a7
Pin dependencies in compatibility tests. ( #5004 )
...
We now use tools/pip_install_editable.sh which installs our packages using the
pinned versions from certbot-auto.
We also use letsencrypt-auto-source/letsencrypt-auto instead of certbot-auto in
the root to:
1. Make sure OS bootstrappers are up to date with master.
2. Copy letsencrypt-auto-source into our tree so it can be used by
tools/pip_install_editable.sh later.
2017-08-08 15:31:41 -07:00
Brad Warren
47b3d19170
Increase pinned configargparse version to 0.12.0. ( #4995 )
2017-08-08 12:03:48 -07:00
Noah Swartz
32de7303dd
Merge pull request #4990 from certbot/fix-arch
...
Fix space in quiet check in BootstrapArchCommon
2017-08-08 09:13:54 -07:00
Bob Strecansky
a8e1df6e55
[ #4535 ] - Unwrap max retries exceeded errors
2017-08-07 20:15:05 -04:00
Noah Swartz
f9ed53e698
Revocation reason ( #4987 )
...
* fix revocation reason help text
* add it to the docs
* move and expand revoke reason example
2017-08-07 17:13:27 -07:00
Brad Warren
f31cb5f812
Put the minimum dep version in Google DNS setup.py ( #5002 )
2017-08-07 17:12:58 -07:00
Brad Warren
0ac21e47c7
Use #letsencrypt-dev instead of #letsencrypt ( #4998 )
2017-08-07 17:12:49 -07:00
Bob Strecansky
b3216727da
[ #4535 ] - Unwrap max retries exceeded errors
2017-08-07 19:34:20 -04:00
Brad Warren
f68fba2be2
Fix oldest tests by pinning Google DNS deps ( #5000 )
2017-08-07 14:57:56 -07:00
Bob Strecansky
8a78ef9675
[ #4535 ] - Unwrap max retries exceeded errors
2017-08-07 15:33:01 -04:00
Bob Strecansky
d49d7c57ea
Merge branch 'master' of github.com:certbot/certbot into max_retries_exceeded
2017-08-07 15:01:46 -04:00
Brad Warren
d4676610e9
Unhide Nginx ( #4969 )
...
* Be careful with new interaction from enabling nginx
* Fix py3 compataibility & better docs
* Make minor changes to @pde's PR to unhide nginx
* unhide nginx plugin
* Only protect against nginx interaction in cb-auto
2017-08-07 08:36:41 -07:00
Bob Strecansky
2e7ec00e8c
[ #4535 ] - Unwrap max retries exceeded errors
2017-08-07 08:55:43 -04:00
Bob Strecansky
f7dedae388
[ #4535 ] - Unwrap max retries exceeded errors
2017-08-07 08:39:39 -04:00
Bob Strecansky
9ae987d72b
[ #4535 ] - Unwrap max retries exceeded errors
2017-08-07 08:35:00 -04:00
Bob Strecansky
0c14d9372d
Merge branch 'master' of github.com:certbot/certbot into max_retries_exceeded
2017-08-07 08:14:54 -04:00
Bob Strecansky
9b8c8f103e
[ #4535 ] - Unwrap max retries exceeded errors
2017-08-06 23:44:28 -04:00
Bob Strecansky
8555f4a0bd
[ #4535 ] - Unwrap max retries exceeded errors
2017-08-06 23:30:11 -04:00
Bob Strecansky
521f783020
[ #4535 ] - Unwrap max retries exceeded errors
2017-08-06 23:02:07 -04:00
Bob Strecansky
5fb1568b6e
[ #4535 ] - Unwrap max retries exceeded errors
2017-08-06 22:26:17 -04:00
Bob Strecansky
57e664077f
[ #4535 ] - Unwrap max retries exceeded errors - fixing spacing
2017-08-06 10:51:10 -04:00
Bob Strecansky
880c35f3e3
[ #4535 ] - Unwrap max retries exceeded errors
2017-08-05 10:39:04 -04:00
Bob Strecansky
3cc94798b6
[ #4535 ] - Unwrap max retries exceeded errors
2017-08-05 10:26:01 -04:00
Bob Strecansky
959d72feb0
[ #4535 ] - Unwrap max retries exceeded errors
2017-08-05 10:16:47 -04:00
Brad Warren
6c5a8423b8
Remove unused logger from tests
2017-08-04 10:28:52 -07:00
Brad Warren
a66500ea38
Remove unused version argument.
2017-08-04 10:25:09 -07:00
Brad Warren
49cdfcec06
add six dependency
2017-08-04 10:20:36 -07:00
Brad Warren
b50a71ff4e
Remove fopen argument in favor of mock.
...
This simplifies the actual production code and is a more standard approach in
Python.
2017-08-04 10:19:46 -07:00
Brad Warren
b37be61807
Import installer module directly in tests.
2017-08-04 10:12:54 -07:00
Brad Warren
4a3fd19c93
Move parse_line to the end of installer.py
2017-08-04 10:00:04 -07:00
Brad Warren
66ba0b5276
Remove invalid permissions exception.
...
Once things like locks are added, this error shouldn't be possible as it will
have occurred earlier.
2017-08-04 09:57:44 -07:00
Brad Warren
61c2209110
Use Certbot error types in the Postfix Installer
2017-08-04 09:56:39 -07:00
Brad Warren
694746409f
s/ExistingConfigError/MisconfigurationError
2017-08-04 09:42:26 -07:00
Brad Warren
1c258c0a2c
Add basic docstrings to Installer
2017-08-04 09:31:10 -07:00