Commit graph

49 commits

Author SHA1 Message Date
Dependency bot
65487e41fb fix(deps): update golang deps non-major (#437)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| code.gitea.io/sdk/gitea | require | minor | `v0.20.0` -> `v0.21.0` |
| [github.com/go-acme/lego/v4](https://github.com/go-acme/lego) | require | minor | `v4.21.0` -> `v4.23.1` |
| [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) | require | minor | `v1.8.1` -> `v1.9.2` |
| [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) | require | patch | `v1.14.24` -> `v1.14.28` |
| [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml) | require | patch | `v2.2.3` -> `v2.2.4` |
| [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) | require | patch | `v0.8.0` -> `v0.8.1` |
| [github.com/reugn/equalizer](https://github.com/reugn/equalizer) | require | minor | `v0.0.0-20210216135016-a959c509d7ad` -> `v0.2.0` |
| [github.com/rs/zerolog](https://github.com/rs/zerolog) | require | minor | `v1.33.0` -> `v1.34.0` |
| [github.com/urfave/cli/v2](https://github.com/urfave/cli) | require | patch | `v2.27.5` -> `v2.27.6` |

---

### Release Notes

<details>
<summary>go-acme/lego (github.com/go-acme/lego/v4)</summary>

### [`v4.23.1`](https://github.com/go-acme/lego/blob/HEAD/CHANGELOG.md#v4231-2025-04-16)

[Compare Source](https://github.com/go-acme/lego/compare/v4.23.0...v4.23.1)

Due to an error related to Snapcraft, some artifacts of the v4.23.0 release have not been published.

This release contains the same things as v4.23.0.

### [`v4.23.0`](https://github.com/go-acme/lego/blob/HEAD/CHANGELOG.md#v4230-2025-04-16)

[Compare Source](https://github.com/go-acme/lego/compare/v4.22.2...v4.23.0)

##### Added

-   **\[dnsprovider]** Add DNS provider for Active24
-   **\[dnsprovider]** Add DNS provider for BookMyName
-   **\[dnsprovider]** Add DNS provider for Axelname
-   **\[dnsprovider]** Add DNS provider for Baidu Cloud
-   **\[dnsprovider]** Add DNS provider for Metaregistrar
-   **\[dnsprovider]** Add DNS provider for F5 XC
-   **\[dnsprovider]** Add INFOBLOX_CA_CERTIFICATE option
-   **\[dnsprovider]** route53: adds option to use private zone
-   **\[dnsprovider]** edgedns: add account switch key option
-   **\[dnsprovider]** infoblox: update API client to v2
-   **\[lib,cli]** Add delay option for TLSALPN challenge

##### Changed

-   **\[dnsprovider]** designate: speed up API requests by using filters
-   **\[dnsprovider]** cloudflare: make base URL configurable
-   **\[dnsprovider]** websupport: migrate to API v2
-   **\[dnsprovider]** dnssimple: use GetZone

##### Fixed

-   **\[ari]** Fix retry on `alreadyReplaced` error
-   **\[cli,log]** Fix malformed log messages
-   **\[cli]** Kill hook when the command is stuck
-   **\[dnsprovider]** pdns: fix TXT record cleanup for wildcard domains
-   **\[dnsprovider]** allinkl: remove `ReturnInfo`

### [`v4.22.2`](https://github.com/go-acme/lego/blob/HEAD/CHANGELOG.md#v4222-2025-02-17)

[Compare Source](https://github.com/go-acme/lego/compare/v4.22.1...v4.22.2)

##### Fixed

-   **\[dnsprovider]** acme-dns: use new registred account

### [`v4.22.1`](https://github.com/go-acme/lego/blob/HEAD/CHANGELOG.md#v4221-2025-02-17)

[Compare Source](https://github.com/go-acme/lego/compare/v4.22.0...v4.22.1)

##### Fixed

-   **\[dnsprovider]** acme-dns: continue the process when the CNAME is handled by the storage

##### Added

### [`v4.22.0`](https://github.com/go-acme/lego/blob/HEAD/CHANGELOG.md#v4220-2025-02-17)

[Compare Source](https://github.com/go-acme/lego/compare/v4.21.0...v4.22.0)

##### Added

-   **\[cli]** Add `--private-key` flag to set the private key.
-   **\[cli]** Add `LEGO_DEBUG_ACME_HTTP_CLIENT` environment variable to debug the calls to the ACME server.
-   **\[cli]** Add `LEGO_EMAIL` environment variable for specifying email.
-   **\[cli]** Add `--hook-timeout` flag to run and renew commands.
-   **\[dnsprovider]** Add DNS provider for myaddr.{tools,dev,io}
-   **\[dnsprovider]** Add DNS provider for Spaceship
-   **\[dnsprovider]** acme-dns: add HTTP storage
-   **\[lib,cli,httpprovider]** Add `--http.delay` option for HTTP challenge.
-   **\[lib,cli,profiles]** Add support for Profiles Extension.
-   **\[lib]** Add an option to set CSR email addresses

##### Changed

-   **\[lib]** rewrite status management
-   **\[dnsprovider]** docs: improve units and default values

##### Removed

-   **\[dnsprovider]** netcup: remove TTL option

##### Fixed

-   **\[cli,log]** remove extra debug logs

</details>

<details>
<summary>go-sql-driver/mysql (github.com/go-sql-driver/mysql)</summary>

### [`v1.9.2`](https://github.com/go-sql-driver/mysql/blob/HEAD/CHANGELOG.md#v192-2025-04-07)

[Compare Source](https://github.com/go-sql-driver/mysql/compare/v1.9.1...v1.9.2)

v1.9.2 is a re-release of v1.9.1 due to a release process issue; no changes were made to the content.

### [`v1.9.1`](https://github.com/go-sql-driver/mysql/blob/HEAD/CHANGELOG.md#v191-2025-03-21)

[Compare Source](https://github.com/go-sql-driver/mysql/compare/v1.9.0...v1.9.1)

##### Major Changes

-   Add Charset() option. ([#&#8203;1679](https://github.com/go-sql-driver/mysql/issues/1679))

##### Bugfixes

-   go.mod: fix go version format ([#&#8203;1682](https://github.com/go-sql-driver/mysql/issues/1682))
-   Fix FormatDSN missing ConnectionAttributes ([#&#8203;1619](https://github.com/go-sql-driver/mysql/issues/1619))

### [`v1.9.0`](https://github.com/go-sql-driver/mysql/blob/HEAD/CHANGELOG.md#v190-2025-02-18)

[Compare Source](https://github.com/go-sql-driver/mysql/compare/v1.8.1...v1.9.0)

##### Major Changes

-   Implement zlib compression. ([#&#8203;1487](https://github.com/go-sql-driver/mysql/issues/1487))
-   Supported Go version is updated to Go 1.21+. ([#&#8203;1639](https://github.com/go-sql-driver/mysql/issues/1639))
-   Add support for VECTOR type introduced in MySQL 9.0. ([#&#8203;1609](https://github.com/go-sql-driver/mysql/issues/1609))
-   Config object can have custom dial function. ([#&#8203;1527](https://github.com/go-sql-driver/mysql/issues/1527))

##### Bugfixes

-   Fix auth errors when username/password are too long. ([#&#8203;1625](https://github.com/go-sql-driver/mysql/issues/1625))
-   Check if MySQL supports CLIENT_CONNECT_ATTRS before sending client attributes. ([#&#8203;1640](https://github.com/go-sql-driver/mysql/issues/1640))
-   Fix auth switch request handling. ([#&#8203;1666](https://github.com/go-sql-driver/mysql/issues/1666))

##### Other changes

-   Add "filename:line" prefix to log in go-mysql. Custom loggers now show it. ([#&#8203;1589](https://github.com/go-sql-driver/mysql/issues/1589))
-   Improve error handling. It reduces the "busy buffer" errors. ([#&#8203;1595](https://github.com/go-sql-driver/mysql/issues/1595), [#&#8203;1601](https://github.com/go-sql-driver/mysql/issues/1601), [#&#8203;1641](https://github.com/go-sql-driver/mysql/issues/1641))
-   Use `strconv.Atoi` to parse max_allowed_packet. ([#&#8203;1661](https://github.com/go-sql-driver/mysql/issues/1661))
-   `rejectReadOnly` option now handles ER_READ_ONLY_MODE (1290) error too. ([#&#8203;1660](https://github.com/go-sql-driver/mysql/issues/1660))

</details>

<details>
<summary>mattn/go-sqlite3 (github.com/mattn/go-sqlite3)</summary>

### [`v1.14.28`](https://github.com/mattn/go-sqlite3/compare/v1.14.27...v1.14.28)

[Compare Source](https://github.com/mattn/go-sqlite3/compare/v1.14.27...v1.14.28)

### [`v1.14.27`](https://github.com/mattn/go-sqlite3/compare/v1.14.26...v1.14.27)

[Compare Source](https://github.com/mattn/go-sqlite3/compare/v1.14.26...v1.14.27)

### [`v1.14.26`](https://github.com/mattn/go-sqlite3/compare/v1.14.25...v1.14.26)

[Compare Source](https://github.com/mattn/go-sqlite3/compare/v1.14.25...v1.14.26)

### [`v1.14.25`](https://github.com/mattn/go-sqlite3/compare/v1.14.24...v1.14.25)

[Compare Source](https://github.com/mattn/go-sqlite3/compare/v1.14.24...v1.14.25)

</details>

<details>
<summary>pelletier/go-toml (github.com/pelletier/go-toml/v2)</summary>

### [`v2.2.4`](https://github.com/pelletier/go-toml/releases/tag/v2.2.4)

[Compare Source](https://github.com/pelletier/go-toml/compare/v2.2.3...v2.2.4)

<!-- Release notes generated using configuration in .github/release.yml at v2.2.4 -->

#### Highlight

In this release, [@&#8203;mikattack](https://github.com/mikattack) removed the last dependency of go-toml! 🎉  (https://github.com/pelletier/go-toml/pull/981)

#### What's Changed

##### Documentation

-   Fix typos in comments and tests by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/pelletier/go-toml/pull/972

##### Other changes

-   Replace `stretchr/testify` with an internal test suite by [@&#8203;mikattack](https://github.com/mikattack) in https://github.com/pelletier/go-toml/pull/981
-   Update to go 1.24 by [@&#8203;pelletier](https://github.com/pelletier) in https://github.com/pelletier/go-toml/pull/982

#### New Contributors

-   [@&#8203;alexandear](https://github.com/alexandear) made their first contribution in https://github.com/pelletier/go-toml/pull/972
-   [@&#8203;mikattack](https://github.com/mikattack) made their first contribution in https://github.com/pelletier/go-toml/pull/981

**Full Changelog**: https://github.com/pelletier/go-toml/compare/v2.2.3...v2.2.4

</details>

<details>
<summary>pires/go-proxyproto (github.com/pires/go-proxyproto)</summary>

### [`v0.8.1`](https://github.com/pires/go-proxyproto/releases/tag/v0.8.1)

[Compare Source](https://github.com/pires/go-proxyproto/compare/v0.8.0...v0.8.1)

#### What's Changed

-   Fix Go Documentation of Default timeout by [@&#8203;TheM1984](https://github.com/TheM1984) in https://github.com/pires/go-proxyproto/pull/121
-   build(deps): bump golang.org/x/net from 0.23.0 to 0.36.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/pires/go-proxyproto/pull/122
-   bump Go and golang.org/x/net by [@&#8203;pires](https://github.com/pires) in https://github.com/pires/go-proxyproto/pull/125

#### New Contributors

-   [@&#8203;TheM1984](https://github.com/TheM1984) made their first contribution in https://github.com/pires/go-proxyproto/pull/121

**Full Changelog**: https://github.com/pires/go-proxyproto/compare/v0.8.0...v0.8.1

</details>

<details>
<summary>rs/zerolog (github.com/rs/zerolog)</summary>

### [`v1.34.0`](https://github.com/rs/zerolog/compare/v1.33.0...v1.34.0)

[Compare Source](https://github.com/rs/zerolog/compare/v1.33.0...v1.34.0)

</details>

<details>
<summary>urfave/cli (github.com/urfave/cli/v2)</summary>

### [`v2.27.6`](https://github.com/urfave/cli/releases/tag/v2.27.6)

[Compare Source](https://github.com/urfave/cli/compare/v2.27.5...v2.27.6)

#### What's Changed

-   Use usage template in subcommand help by [@&#8203;meatballhat](https://github.com/meatballhat) in https://github.com/urfave/cli/pull/1986
-   Docs: Update cli.yml by [@&#8203;dearchap](https://github.com/dearchap) in https://github.com/urfave/cli/pull/2015
-   Fix:(issue\_2069) Add sep for string slice by [@&#8203;dearchap](https://github.com/dearchap) in https://github.com/urfave/cli/pull/2070

**Full Changelog**: https://github.com/urfave/cli/compare/v2.27.5...v2.27.6

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC).

🚦 **Automerge**: Enabled.

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

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuNCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Co-authored-by: crapStone <me@crapstone.dev>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/437
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2025-06-10 23:54:25 +02: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
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
4b1faa5ebb fix(deps): update golang.org/x/exp digest to dead583 (#436) 2025-03-02 00:14:55 +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
crapStone
b69d09e9e1
update dependencies 2025-01-17 20:29:41 +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
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
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
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
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
Dependency bot
abbebbbcee fix(deps): update golang.org/x/exp digest to 8a7402a (#368) 2024-07-23 20:19:44 +00:00
Dependency bot
17530a065b fix(deps): update golang.org/x/exp digest to 46b0784 (#363) 2024-07-14 01:21:11 +00:00
Dependency bot
c043a887c2 fix(deps): update golang.org/x/exp digest to 7f521ea (#356) 2024-06-17 00:53:42 +00:00
Dependency bot
e61ab7075b fix(deps): update golang.org/x/exp digest to fc45aab (#352) 2024-06-09 01:17:54 +00:00
Dependency bot
4543033874 fix(deps): update golang.org/x/exp digest to fd00a4e (#346) 2024-06-02 01:02:45 +00:00
Dependency bot
3928cd7aff fix(deps): update golang.org/x/exp digest to 4c93da0 (#344) 2024-05-29 00:33:03 +00:00
crapStone
2c41e11f2f Use hashicorp's LRU cache for DNS & certificates (#315)
Taken from #301

Co-authored-by: Moritz Marquardt <git@momar.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/315
2024-05-26 20:05:46 +00:00
Dependency bot
c1df2f068b fix(deps): update golang.org/x/exp digest to 9bf2ced (#335) 2024-05-19 01:11:30 +00:00
pat-s
c14c5474b6 Update gitea sdk and tidy (#314)
Manually as renovate has issues looking up the currently pinned digest. It should work afterwards as the gitea sdk (without a digest) is also used in other projects where renovate is doing work.

Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/314
Reviewed-by: crapStone <codeberg@crapstone.dev>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2024-04-27 19:40:14 +00:00
crapStone
7e80ade24b Add config file and rework cli parsing and passing of config values (#263)
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/263
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: crapStone <me@crapstone.dev>
Co-committed-by: crapStone <me@crapstone.dev>
2024-02-15 16:08:29 +00:00
crapStone
cbb2ce6d07 add go templating engine for error page and make errors more clear (#260)
ping #199
closes #213

Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/260
Co-authored-by: crapStone <crapstone01@gmail.com>
Co-committed-by: crapStone <crapstone01@gmail.com>
2023-11-16 17:11:35 +00:00
6543
be92f30e64 Update gitea sdk to e23e8aa3004f (#257)
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/257
Reviewed-by: crapStone <codeberg@crapstone.dev>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
2023-11-15 10:27:27 +00:00
deblan
42d5802b9b Allow to define default branches (#125)
This try to address #115

Co-authored-by: Simon Vieille <simon@deblan.fr>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/125
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: deblan <deblan@noreply.codeberg.org>
Co-committed-by: deblan <deblan@noreply.codeberg.org>
2023-02-14 03:03:00 +00:00
6543
fd643d15f0 Drop: pogreb support (#175)
followup of #173

close #95

Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/175
2023-02-11 02:04:57 +00:00
6543
7b35a192bf Add cert store option based on sqlite3, mysql & postgres (#173)
Deprecate **pogreb**!

close #169

Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/173
2023-02-10 03:00:14 +00:00
6543
b9966487f6 switch to std http implementation instead of fasthttp (#106)
close #100
close #109
close #113
close #28
close #63

Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/106
2022-11-12 20:37:20 +01:00
6543
dc41a4caf4 Add Support to Follow Symlinks and LFS (#114)
close #79
close #80
close #91

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/114
2022-08-12 06:40:12 +02:00
Gusted
876a53d9a2 Improve logging (#116)
- Actually log useful information at their respective log level.
- Add logs in hot-paths to be able to deep-dive and debug specific requests (see server/handler.go)
- Add more information to existing fields(e.g. the host that the user is visiting, this was noted by @fnetX).

Co-authored-by: Gusted <williamzijl7@hotmail.com>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/116
Reviewed-by: 6543 <6543@noreply.codeberg.org>
Co-authored-by: Gusted <gusted@noreply.codeberg.org>
Co-committed-by: Gusted <gusted@noreply.codeberg.org>
2022-08-12 05:06:26 +02:00
6543
35b35c5d67 Add integration tests (#86)
close #82
close #32

make sure we dont get regressions again ... as we currently have in **main**

followups:
 - create a DNS subdomayn specific to redirect to mock url ...

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/86
Reviewed-by: crapStone <crapstone@noreply.codeberg.org>
2022-06-11 23:17:43 +02:00
6543
f2ba7eac64 set golang to 1.18 (#84)
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/84
2022-06-10 15:27:17 +02:00
6543
196482da07
less panic 2021-12-05 23:21:55 +01:00
6543
ac93a5661c
start using urfave/cli 2021-12-05 14:48:44 +01:00
6543
bdc2d0c259
dont access global vars inject them 2021-12-05 14:48:41 +01:00
6543
fb5726bd20
use zerolog instead of own logger 2021-12-05 14:48:40 +01:00
Moritz Marquardt
d1ed16c0f2
Update everything & add Justfile 2021-11-20 15:31:10 +01:00
Moritz Marquardt
33f7a5d0df
Commit all current changes before vacation... 2021-08-22 17:59:30 +02:00
Moritz Marquardt
4494023086
Implement simple version of automatic certificate issuance 2021-07-13 15:45:28 +02:00
Moritz Marquardt
373c13baee
Update dependencies 2021-07-08 23:09:46 +02:00
Moritz Marquardt
203e230905
Implement caching & limit concurrency 2021-03-19 20:58:53 +01:00
Moritz Marquardt
1a80684e79
Clean up, fix bugs, implement caching & use API 2021-03-17 00:24:34 +01:00
Moritz Marquardt
0756993f7e
Implement first version without custom domains, TLS and caching 2021-03-16 20:22:06 +01:00