Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-17 | cmd: Avoid spammy log messages (fix #5538) | Matthew Holt | |
I forgot there are two calls to LoadConfig() here that needed replacing. | |||
2023-05-12 | cmd: Reduce spammy logs from --watch | Matthew Holt | |
2023-05-08 | feature: watch include directory (#5521) | Yehonatan Ezron | |
Co-authored-by: Matt Holt <mholt@users.noreply.github.com> | |||
2023-04-10 | cmd: Support `'` quotes in envfile parsing (#5437) | Matt Holt | |
2023-04-03 | cmd: Create pidfile before config load (close #5477) | Matthew Holt | |
2023-02-24 | cmd: Expand cobra support, add short flags (#5379) | Francis Lavoie | |
* cmd: Expand cobra support * Convert commands to cobra, add short flags * Fix version command typo Co-authored-by: Emily Lange <git@indeednotjames.com> * Apply suggestions from code review Co-authored-by: Matt Holt <mholt@users.noreply.github.com> --------- Co-authored-by: Emily Lange <git@indeednotjames.com> Co-authored-by: Matt Holt <mholt@users.noreply.github.com> | |||
2023-02-22 | cmd: Strict unmarshal for validate (#5383) | Francis Lavoie | |
2023-02-16 | cmd: make `caddy fmt` hints more clear (#5378) | Emily Lange | |
2023-02-16 | cmd: Adjust documentation for commands (#5377) | Francis Lavoie | |
2023-01-31 | cmd: Add `--envfile` flag to `validate` command (#5350) | Amis Shokoohi | |
Fixes https://github.com/caddyserver/caddy/issues/5346 | |||
2023-01-31 | cmd: `fmt` exit successfully after overwriting config file (#5351) | Amis Shokoohi | |
Fixes https://github.com/caddyserver/caddy/issues/5349 | |||
2023-01-21 | cmd: `caddy fmt` return code is 1 if not formatted (#5297) | Y.Horie | |
* cmd: Fix caddy fmt if input isn't formatted * Fixes #5294 * return exit 1 with an error message * cmd: Use formattingDifference for caddy fmt * #5294 * expose caddyfile.formattingDifference | |||
2023-01-21 | chore: Fix typo, coral -> cobra (#5325) | Y.Horie | |
2022-11-14 | reverseproxy: Mask the WS close message when we're the client (#5199) | Francis Lavoie | |
* reverseproxy: Mask the WS close message when we're the client * weakrand * Bump golangci-lint version so path ignores work on Windows * gofmt * ugh, gofmt everything, I guess | |||
2022-10-25 | cmd: replace deprecate func use (#5170) | Mohammed Al Sahaf | |
2022-10-17 | cmd: Add missing `\n` to HelpTemplate (#5151) | BakaFT | |
2022-09-14 | cmd: Improve error message if config missing | Matthew Holt | |
2022-09-13 | cmd: Customizable user agent (close #2795) | Matthew Holt | |
2022-09-06 | cmd: Enhance some help text | Matthew Holt | |
2022-09-01 | cmd: Don't print long help text on error | Matthew Holt | |
2022-08-30 | cmd: Enhance CLI docs | Matthew Holt | |
2022-08-30 | cmd: add completion command (#4994) | Mohammed Al Sahaf | |
* cmd: add completion command * error check | |||
2022-08-30 | cmd: Migrate to `spf13/cobra`, remove single-dash arg support (#4565) | Mohammed Al Sahaf | |
* cmd: migrate to spf13/cobra * add `manpage` command * limit Caddy tagline to root `help` only * hard-code the manpage section to 8 | |||
2022-08-06 | Replace strings.Index with strings.Cut (#4932) | Chirag Maheshwari | |
2022-08-04 | Replace strings.Index usages with strings.Cut (#4930) | WilczyńskiT | |
2022-08-04 | cmd: Use newly-available version information (#4931) | Matt Holt | |
2022-08-02 | chore: Bump up to Go 1.19, minimum 1.18 (#4925) | Francis Lavoie | |
2022-08-01 | Oops (sigh) | Matthew Holt | |
Forgot to remove this redundant line | |||
2022-08-01 | caddyhttp: Implement `caddy respond` command (#4870) | Matt Holt | |
2022-07-29 | Minor docs clarification | Matthew Holt | |
Related to #4565 | |||
2022-07-29 | core: Windows service integration (#4790) | WingLim | |
Co-authored-by: Matthew Holt <mholt@users.noreply.github.com> | |||
2022-07-28 | Fix compilation on Windows | Matthew Holt | |
2022-07-28 | Fix deprecation notice by using UTF16PtrFromString | Matthew Holt | |
2022-07-20 | cmd: Fix reload with stdin (#4900) | Francis Lavoie | |
2022-06-15 | Add comment about xcaddy to main | Matthew Holt | |
2022-04-28 | cmd: Fix unix socket addresses for admin API requests (#4742) | Francis Lavoie | |
Fixes a regression in c2327161f725c820826587381f37d651a2b9736d | |||
2022-04-25 | httpcaddyfile: Deprecate paths in site addresses; use zap logs (#4728) | Francis Lavoie | |
2022-04-13 | cmd: Enhance .env (dotenv) file parsing | Matthew Holt | |
Basic support for quoted values, newlines in quoted values, and comments. Does not support variable or command expansion. | |||
2022-04-12 | cmd: Add `--diff` option for `caddy fmt` (#4695) | Francis Lavoie | |
2022-04-03 | cmd: Fix defaulting admin address if empty in config, fixes `reload` (#4674) | Francis Lavoie | |
2022-03-19 | cmd: Set Origin header properly on API requests | Matthew Holt | |
Ref. https://caddy.community/t/bug-in-enforce-origin/15417 | |||
2022-03-02 | pki: Implement API endpoints for certs and `caddy trust` (#4443) | Francis Lavoie | |
* admin: Implement /pki/certificates/<id> API * pki: Lower "skip_install_trust" log level to INFO See https://github.com/caddyserver/caddy/issues/4058#issuecomment-976132935 It's not necessary to warn about this, because this was an option explicitly configured by the user. Still useful to log, but we don't need to be so loud about it. * cmd: Export functions needed for PKI app, return API response to caller * pki: Rewrite `caddy trust` command to use new admin endpoint instead * pki: Rewrite `caddy untrust` command to support using admin endpoint * Refactor cmd and pki packages for determining admin API endpoint | |||
2022-01-16 | cmd: Print error if fmt overwrite fails (fix #4524) | Matthew Holt | |
2021-11-08 | caddycmd: Add `--keep-backup` to upgrade commands (#4387) | Francis Lavoie | |
* caddycmd: Add `--skip-cleanup` to upgrade commands This is a partial fix for https://github.com/caddyserver/caddy/issues/4057, making it possible to retain the old build of Caddy, in case something went wrong. * caddycmd: Fix duplicate error message The error message "download succeeded, but unable to execute" was repeated, because it was both in the `listModules`/`showVersion` functions and in the calling `upgradeBuild` function. Oversight when this was refactored. * caddycmd: Implement fix for performing cleanup on Windows Without this, the cleanup operation would fail with an error message like this: upgrade: download succeeded, but unable to clean up backup binary: remove C:\caddy\caddy.exe.tmp: Access is denied. * caddycmd: Rename to `--keep-backup`, simplify build constraints | |||
2021-10-18 | caddycmd: Add `--skip-standard` to `list-modules` command, quieter output ↵ | Francis Lavoie | |
(#4386) * caddycmd: Add --skip-standard to list-modules command, quieter output * caddycmd: Also quiet `caddy upgrade` output, redundant information | |||
2021-10-11 | caddycmd: fix caddy validate/fmt help message (#4377) | M. Ángel Jimeno | |
* caddycmd: fix caddy validate help message Fixes #4376 * caddycmd: fix caddy fmt help message | |||
2021-09-29 | Move from deprecated ioutil to os and io packages (#4364) | KallyDev | |
2021-09-01 | cmd: export CaddyVersion(), Commands() (#4316) | peymaneh | |
* cmd: Export CaddyVersion() * cmd: Add getter Commands() | |||
2021-08-20 | cmd: Fix paths when using an env file (#4296) | Pascal Zarrad | |
* core: Fix paths when using an env file * refactor: move path logic to loadFromEnv | |||
2021-08-18 | cmd: use net.ErrClosed for matching returned error (#4289) | M. Ángel Jimeno | |
Implements #3805 |