24 Commits

Author SHA1 Message Date
Brainwrecked Tech
ae8c8b44e7 Added uniform spacing of directives and their parameters 2019-11-26 08:40:29 -05:00
Michał Słomkowski
c7726b7072 Remove spurious __pycache__ dir. Format code. 2019-07-26 16:54:47 +02:00
Michał Słomkowski
47e7e317b2
Merge pull request #17 from Coordinate35/master
fix https://github.com/1connect/nginx-config-formatter/issues/14
2019-07-26 16:48:23 +02:00
weijunjie
0e11260d65 add ut 2019-07-24 20:18:52 +08:00
weijunjie
cd5eee8dcf fix curly bracket in quotes 2019-07-24 19:56:52 +08:00
Michał Słomkowski
4ea6bbc1bd
Merge pull request #12 from denji/patch-1
fix the multi_semicolon bug
2019-02-13 15:15:58 +01:00
yongfu
26e6061f42 fix the multi_semicolon bug 2019-01-24 15:02:59 +02:00
Michał Słomkowski
6df60552dd
Merge pull request #6 from RickieL/master
Fix rewrite regex number choice "curly bracket" case.
2018-09-25 15:37:55 +02:00
yongfu
70a0198ecb add test for multi_semicolon and rewrite reg 2018-09-25 20:56:37 +08:00
RickieL
93748ca7a8
fix multiline ; in one line case and rewrite regex curly bracket case.
fix multiline `;` in one line case  and rewrite regex curly bracket case.
2018-09-10 23:28:22 +08:00
RickieL
21012dab46
Merge pull request #1 from RickieL/RickieL-patch-1
fixed rewrite regex Curly Bracket case.
2018-09-10 22:13:23 +08:00
RickieL
0b72d86a8b
fixed rewrite regex Curly Bracket case.
fix the case that "Curly Bracket" in the rewrite case below:

`rewrite "^/a/([\d]{2})_(\d+).html$" /a/0$1/$1$2.html last;`
2018-09-10 22:11:40 +08:00
Michał Słomkowski
f5a26225bd Fix error which split line when it contained backslash. Fixes #5 2017-07-26 05:58:44 +02:00
Michał Słomkowski
4488f2ee63 Add support for variable marks ${ and }. Fixes #4 2017-07-20 22:20:48 +02:00
Michał Słomkowski
09f0b8a700 Add support for latin1 encoding of input files. #2 2017-02-17 13:50:44 +01:00
Michał Słomkowski
fe5c77d2a5 Fill up readme. 2016-06-16 22:30:25 +02:00
Michał Słomkowski
ec596dd7e8 Change strip_line to prevent collapsing spaces in comments. 2016-06-16 21:49:29 +02:00
Michał Słomkowski
82be152c34 Add feature to remove excessive newlines. 2016-06-16 02:37:44 +02:00
Michał Słomkowski
0c28d599c0 Fix error with brackets in comments. 2016-06-16 02:07:33 +02:00
Michał Słomkowski
73f01a74ec Add function description and some readme. 2016-06-16 01:53:26 +02:00
Michał Słomkowski
d2b62206fd Add working implementation. 2016-06-16 01:34:59 +02:00
Michał Słomkowski
89635aafbf Merge branch 'master' of github.com:1connect/nginx-config-formatter 2016-06-09 02:29:04 +02:00
Michał Słomkowski
b8841669eb Initial commit 2016-06-09 02:28:21 +02:00
Michał Słomkowski
5e42af488b Add project bootstrap. 2016-06-09 02:25:29 +02:00