63 Commits (0be3d995439245e8b4069fd3bddcd4b8ef9194d4)

Author SHA1 Message Date
Francis Lavoie 3a1e0dbf47
httpcaddyfile: Deprecate paths in site addresses; use zap logs (#4728) 3 years ago
Matthew Holt db62942d63
Make file modes consistent 3 years ago
Francis Lavoie 134b805644
caddyfile: Prevent bad block opening tokens (#4655) 3 years ago
Francis Lavoie c5fffb4ac2
caddyfile: Support for raw token values; improve `map`, `expression` (#4643) 3 years ago
Francis Lavoie 4e9fbee1e2
ci: Build on Go 1.18, bump actions versions (#4637) 3 years ago
Francis Lavoie d058dee11d
reverseproxy: Refactor dial address parsing, augment command parsing (#4616) 3 years ago
Runzhi He e90d751732
caddyfile: impove fmt warning message (#4444) 3 years ago
Matthew Holt b47af6ef04
caddyfile: Copy input before parsing (fix #4422) 3 years ago
KallyDev c48fadc4a7
Move from deprecated ioutil to os and io packages (#4364) 3 years ago
Matthew Holt 2ebfda1ae9
Make copyright notice more consistent 3 years ago
Francis Lavoie 51f125bd44
caddyfile: Better error message for missing site block braces (#4301) 3 years ago
Francis Lavoie d74913f871
caddyfile: Error on invalid site addresses containing comma (#4302) 3 years ago
Ggicci b6f51254ea
caddyfile: keep error chain info in Dispenser.Errf (#4233) 4 years ago
Francis Lavoie b82db994f3
caddyfile: Add parse error on site address with trailing `{` (#4163) 4 years ago
Matthew Penner bc22102478
caddyfile: Fix `caddy fmt` nesting not decrementing (#4157) 4 years ago
Francis Lavoie a8d45277ca
caddyfile: Fix `import` replacing unrelated placeholders (#4129) 4 years ago
Mohammed Al Sahaf 00e12aa918
fuzz: fix the FuzzFormat comparison (#4117) 4 years ago
Mohammed Al Sahaf 3903642aa7
caddyfile: reject cyclic imports (#4022) 4 years ago
Mohammed Al Sahaf 03b5debd95
ci: fuzz: add 4 more fuzzing targets (#4105) 4 years ago
Francis Lavoie 3401f91dbe
caddyfile: Normalize line endings before comparing fmt result (#4103) 4 years ago
Matthew Holt 160d199999
caddytest: Update Caddyfile tests for formatting, HTTP-only blocks 4 years ago
Matthew Holt f0216967dc
caddyfile: Refactor unmarshaling of module tokens 4 years ago
Matt Holt c8557dc00b
caddyfile: Introduce basic linting and fmt check (#3923) 4 years ago
Matthew Holt 635f075f18
caddyfile: Fix minor bug in formatter 4 years ago
Francis Lavoie c6dec30535
caddyfile: Add support for env var defaults; add tests (#3682) 4 years ago
Francis Lavoie fb9d874fa9
caddyfile: Export Tokenize function for lexing (#3549) 5 years ago
Francis Lavoie fdf2a77feb
caddyfile: Add args on imports (#3423) 5 years ago
Francis Lavoie 69b5643130
chore: Fix typo in dispenser.go (#3456) 5 years ago
Francis Lavoie ffc125d6f5
caddyfile: Move NewTestDispenser into non-test file (#3439) 5 years ago
Francis Lavoie 96d6d277a4
caddyconfig: Don't start comments in middle of tokens (#3267) 5 years ago
Matt Holt 52305618df
caddyfile: Support backticks as quotes (closes #2591) (#3242) 5 years ago
Mohammed Al Sahaf bae4f15fad
ci: fuzz: remove the fuzzer of the Caddyfile parser (#3288) 5 years ago
Matthew Holt 81cdebf648
tests: Remove noisy logs 5 years ago
Mohammed Al Sahaf 3634c4593f
ci: fuzz: skip fuzz data that contains `import` (#3214) 5 years ago
Matthew Holt 6ca5828221
caddytls: Refactor certificate selection policies (close #1575) 5 years ago
Matthew Holt 6fe04a30b1
caddyfile: Export NewTestDispenser() (close #2930) 5 years ago
Matthew Holt deba26d225
caddyfile: Minor fixes to the formatter 5 years ago
Mohammed Al Sahaf 8da9eaee34
ci: fuzz: switch engine from libfuzzer to native go-fuzz (#3194) 5 years ago
Matthew Holt 7ee3ab7baa
caddyfile: Formatter enhancements 5 years ago
Mohammed Al Sahaf 61b427fa47
v2: fuzz: update function signature of caddyfile.Parse (#3160) 5 years ago
Vaibhav f192ae5ea5
cmd: fmt: Fix brace opening block indentation (#3153) 5 years ago
Vaibhav 71e81d262b
fmt: Add support for block nesting. (#3105) 5 years ago
Vaibhav 5fe69ac4ab
cmd: Add `caddy fmt` command. (#3090) 5 years ago
Success Go ca5c679880
Fix typos (#3087) 5 years ago
Zaq? Wiedmann 063ed1e7f9
caddyfile: expand environment variables within caddy files (#3082) 5 years ago
Matthew Holt 15bf9c196c caddyfile: Refactor; NewFromNextSegment(); fix repeated matchers 5 years ago
Matthew Holt e51e56a494
httpcaddyfile: Fix nested blocks; add handle directive; refactor 5 years ago
Zaq? Wiedmann 3dcc34d341 caddyfile: advance cursor for claimed token in NewFromNextTokens() (#2971) 5 years ago
Mark Sargent 871abf1053 caddyfile: fix replacing variables on imported files (#2970) 5 years ago
Mark Sargent 7c419d5349 caddyfile: Preprocess env vars in {$THIS} format (#2963) 5 years ago