Brad Warren
|
967a1830e6
|
Rewrite get_all_names
|
2017-08-24 14:59:25 -07:00 |
|
Brad Warren
|
90ffe2aac0
|
Remove legacy get_all_certs_and_keys() method
|
2017-08-24 09:04:57 -07:00 |
|
Brad Warren
|
b342f40c2b
|
remove old comments
|
2017-08-23 15:16:36 -07:00 |
|
Brad Warren
|
83e37acc8b
|
group IPlugin methods
|
2017-08-23 15:16:07 -07:00 |
|
Brad Warren
|
d1f3a2deef
|
move _get_version
|
2017-08-23 15:13:06 -07:00 |
|
Brad Warren
|
c9813a44d7
|
protect get_version()
|
2017-08-10 16:42:48 -07:00 |
|
Brad Warren
|
b98f541b91
|
clean up prepare()
|
2017-08-10 16:41:59 -07:00 |
|
Brad Warren
|
50a1f6340f
|
Add _check_version.
|
2017-08-10 16:38:27 -07:00 |
|
Brad Warren
|
8c4ff5cb63
|
Use context manager to read conf file.
|
2017-08-10 16:36:08 -07:00 |
|
Brad Warren
|
290f5b8ce7
|
add test_set_config_dir
|
2017-08-10 16:35:21 -07:00 |
|
Brad Warren
|
48c5731a6b
|
Write out temp config instead of mocking.
|
2017-08-10 16:29:08 -07:00 |
|
Brad Warren
|
749f758adb
|
use a temporary directory
|
2017-08-10 16:25:30 -07:00 |
|
Brad Warren
|
2e8a8dfed5
|
add _set_config_dir
|
2017-08-10 16:17:46 -07:00 |
|
Brad Warren
|
25d1f6ec75
|
Test all branches of test_get_config_var
|
2017-08-10 16:11:09 -07:00 |
|
Brad Warren
|
4c4b63437f
|
Test building of get_config_var command
|
2017-08-10 15:28:17 -07:00 |
|
Brad Warren
|
02c7eca6da
|
Rename test classes and methods.
|
2017-08-10 15:08:41 -07:00 |
|
Brad Warren
|
b72dfc0c08
|
Add get_config_var
|
2017-08-10 15:07:32 -07:00 |
|
Brad Warren
|
7334fc3066
|
Rename postfix_dir to config_dir
|
2017-08-10 14:29:56 -07:00 |
|
Brad Warren
|
4e5740615c
|
Use util.check_output in Postfix installer
|
2017-08-10 14:25:08 -07:00 |
|
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 |
|
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 |
|
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
|
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 |
|
Brad Warren
|
6c4b3c08a7
|
Clean up installer imports
|
2017-08-04 09:30:11 -07:00 |
|
Brad Warren
|
c2a8ce59ae
|
Remove code to run the installer as on its own.
|
2017-08-04 09:28:22 -07:00 |
|
Brad Warren
|
5bf4ad1f52
|
Rename PostfixConfigGenerator to simply Installer
|
2017-08-04 09:25:12 -07:00 |
|
Brad Warren
|
ae08dc6bea
|
Fix Postfix installer tests
|
2017-08-04 09:24:04 -07:00 |
|
Brad Warren
|
f89051cc2a
|
Completely implement the Certbot plugin interfaces
|
2017-08-04 09:18:51 -07:00 |
|
Brad Warren
|
e2d95b3719
|
Create packaging around PostfixConfigGenerator.
|
2017-08-04 09:02:56 -07:00 |
|