Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-13 | core: Don't return error on RegisterModule() and RegisterAdapter()v2.0.0-rc.3 | Matthew Holt | |
These functions are called at init-time, and their inputs are hard-coded so there are no environmental or user factors that could make it fail or succeed; the error return values are often ignored, and when they're not, they are usually a fatal error anyway. To ensure that a programmer mistake is not missed, we now panic instead. Last breaking change 🤞 | |||
2020-04-11 | Fix some godocs | Matthew Holt | |
2020-04-10 | admin: Always enforce Host header checks | Matthew Holt | |
With a simple heuristic for loopback addresses, we can enable this by default without adding unnecessary inconvenience. | |||
2020-04-10 | Update link in readme | Matthew Holt | |
2020-04-10 | tests: Clean up redundant type declarations | Matthew Holt | |
2020-04-10 | httpcaddyfile: Don't remove empty TLS conn policies (fix #3249) | Matthew Holt | |
Not sure why I thought that would be a good idea | |||
2020-04-10 | caddyhttp: Add nil check (fixes #3248 and fixes #3250) | Matthew Holt | |
2020-04-10 | Update readme | Matthew Holt | |
2020-04-09 | reverseproxy: Minor tweaksv2.0.0-rc.2 | Matthew Holt | |
We'll need that context in v2.1 when the transport can manage its own client certificates; see #3198 | |||
2020-04-09 | caddytls: Don't initialize default internal issuer unless necessary | Matthew Holt | |
Otherwise, a password prompt can occur unnecessarily. | |||
2020-04-09 | logging: Colorize output in all cases of stdout/stderr | Matthew Holt | |
2020-04-09 | caddytls: Fix for TLS conn policy being applied to HTTP-only servers (#3243) | Matt Holt | |
* httpcaddyfile: Don't add TLS policy to HTTP-only server (#3193, #3223) * Account for HTTP port * Add integration test written by @sarge | |||
2020-04-09 | go.mod: Update certmagic | Matthew Holt | |
2020-04-09 | go.mod: Try smallstep again | Matthew Holt | |
See if the broken dependency cycle has been... well, broken | |||
2020-04-09 | go.mod: Update smallstep/cli | Matthew Holt | |
2020-04-09 | go.mod: Update dependencies | Matthew Holt | |
Should fix the builds with GOPROXY=direct! | |||
2020-04-08 | caddyhttp: CEL matcher checks return type; slight refactor | Matthew Holt | |
As per https://github.com/caddyserver/caddy/issues/3051#issuecomment-611200414 | |||
2020-04-08 | chore: make the linter happier (#3245) | Mohammed Al Sahaf | |
* chore: make the linter happier * chore: remove reference to maligned linter in .golangci.yml | |||
2020-04-08 | httpcaddyfile, caddytls: Multiple edge case fixes; add tests | Matthew Holt | |
- Create two default automation policies; if the TLS app is used in isolation with the 'automate' certificate loader, it will now use an internal issuer for internal-only names, and an ACME issuer for all other names by default. - If the HTTP Caddyfile adds an 'automate' loader, it now also adds an automation policy for any names in that loader that do not qualify for public certificates so that they will be issued internally. (It might be nice if this wasn't necessary, but the alternative is to either make auto-HTTPS logic way more complex by scanning the names in the 'automate' loader, or to have an automation policy without an issuer switch between default issuer based on the name being issued a certificate - I think I like the latter option better, right now we do something kind of like that but at a level above each individual automation policies, we do that switch only when no automation policies match, rather than when a policy without an issuer does match.) - Set the default LoggerName rather than a LoggerNames with an empty host value, which is now taken literally rather than as a catch-all. - hostsFromKeys, the function that gets a list of hosts from server block keys, no longer returns an empty string in its resulting slice, ever. | |||
2020-04-08 | caddyhttp: Fix logging name associations by adding a default | Matthew Holt | |
2020-04-08 | logging: Only colorize console output | Matthew Holt | |
2020-04-08 | httpcaddyfile: Add key_type global option (#3231) | Francis Lavoie | |
2020-04-08 | cel: Leverage DefaultAdapter to extend CEL's type system | Matthew Holt | |
Thanks to @TristonianJones for the tip! https://github.com/caddyserver/caddy/commit/105acfa08664c97460a6fe3fb49635618be5bcb2#r38358983 | |||
2020-04-08 | caddyhttp: Return port placeholders as ints | Matthew Holt | |
2020-04-07 | basicauth: Re-prompt after invalid credentials (fix #3239) (#3240) | Matt Holt | |
2020-04-07 | templates: Update docs | Matthew Holt | |
2020-04-07 | templates: Add env function (closes #3237) | Matthew Holt | |
2020-04-07 | Merge branch 'remove-ntlm' | Matthew Holt | |
2020-04-07 | reverseproxy: Remove NTLM transport; refactor and improve docs | Matthew Holt | |
2020-04-07 | core: Rename ParsedAddress -> NetworkAddress | Matthew Holt | |
2020-04-06 | docs: Clarify "not" matcher structure (see #3233) | Matthew Holt | |
2020-04-06 | caddyhttp: Add missing LB policy Caddyfile unmarshalers (#3230) | Francis Lavoie | |
2020-04-06 | caddyhttp: Strictly forbid unnecessary blocks on matchers (#3229) | Francis Lavoie | |
2020-04-06 | caddyhttp: Support single-line not matcher (#3228) | Francis Lavoie | |
* caddyhttp: Support single-line not matcher shortcut * caddyhttp: Some tests, I guess | |||
2020-04-06 | templates: Use text/template; add experimental notice to docs | Matthew Holt | |
Using html/template.HTML like we were doing before caused nested include to be HTML-escaped, which breaks sites. Now we do not escape any of the output; template input is usually trusted, and if it's not, users should employ escaping actions within their templates to keep it safe. The docs already said this. | |||
2020-04-06 | httpcaddyfile: Carry bind setting through to ACME issuer (fixes #3232) | Matthew Holt | |
2020-04-06 | caddytls: Support custom bind host for challenges (#3232) | Matthew Holt | |
2020-04-06 | tests: Remove noisy logs | Matthew Holt | |
2020-04-04 | ci: Tweak commit prefixes to ignore | Matthew Holt | |
2020-04-04 | cmd: Log warning if --resume and --config used together | Matthew Holt | |
There's nothing actually risky/dangerous in this situation, it's mostly an attempt to get the user's attention | |||
2020-04-03 | chore: add adapt tests. fix load failure not failing tests (#3222) | Mark Sargent | |
* add adaption tests. fix load failure not failing tests * removed unnecessary assignment | |||
2020-04-03 | httpcaddyfile: Yield cleaner JSON when conn policy or log name is empty | Matthew Holt | |
2020-04-03 | go.mod: Update CertMagic (again) v0.10.10 | Matthew Holt | |
2020-04-03 | go.mod: Use latest Certmagic (v0.10.9) | Matthew Holt | |
2020-04-03 | fastcgi: Account for lack of split path configuration (fix #3221) | Matthew Holt | |
2020-04-03 | go.mod: Update CertMagic to v0.10.8 | Matthew Holt | |
Fixes occasional panic due to closing closed channel | |||
2020-04-03 | Create FUNDING.yml | Matt Holt | |
I guess this got left in the v1 branch when we switched, oops | |||
2020-04-02 | ci: goreleaser: Drop some platforms and replacements (#3217) | Matt Holt | |
Based on download stats, demand for 32-bit binaries these days is extremely low. Also unify some of the filename conventions; just a few bikeshedding changes :) | |||
2020-04-02 | readme: So much more ... what? Fixed cliffhangerv2.0.0-rc.1 | Matthew Holt | |
2020-04-02 | chore: ci: fix release action script (#3216) | Mohammed Al Sahaf | |
* chore: ci: fixing the step name that captures the pushed tag * chrore: ci: exclude commits prefixed with `ci:` from changelog |