Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-07-21 | Tests for replacer (#2675) | Johannes Hörmann | |
* Tests for Replacer: Replacer.Set and Replacer.Delete * update replacer test to new implementation * fix replacer: counted position wrong if placeholder was found * fix replacer: found placeholder again, if it was a non-existing one * test with spaces between the placeholders as this could have a different behaviour * Tests for Replacer.Map * Tests for Replacer.Set: check also for something like {l{test1} This should be replaced as {lTEST1REPLACEMENT * fix replacer: fix multiple occurrence of phOpen sign * Tests for Replacer: rewrite Set and ReplaceAll tests to use implementation not interface * Tests for Replacer: rewrite Delete test to use implementation not interface * Tests for Replacer: rewrite Map tests to use implementation not interface * Tests for Replacer: add test for NewReplacer * Tests for Replacer: add test for default replacements * Tests for Replacer: fixed and refactored tests * Tests for Replacer: moved default replacement tests to New-test as new should return a replace with provider which defines global replacements | |||
2019-07-20 | Add /stop endpoint to admin (#2671) | Toby Allen | |
* Add stop command to admin. Exit after stop. * Return error on incorrect http Method and provide better logging. * reuse stopAndCleanup function for all graceful stops | |||
2019-07-20 | Force quit on Windows with taskkill /f (#2670) | Toby Allen | |
* Force quit /f on windows, also check for processname '.exe' on windows. * Remove unneeded spaces * fix tabs * go fmt tabs * Return consistent appname which always includes .exe * Change func name | |||
2019-07-18 | cmd: Add print-env flag to run command | Matthew Holt | |
2019-07-18 | tls: Use IANA-standard cipher suite names | Matthew Holt | |
2019-07-18 | Fix DNS provider module unmarshaling (closes #2676) | Matthew Holt | |
2019-07-16 | Performance improvements to Replacer implementation (placeholders) (#2674) | Matt Holt | |
Closes #2673 | |||
2019-07-15 | Minor tweaks | Matthew Holt | |
2019-07-15 | mod: Use blackfriday's standard v2 module import path | Matthew Holt | |
2019-07-12 | Get module name at runtime, and tidy up modules | Matthew Holt | |
2019-07-12 | Standardize exit codes and improve shutdown handling; update gitignore | Matthew Holt | |
2019-07-12 | Fix readme example for updated handler structure | Matthew Holt | |
2019-07-11 | Rename handler modules to use http.handlers namespace | Matthew Holt | |
2019-07-11 | Fix rehandling bug | Matthew Holt | |
2019-07-11 | Merge branch 'v2-handlers' into v2 | Matthew Holt | |
# Conflicts: # modules/caddyhttp/caddyhttp.go # modules/caddyhttp/fileserver/staticfiles.go # modules/caddyhttp/routes.go # modules/caddyhttp/server.go # modules/caddyhttp/staticresp.go # modules/caddyhttp/staticresp_test.go | |||
2019-07-11 | Add error & subroute handlers; weakString; other minor handler changes | Matthew Holt | |
2019-07-11 | Flatten HTTP handler config (#2662) (#2663) | Matt Holt | |
Differentiating middleware and responders has one benefit, namely that it's clear which module provides the response, but even then it's not a great advantage. Linear handler config makes a little more sense, giving greater flexibility and simplifying the core a bit, even though it's slightly awkward that handlers which are responders may not use the 'next' handler that is passed in at all. | |||
2019-07-09 | Flatten HTTP handler config (#2662) | Matthew Holt | |
Differentiating middleware and responders has one benefit, namely that it's clear which module provides the response, but even then it's not a great advantage. Linear handler config makes a little more sense, giving greater flexibility and simplifying the core a bit, even though it's slightly awkward that handlers which are responders may not use the 'next' handler that is passed in at all. | |||
2019-07-08 | Add path components to HTTP replacer | Matthew Holt | |
2019-07-08 | Move listen address functions into caddy package; fix unix bug | Matthew Holt | |
2019-07-07 | Better error handling in CLI commands | Matthew Holt | |
2019-07-07 | Fix error handling with Validate when loading modules (fixes #2658) | Matthew Holt | |
The return statement was improperly nested in context.go | |||
2019-07-05 | Little cleanups | Matthew Holt | |
2019-07-05 | acmemanager: Use storage module key "module" instead of "system" | Matthew Holt | |
2019-07-05 | cmd: New reload command | Matthew Holt | |
2019-07-03 | Lowercase env var names in replacer | Matthew Holt | |
2019-07-03 | Update readme docs | Matthew Holt | |
2019-07-03 | Change storage module key from "system" to "module" | Matthew Holt | |
2019-07-02 | Minor improvements to readme | Matthew Holt | |
2019-07-02 | Fix links in readme | Matthew Holt | |
2019-07-02 | go.mod: Append /v2 to module name; update all import paths | Matthew Holt | |
See https://github.com/golang/go/wiki/Modules#semantic-import-versioning | |||
2019-07-02 | Fix README typo, sigh... | Matthew Holt | |
2019-07-02 | Add menu and list of improvements to readme | Matthew Holt | |
2019-07-01 | Add a proper readme | Matthew Holt | |
2019-07-01 | tls: Enable TLS 1.3 by default; set sane defaults on tls.Config structs | Matthew Holt | |
2019-06-30 | encode: Add "Vary" response header | Matthew Holt | |
2019-06-30 | Add license | Matthew Holt | |
2019-06-30 | Add authors file | Matthew Holt | |
2019-06-29 | Fix encoder name bug; remove unused field in encode middleware struct | Matthew Holt | |
2019-06-28 | httpserver: Set default Server header | Matthew Holt | |
2019-06-28 | Refactor code related to getting current version | Matthew Holt | |
And set version in CertMagic for User-Agent purposes | |||
2019-06-28 | Caddy 2 gets a CLI! And admin endpoint is now configurable via JSON | Matthew Holt | |
2019-06-27 | Use html/template for escaping by default | Matthew Holt | |
Allow HTML only with a few specific functions | |||
2019-06-27 | Implement etag; fix related bugs in encode and templates middlewares | Matthew Holt | |
2019-06-26 | Optionally enforce strict TLS SNI + HTTP Host matching, & misc. cleanup | Matthew Holt | |
We should look into a way to enable this by default when TLS client auth is configured for a server | |||
2019-06-26 | Enable skipping just certificate management for some auto HTTPS names | Matthew Holt | |
2019-06-26 | Refactor automatic HTTPS configuration; ability to skip certain names | Matthew Holt | |
2019-06-26 | Fix panics by disallowing explicitly-defined null modules in config | Matthew Holt | |
2019-06-24 | caddytls: Support tags for manually-loaded certificates | Matthew Holt | |
2019-06-21 | Various bug fixes and minor improvements | Matthew Holt | |
- Fix static responder so it doesn't replace its own headers config, and instead replaces the actual response header values - caddyhttp.ResponseRecorder type optionally buffers response - Add interface guards to ensure regexp matchers get provisioned - Use default HTTP port if one is not explicitly set - Encode middleware writes status code 200 if not written upstream - Templates and markdown only try to execute on text responses - Static file server sets Content-Type based on file extension only (this whole thing -- MIME sniffing, etc -- needs more configurability) |