Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-28releaser: Prepare repository for 0.106.0-DEVrelease-0.105.0hugoreleaser
[ci skip]
2022-10-28releaser: Bump versions for release of 0.105.0v0.105.0stablehugoreleaser
[ci skip]
2022-10-28build(deps): bump golang.org/x/tools from 0.1.12 to 0.2.0dependabot[bot]
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.1.12 to 0.2.0. - [Release notes](https://github.com/golang/tools/releases) - [Commits](https://github.com/golang/tools/compare/v0.1.12...v0.2.0) --- updated-dependencies: - dependency-name: golang.org/x/tools dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-10-28build(deps): bump github.com/getkin/kin-openapi from 0.106.0 to 0.107.0dependabot[bot]
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.106.0 to 0.107.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.106.0...v0.107.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-10-27build(deps): bump golang.org/x/text from 0.3.7 to 0.4.0dependabot[bot]
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.4.0. - [Release notes](https://github.com/golang/text/releases) - [Commits](https://github.com/golang/text/compare/v0.3.7...v0.4.0) --- updated-dependencies: - dependency-name: golang.org/x/text dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-10-27build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.1dependabot[bot]
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.5.0 to 1.6.1. - [Release notes](https://github.com/spf13/cobra/releases) - [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.1) --- updated-dependencies: - dependency-name: github.com/spf13/cobra dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-10-27build(deps): bump github.com/getkin/kin-openapi from 0.103.0 to 0.106.0dependabot[bot]
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.103.0 to 0.106.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.103.0...v0.106.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-10-26build(deps): bump github.com/tdewolff/minify/v2 from 2.12.1 to 2.12.4dependabot[bot]
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.12.1 to 2.12.4. - [Release notes](https://github.com/tdewolff/minify/releases) - [Commits](https://github.com/tdewolff/minify/compare/v2.12.1...v2.12.4) --- updated-dependencies: - dependency-name: github.com/tdewolff/minify/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-10-26Revise the fix for shortcode vs output format nilpointerBjørn Erik Pedersen
We do lazy initialization and (potentially) reuse of an output format's rendered content. We do this evaluation when we start a new rendering a new output format. There are, however, situation where these borders gets crossed (e.g. accessing content from another output format). We have a check for this in place for most cases, but not the content rendering of inner markdown blocks inside shortcodes. This patch applies that same logic to the newly introduced RenderContent method (which is not available from the templates). Fixes #10391
2022-10-26Avoid nilpointer when shortcode page content output nildavidejones
Updates #10391
2022-10-26livereload: Use text/javascript here, tooBjørn Erik Pedersen
2022-10-26media: Rename application/javascript, application/typescript to ↵Bjørn Erik Pedersen
text/javascript etc. The former is deprecated. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types See https://discourse.gohugo.io/t/mime-type-for-javascript-is-now-text-javascript/40813
2022-10-26build(deps): bump github.com/yuin/goldmark from 1.4.15 to 1.5.2dependabot[bot]
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.4.15 to 1.5.2. - [Release notes](https://github.com/yuin/goldmark/releases) - [Commits](https://github.com/yuin/goldmark/compare/v1.4.15...v1.5.2) --- updated-dependencies: - dependency-name: github.com/yuin/goldmark dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-10-26build(deps): bump github.com/fsnotify/fsnotify from 1.5.4 to 1.6.0dependabot[bot]
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.5.4 to 1.6.0. - [Release notes](https://github.com/fsnotify/fsnotify/releases) - [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md) - [Commits](https://github.com/fsnotify/fsnotify/compare/v1.5.4...v1.6.0) --- updated-dependencies: - dependency-name: github.com/fsnotify/fsnotify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-10-26Skip flakey server tests on GitHub Action on WindowsBjørn Erik Pedersen
2022-10-25build(deps): bump github.com/magefile/mage from 1.13.0 to 1.14.0dependabot[bot]
Bumps [github.com/magefile/mage](https://github.com/magefile/mage) from 1.13.0 to 1.14.0. - [Release notes](https://github.com/magefile/mage/releases) - [Changelog](https://github.com/magefile/mage/blob/master/.goreleaser.yml) - [Commits](https://github.com/magefile/mage/compare/v1.13.0...v1.14.0) --- updated-dependencies: - dependency-name: github.com/magefile/mage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25github: Avoid duplicate test runsBjørn Erik Pedersen
2022-10-24tpl/encoding: Add noHTMLEscape option to jsonifyBjørn Erik Pedersen
2022-10-24build(deps): bump github.com/evanw/esbuild from 0.15.9 to 0.15.12dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.15.9 to 0.15.12. - [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.9...v0.15.12) --- 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-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>