Brad Warren
|
ed4fc9d2f7
|
call _comment_directive
|
2016-07-18 18:20:21 -07:00 |
|
Brad Warren
|
5dd8f70e56
|
better newline logic
|
2016-07-18 18:19:14 -07:00 |
|
Brad Warren
|
bd21325fcd
|
newline logic
|
2016-07-18 18:12:44 -07:00 |
|
Brad Warren
|
aa33c0fa83
|
does it work?
|
2016-07-18 15:33:28 -07:00 |
|
Brad Warren
|
5d7ef49fac
|
_add_directive cleanup
|
2016-07-18 15:25:09 -07:00 |
|
Peter Eckersley
|
e3ab49a93b
|
Rework "value" parser:
- Now handles any${VAR_SUBSTITUTION}inthemiddle/of/values
- Don't use a single giant janky Regex; use small ones and have PyParsing
combine them
|
2016-07-15 17:11:04 -07:00 |
|
Peter Eckersley
|
b6966fc05e
|
lint
|
2016-07-15 17:11:04 -07:00 |
|
Peter Eckersley
|
7183896ed7
|
Preserve spaces before comments at the beginning of a file
|
2016-07-15 17:11:04 -07:00 |
|
Brad Warren
|
dbb2398270
|
Add _comment_spaced_block
|
2016-07-15 09:25:12 -07:00 |
|
Brad Warren
|
9c915b0ae4
|
Fix tests
|
2016-07-14 18:15:01 -07:00 |
|
Brad Warren
|
6b639679e8
|
Merge branch 'master' into no-conflicting-declarations
|
2016-07-14 17:26:39 -07:00 |
|
Peter Eckersley
|
b7cf928852
|
Parse charset_map correctly
(though we still don't emit it correctly...)
|
2016-07-13 17:17:45 -07:00 |
|
Peter Eckersley
|
68500cd436
|
Don't allow dollar_var to swalllow characters like "{"
|
2016-07-09 15:13:09 -07:00 |
|
Peter Eckersley
|
be8f0bc53b
|
Do a better job of parsing map patterns
|
2016-06-30 15:29:38 -07:00 |
|
Peter Eckersley
|
db8ddac4e2
|
lint & tweak
|
2016-06-30 15:13:35 -07:00 |
|
Peter Eckersley
|
8c3e443de9
|
First attempt at mitigating #3206
|
2016-06-30 15:07:28 -07:00 |
|
schoen
|
adeb39a7f2
|
Merge pull request #3218 from certbot/nginx-dirty-write-only
Only write nginx config files if they've been modified
|
2016-06-27 14:07:51 -07:00 |
|
schoen
|
eaf339632a
|
Merge pull request #3184 from certbot/nginx-space-preservation
Nginx space preservation
|
2016-06-27 12:50:34 -07:00 |
|
Peter Eckersley
|
bdbdd826de
|
Extra comment & concision
|
2016-06-27 12:50:06 -07:00 |
|
Peter Eckersley
|
3e9bf2f35f
|
Tests for UnspacedList.is_dirty()
|
2016-06-27 12:50:06 -07:00 |
|
Peter Eckersley
|
6017a6cb6d
|
Only write nginx config files if we've modified them
|
2016-06-27 12:44:36 -07:00 |
|
Peter Eckersley
|
184f54cbc7
|
cosmetic improvements
|
2016-06-27 12:36:28 -07:00 |
|
Peter Eckersley
|
fdbb69930b
|
Tweak the NotImplementedError cases
|
2016-06-27 12:00:41 -07:00 |
|
Peter Eckersley
|
98d261596c
|
Raise NotImplemented for all problematic list methods
|
2016-06-24 19:16:05 -07:00 |
|
Peter Eckersley
|
0dc4639cbf
|
Be more explicit about range policing
(rather than doing it in some roundabout crazy way)
|
2016-06-24 18:56:30 -07:00 |
|
Peter Eckersley
|
880cb03191
|
Make assertions about index policing
|
2016-06-24 18:50:18 -07:00 |
|
Peter Eckersley
|
6a938f2ee7
|
Fix docstring nit
|
2016-06-24 16:52:02 -07:00 |
|
Peter Eckersley
|
8f0a5fdc66
|
Fix a bug in the new index calculations
|
2016-06-24 16:48:30 -07:00 |
|
Peter Eckersley
|
20b92a3c1f
|
Add some test coverage
|
2016-06-24 16:48:22 -07:00 |
|
Peter Eckersley
|
9da533d92e
|
Be more succinct
|
2016-06-24 16:13:12 -07:00 |
|
Peter Eckersley
|
e415a4d402
|
For now, instead, consider this NotImplemented
|
2016-06-24 14:36:23 -07:00 |
|
Peter Eckersley
|
ad13b525b2
|
For reference, a buggy attempt to implement slicing
but slice assignment seems to mangle the .spaced list in some cases
|
2016-06-24 14:35:42 -07:00 |
|
Peter Eckersley
|
6930523c14
|
Refactor to simplify indenation handling
|
2016-06-23 17:59:26 -07:00 |
|
Peter Eckersley
|
a29c6e3102
|
Try simplifying handling of spacey sublists
- this was causing test failures but they may all have been fixed by other
changes...
|
2016-06-23 14:06:32 -07:00 |
|
Peter Eckersley
|
db66050a7a
|
Make atomicity comment more accurate
|
2016-06-23 11:41:31 -07:00 |
|
Peter Eckersley
|
4ef7131a4b
|
Name all of nginxparser's magic regexps
|
2016-06-23 11:06:11 -07:00 |
|
Brad Warren
|
975599e9ca
|
Remove bad save in nginx perform
|
2016-06-22 18:25:09 -07:00 |
|
Peter Eckersley
|
26fdc4683b
|
Merge remote-tracking branch 'origin/master' into nginx-space-preservation
|
2016-06-22 16:39:27 -07:00 |
|
Peter Eckersley
|
7ea0ce5a17
|
Remove warning about nginx options file
- This would be a security issue if we ran as setuid root at the request of
non-privileged users, but we don't
|
2016-06-21 15:34:26 -07:00 |
|
Peter Eckersley
|
098d23ac98
|
Comment a couple of things
|
2016-06-21 15:33:57 -07:00 |
|
Peter Eckersley
|
884b21ffbe
|
fix docstring typo
|
2016-06-21 15:11:32 -07:00 |
|
Peter Eckersley
|
5960376d36
|
Cleanups
|
2016-06-20 18:17:47 -07:00 |
|
Peter Eckersley
|
14ea8d8cdf
|
Fix server_name spaciness
|
2016-06-20 17:45:02 -07:00 |
|
Peter Eckersley
|
02844904f0
|
Improve coverage
|
2016-06-20 16:11:32 -07:00 |
|
Peter Eckersley
|
e2fd1369f3
|
Update test for fancier semantics
|
2016-06-20 16:08:40 -07:00 |
|
Peter Eckersley
|
ef31a837f7
|
Lint
|
2016-06-20 15:56:19 -07:00 |
|
Peter Eckersley
|
d2b4ae5740
|
Consistently coerce inbound data to Unspacines
|
2016-06-18 15:17:59 -07:00 |
|
Peter Eckersley
|
b663ec039e
|
lint
|
2016-06-18 15:05:48 -07:00 |
|
Peter Eckersley
|
1e59bf8112
|
fixup
|
2016-06-18 14:53:17 -07:00 |
|
Peter Eckersley
|
e4f88506cc
|
Fix TLS_SNI & associated tests
|
2016-06-18 14:52:07 -07:00 |
|