Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2021-08-19 | commands: Avoid too many watch file handles causing the server to fail to start | Shiming Zhang | |
Fixes #8904 | |||
2021-08-14 | Import time/tzdata on Windows | Bjørn Erik Pedersen | |
Updates #8892 | |||
2021-07-28 | Switch to go-toml v2 | Bjørn Erik Pedersen | |
We have been using `go-toml` for language files only. This commit makes it the only TOML library. It's spec compliant and very fast. A benchark building a site with 200 pages with TOML front matter: ```bash name old time/op new time/op delta SiteNew/Regular_TOML_front_matter-16 48.5ms ± 1% 47.1ms ± 1% -2.85% (p=0.029 n=4+4) name old alloc/op new alloc/op delta SiteNew/Regular_TOML_front_matter-16 16.9MB ± 0% 16.7MB ± 0% -1.56% (p=0.029 n=4+4) name old allocs/op new allocs/op delta SiteNew/Regular_TOML_front_matter-16 302k ± 0% 296k ± 0% -2.20% (p=0.029 n=4+4) ``` Note that the front matter unmarshaling is only a small part of building a site, so the above is very good. Fixes #8801 | |||
2021-07-20 | commands: Fix panic on invalid config in "hugo mod get" and similar | Bjørn Erik Pedersen | |
Fixes #8773 | |||
2021-07-15 | hugofs: Make FileMeta a struct | Bjørn Erik Pedersen | |
This commit started out investigating a `concurrent map read write` issue, ending by replacing the map with a struct. This is easier to reason about, and it's more effective: ``` name old time/op new time/op delta SiteNew/Regular_Deep_content_tree-16 71.5ms ± 3% 69.4ms ± 5% ~ (p=0.200 n=4+4) name old alloc/op new alloc/op delta SiteNew/Regular_Deep_content_tree-16 29.7MB ± 0% 27.9MB ± 0% -5.82% (p=0.029 n=4+4) name old allocs/op new allocs/op delta SiteNew/Regular_Deep_content_tree-16 313k ± 0% 303k ± 0% -3.35% (p=0.029 n=4+4) ``` See #8749 | |||
2021-07-05 | commands: Move time notification to after any build errors | John Hollowell | |
This allows error parsers (VSCode problemMatchers) to use the time notification as bounds for detecting errors. Closes #8403 | |||
2021-07-05 | commands: Make the --poll flag a duration | Bjørn Erik Pedersen | |
So you can do: ``` hugo server --poll 700ms ``` See #8720 | |||
2021-07-04 | Add polling as a fallback to native filesystem events in server watch | Bjørn Erik Pedersen | |
Fixes #8720 Fixes #6849 Fixes #7930 | |||
2021-06-27 | modules: Use value type for module.Time | Bjørn Erik Pedersen | |
Which is in line with how we do it elsewhere. | |||
2021-06-27 | commands: Add version time to "hugo config mounts" | Bjørn Erik Pedersen | |
2021-06-27 | commands: Add some more info to "hugo config mounts" | Bjørn Erik Pedersen | |
* Add owner path and version. * Also add thme meta info and Hugo version when run with -v flag | |||
2021-06-18 | Split out the puthe path/filepath functions into common/paths | Bjørn Erik Pedersen | |
So they can be used from the config package without cyclic troubles. Updates #8654 | |||
2021-06-16 | Do not read config from os.Environ when running tests | Bjørn Erik Pedersen | |
Fixes #8655 | |||
2021-06-14 | Misc config loading fixes | Bjørn Erik Pedersen | |
The main motivation behind this is simplicity and correctnes, but the new small config library is also faster: ``` BenchmarkDefaultConfigProvider/Viper-16 252418 4546 ns/op 2720 B/op 30 allocs/op BenchmarkDefaultConfigProvider/Custom-16 450756 2651 ns/op 1008 B/op 6 allocs/op ``` Fixes #8633 Fixes #8618 Fixes #8630 Updates #8591 Closes #6680 Closes #5192 | |||
2021-06-07 | tpl/fmt: Add erroridf template func | Bjørn Erik Pedersen | |
Fixes #8613 | |||
2021-05-14 | Display version when building site (#8533) | Joe Mooring | |
Closes #8531 | |||
2021-05-01 | commands: Remove all dates from gendoc | Bjørn Erik Pedersen | |
It creates lots of diffs even if there are no changes. | |||
2021-04-09 | Add complete dependency list in "hugo env -v" | Bjørn Erik Pedersen | |
Fixes #8400 | |||
2021-03-14 | Fix `new theme` command description | Avinash Sonawane | |
`hugo new theme foo` creates theme `foo` in `./themes` and not in current directory. |