qwerty287
6a7e91bb0e
Fix env vars and add UI url ( #2811 )
...
Closes https://github.com/woodpecker-ci/woodpecker/issues/2219
---------
Co-authored-by: Anbraten <anton@ju60.de>
2023-11-13 09:38:02 +01:00
qwerty287
cf23ac0c3c
Fix paths for version check ( #2816 )
...
Fix updating the `version.json` file. Issue was relative path while it
must be absolute.
ref #2748
2023-11-13 08:44:49 +01:00
renovate[bot]
d6f65a0f23
Update golang (packages) ( #2815 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/golang-jwt/jwt/v5](https://togithub.com/golang-jwt/jwt ) |
require | minor | `v5.0.0` -> `v5.1.0` |
| golang.org/x/crypto | require | minor | `v0.14.0` -> `v0.15.0` |
| golang.org/x/net | require | minor | `v0.17.0` -> `v0.18.0` |
| golang.org/x/oauth2 | require | minor | `v0.13.0` -> `v0.14.0` |
| golang.org/x/term | require | minor | `v0.13.0` -> `v0.14.0` |
---
### Release Notes
<details>
<summary>golang-jwt/jwt (github.com/golang-jwt/jwt/v5)</summary>
### [`v5.1.0`](https://togithub.com/golang-jwt/jwt/releases/tag/v5.1.0 )
[Compare
Source](https://togithub.com/golang-jwt/jwt/compare/v5.0.0...v5.1.0 )
#### What's Changed
- Using jwt's native `ErrInvalidType` instead of
`json.UnsupportedTypeError` by
[@​oxisto](https://togithub.com/oxisto ) in
[https://github.com/golang-jwt/jwt/pull/316 ](https://togithub.com/golang-jwt/jwt/pull/316 )
- Fix typos in comments and test names by
[@​alexandear](https://togithub.com/alexandear ) in
[https://github.com/golang-jwt/jwt/pull/317 ](https://togithub.com/golang-jwt/jwt/pull/317 )
- Format: add whitespaces, remove empty lines by
[@​alexandear](https://togithub.com/alexandear ) in
[https://github.com/golang-jwt/jwt/pull/319 ](https://togithub.com/golang-jwt/jwt/pull/319 )
- Refactor example: use io.ReadAll instead of io.Copy by
[@​alexandear](https://togithub.com/alexandear ) in
[https://github.com/golang-jwt/jwt/pull/320 ](https://togithub.com/golang-jwt/jwt/pull/320 )
- Refactor code by using switch instead of if-else by
[@​alexandear](https://togithub.com/alexandear ) in
[https://github.com/golang-jwt/jwt/pull/318 ](https://togithub.com/golang-jwt/jwt/pull/318 )
- A quick way to validate token string by
[@​dcalsky](https://togithub.com/dcalsky ) in
[https://github.com/golang-jwt/jwt/pull/302 ](https://togithub.com/golang-jwt/jwt/pull/302 )
- Refactor: remove unnecessary \[]byte conversion to string by
[@​alexandear](https://togithub.com/alexandear ) in
[https://github.com/golang-jwt/jwt/pull/330 ](https://togithub.com/golang-jwt/jwt/pull/330 )
- Refactor: compare strings with strings.EqualFold by
[@​alexandear](https://togithub.com/alexandear ) in
[https://github.com/golang-jwt/jwt/pull/329 ](https://togithub.com/golang-jwt/jwt/pull/329 )
- Avoid use of json.NewDecoder by
[@​craigpastro](https://togithub.com/craigpastro ) in
[https://github.com/golang-jwt/jwt/pull/313 ](https://togithub.com/golang-jwt/jwt/pull/313 )
- Update ParseUnverified godoc by
[@​duhaesbaert](https://togithub.com/duhaesbaert ) in
[https://github.com/golang-jwt/jwt/pull/341 ](https://togithub.com/golang-jwt/jwt/pull/341 )
- Update ci workflows (add go1.21) by
[@​mfridman](https://togithub.com/mfridman ) in
[https://github.com/golang-jwt/jwt/pull/345 ](https://togithub.com/golang-jwt/jwt/pull/345 )
- Bump actions/checkout from 3 to 4 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/golang-jwt/jwt/pull/346 ](https://togithub.com/golang-jwt/jwt/pull/346 )
- Key rotation with VerificationKeySet by
[@​mfridman](https://togithub.com/mfridman ) in
[https://github.com/golang-jwt/jwt/pull/344 ](https://togithub.com/golang-jwt/jwt/pull/344 )
- Add explicit ClaimsValidator implementation check for custom claims by
[@​epelc](https://togithub.com/epelc ) in
[https://github.com/golang-jwt/jwt/pull/343 ](https://togithub.com/golang-jwt/jwt/pull/343 )
- feat: allow making exp claim required by
[@​tareksha](https://togithub.com/tareksha ) in
[https://github.com/golang-jwt/jwt/pull/351 ](https://togithub.com/golang-jwt/jwt/pull/351 )
- Add error handling to examples by
[@​craigpastro](https://togithub.com/craigpastro ) in
[https://github.com/golang-jwt/jwt/pull/312 ](https://togithub.com/golang-jwt/jwt/pull/312 )
#### New Contributors
- [@​alexandear](https://togithub.com/alexandear ) made their first
contribution in
[https://github.com/golang-jwt/jwt/pull/317 ](https://togithub.com/golang-jwt/jwt/pull/317 )
- [@​dcalsky](https://togithub.com/dcalsky ) made their first
contribution in
[https://github.com/golang-jwt/jwt/pull/302 ](https://togithub.com/golang-jwt/jwt/pull/302 )
- [@​craigpastro](https://togithub.com/craigpastro ) made their
first contribution in
[https://github.com/golang-jwt/jwt/pull/313 ](https://togithub.com/golang-jwt/jwt/pull/313 )
- [@​duhaesbaert](https://togithub.com/duhaesbaert ) made their
first contribution in
[https://github.com/golang-jwt/jwt/pull/341 ](https://togithub.com/golang-jwt/jwt/pull/341 )
- [@​epelc](https://togithub.com/epelc ) made their first
contribution in
[https://github.com/golang-jwt/jwt/pull/343 ](https://togithub.com/golang-jwt/jwt/pull/343 )
- [@​tareksha](https://togithub.com/tareksha ) made their first
contribution in
[https://github.com/golang-jwt/jwt/pull/351 ](https://togithub.com/golang-jwt/jwt/pull/351 )
**Full Changelog**:
https://github.com/golang-jwt/jwt/compare/v5.0.0...v5.1.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am" (UTC), Automerge -
"before 4am" (UTC).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/woodpecker-ci/woodpecker ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 07:54:35 +01:00
qwerty287
70711ed9db
Replace interface{}
with any
( #2807 )
...
like golang:
2580d0e08d
2023-11-12 18:23:48 +01:00
qwerty287
fd77b2e9d7
Fix repo owner filter ( #2808 )
...
and move to server config instead of middleware
cc @xoxys
closes #2784
2023-11-12 14:39:41 +01:00
renovate[bot]
82877bc967
Update dependency marked to v10 ( #2810 )
2023-11-12 07:59:37 +01:00
Patrick Schratz
905bb95853
Update docs npm deps non-major ( #2799 )
...
To fix security scan issues of `axios`. (renovate would have only
scheduled this tomorrow or on Sunday). I force-triggered the creation.
Usually renovate would also create the PR but it was somehow stuck
between automerge and missing branch tests (which is also why #2798 is
good to have).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <ndev@web.de>
2023-11-11 21:38:54 +01:00
Patrick Schratz
e3bcdbecfa
Add tests on renovate branches ( #2798 )
...
This sets the scene for a potential automerge of dev deps when tests
pass.
What is still missing is that somebody triggers the CI run (or a
whitelist for it).
---------
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-11-11 21:35:48 +01:00
qwerty287
f2ed2e7b48
Add docs about Gitea on same host and update docker-compose example ( #2752 )
...
Closes #1660
Taken out the part of it that's still up-to-date.
Everything else in this PR is outdated as we don't primarily use quay.io
---------
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2023-11-11 12:38:21 +01:00
qwerty287
e6b3b94241
Update docusaurus plugin ( #2804 )
...
closes #2788
2023-11-11 11:20:46 +01:00
woodpecker-bot
1e269b3b38
🎉 Release 2.0.0-rc.0 ( #2802 )
2023-11-11 09:33:45 +01:00
Anbraten
5382b4ae10
Update release-helper ( #2801 )
2023-11-11 09:03:52 +01:00
Thomas Anderson
08f47afbd1
Sort agents list by ID ( #2795 )
2023-11-10 01:11:11 +01:00
Lauris BH
9f9127b093
Revert to previous red colors but do not use red color for text ( #2786 )
...
Revert red colors back introduced by #2778
But do not use red color for text on dark background anywhere
example:
![attels](https://github.com/woodpecker-ci/woodpecker/assets/165205/39f008fe-3d43-495f-b956-ea5bf4a5fa16 )
2023-11-09 23:00:52 +02:00
Patrick Schratz
f3df6f8873
Add privileged
schema definition ( #2777 )
...
Co-authored-by: 6543 <m.huber@kithara.com>
2023-11-09 19:31:08 +01:00
qwerty287
ae39d455bf
Frontport changelog ( #2779 )
2023-11-09 17:55:48 +01:00
Robert Kaussow
65a93ca547
Fix css loading order in head ( #2785 )
...
The `custom.css` file should be loaded last to take precedence over the
default file. Otherwise, the theming will not work as expected, and you
would have to use `!important` most of the time.
2023-11-09 15:13:11 +02:00
Lauris BH
6f07f2acf2
Fix error color contrast in dark theme ( #2778 )
2023-11-09 07:07:20 +01:00
Robert Kaussow
4c2dbca2e9
Replace linter icons to match theme ( #2765 )
...
@qwerty287 @anbraten What do you think about this approach? This way the
icons fit more into the existing design. I've also moved the icon in the
tab to the end as this looks IMO a bit better on mobile view, but open
for discussions.
![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/f56a9688-4ca2-4b7b-a053-3e74effe6976 )
<img
src="https://github.com/woodpecker-ci/woodpecker/assets/3391958/93cd4dd6-4e22-4210-9fee-f8d134d3df42 "
width=350> <img
src="https://github.com/woodpecker-ci/woodpecker/assets/3391958/6128fec9-3dc5-4483-abde-5a911b236138 "
width=350>
Alternative idea for errors:
<img
src="https://github.com/woodpecker-ci/woodpecker/assets/3391958/bee8b1ea-8d27-43cc-9fb1-2df0031d3551 "
width=350>
Or just use one symbol and only change the color for errors/warnings?
2023-11-09 00:03:36 +02:00
Weblate
6ff2e7c97f
Translated using Weblate (French)
...
Currently translated at 100.0% (360 of 360 strings)
Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
Translation: Woodpecker CI/UI
2023-11-08 13:39:17 +00:00
silverwind
872fea0e14
Remove go versions from .golangci.yml ( #2775 )
...
1. `linter.lang-version` is deprecated in favor of `run.go`
2. `run.go` defaults to the version in `go.mod` as per
[docs](https://golangci-lint.run/usage/configuration/#run-configuration ):
```yaml
# Define the Go version limit.
# Mainly related to generics support since go1.18.
# Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.18
go: '1.19'
```
So in summary, we don't need these versions in the file as long as we
keep the version in go.mod bumped.
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-11-07 20:29:37 +01:00
Patrick Schratz
9d5ef117a2
Fix listing Gitea repos ( #2768 )
2023-11-07 20:18:42 +01:00
Anbraten
52163b9a3e
Fix sidepanel not closable via button ( #2772 )
2023-11-07 14:22:08 +01:00
6543
5a7b689e30
Switch to go vanity urls ( #2706 )
...
Co-authored-by: Anbraten <anton@ju60.de>
2023-11-07 08:04:33 +01:00
pre-commit-ci[bot]
9648765ae5
[pre-commit.ci] pre-commit autoupdate ( #2767 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-06 20:12:23 +01:00
Weblate
6ab0e800dc
Translated using Weblate (German)
...
Currently translated at 100.0% (360 of 360 strings)
Co-authored-by: qwerty287 <ndev@web.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translation: Woodpecker CI/UI
2023-11-06 14:46:11 +00:00
Anbraten
731d4713c0
Fix pipeline error migration ( #2735 )
...
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2023-11-06 13:20:28 +01:00
6543
cc252b4ac9
Mark kubernetes backend as fully supported ( #2756 )
...
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-11-06 09:34:11 +01:00
qwerty287
1bc4415075
Add workflow version ( #2476 )
...
Closes #1834
---------
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-11-06 01:37:02 +01:00
renovate[bot]
9e0e62a757
Lock file maintenance ( #2755 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |
🔧 This Pull Request updates lock files to use the latest dependency
versions.
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/woodpecker-ci/woodpecker ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-06 01:19:08 +01:00
qwerty287
a417cca25b
UI enhancements/fixes ( #2754 )
...
- disallow collapsing pipeline configs if it's only one config
- do not show name if only one config
2023-11-05 15:55:49 +01:00
Anbraten
9e10100ad6
Fail on missing secrets ( #2749 )
...
Co-authored-by: pat-s <patrick.schratz@gmail.com>
2023-11-05 12:47:42 +01:00
qwerty287
8946d2099c
Update docusaurus to v3 ( #2732 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
2023-11-05 10:43:44 +01:00
qwerty287
45a5a2dde5
Fix panic on logger ( #2745 )
2023-11-05 09:31:06 +01:00
qwerty287
3524301335
Frontport changelog 1.0.4 ( #2738 ) ( #2744 )
2023-11-05 09:12:38 +01:00
renovate[bot]
18414cc29f
Update golang (packages) ( #2742 )
2023-11-05 08:57:05 +01:00
Ricardo Escaran
5c72b8d532
Fix the wrong link to the cron job document ( #2740 )
2023-11-05 08:13:28 +01:00
Weblate
19dca1e19c
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (360 of 360 strings)
Co-authored-by: Linerly <linerly@proton.me>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translation: Woodpecker CI/UI
2023-11-05 01:57:15 +00:00
qwerty287
620d669e03
Fix lowercase ( #2739 )
...
from #2722
2023-11-04 17:09:32 +01:00
Anbraten
a0f2ee9506
Add deprecation warnings ( #2725 )
2023-11-04 15:30:47 +01:00
Anbraten
33f9574dce
Add version and update notes ( #2722 )
2023-11-04 14:20:50 +01:00
Anbraten
5f8e252fba
Fix default tab not being selected ( #2733 )
2023-11-04 14:20:04 +01:00
Weblate
dffdcdaac0
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (357 of 357 strings)
Translated using Weblate (German)
Currently translated at 100.0% (357 of 357 strings)
Co-authored-by: Linerly <linerly@proton.me>
Co-authored-by: qwerty287 <ndev@web.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translation: Woodpecker CI/UI
2023-11-04 10:43:42 +00:00
J-Ha
9af71dcc98
Use unique label selector for pod label for kubernetes services ( #2723 )
...
Co-authored-by: Julian Haseleu <julian.haseleu@dreamit.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-11-04 10:35:37 +01:00
renovate[bot]
fc8a001b2b
Update woodpeckerci/plugin-ready-release-go Docker tag to v0.7.0 ( #2728 )
2023-11-04 07:44:13 +01:00
Anbraten
b949c190de
Some UI fixes ( #2698 )
...
- fix first log line being dropped if channel was opened
- link org and repo on repo logs view
- fix decline pipeline status does not update
2023-11-04 06:51:26 +01:00
Anbraten
fe489287fc
Fix active tab not updating on prop change ( #2712 )
2023-11-03 16:01:14 +01:00
Patrick Schratz
fd8f35a879
Fix pinned alpine package versions ( #2713 )
2023-11-03 15:41:44 +01:00
Anbraten
49f95edf00
Fix step selection ( #2719 )
...
Just reverted those lines from #1572
2023-11-03 14:42:59 +01:00
qwerty287
4cb48aab1d
Fix axisID for non-matrix ( #2717 )
...
Just one more from #2695
2023-11-03 14:04:37 +01:00