Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-25 | server: Skip watching dirs in ignoreFiles | Bjørn Erik Pedersen | |
Fixes #9838 | |||
2022-05-24 | basefs: add `noBuildLock` flag | satotake | |
If the flag is enabled, `.hugo_build.lock` will not be created. This ensures safe running on read-only filesystem etc. Close #9780 | |||
2022-05-21 | import: Fix importing jekyll site | satotake | |
Just use `afero.OsFs` without building site. Close #9817 | |||
2022-05-18 | server: Fix multihost crash | Bjørn Erik Pedersen | |
As introduced in v0.99.0. Fixes #9901 | |||
2022-05-16 | server: Refresh the error template | Bjørn Erik Pedersen | |
We cannot cache it forever, as that will not allow the end user to edit and preview it. | |||
2022-05-15 | server: Fix SIGINT handling after loading bad configuration | Bjørn Erik Pedersen | |
Also fix the config error messages. Fixes #9664 | |||
2022-05-15 | Improve SASS errors | Bjørn Erik Pedersen | |
Fixes #9897 | |||
2022-05-14 | errors: Misc improvements | Bjørn Erik Pedersen | |
* Redo the server error template * Always add the content file context if relevant * Remove some now superflous error string matching * Move the server error template to _server/error.html * Add file context (with position) to codeblock render blocks * Improve JS build errors Fixes #9892 Fixes #9891 Fixes #9893 | |||
2022-05-14 | server: Always rebuild the files involved in an error | Bjørn Erik Pedersen | |
Fixes #9884 | |||
2022-05-09 | Revise the use of htime.Since/htime.Now | Bjørn Erik Pedersen | |
We cannot (also, it doesn't add any value) use that when the `clock` is set, * To measure time (before that global is set) * To compare file timestamps re cache eviction Fixes #9868 | |||
2022-05-08 | Use configured timeZone for the clock | Bjørn Erik Pedersen | |
And some other related adjustments. Updates #8787 | |||
2022-05-08 | Add `clock` cli flag | satotake | |
Close #8787 | |||
2022-05-06 | Improve error messages, esp. when the server is running | Bjørn Erik Pedersen | |
* Add file context to minifier errors when publishing * Misc fixes (see issues) * Allow custom server error template in layouts/server/error.html To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of https://github.com/pkg/errors/issues/223 -- but also because most of this is now built-in to Go. Fixes #9852 Fixes #9857 Fixes #9863 | |||
2022-04-18 | Fix syncing of /static regression | Bjørn Erik Pedersen | |
As introduced in Hugo `v0.76.1`. And add a proper test for it. Fixes #9794 Closes #9788 | |||
2022-04-18 | Revert "Revert "Fix PostProcess regression for hugo server"" | Bjørn Erik Pedersen | |
This reverts commit 6c35a1a9eacf2aa86a11ecd31c4022ce330b2f16. Updates #9794 | |||
2022-04-17 | Revert "Fix PostProcess regression for hugo server" | Bjørn Erik Pedersen | |
This reverts commit 4deb5c60661bdb1d686664f0207f45517a086f29. | |||
2022-04-16 | Fix PostProcess regression for hugo server | Bjørn Erik Pedersen | |
Fixes #9788 | |||
2022-04-08 | Rework the Destination filesystem to make --renderStaticToDisk work | Bjørn Erik Pedersen | |
See #9626 | |||
2022-04-08 | Revert "Revert "Some minor adjustments to the new static filesystem logic"" | Bjørn Erik Pedersen | |
This reverts commit 5ef8a9f32c25a9b4cc821393c58733e57a7ad234. | |||
2022-04-08 | Revert "Revert "Allow rendering static files to disk and dynamic to memory ↵ | Bjørn Erik Pedersen | |
in server mode"" This reverts commit 64b7b7a89753a39661219b2fcb92d7f185a03f63. | |||
2022-03-25 | commands: Change link protocol to https | Joe Mooring | |
2022-03-21 | commands: Improve server startup to make tests less flaky | Bjørn Erik Pedersen | |
Do this by announcing/listen on the local address before we start the server. | |||
2022-03-17 | all: gofmt -w -r 'interface{} -> any' . | Bjørn Erik Pedersen | |
Updates #9687 | |||
2022-03-14 | Improve server startup/shutdown | Bjørn Erik Pedersen | |
Closes #9671 | |||
2022-03-14 | commands: Improve server tests | Bjørn Erik Pedersen | |
Updates #9647 | |||
2022-03-11 | Revert "Allow rendering static files to disk and dynamic to memory in server ↵ | Bjørn Erik Pedersen | |
mode" This reverts commit 7d8011ed63d587b87a7c182748914fe146590093. Updates #9647 | |||
2022-03-11 | Revert "Some minor adjustments to the new static filesystem logic" | Bjørn Erik Pedersen | |
This reverts commit 63bb2a5b18193602fd442ebafdc85bc36fe05ad2. | |||
2022-03-08 | Some minor adjustments to the new static filesystem logic | Bjørn Erik Pedersen | |
Closes #9625 | |||
2022-03-08 | Allow rendering static files to disk and dynamic to memory in server mode | SatowTakeshi | |
Updates #9625 | |||
2022-02-23 | Add support for CODEOWNERS | Marshall Cottrell | |
Fixes #9474 | |||
2022-02-21 | commands: Fix server panic regression | Bjørn Erik Pedersen | |
And now with a proper server test. Fixes #9518 Fixes #9530 Fixes #9539 | |||
2022-02-15 | Add --printUnusedTemplates | Bjørn Erik Pedersen | |
Fixes #9502 | |||
2022-02-15 | commands: Rename --i18n-warnings to printI18nWarnings | Bjørn Erik Pedersen | |
To get it in line with the others. | |||
2022-02-15 | commands: Rename --path-warnings, --print-men to --printPathWarnings, ↵ | Bjørn Erik Pedersen | |
--printMemoryUsage To get it in line with the others. | |||
2022-02-10 | commands: Fix server deadlock on config error | Bjørn Erik Pedersen | |
Fixes #9486 | |||
2022-02-10 | Remove the "check" command | Joe Mooring | |
Closes #9454 | |||
2022-02-01 | Remove hugo gen autocomplete | Joe Mooring | |
Closes #8862 | |||
2022-01-07 | commands: Fix CLI help text for hugo new | Bjørn Erik Pedersen | |
Updates #9363 | |||
2022-01-06 | Add --panicOnWarning flag | Bjørn Erik Pedersen | |
Fixes #9357 Fixes #9359 | |||
2022-01-04 | Misc depreation updates | Bjørn Erik Pedersen | |
* Deprecate .Page.Path when backed by a file * site.Permalinks * --ignoreVendor (use --ignoreVendorPaths) Closes #9348 Closes #9349 | |||
2021-11-13 | commands: Make sure pollInterval is always set | Bjørn Erik Pedersen | |
Fixes #9165 | |||
2021-11-12 | commands: Fix missing file locking in server partial render | Bjørn Erik Pedersen | |
Fixes #9162 | |||
2021-10-18 | Fix the "page picker" logic in --navigateToChanged | Bjørn Erik Pedersen | |
Fixes #9051 | |||
2021-10-18 | Add a cross process build lock and use it in the archetype content builder | Bjørn Erik Pedersen | |
Fixes #9048 | |||
2021-10-16 | Reimplement archetypes | Bjørn Erik Pedersen | |
The old implementation had some issues, mostly related to the context (e.g. name, file paths) passed to the template. This new implementation is using the exact same code path for evaluating the pages as in a regular build. This also makes it more robust and easier to reason about in a multilingual setup. Now, if you are explicit about the target path, Hugo will now always pick the correct mount and language: ```bash hugo new content/en/posts/my-first-post.md ``` Fixes #9032 Fixes #7589 Fixes #9043 Fixes #9046 Fixes #9047 | |||
2021-09-17 | commands: Make the error handling for the mod commands more lenient | Bjørn Erik Pedersen | |
So it at least is possible to do a `hugo mod clean --all` if the cache is in a funky state. | |||
2021-08-31 | commands: Don't fail on template errors on go mod graph etc. | Bjørn Erik Pedersen | |
Fixes #8942 | |||
2021-08-31 | Avoid failing with "module not found" for hugo mod init and similar | Bjørn Erik Pedersen | |
Fixes #8940 | |||
2021-08-21 | Revert "commands: Avoid too many watch file handles causing the server to ↵ | Bjørn Erik Pedersen | |
fail to start" This reverts commit 3f38c785b7208440e2a9dd9a80cb39d4ae23e676. | |||
2021-08-21 | highlight: Remove some pygments references | Helder Pereira | |