Brad Warren
8ba59406ad
When in doubt, use the config root
2016-01-26 11:40:44 -08:00
Joona Hoikkala
be1d1321b6
Pep8 love
2016-01-14 13:25:15 +02:00
Joona Hoikkala
ffeef67e54
Use lists to handle multiple different matching wildcards in same directory
2016-01-05 14:36:42 +02:00
Joona Hoikkala
63f311eea4
Refactored the checking method to be easier to read
2016-01-05 13:16:49 +02:00
Joona Hoikkala
10a49532ae
Add / replace functionality to augeas transform paths to overwrite old narrower scope if needed
2016-01-05 11:25:21 +02:00
Joona Hoikkala
e3358bb153
Abstract the remaining commands to configurable ones
2015-12-28 13:47:14 +02:00
Joona Hoikkala
83812dc16a
Abstract config file matching to os based constants
2015-12-28 12:56:44 +02:00
Joona Hoikkala
c728219bc9
Changed define and version commands from string to list to avoid unneeded parsing later on
2015-12-25 10:18:24 +02:00
Joona Hoikkala
2366b29755
Fix the flow let #1961 and #1811 coexist
2015-12-23 20:07:15 +02:00
Joona Hoikkala
e7641dcdee
Merge remote-tracking branch 'upstream/master' into multios_apache
...
# Conflicts:
# letsencrypt-apache/letsencrypt_apache/configurator.py
# letsencrypt-apache/letsencrypt_apache/parser.py
# letsencrypt-apache/letsencrypt_apache/tests/configurator_test.py
2015-12-23 20:02:34 +02:00
Joona Hoikkala
7b05d573f2
Abstracted the -D DUMP_RUN_CFG command to use os specific one, defined in constants
2015-12-22 10:32:18 +02:00
Joona Hoikkala
52167475df
Get pass version to parser and ignore CLI checks for define for 2.2 as it returns empty results anyway
2015-12-21 23:51:22 +02:00
Joona Hoikkala
48b1240451
Removed redundant config parsing directive.
2015-12-11 09:18:00 +02:00
Noah Swartz
d761df90d4
added coverage tests
2015-12-09 18:51:16 -08:00
Noah Swartz
0a1b9c2bf0
fixed failing tests for changes that allow apache22
2015-12-09 17:05:38 -08:00
Joona Hoikkala
47eb7d76cd
PEP8 & linter love
2015-12-07 13:37:58 +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
Joona Hoikkala
e58c0a530f
Call paper with customizable vhost root parameter
2015-12-07 01:15:29 +02:00
Joona Hoikkala
103454e4a3
Support CentOS configuration layout in parser
2015-12-06 22:46:28 +02:00
Noah Swartz
ce2ce697bd
check for missed define statements at the end of parsing
2015-12-03 12:12:38 -08:00
Noah Swartz
d76cd9c315
remove duplicate docstring line
2015-12-01 15:57:02 -08:00
Noah Swartz
d4ee483662
revert changes made to wrong branch
2015-11-23 10:52:39 -08:00
Noah Swartz
2738290b98
fix issue with empty matchers array
2015-11-23 10:21:31 -08:00
Noah Swartz
699cdac8ea
remove error if can't parse config
2015-11-23 10:08:43 -08:00
David Kreitschmann
39c83d17d7
Add -t to apache2ctl -D DUMP_RUN_CFG
...
Calling apache2ctl -D DUMP_RUN_CFG on Debian Wheezy (Apache 2.2) will
open a socket which breaks standalone auth. letsencrypt still won’t
work with apache 2.2 because it only returns „Syntax OK“.
Apache 2.4 works the same with or without -t.
2015-10-29 10:06:32 +01:00
James Kasten
e922a82277
letsencrypt-apache/
2015-09-22 09:06:53 -07:00
James Kasten
19d65c3e2f
Add variable quote parsing
2015-09-22 08:56:26 -07:00
James Kasten
6e4faac9c0
Allow single/double quotes around Include dirs
2015-09-22 08:15:11 -07:00
James Kasten
f2cee505f5
fix 781
2015-09-17 02:14:53 -07:00
Jakub Warmuz
95c8edc66c
pep8 letsencrypt-apache
2015-09-06 09:20:41 +00:00
James Kasten
dde4951be5
fix 691
2015-08-17 10:40:42 -07:00
James Kasten
f71119681c
Address most of first round of comments
2015-07-30 23:14:58 -07:00
James Kasten
ab42f7fdfe
100% unittests for apache plugin
2015-07-24 17:05:25 -07:00
James Kasten
c927149185
Unittests and revisions
2015-07-23 01:34:51 -07:00
James Kasten
8b96264576
improved redirect, testcases
2015-07-22 02:05:01 -07:00
James Kasten
d25c7c36e7
Convert to servername/serveralias
2015-07-21 17:16:46 -07:00
James Kasten
6a8590b4cc
Improved Apache and unittests
2015-07-19 19:49:44 -07:00
James Kasten
3206880673
add complex parsing tests
2015-07-19 16:48:27 -07:00
James Kasten
78fd81aed7
Cleanup Apache
2015-07-19 02:22:10 -07:00
James Kasten
de4540a1c7
some cleanup
2015-07-17 14:09:46 -07:00
James Kasten
ec065e8b58
Parse variables and fnmatch
2015-07-13 23:18:33 -07:00
James Kasten
89d810c06a
Fix enable_mod
2015-07-13 14:16:51 -07:00
James Kasten
a3e257f6fc
Merge branch 'master' into apache_modules
2015-07-10 22:29:56 -07:00
Jakub Warmuz
120a94f84f
mv letsencrypt_* letsencrypt-*.
2015-07-11 04:31:18 +00:00