Commit graph

310 commits

Author SHA1 Message Date
woodpecker-bot
637187beb0 fix(deps): update golang deps non-major 2025-06-08 00:23:13 +00:00
Dependency bot
8e355394be fix(deps): update golang.org/x/exp digest to b6e5de4 (#493) 2025-06-07 03:00:05 +02:00
Dependency bot
5f95337265 fix(deps): update github.com/orlovevgeny/go-mcache digest to 3a1d739 (#480) 2025-06-01 03:21:00 +02:00
Dependency bot
dc0b0e138e fix(deps): update golang.org/x/exp digest to ce4c2cf (#481) 2025-05-31 02:51:06 +02:00
Dependency bot
383883d03b chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5.2.2 (#448) 2025-05-22 02:03:55 +02:00
Dependency bot
bac35819e3 chore(deps): update pipelinecomponents/yamllint docker tag to v0.35.0 (#442) 2025-05-21 02:03:57 +02:00
Dependency bot
d7deecf5f9 chore(deps): update woodpeckerci/plugin-release docker tag to v0.2.5 (#449) 2025-03-28 00:04:20 +00:00
Dependency bot
0e873d9783 chore(deps): update golangci/golangci-lint docker tag to v1.64.8 (#447) 2025-03-25 00:04:28 +00:00
Dependency bot
4672cdb54d chore(deps): update docker.io/woodpeckerci/plugin-prettier docker tag to v1.3.0 (#435)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [docker.io/woodpeckerci/plugin-prettier](https://codeberg.org/woodpecker-plugins/prettier) ([source](https://codeberg.org/woodpecker-plugins/prettier.git)) | minor | `1.1.0` -> `1.3.0` |

---

### Release Notes

<details>
<summary>woodpecker-plugins/prettier (docker.io/woodpeckerci/plugin-prettier)</summary>

### [`v1.3.0`](https://codeberg.org/woodpecker-plugins/prettier/blob/HEAD/CHANGELOG.md#130---2025-02-18)

[Compare Source](https://codeberg.org/woodpecker-plugins/prettier/compare/1.2.1...1.3.0)

##### ❤️ Thanks to all contributors! ❤️

[@&#8203;OCram85](https://github.com/OCram85)

##### 📈 Enhancement

-   adds output parameter for prettier results \[[#&#8203;25](https://codeberg.org/woodpecker-plugins/prettier/pulls/25)]

### [`v1.2.1`](https://codeberg.org/woodpecker-plugins/prettier/blob/HEAD/CHANGELOG.md#121---2025-02-13)

[Compare Source](https://codeberg.org/woodpecker-plugins/prettier/compare/1.1.0...1.2.1)

##### ❤️ Thanks to all contributors! ❤️

[@&#8203;woodpecker-bot](https://github.com/woodpecker-bot)

##### 📦️ Dependency

-   chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5.2.1 \[[#&#8203;24](https://codeberg.org/woodpecker-plugins/prettier/pulls/24)]
-   chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5.2.0 \[[#&#8203;22](https://codeberg.org/woodpecker-plugins/prettier/pulls/22)]
-   chore(deps): update woodpeckerci/plugin-ready-release-go docker tag to v3.1.3 \[[#&#8203;21](https://codeberg.org/woodpecker-plugins/prettier/pulls/21)]

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/435
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2025-03-12 23:16:56 +00:00
Dependency bot
a0d202ef55 chore(deps): update woodpeckerci/plugin-release docker tag to v0.2.4 (#434)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [woodpeckerci/plugin-release](https://codeberg.org/woodpecker-plugins/release) ([source](https://codeberg.org/woodpecker-plugins/release.git)) | patch | `0.2.3` -> `0.2.4` |

---

### Release Notes

<details>
<summary>woodpecker-plugins/release (woodpeckerci/plugin-release)</summary>

### [`v0.2.4`](https://codeberg.org/woodpecker-plugins/release/blob/HEAD/CHANGELOG.md#024---2025-02-14)

[Compare Source](https://codeberg.org/woodpecker-plugins/release/compare/v0.2.3...v0.2.4)

##### ❤️ Thanks to all contributors! ❤️

[@&#8203;qwerty287](https://github.com/qwerty287), [@&#8203;woodpecker-bot](https://github.com/woodpecker-bot)

##### 🐛 Bug Fixes

-   Fix attachment fetching \[[#&#8203;33](https://codeberg.org/woodpecker-plugins/release/pulls/33)]

##### 📦️ Dependency

-   fix(deps): update module github.com/google/go-github/v68 to v69 \[[#&#8203;30](https://codeberg.org/woodpecker-plugins/release/pulls/30)]
-   chore(deps): update woodpeckerci/plugin-release docker tag to v0.2.3 \[[#&#8203;28](https://codeberg.org/woodpecker-plugins/release/pulls/28)]

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/434
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2025-03-12 22:19:23 +00:00
Dependency bot
e2395a0574 fix(deps): update golang.org/x/exp digest to 054e65f (#438)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| golang.org/x/exp | require | digest | `dead583` -> `054e65f` |

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOTEuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE5MS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/438
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2025-03-12 22:18:46 +00:00
Dependency bot
4efb5a7f3b chore(deps): update golangci/golangci-lint docker tag to v1.64.7 (#439)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [golangci/golangci-lint](https://github.com/golangci/golangci-lint) | patch | `v1.64.5` -> `v1.64.7` |

---

### Release Notes

<details>
<summary>golangci/golangci-lint (golangci/golangci-lint)</summary>

### [`v1.64.7`](https://github.com/golangci/golangci-lint/releases/tag/v1.64.7)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.64.6...v1.64.7)

`golangci-lint` is a free and open-source project built by volunteers.

If you value it, consider supporting us, the [maintainers](https://opencollective.com/golangci-lint) and [linter authors](https://golangci-lint.run/product/thanks/).

We appreciate it! ❤️

For key updates, see the [changelog](https://golangci-lint.run/product/changelog/#&#8203;1647).

#### Changelog

-   [`94946f3`](94946f3c52) build(deps): bump github.com/OpenPeeDeeP/depguard/v2 from 2.2.0 to 2.2.1 ([#&#8203;5509](https://github.com/golangci/golangci-lint/issues/5509))
-   [`132365e`](132365e252) build(deps): bump github.com/golangci/dupl from [`3e9179a`](3e9179ac44) to [`f665c8d`](f665c8d69b) ([#&#8203;5512](https://github.com/golangci/golangci-lint/issues/5512))
-   [`bddd1bc`](bddd1bcedb) build(deps): bump github.com/securego/gosec/v2 from 2.22.1 to 2.22.2 ([#&#8203;5515](https://github.com/golangci/golangci-lint/issues/5515))
-   [`624fb4e`](624fb4e717) build(deps): bump golang.org/x/mod from 0.23.0 to 0.24.0 ([#&#8203;5507](https://github.com/golangci/golangci-lint/issues/5507))
-   [`8cffdb7`](8cffdb7d21) build(deps): bump golang.org/x/oauth2 from 0.27.0 to 0.28.0 in /scripts/gen_github_action_config in the scripts group ([#&#8203;5521](https://github.com/golangci/golangci-lint/issues/5521))
-   [`7a3f3d7`](7a3f3d7c94) build(deps): bump golang.org/x/tools from 0.30.0 to 0.31.0 ([#&#8203;5508](https://github.com/golangci/golangci-lint/issues/5508))
-   [`c13fd5b`](c13fd5b762) build(deps): bump honnef.co/go/tools from 0.6.0 to 0.6.1 ([#&#8203;5510](https://github.com/golangci/golangci-lint/issues/5510))

### [`v1.64.6`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1646)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.64.5...v1.64.6)

1.  Linters bug fixes
    -   `asciicheck`: from 0.4.0 to 0.4.1
    -   `contextcheck`: from 1.1.5 to 1.1.6
    -   `errcheck`: from 1.8.0 to 1.9.0
    -   `exptostd`: from 0.4.1 to 0.4.2
    -   `ginkgolinter`: from 0.19.0 to 0.19.1
    -   `go-exhaustruct`: from 3.3.0 to 3.3.1
    -   `gocheckcompilerdirectives`: from 1.2.1 to 1.3.0
    -   `godot`: from 1.4.20 to 1.5.0
    -   `perfsprint`: from 0.8.1 to 0.8.2
    -   `revive`: from 1.6.1 to 1.7.0
    -   `tagalign`: from 1.4.1 to 1.4.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOTEuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE5NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/439
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2025-03-12 17:06:57 +00:00
Dependency bot
4b1faa5ebb fix(deps): update golang.org/x/exp digest to dead583 (#436) 2025-03-02 00:14:55 +00:00
crapStone
f123d226a1
fix: build docker on release 2025-02-19 23:20:06 +01:00
crapStone
a597e40a55 setup direnv (#433)
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/433
Co-authored-by: crapStone <me@crapstone.dev>
Co-committed-by: crapStone <me@crapstone.dev>
2025-02-15 19:32:29 +00:00
crapStone
c7fddf202d chore: update golang (#431)
ping #428

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/431
Co-authored-by: crapStone <me@crapstone.dev>
Co-committed-by: crapStone <me@crapstone.dev>
2025-02-15 19:08:08 +00:00
Dependency bot
91c4577a43 fix(deps): update golang.org/x/exp digest to 939b2ce (#430) 2025-02-15 00:05:42 +00:00
Dependency bot
7f7ef63e84 fix(deps): update golang.org/x/exp digest to e0ece0d (#427)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| golang.org/x/exp | require | digest | `7588d65` -> `e0ece0d` |

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Co-authored-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/427
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2025-02-08 09:52:19 +00:00
Dependency bot
a761f12849 chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5.2.0 (#426) 2025-02-07 11:00:09 +00:00
Dependency bot
0b7687684a chore(deps): update mstruebing/editorconfig-checker docker tag to v3.1.2 (#423) 2025-02-07 10:33:44 +00:00
Dependency bot
9450415545 chore(deps): update woodpeckerci/plugin-release docker tag to v0.2.3 (#424) 2025-01-21 00:25:00 +00:00
crapStone
a77e2d9440 fix: timeout issue of gitea sdk client (#422)
closes #420

Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/422
Co-authored-by: crapStone <me@crapstone.dev>
Co-committed-by: crapStone <me@crapstone.dev>
2025-01-17 19:49:16 +00:00
crapStone
cce656ec4e
ignore failure of integration tests 2025-01-17 20:32:11 +01:00
crapStone
b69d09e9e1
update dependencies 2025-01-17 20:29:41 +01:00
crapStone
7ca77716bf
update flake 2025-01-17 20:22:09 +01:00
crapStone
ebc1444efb
update go version in docker file 2025-01-17 20:22:06 +01:00
Dependency bot
ead959adf7 fix(deps): update golang.org/x/exp digest to 7588d65 (#418)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| golang.org/x/exp | require | digest | `b2144cd` -> `7588d65` |

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45MS4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/418
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2025-01-17 19:18:28 +00:00
Dependency bot
7fad16b5d6 chore(deps): update docker.io/woodpeckerci/plugin-prettier docker tag to v1 (#417)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [docker.io/woodpeckerci/plugin-prettier](https://codeberg.org/woodpecker-plugins/prettier) ([source](https://codeberg.org/woodpecker-plugins/prettier.git)) | major | `0.2.0` -> `1.1.0` |

---

### Release Notes

<details>
<summary>woodpecker-plugins/prettier (docker.io/woodpeckerci/plugin-prettier)</summary>

### [`v1.1.0`](https://codeberg.org/woodpecker-plugins/prettier/compare/1.0.0...1.1.0)

[Compare Source](https://codeberg.org/woodpecker-plugins/prettier/compare/1.0.0...1.1.0)

### [`v1.0.0`](https://codeberg.org/woodpecker-plugins/prettier/blob/HEAD/CHANGELOG.md#100---2024-11-20)

[Compare Source](https://codeberg.org/woodpecker-plugins/prettier/compare/0.2.0...1.0.0)

##### ❤️ Thanks to all contributors! ❤️

[@&#8203;qwerty287](https://github.com/qwerty287), [@&#8203;woodpecker-bot](https://github.com/woodpecker-bot)

##### 💥 Breaking changes

-   Update node.js to v22 and remove ppc64le and arm images \[[#&#8203;2](https://codeberg.org/woodpecker-plugins/prettier/pulls/2)]

##### 📦️ Dependency

-   chore(deps): update woodpeckerci/plugin-ready-release-go docker tag to v2.1.1 \[[#&#8203;5](https://codeberg.org/woodpecker-plugins/prettier/pulls/5)]

##### Misc

-   Add CODEOWNERS \[[#&#8203;3](https://codeberg.org/woodpecker-plugins/prettier/pulls/3)]

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45MC40IiwidXBkYXRlZEluVmVyIjoiMzkuOTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/417
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2025-01-17 19:18:13 +00:00
Dependency bot
b62c6bdd2d chore(deps): update golangci/golangci-lint docker tag to v1.63.4 (#419)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [golangci/golangci-lint](https://github.com/golangci/golangci-lint) | minor | `v1.62.2` -> `v1.63.4` |

---

### Release Notes

<details>
<summary>golangci/golangci-lint (golangci/golangci-lint)</summary>

### [`v1.63.4`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1634)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.63.3...v1.63.4)

1.  Linters bug fixes
    -   `dupl`, `gomodguard`, `revive`: keep only Go-files.

### [`v1.63.3`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1633)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.63.2...v1.63.3)

1.  Linters bug fixes
    -   `gofmt`, `gofumpt`, `goimports`, `gci`: panic with several trailing EOL
    -   `goheader`: skip issues with invalid positions

### [`v1.63.2`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1632)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.63.1...v1.63.2)

1.  Linters bug fixes
    -   `gofmt`, `gofumpt`, `goimports`, `gci`: panic with missing trailing EOL

### [`v1.63.1`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1631)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.63.0...v1.63.1)

1.  Linters bug fixes
    -   `cgi`: invalid reports with cgo
    -   `gofumpt`: panic with autofix and cgo

### [`v1.63.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1630)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.62.2...v1.63.0)

1.  Enhancements
    -   Add support for SuggestedFixes 🎉 (35 linters can "autofix" reports).
    -   Formatters (`gofmt`, `goimports`, `gofumpt`, `gci`) are applied after the suggested fixes.
2.  New linters
    -   Add `exptostd` linter https://github.com/ldez/exptostd
    -   Add `nilnesserr` linter https://github.com/alingse/nilnesserr
    -   Add `usetesting` linter https://github.com/ldez/usetesting
3.  Linters new features
    -   `gci`: new options: `no-inline-comments`, `no-prefix-comments`
    -   `gomoddirectives`: from 0.2.4 to 0.6.0 (new options: `go-version-pattern`, `toolchain-pattern`,`toolchain-forbidden`, `tool-forbidden`, `go-debug-forbidden`)
    -   `govet`: new `stdversion`, `waitgroup` analyzers
    -   `importas`: allow multiple empty aliases
    -   `loggercheck`: new `slog` option
    -   `recvcheck`: from 0.1.2 to 0.2.0 (new options: `disable-builtin`, `exclusions`)
    -   `tagliatelle`: from 0.5.0 to 0.7.1 (new options: `ignored-fields`, `extended-rules`,`overrides`, `pkg`, `ignore`)
    -   `usestdlibvars`: from 1.27.0 to 1.28.0 (autofix)
    -   `wrapcheck`: from 2.9.0 to 2.10.0 (new option: `extra-ignore-sigs`)
4.  Linters bug fixes
    -   `asciicheck`: from 0.2.0 to 0.3.0
    -   `bodyclose`: from [`5742072`](5742072509) to [`ed6a65f`](ed6a65f985)
    -   `funlen`: from 0.1.0 to 0.2.0
    -   `ginkgolinter`: from 0.18.3 to 0.18.4
    -   `gochecksumtype`: from 0.2.0 to 0.3.1
    -   `gocognit`: from 1.1.3 to 1.2.0
    -   `godot`: from 1.4.18 to 1.4.20
    -   `goheader`: report position improvement
    -   `gosec`: handling of global nosec option when it is false
    -   `iface`: from 1.2.1 to 1.3.0
    -   `importas`: from 0.1.0 to 0.2.0
    -   `intrange`: from 0.2.1 to 0.3.0
    -   `makezero`: from 1.1.1 to 1.2.0
    -   `mirror`: from 1.2.0 to 1.3.0
    -   `nilnil`: from 1.0.0 to 1.0.1
    -   `nosprintfhostport`: from 0.1.1 to 0.2.0
    -   `reassign`: from 0.2.0 to 0.3.0
    -   `spancheck`: from 0.6.2 to 0.6.4
    -   `tagalign`: from 1.3.4 to 1.4.1
    -   `wastedassign`: from 2.0.7 to 2.1.0
    -   `whitespace`: from 0.1.1 to 0.2.0
    -   `wsl`: from 4.4.1 to 4.5.0
5.  Deprecations
    -   ⚠️ `output.uniq-by-line` is deprecated and replaced by `issues.uniq-by-line`.
6.  Misc.
    -   Improvements of the help command (color and JSON support).
    -   Removes `decoder`, `sloglint`, `tagalin` from `format` preset.
    -   Enables paths with junction inside Windows.
    -   The timeout is disabled if `run.timeout` <= 0.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45MS4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/419
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2025-01-17 19:17:14 +00:00
Dependency bot
079fd09c43 chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5.1.0 (#421)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [woodpeckerci/plugin-docker-buildx](https://codeberg.org/woodpecker-plugins/docker-buildx) ([source](https://codeberg.org/woodpecker-plugins/docker-buildx.git)) | minor | `5.0.0` -> `5.1.0` |

---

### Release Notes

<details>
<summary>woodpecker-plugins/docker-buildx (woodpeckerci/plugin-docker-buildx)</summary>

### [`v5.1.0`](https://codeberg.org/woodpecker-plugins/docker-buildx/blob/HEAD/CHANGELOG.md#510---2024-12-07)

[Compare Source](https://codeberg.org/woodpecker-plugins/docker-buildx/compare/v5.0.0...v5.1.0)

##### ❤️ Thanks to all contributors! ❤️

[@&#8203;6543](https://github.com/6543), [@&#8203;pat-s](https://github.com/pat-s), [@&#8203;woodpecker-bot](https://github.com/woodpecker-bot)

##### 📈 Enhancement

-   Allow build-args to get json \[[#&#8203;202](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/202)]

##### 📚 Documentation

-   Clarify insecure tag \[[#&#8203;200](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/200)]

##### 📦️ Dependency

-   fix(deps): update module github.com/urfave/cli/v3 to v3.0.0-alpha9.1 \[[#&#8203;199](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/199)]
-   chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5.0.0 \[[#&#8203;198](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/198)]

##### Misc

-   chore(deps): update docker/buildx-bin docker tag to v0.19.1 ([5ff83b1](5ff83b1454))
-   fix(deps): update module github.com/urfave/cli/v3 to v3.0.0-beta1 ([62b3316](62b3316cb6))
-   chore(deps): update woodpeckerci/plugin-release docker tag to v0.2.2 ([2ff549c](2ff549c3c6))
-   fix(deps): update module github.com/stretchr/testify to v1.10.0 ([ed1d55f](ed1d55f533))
-   chore(deps): update docker/buildx-bin docker tag to v0.18.0 ([43bbfaa](43bbfaa0af))
-   chore(deps): update docker.io/woodpeckerci/plugin-ready-release-go docker tag to v2.1.1 ([faf4a88](faf4a889f6))
-   fix(deps): update module github.com/urfave/cli/v3 to v3.0.0-alpha9.4 ([1d723a3](1d723a3379))
-   chore(deps): update davidanson/markdownlint-cli2 docker tag to v0.15.0 ([f6bbd6c](f6bbd6c1c2))
-   fix(deps): update module github.com/urfave/cli/v3 to v3.0.0-alpha9.3 ([8d3d558](8d3d558c09))
-   chore(deps): update dependency go to v1.23.3 ([be45ede](be45ede500))
-   fix(deps): update golang.org/x/lint digest to [`818c5a8`](818c5a8) ([cbf2022](cbf20222b0))
-   Add vendor target for make \[[#&#8203;201](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/201)]
-   remove pat-s from maintainers ([b664c37](b664c37d62))
-   CI: Dont lint on tag event ([1f4e506](1f4e506a19))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45MS4zIiwidXBkYXRlZEluVmVyIjoiMzkuOTEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/421
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2025-01-17 19:16:56 +00:00
crapStone
2f6960b88a fix woodpecker (#415)
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/415
Co-authored-by: crapStone <me@crapstone.dev>
Co-committed-by: crapStone <me@crapstone.dev>
2024-12-29 21:12:17 +00:00
crapStone
e8f9ec9ce2 Update dependencies (#406)
closes #299 #395

Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/406
Co-authored-by: crapStone <me@crapstone.dev>
Co-committed-by: crapStone <me@crapstone.dev>
2024-12-29 20:54:45 +00:00
Dependency bot
905e76deed chore(deps): update golangci/golangci-lint docker tag to v1.62.2 (#408)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [golangci/golangci-lint](https://github.com/golangci/golangci-lint) | patch | `v1.62.0` -> `v1.62.2` |

---

### Release Notes

<details>
<summary>golangci/golangci-lint (golangci/golangci-lint)</summary>

### [`v1.62.2`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1622)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.62.0...v1.62.2)

1.  Updated linters
    -   `fatcontext`: from 0.5.2 to 0.5.3
    -   `ginkgolinter`: from 0.18.0 to 0.18.3
    -   `go-errorlint`: from 1.6.0 to 1.7.0
    -   `iface`: from 1.2.0 to 1.2.1
    -   `revive`: from 1.5.0 to 1.5.1
    -   `testifylint`: from 1.5.0 to 1.5.2
2.  Misc.
    -   fix: ignore cache error when file not found

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM5LjgyLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/408
Reviewed-by: crapStone <codeberg@crapstone.dev>
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2024-12-29 20:16:51 +00:00
Dependency bot
6fd9474075 chore(deps): update pipelinecomponents/yamllint docker tag to v0.33.0 (#410)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [pipelinecomponents/yamllint](https://gitlab.com/pipeline-components/yamllint) | minor | `0.32.1` -> `0.33.0` |

---

### Release Notes

<details>
<summary>pipeline-components/yamllint (pipelinecomponents/yamllint)</summary>

### [`v0.33.0`](https://gitlab.com/pipeline-components/yamllint/compare/v0.32.1...v0.33.0)

[Compare Source](https://gitlab.com/pipeline-components/yamllint/compare/v0.32.1...v0.33.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM5LjgyLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/410
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2024-12-29 20:10:49 +00:00
Dependency bot
229851b75e chore(deps): update woodpeckerci/plugin-release docker tag to v0.2.2 (#409)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [woodpeckerci/plugin-release](https://codeberg.org/woodpecker-plugins/release) ([source](https://codeberg.org/woodpecker-plugins/release.git)) | patch | `0.2.1` -> `0.2.2` |

---

### Release Notes

<details>
<summary>woodpecker-plugins/release (woodpeckerci/plugin-release)</summary>

### [`v0.2.2`](https://codeberg.org/woodpecker-plugins/release/blob/HEAD/CHANGELOG.md#022---2024-11-27)

[Compare Source](https://codeberg.org/woodpecker-plugins/release/compare/v0.2.1...v0.2.2)

##### ❤️ Thanks to all contributors! ❤️

[@&#8203;6543](https://github.com/6543), [@&#8203;woodpecker-bot](https://github.com/woodpecker-bot)

##### 📦️ Dependency

-   fix(deps): update module github.com/google/go-github/v65 to v66 \[[#&#8203;20](https://codeberg.org/woodpecker-plugins/release/pulls/20)]
-   chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5 \[[#&#8203;19](https://codeberg.org/woodpecker-plugins/release/pulls/19)]
-   fix(deps): update module github.com/google/go-github/v64 to v65 \[[#&#8203;16](https://codeberg.org/woodpecker-plugins/release/pulls/16)]
-   fix(deps): update module github.com/google/go-github/v63 to v64 \[[#&#8203;15](https://codeberg.org/woodpecker-plugins/release/pulls/15)]
-   chore(deps): update dependency go to v1.23.0 \[[#&#8203;14](https://codeberg.org/woodpecker-plugins/release/pulls/14)]

##### Misc

-   Use ready-release-go plugin \[[#&#8203;17](https://codeberg.org/woodpecker-plugins/release/pulls/17)]

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM5LjgyLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/409
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2024-12-29 20:10:27 +00:00
crapStone
6376bfd2e0 Fix stack overflow on root redirects (#414)
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/414
Co-authored-by: crapStone <me@crapstone.dev>
Co-committed-by: crapStone <me@crapstone.dev>
2024-12-29 19:01:08 +00:00
crapStone
ef7e2cd7bb Add reqId to all logging messages I could find (#413)
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/413
Co-authored-by: crapStone <me@crapstone.dev>
Co-committed-by: crapStone <me@crapstone.dev>
2024-12-29 18:49:25 +00:00
crapStone
2438de0eb2 fix panic when upstream fails (#412)
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/412
Co-authored-by: crapStone <me@crapstone.dev>
Co-committed-by: crapStone <me@crapstone.dev>
2024-12-29 15:43:30 +00:00
Dependency bot
e079ce4cf4 chore(deps): update golangci/golangci-lint docker tag to v1.62.0 (#402)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [golangci/golangci-lint](https://github.com/golangci/golangci-lint) | minor | `v1.61.0` -> `v1.62.0` |

---

### Release Notes

<details>
<summary>golangci/golangci-lint (golangci/golangci-lint)</summary>

### [`v1.62.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1620)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.61.0...v1.62.0)

1.  New linters
    -   Add `recvcheck` linter https://github.com/raeperd/recvcheck
    -   Add `iface` linter https://github.com/uudashr/iface
2.  Updated linters
    -   ⚠️ `execinquery`: deprecation step 2
    -   ⚠️ `gomnd`: deprecation step 2 (replaced by `mnd`)
    -   `bidichk`: from 0.2.7 to 0.3.2 (important performance improvement)
    -   `canonicalheader`: from 1.1.1 to 1.1.2
    -   `cyclop`: from 1.2.1 to 1.2.3
    -   `dupword`: from 0.1.1 to 0.1.3
    -   `errcheck`: from 1.7.0 to 1.8.0
    -   `errchkjson`: from 0.3.6 to 0.4.0
    -   `errname`: from 0.1.13 to 1.0.0
    -   `ginkgolinter`: from 0.17.0 to 0.18.0 (new option: `force-succeed`)
    -   `go-check-sumtype`: from 0.1.4 to 0.2.0 (new option: `default-signifies-exhaustive`)
    -   `go-critic`: from 0.11.4 to 0.11.5
    -   `go-printf-func-name`: from [`7558a9e`](7558a9eaa5) to v0.1.0
    -   `godot`: from 1.4.17 to 1.4.18
    -   `gosec`: from 2.21.2 to 2.21.4
    -   `intrange`: from 0.2.0 to 0.2.1
    -   `loggercheck`: from 0.9.4 to 0.10.1 (`log/slog` support)
    -   `musttag`: from 0.12.2 to 0.13.0
    -   `nakedret`: from 2.0.4 to 2.0.5
    -   `nilnil`: from 0.1.9 to 1.0.0 (new option: `detect-opposite`)
    -   `noctx`: from 0.0.2 to 0.1.0
    -   `protogetter`: from 0.3.6 to 0.3.8
    -   `revive`: from 1.3.9 to 1.5.0 (new rules: `filename-format`, and `file-length-limit`)
    -   `tenv`: from 1.10.0 to 1.12.1 (handle dot import)
    -   `testifylint`: from 1.4.3 to 1.5.0 (new checkers: `contains`, `encoded-compare`, `regexp`)
3.  Misc.
    -   Type sizing when cross-compiling (32-bit).
    -   code-climate: add check_name field
    -   Improve Go version detection
    -   Fix Go version propagation
4.  Documentation
    -   Adds a section about `exclude-dirs-use-default`
    -   Improve 'install from sources' section
    -   Improve FAQ about Go versions
    -   Improve linter/rule/check docs
    -   Improve new linter section
    -   Improve `forbidigo` pattern examples for built-in functions

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/402
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2024-11-25 12:26:54 +00:00
Dependency bot
c9f1624afd fix(deps): update golang.org/x/exp digest to 2d47ceb (#401)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| golang.org/x/exp | require | digest | `f66d83c` -> `2d47ceb` |

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/401
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2024-11-25 12:26:32 +00:00
crapStone
044c684a47 Fix compression (#405)
closes #404

Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/405
Co-authored-by: crapStone <me@crapstone.dev>
Co-committed-by: crapStone <me@crapstone.dev>
2024-11-25 12:21:55 +00:00
crapStone
85059aa46e cache pages (#403)
taken from https://codeberg.org/Codeberg/pages-server/pulls/301

Co-authored-by: Moritz Marquardt <git@momar.de>

Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/403
Co-authored-by: crapStone <me@crapstone.dev>
Co-committed-by: crapStone <me@crapstone.dev>
2024-11-21 23:26:30 +00:00
Gnarwhal
23a8e83e80 Allow serving custom error page (#393)
It might be useful for those self-hosting a Codeberg Pages instance to be able to serve a different error page than the one embedded with go:embed

Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/393
Co-authored-by: Gnarwhal <git.aspect893@passmail.net>
Co-committed-by: Gnarwhal <git.aspect893@passmail.net>
2024-11-17 16:28:52 +00:00
Bastian Greshake Tzovaras
bef866faae Improve error message when pages don't work (#398)
On Matrix there was a recent discussion about the quality of the error page that _Codeberg Pages_ displays. Pixelcode had posted this relevant points:

> Currently, the message reads as if written for the website's owner. I think it should be rephrased so that visitors who encounter the error understand that:
> 1. This page is an error message, not the actual website. (e.g. Error 424 instead of just 424)
> 2. The website is hosted on Codeberg Pages, not on a server controlled by the owner.
> 3. There's perhaps a configuration error or an internal server issue.
> 4. It might take a little until the website is up again.

 In particular the point about the "dual audience" of _Codeberg Pages_ user/website owner and website visitor seems important, to make sure that both audiences understand that there's an error.
 Also the error can be due to _Codeberg Pages_ being down or due to the user misconfiguring their page.

 I've taken a first stab at trying to cover those 4 points, but of course the exact improvements are up for debate, but thought it would be easiest to provide a concrete suggestion to get us started!

Co-authored-by: crapStone <me@crapstone.dev>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/398
Co-authored-by: Bastian Greshake Tzovaras <bgreshake@googlemail.com>
Co-committed-by: Bastian Greshake Tzovaras <bgreshake@googlemail.com>
2024-11-05 21:01:13 +00:00
Dependency bot
532e1af2fc chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5 (#392)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [woodpeckerci/plugin-docker-buildx](https://codeberg.org/woodpecker-plugins/docker-buildx) ([source](https://codeberg.org/woodpecker-plugins/docker-buildx.git)) | major | `4.2.0` -> `5.0.0` |

---

### Release Notes

<details>
<summary>woodpecker-plugins/docker-buildx (woodpeckerci/plugin-docker-buildx)</summary>

### [`v5.0.0`](https://codeberg.org/woodpecker-plugins/docker-buildx/blob/HEAD/CHANGELOG.md#500---2024-10-09)

[Compare Source](https://codeberg.org/woodpecker-plugins/docker-buildx/compare/v4.2.0...v5.0.0)

##### ❤️ Thanks to all contributors! ❤️

[@&#8203;6543](https://github.com/6543), [@&#8203;flyingscorpio](https://github.com/flyingscorpio), [@&#8203;pat-s](https://github.com/pat-s), [@&#8203;woodpecker-bot](https://github.com/woodpecker-bot)

##### 💥 Breaking changes

-   Hide insecure configuration options behind insecure tag \[[#&#8203;194](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/194)]
-   chore(deps): update docker docker tag to v27 \[[#&#8203;170](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/170)]

#####  Features

-   Add `sbom` option \[[#&#8203;187](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/187)]

##### 📈 Enhancement

-   Optimize container layers \[[#&#8203;191](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/191)]
-   Dont let proxy config overwrite dedicated buildkit_driveropt proxy options if set \[[#&#8203;175](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/175)]

##### 🐛 Bug Fixes

-   Quote `no_proxy` \[[#&#8203;185](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/185)]
-   Update drone-plugin-lib to handle nil pointer \[[#&#8203;178](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/178)]

##### 📚 Documentation

-   update pipeline config example \[[#&#8203;180](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/180)]

##### 📦️ Dependency

-   chore(deps): update docker docker tag to v27.2.1 \[[#&#8203;183](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/183)]
-   fix(deps): update github.com/urfave/cli/v3 digest to [`31c5c84`](31c5c84) \[[#&#8203;182](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/182)]
-   Update to github.com/urfave/cli/v3 \[[#&#8203;173](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/173)]

##### Misc

-   dont ignore changelog ([f3f8166](f3f8166af3))
-   Add nix flake \[[#&#8203;192](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/192)]
-   chore(deps): update dependency go to v1.23.2 ([9c4cea3](9c4cea3ccc))
-   fix(deps): update github.com/urfave/cli/v3 digest to [`20ef97b`](20ef97b) ([b6a6f1c](b6a6f1c772))
-   Add release config for release-helper plugin \[[#&#8203;190](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/190)]
-   Use ready-release-go plugin \[[#&#8203;189](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/189)]
-   add-remote-builders \[[#&#8203;179](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/179)]
-   chore(deps): update docker docker tag to v27.3.1 ([4fedea4](4fedea4855))
-   chore(deps): update docker/buildx-bin docker tag to v0.17.1 ([b807eda](b807edaa48))
-   chore(deps): update davidanson/markdownlint-cli2 docker tag to v0.14.0 ([8435819](8435819971))
-   chore(deps): update dependency go to v1.23.1 ([3ee6b8b](3ee6b8bb9d))
-   chore(deps): update docker docker tag to v27.2.0 ([c661b7a](c661b7a48d))
-   fix(deps): update github.com/urfave/cli/v3 digest to [`3d76e1b`](3d76e1b) ([ba44638](ba44638dda))
-   fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.3 ([0e1e881](0e1e8818e7))
-   fix(deps): update github.com/urfave/cli/v3 digest to [`5386081`](5386081) ([cf7d19c](cf7d19cbb1))
-   fix(deps): update module honnef.co/go/tools to v0.5.1 ([23b0f61](23b0f61255))
-   chore(deps): update golang docker tag to v1.23 ([b98307b](b98307bb3e))
-   fix(deps): update github.com/urfave/cli/v3 digest to [`3110c0e`](3110c0e) ([13aa887](13aa8879a2))
-   chore(deps): update docker docker tag to v27.1.2 ([fe28f12](fe28f12be1))
-   chore(deps): update woodpeckerci/plugin-release docker tag to v0.2.1 ([ea32257](ea32257d1d))
-   fix(deps): update module github.com/aws/aws-sdk-go to v1.55.5 ([af71dcd](af71dcdbde))
-   fix(deps): update module github.com/aws/aws-sdk-go to v1.55.3 ([1d5b8fd](1d5b8fdc17))
-   chore(deps): update docker/buildx-bin docker tag to v0.16.2 ([c671088](c671088766))
-   chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v4.2.0 ([642f2b3](642f2b36d7))
-   chore(deps): update docker/buildx-bin docker tag to v0.16.1 ([f8b58f5](f8b58f573b))
-   fix(deps): update github.com/urfave/cli/v3 digest to [`127cf54`](127cf54) ([03cd73f](03cd73f068))
-   update version parse lib ([42395c5](42395c51ec))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/392
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2024-11-05 18:52:45 +00:00
Julien Malka
bb7cfbb37c feat: add proxy protocol support (#394)
This can be useful when the pages-server is running behing a proxy, to
keep track of the originating ip.

Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/394
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Julien Malka <julien@malka.sh>
Co-committed-by: Julien Malka <julien@malka.sh>
2024-10-29 17:56:00 +00:00
Dependency bot
168bc9047b fix(deps): update golang.org/x/exp digest to f66d83c (#396) 2024-10-15 00:51:32 +00:00
Dependency bot
831ce3d913 fix(deps): update golang.org/x/exp digest to 225e2ab (#391) 2024-10-07 00:38:22 +00:00
Dependency bot
d6f0ec39fc fix(deps): update golang.org/x/exp digest to 0cdaa3a (#377) 2024-09-30 00:26:29 +00:00
crapStone
2f8bd38f59 pin golang-just image (#390)
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/390
Co-authored-by: crapStone <me@crapstone.dev>
Co-committed-by: crapStone <me@crapstone.dev>
2024-09-29 21:17:15 +00:00