56 Commits (7778912d4eb51b5ae2c7af584c42fc85e1e09f2c)

Author SHA1 Message Date
Francis Lavoie 1d0425b26f
templates: Elaborate on what's supported by the markdown function (#4564) 3 years ago
Kevin Daudt 44e5e9e43f
caddyhttp: Fix test when /tmp/etc already exists (#4544) 3 years ago
Matthew Holt 6cadb60fa2
templates: Document .OriginalReq 3 years ago
Tim Culverhouse ec14ccdd40
templates: fix inconsistent nested includes (#4452) 3 years ago
Y.Horie 64f8b557b1
fileserver: Fix compression breaks using httpInclude (#4352) (#4358) 3 years ago
KallyDev c48fadc4a7
Move from deprecated ioutil to os and io packages (#4364) 3 years ago
Matthew Holt 501da21f20
General minor improvements to docs 3 years ago
Tim Culverhouse 16f752125f
templates: Add tests for funcInclude and funcImport (#4357) 3 years ago
Tim Culverhouse 5fda9610f9
templates: Add 'import' action (#4321) 3 years ago
Matthew Holt 2392478bd3
templates: Propagate httpError to HTTP response 3 years ago
Jason Du 637fd8f67b
fileserver: Share template logic for both `templates` and `file_server browse` (#4093) 4 years ago
Mohammed Al Sahaf 03b5debd95
ci: fuzz: add 4 more fuzzing targets (#4105) 4 years ago
Matthew Holt 14f50d9dfb
templates: Add fileExists and httpError template actions 4 years ago
Dave Henderson bd17eb205d
ci: Use golangci's github action for linting (#3794) 4 years ago
Bart af5c148ed1
admin,templates,core: Minor enhancements and error handling (#3607) 5 years ago
Patrick Hein 2bc30bb780
templates: Implement placeholders function (#3324) 5 years ago
Matthew Holt a2dae1d43f
templates: Fix front matter closing fence search 5 years ago
Greg Anders c35820012b
templates: Disable hard wraps in Markdown rendering (#3553) 5 years ago
Francis Lavoie 003403ecbc
templates: Add support for dots to close yaml frontmatter (#3498) 5 years ago
Thorkild Gregersen 483e31b978
templates: trim windows whitespace in SplitFrontMatter; fix #3386 (#3387) 5 years ago
Matthew Holt 9770ce7c9f Minor comment fix 5 years ago
Matthew Holt 02845bc9fd
docs: Improve template documentation slightly; use const, not literal 5 years ago
Mohammed Al Sahaf 7dfd69cdc5
chore: make the linter happier (#3245) 5 years ago
Matthew Holt 95f6bd7e5c
templates: Update docs 5 years ago
Matthew Holt b1ce9d4db7
templates: Add env function (closes #3237) 5 years ago
Matthew Holt 437d5095a6
templates: Use text/template; add experimental notice to docs 5 years ago
Matthew Holt 406df22a16
templates: Enable Goldmark's footnote extension (closes #3136) 5 years ago
Success Go ca5c679880
Fix typos (#3087) 5 years ago
Mohammed Al Sahaf dff78d82ce v2: housekeeping: address minor lint complaints (#2957) 5 years ago
Matthew Holt fdabac51a8
Improve docs, especially w.r.t. placeholders and template actions 5 years ago
Matthew Holt 95d944613b
Export Replacer and use concrete type instead of interface 5 years ago
Matthew Holt 82bebfab8a
templates: Change functions, add front matter support, better markdown 5 years ago
Matthew Holt 95ed603de7
Improve godocs all around 5 years ago
Matt Holt 3c90e370a4
v2: Module documentation; refactor LoadModule(); new caddy struct tags (#2924) 5 years ago
Matthew Holt a458544d9f
Minor enhancements/fixes to rewrite directive and template virt req's 5 years ago
Matthew Holt abf5ab340e
caddyhttp: Improve ResponseRecorder to buffer headers 5 years ago
Matthew Holt 715e6ddf51
go.mod: Update dependencies 5 years ago
Matthew Holt 2459c292a4
caddyfile: Improve Dispenser.NextBlock() to support nesting 5 years ago
Matthew Holt 14f9662f9c
Various fixes/tweaks to HTTP placeholder variables and file matching 5 years ago
Matthew Holt c9980fd367
Refactor Caddyfile adapter and module registration 6 years ago
Matthew Holt c4159ef76d
Fix module-related errors 6 years ago
Matthew Holt ab885f07b8
Implement config adapters and beginning of Caddyfile adapter 6 years ago
Matthew Holt f217181293
mod: Use blackfriday's standard v2 module import path 6 years ago
Matthew Holt eb8625f774
Add error & subroute handlers; weakString; other minor handler changes 6 years ago
Matt Holt 9343403358
Flatten HTTP handler config (#2662) (#2663) 6 years ago
Matthew Holt 4a3a418156
Flatten HTTP handler config (#2662) 6 years ago
Matthew Holt fdd871e177
go.mod: Append /v2 to module name; update all import paths 6 years ago
Matthew Holt 3177ee8010 Add license 6 years ago
Matthew Holt 006dc1792f Use html/template for escaping by default 6 years ago
Matthew Holt a63cb3e3fd Implement etag; fix related bugs in encode and templates middlewares 6 years ago