Peter Eckersley
3d260485cd
Merge pull request #2729 from letsencrypt/renew-hooks
...
Implement renew hooks
2016-04-01 17:39:41 -07:00
Brad Warren
1acd50a0ce
Remove the need for extra processing to support --csr + --webroot
2016-04-01 17:07:54 -07:00
Brad Warren
82efffdf62
inline _match_webroot_with_domains
2016-04-01 16:52:48 -07:00
Brad Warren
7070b99699
make prepare a noop
2016-04-01 16:45:59 -07:00
Brad Warren
1f4daf0874
factor out _create_challenge_dirs
2016-04-01 16:42:45 -07:00
Brad Warren
b1bdc4590d
Move webroot processing to webroot.py
2016-04-01 16:16:17 -07:00
Brad Warren
f663a6f961
add _WebrootPathAction to webroot.py
2016-04-01 14:24:52 -07:00
Brad Warren
c83c09e12b
Add _WebrootMapAction to webroot.py
2016-04-01 14:07:42 -07:00
Brad Warren
d3fa0dd222
make add_domain more useful
2016-04-01 13:51:26 -07:00
Brad Warren
ca7049dabc
add webroot_path parsing functions to webroot.py
2016-04-01 13:21:57 -07:00
Brad Warren
b5acb8b71e
add add domain
2016-04-01 10:53:14 -07:00
Peter Eckersley
4b364b5ad5
Merge pull request #2718 from joohoi/pep8fixes
...
PEP8 fixes for apache plugin
2016-04-01 09:27:57 -07:00
Brad Warren
42f990d31f
comment++
2016-03-31 21:51:15 -07:00
Brad Warren
5a097f2fab
set set to tuple3
2016-03-31 20:25:25 -07:00
Brad Warren
90f6ed2688
Use sets to prevent duplicates
2016-03-31 20:19:14 -07:00
Brad Warren
7e2e4192b4
Update add_parser_arguments comment
2016-03-31 20:11:53 -07:00
Brad Warren
8efc3ae7c8
Add report_config_interaction
2016-03-31 20:07:18 -07:00
Brad Warren
42c1638772
Add webroot_map to default detection
2016-03-31 19:13:35 -07:00
Brad Warren
98493f72b6
Simplify plugin default detection
2016-03-31 18:53:31 -07:00
Brad Warren
b748d39795
Create dict for to store flag interactions
2016-03-31 18:49:23 -07:00
Brad Warren
40fd25c9e9
Add HelpfulArgumentGroup
2016-03-31 18:12:11 -07:00
Brad Warren
12082a94ad
Simplify default detection
2016-03-31 18:08:36 -07:00
Brad Warren
2d9860e2ce
Add _Default class
2016-03-31 15:31:26 -07:00
Amjad Mashaal
bb426c8ae8
Add MariaDB debugging to Travis build
2016-03-31 22:43:16 +02:00
Brad Warren
1802cee2e6
Remove commented out print debugging statements
2016-03-31 13:20:00 -07:00
Peter Eckersley
18e05cc284
Document which hooks are run with --dry-run
2016-03-31 12:40:11 -07:00
Peter Eckersley
37c070597c
Fix tests on py26
...
the print() function does not appear to be mockable there
2016-03-31 09:57:57 -07:00
Peter Eckersley
8f8d80e7d1
Don't strip " from PATH entries
...
There shouldn't be any, but if they're there perhaps they're there for a
reason.
2016-03-30 17:50:22 -07:00
Peter Eckersley
526aa7d5ae
Fix _run_hook test
2016-03-30 17:41:59 -07:00
Seth Schoen
b13ce26eb3
Basic attempt at fixing #2368
...
Changing the method of updating and rewriting renewal config files
to use the same ConfigObj instance rather than a new one, and change
individual renewalparams items individually rather than replacing
the entire renewalparams dict with a new dict (which may also cause
a loss of associated comment data).
2016-03-30 16:59:13 -07:00
schoen
86e5832a8a
Merge pull request #2722 from chkpnt/patch-1
...
Revise the concatenation order for fullchain.pem
2016-03-30 16:37:25 -07:00
Peter Eckersley
285f3b5536
lint
2016-03-30 15:38:38 -07:00
Peter Eckersley
db5c4f9f91
Fix whitespace
2016-03-30 13:59:12 -07:00
Peter Eckersley
af1b136846
Ooops, actually add hook_test.py to the repo!
2016-03-30 13:58:26 -07:00
Peter Eckersley
509600dec1
Address review comments
2016-03-30 13:58:12 -07:00
Peter Eckersley
c98bdd6988
Don't try to test empty hooks
2016-03-30 13:33:55 -07:00
Peter Eckersley
c11af67f2a
Some unit tests for hooks.py
2016-03-30 13:15:54 -07:00
Peter Eckersley
ffefac466a
Make hook errors more helpful
2016-03-29 18:46:51 -07:00
Peter Eckersley
8b8319355d
Actually validate hooks
2016-03-29 18:45:14 -07:00
Peter Eckersley
3265660478
Dry run testable
2016-03-29 18:33:57 -07:00
Peter Eckersley
87aa1bd140
lint
2016-03-29 18:16:41 -07:00
Peter Eckersley
ad5a08f5fc
Actually run the renew hook
2016-03-29 17:58:53 -07:00
Peter Eckersley
682ea359f8
Merge pull request #2707 from joohoi/gentoodefine
...
Fixed Gentoo define command
2016-03-29 17:36:19 -07:00
Gregor Dschung
1205b40411
Revise the concatenation order for fullchain.pem
2016-03-27 10:54:41 +02:00
Amjad Mashaal
6321719ba3
Merge remote-tracking branch 'letsencrypt/master'
2016-03-26 08:30:49 +02:00
Peter Eckersley
5943dc7c3d
Start implementing some renewal hook flags
...
Also some refactoring:
- split renewal out of _auth_from_domains into renewal.renew_cert
- split main._csr_obtain_cert out of main.obtain_cert
2016-03-25 20:37:12 -07:00
bmw
5732846109
Merge pull request #2719 from letsencrypt/docker-setuptools
...
Fixes #2712
2016-03-25 17:49:55 -07:00
Joona Hoikkala
09eeec0c94
Merge branch 'master' into pep8fixes
2016-03-26 00:46:53 +02:00
Brad Warren
c71b23754c
What's a correct v?
2016-03-25 14:47:12 -07:00
Brad Warren
fe078dfb95
fixes #2712
2016-03-25 14:31:16 -07:00