summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-10-19Update Go and Alpine version in DockerfileSteffen Windoffer
2022-10-14Don't use self-closing generator tagJB
2022-10-11build: Update to Go 1.19.2Bjørn Erik Pedersen
2022-10-05github: Use SHA versionsBjørn Erik Pedersen
2022-10-05Resolve dependency-path not found error in workflowjongwooo
2022-10-05Use setup-go action to cache dependenciesjongwooo
2022-10-04releaser: Prepare repository for 0.105.0-DEVrelease-0.104.3hugoreleaser
[ci skip]
2022-10-04releaser: Bump versions for release of 0.104.3v0.104.3hugoreleaser
[ci skip]
2022-10-04resources: Update golden image dithering exception listBjørn Erik Pedersen
2022-10-04resources/images: Fix 2 animated GIF resize issuesBjørn Erik Pedersen
* Fix resize of animated GIF when target != GIF * Avoid processing all GIF frames if targetFormat != GIF Fixes #10354
2022-10-04server: Fix flaky TestServerPathEncodingIssues testsAnthony Fok
Set getNumHomes: 1 to enable 567 ms or 2 s of wait for the server to be ready in TestServerPathEncodingIssues/Unicode_paths and TestServerPathEncodingIssues/Windows_multilingual_404. Fixes #10332
2022-10-04commands: Remove extraneous newline from result of convert toTOMLJoe Mooring
Fixes #10351
2022-10-02config/security: Fix filenameRicardo N Feliciano
2022-09-29releaser: Prepare repository for 0.105.0-DEVrelease-0.104.2hugoreleaser
[ci skip]
2022-09-29releaser: Bump versions for release of 0.104.2v0.104.2hugoreleaser
[ci skip]
2022-09-29Fix htimes /: operation not permitted error on config changesBjørn Erik Pedersen
Regression introduced in v0.104.1.
2022-09-27Revert "Adjust a test"Bjørn Erik Pedersen
Committed by mistake. This reverts commit cac773aeffb5626c9bb5a50de6bfec7b6370226d.
2022-09-27Adjust a testBjørn Erik Pedersen
2022-09-26releaser: Prepare repository for 0.105.0-DEVrelease-0.104.1hugoreleaser
[ci skip]
2022-09-26releaser: Bump versions for release of 0.104.1v0.104.1hugoreleaser
[ci skip]
2022-09-26Fix /static performance regression from Hugo 0.103.0Bjørn Erik Pedersen
In `v0.103.0` we added support for `resources.PostProcess` for all file types, not just HTML. We had benchmarks that said we were fine in that department, but those did not consider the static file syncing. This fixes that by: * Making sure that the /static syncer always gets its own file system without any checks for the post process token. * For dynamic files (e.g. rendered HTML files) we add an additional check to make sure that we skip binary files (e.g. images) Fixes #10328
2022-09-23releaser: Prepare repository for 0.105.0-DEVrelease-0.104.0hugoreleaser
[ci skip]
2022-09-23releaser: Bump versions for release of 0.104.0v0.104.0hugoreleaser
[ci skip]
2022-09-23Consolidate the glob case logicBjørn Erik Pedersen
Looking at the code as a whole, we ended up with a little to much "buttons". It turns out that doing case insensitive matching (lower both pattern and strings to match) performs just fine. Or at least, it gives the penalty to the people who uses mixed case filenames. ``` GetGlob/Default_cache-10 10.6ns ± 2% 10.6ns ± 1% ~ (p=0.657 n=4+4) GetGlob/Filenames_cache,_lowercase_searchs-10 10.6ns ± 2% 10.6ns ± 0% ~ (p=1.000 n=4+4) GetGlob/Filenames_cache,_mixed_case_searchs-10 29.7ns ± 1% 29.6ns ± 1% ~ (p=0.886 n=4+4) GetGlob/GetGlob-10 13.7ns ± 1% 13.7ns ± 0% ~ (p=0.429 n=4+4) name old alloc/op new alloc/op delta GetGlob/Default_cache-10 0.00B 0.00B ~ (all equal) GetGlob/Filenames_cache,_lowercase_searchs-10 0.00B 0.00B ~ (all equal) GetGlob/Filenames_cache,_mixed_case_searchs-10 5.00B ± 0% 5.00B ± 0% ~ (all equal) GetGlob/GetGlob-10 0.00B 0.00B ~ (all equal) name old allocs/op new allocs/op delta GetGlob/Default_cache-10 0.00 0.00 ~ (all equal) GetGlob/Filenames_cache,_lowercase_searchs-10 0.00 0.00 ~ (all equal) GetGlob/Filenames_cache,_mixed_case_searchs-10 1.00 ± 0% 1.00 ± 0% ~ (all equal) GetGlob/GetGlob-10 ```
2022-09-23hugofs: Fix glob case-sensitivity bugsatotake
On Linux, `hugofs.Glob` does not hit any directories which includes uppercase letters. (This does not happen on macOS.) Since `resources.GetMatch/Match` uses `Glob`, ``` {{ resources.GetMatch "Foo/bar.css" }} ``` this does not match `assets/Foo/bar.css` . On the other hand, you can get it with ``` {{ resources.Get "Foo/bar.css" }} ```
2022-09-23server: Fix 404 redirects on WindowsBjørn Erik Pedersen
Fixes #10314
2022-09-23build(deps): bump github.com/evanw/esbuild from 0.15.8 to 0.15.9dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.15.8 to 0.15.9. - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.15.8...v0.15.9) --- updated-dependencies: - dependency-name: github.com/evanw/esbuild dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22build(deps): bump github.com/yuin/goldmark from 1.4.14 to 1.4.15dependabot[bot]
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.4.14 to 1.4.15. - [Release notes](https://github.com/yuin/goldmark/releases) - [Commits](https://github.com/yuin/goldmark/compare/v1.4.14...v1.4.15) --- updated-dependencies: - dependency-name: github.com/yuin/goldmark dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22build(deps): bump github.com/getkin/kin-openapi from 0.100.0 to 0.103.0dependabot[bot]
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.100.0 to 0.103.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.100.0...v0.103.0) --- updated-dependencies: - dependency-name: github.com/getkin/kin-openapi dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22docs: Regen docs helperBjørn Erik Pedersen
2022-09-22build(deps): bump github.com/alecthomas/chroma/v2 from 2.2.0 to 2.3.0dependabot[bot]
Bumps [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) from 2.2.0 to 2.3.0. - [Release notes](https://github.com/alecthomas/chroma/releases) - [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml) - [Commits](https://github.com/alecthomas/chroma/compare/v2.2.0...v2.3.0) --- updated-dependencies: - dependency-name: github.com/alecthomas/chroma/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22build(deps): bump github.com/evanw/esbuild from 0.15.7 to 0.15.8dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.15.7 to 0.15.8. - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.15.7...v0.15.8) --- updated-dependencies: - dependency-name: github.com/evanw/esbuild dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22docs: Regenerate CLI docsBjørn Erik Pedersen
2022-09-22Run go mod tidyBjørn Erik Pedersen
2022-09-22resources/images: Add $image.ColorsBjørn Erik Pedersen
Which returns the most dominant colors of an image using a simple histogram method. Fixes #10307
2022-09-22commands: Skip flaky test on CIBjørn Erik Pedersen
2022-09-19config/security: Allow proxy variables in subcommandsMathieu Parent
In particular for go get
2022-09-18releaser: Prepare repository for 0.104.0-DEVrelease-0.103.1hugoreleaser
[ci skip]
2022-09-18releaser: Bump versions for release of 0.103.1v0.103.1hugoreleaser
[ci skip]
2022-09-18server: Fix redirects when file path contains bytes > 0x80Bjørn Erik Pedersen
Fixes #10287
2022-09-15Merge branch 'release-0.103.0'Bjørn Erik Pedersen
2022-09-15releaser: Prepare repository for 0.104.0-DEVrelease-0.103.0hugoreleaser
[ci skip]
2022-09-15releaser: Bump versions for release of 0.103.0v0.103.0hugoreleaser
[ci skip]
2022-09-15Use standard GOOS/GOARCH values in release archivesBjørn Erik Pedersen
But create aliases with old filenames for the 2 most downloaded archives (to avoid Netlify etc. breaking). Fixes #10073
2022-09-15Use standard GOOS/GOARCH values in release archivesBjørn Erik Pedersen
But create aliases with old filenames for the 2 most downloaded archives (to avoid Netlify etc. breaking). Fixes #10073
2022-09-14Filter out any duplicate files to post processBjørn Erik Pedersen
Updates #10269
2022-09-14Support PostProcess for all file typesBjørn Erik Pedersen
Not just HTML. Fixes #10269
2022-09-14build(deps): bump github.com/gobuffalo/flect from 0.2.5 to 0.3.0dependabot[bot]
Bumps [github.com/gobuffalo/flect](https://github.com/gobuffalo/flect) from 0.2.5 to 0.3.0. - [Release notes](https://github.com/gobuffalo/flect/releases) - [Commits](https://github.com/gobuffalo/flect/compare/v0.2.5...v0.3.0) --- updated-dependencies: - dependency-name: github.com/gobuffalo/flect dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-09-14server: Add 404 supportBjørn Erik Pedersen
2022-09-14build(deps): bump github.com/getkin/kin-openapi from 0.98.0 to 0.100.0dependabot[bot]
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.98.0 to 0.100.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.98.0...v0.100.0) --- updated-dependencies: - dependency-name: github.com/getkin/kin-openapi dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>