Commit graph

5146 commits

Author SHA1 Message Date
Robert Kaussow
5c2f02c4a1
Harmonize pipeline status information and add a review link to the approval (#2345)
Ref:
https://github.com/woodpecker-ci/woodpecker/discussions/2162#discussioncomment-6666864

Adds a `PipelineInfo` view to harmonize pipeline status information and
add a review link to the approval view.


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/41062b5f-0f15-4c3c-b72c-e22092804072)


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/4cfb1bc8-8bfd-4217-bce3-c9a1378f58ee)


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/f3b22a07-464e-4d29-85f0-de122bce1bbe)

---------

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-09-09 08:35:53 +02:00
renovate[bot]
41f6ecfa1b
fix(deps): update module github.com/stretchr/testify to v1.8.4 (#2389) 2023-09-09 08:29:30 +02:00
renovate[bot]
acb6ee0fcf
fix(deps): update module github.com/caddyserver/certmagic to v0.19.2 (#2401)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2023-09-09 00:16:52 +02:00
renovate[bot]
0e6e1e2731
chore(deps): update postgres docker tag to v12.16 (#2397)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 23:28:10 +02:00
renovate[bot]
d10db8991c
fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.17 (#2387) 2023-09-08 18:27:21 +02:00
renovate[bot]
e4225a5caf
fix(deps): update module github.com/google/uuid to v1.3.1 (#2386) 2023-09-08 17:52:00 +02:00
renovate[bot]
c67a1c26fc
chore(deps): update dependency unplugin-vue-components to ^0.25.0 (#2395) 2023-09-08 17:30:08 +02:00
renovate[bot]
83a2813e4d
fix(deps): update dependency @intlify/unplugin-vue-i18n to ^0.13.0 (#2398) 2023-09-08 17:20:38 +02:00
renovate[bot]
d44b2a38eb
chore(deps): update dependency unplugin-icons to ^0.17.0 (#2394)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [unplugin-icons](https://togithub.com/antfu/unplugin-icons) |
[`^0.16.3` ->
`^0.17.0`](https://renovatebot.com/diffs/npm/unplugin-icons/0.16.3/0.17.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/unplugin-icons/0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/unplugin-icons/0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/unplugin-icons/0.16.3/0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/unplugin-icons/0.16.3/0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the
Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>antfu/unplugin-icons (unplugin-icons)</summary>

###
[`v0.17.0`](https://togithub.com/unplugin/unplugin-icons/releases/tag/v0.17.0)

[Compare
Source](https://togithub.com/antfu/unplugin-icons/compare/v0.16.6...v0.17.0)

#####    🚨 Breaking Changes

- Add support for Svelte 4  -  by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/unplugin/unplugin-icons/issues/297](https://togithub.com/unplugin/unplugin-icons/issues/297)
[<samp>(263a9)</samp>](https://togithub.com/unplugin/unplugin-icons/commit/263a9ef)

#####     [View changes on
GitHub](https://togithub.com/unplugin/unplugin-icons/compare/v0.16.6...v0.17.0)

###
[`v0.16.6`](https://togithub.com/unplugin/unplugin-icons/releases/tag/v0.16.6)

[Compare
Source](https://togithub.com/antfu/unplugin-icons/compare/v0.16.5...v0.16.6)

#####    🐞 Bug Fixes

- **compiler-solid**: Props replacement not working with multiline
starttags  -  by
[@&#8203;NathanHuisman](https://togithub.com/NathanHuisman) in
[https://github.com/antfu/unplugin-icons/issues/301](https://togithub.com/antfu/unplugin-icons/issues/301)
[<samp>(5668f)</samp>](https://togithub.com/antfu/unplugin-icons/commit/5668fbb)
- **types**: Fix type errors  -  by
[@&#8203;zyyv](https://togithub.com/zyyv) in
[https://github.com/antfu/unplugin-icons/issues/299](https://togithub.com/antfu/unplugin-icons/issues/299)
[<samp>(79412)</samp>](https://togithub.com/antfu/unplugin-icons/commit/7941238)

#####     [View changes on
GitHub](https://togithub.com/antfu/unplugin-icons/compare/v0.16.5...v0.16.6)

###
[`v0.16.5`](https://togithub.com/unplugin/unplugin-icons/releases/tag/v0.16.5)

[Compare
Source](https://togithub.com/antfu/unplugin-icons/compare/v0.16.4...v0.16.5)

#####    🐞 Bug Fixes

- Explicit .cjs and .mjs extension  -  by
[@&#8203;antfu](https://togithub.com/antfu)
[<samp>(45bc0)</samp>](https://togithub.com/antfu/unplugin-icons/commit/45bc00d)

#####     [View changes on
GitHub](https://togithub.com/antfu/unplugin-icons/compare/v0.16.4...v0.16.5)

###
[`v0.16.4`](https://togithub.com/unplugin/unplugin-icons/releases/tag/v0.16.4)

[Compare
Source](https://togithub.com/antfu/unplugin-icons/compare/v0.16.3...v0.16.4)

#####    🐞 Bug Fixes

- Update qwik support  -  by
[@&#8203;michaelhthomas](https://togithub.com/michaelhthomas) in
[https://github.com/antfu/unplugin-icons/issues/291](https://togithub.com/antfu/unplugin-icons/issues/291)
[<samp>(d3a85)</samp>](https://togithub.com/antfu/unplugin-icons/commit/d3a852f)

#####     [View changes on
GitHub](https://togithub.com/antfu/unplugin-icons/compare/v0.16.3...v0.16.4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **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 [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:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-09-08 17:10:08 +02:00
renovate[bot]
4a7203f097
chore(deps): update golang docker tag (#2396)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 17:01:26 +02:00
renovate[bot]
0a2aa3fb2d
fix(deps): update module github.com/moby/moby to v20.10.25+incompatible (#2388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 16:40:30 +02:00
renovate[bot]
49773da33a
fix(deps): update module github.com/docker/docker to v20.10.25+incompatible (#2385)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 15:10:02 +02:00
Weblate
9e1ea770c9 Translated using Weblate (Czech)
Currently translated at 9.3% (32 of 342 strings)

Co-authored-by: mondstern <mondstern@monocles.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/cs/
Translation: Woodpecker CI/UI
2023-09-08 11:27:24 +00:00
renovate[bot]
b1092bafde
fix(deps): update module github.com/docker/cli to v20.10.25+incompatible (#2384)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 13:27:19 +02:00
qwerty287
d04bb72e5e
Add repos list for admins (#2347) 2023-09-08 12:26:20 +02:00
renovate[bot]
d7000e06e0
fix(deps): update module github.com/alessio/shellescape to v1.4.2 (#2381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2023-09-08 10:39:25 +02:00
renovate[bot]
70e7571607
fix(deps): update golang.org/x/exp digest to 9212866 (#2380)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 09:55:21 +02:00
renovate[bot]
e6dfc09ba0
Configure Renovate (#2360)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2023-09-08 08:58:02 +02:00
Robert Kaussow
e21a41de8c
Add option to render button as link (#2378)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/1259

Work from https://github.com/woodpecker-ci/woodpecker/pull/1602/files

With this approach, existing buttons are still working and buttons with
`to="https://..."` are rendered as `a` tag. Not sure about the
"recursive render" issue from the original PR, have not seen any
rendering issue, any idea about this?


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/2e87be21-3d3d-47b3-a2c4-1ffe5cfee592)
2023-09-08 08:44:22 +02:00
Robert Kaussow
718ec6141c
close sidebar on outside click (#2325)
[record.webm](https://github.com/woodpecker-ci/woodpecker/assets/3391958/f797be2c-09a9-4699-be85-7d5925e146ed)

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-09-07 22:28:36 +02:00
Anbraten
4c55a7c509
Add release helper (#1976) 2023-09-07 17:17:17 +02:00
Robert Kaussow
1806ad0165
Fix typo in GitLab docs (#2376) 2023-09-07 15:40:13 +02:00
Weblate
632bd1fd34 Translated using Weblate (Czech)
Currently translated at 3.2% (11 of 342 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 98.8% (338 of 342 strings)

Co-authored-by: mondstern <mondstern@monocles.de>
Co-authored-by: yeziruo <yeziruo@users.noreply.translate.woodpecker-ci.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/cs/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
Translation: Woodpecker CI/UI
2023-09-07 09:46:01 +00:00
Michalis Zampetakis
8a517a8596
Do not list archived repos for all forges (#2374)
Bitbucket seems that does not support repository archiving.

Resolves: https://github.com/woodpecker-ci/woodpecker/issues/2235

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-09-06 21:40:25 +02:00
Matheus Moraes
85e157bb10
fix(server/api/repo): Fix repair webhook host (#2372)
Fixes https://github.com/woodpecker-ci/woodpecker/issues/2371

Similar change to
https://github.com/woodpecker-ci/woodpecker/pull/1869/files#diff-3cd73db84155aa0447a17dadc8f50271d646fcf6132606cf2ab703cc7b80eb38R113
2023-09-06 12:17:23 +02:00
Weblate
e549f630a2 Added translation using Weblate (Czech)
Co-authored-by: mondstern <mondstern@monocles.de>
2023-09-05 19:49:10 +00:00
Weblate
cdb25a64c9 Translated using Weblate (French)
Currently translated at 99.4% (340 of 342 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-09-05 08:46:01 +00:00
Weblate
503252df38 Translated using Weblate (Indonesian)
Currently translated at 100.0% (342 of 342 strings)

Translated using Weblate (German)

Currently translated at 100.0% (342 of 342 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
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-09-03 19:57:57 +00:00
qwerty287
56b8ba151a
Delete repos/secrets on org deletion (#2367) 2023-09-02 15:00:13 +02:00
qwerty287
3e563ef198
Use API error helpers and improve response codes (#2366) 2023-09-02 13:31:10 +02:00
LTek-online
3bee51dc7a
clarify setup with gitlab with RFC1918 nets and non standard TLDs (#2363)
The current documentation mentions that when one uses woodpecker on the
same host as Gitlab, you might need to set the `Allow requests to the
local network from webhooks and integrations` option on the gitlab
server.

This option not only needs to be set when running on the same host, but
also needs to be set when setting up woodpecker with Gitlab on any
RFC1918 net and on any non standard TLD like `.local` or `.internal`.
2023-09-01 22:47:28 +02:00
Weblate
cf16d0ce2d Translated using Weblate (German)
Currently translated at 100.0% (342 of 342 strings)

Co-authored-by: mondstern <mondstern@monocles.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translation: Woodpecker CI/UI
2023-09-01 18:46:00 +00:00
guangwu
287590acfb
Import packages only once (#2362)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-09-01 17:02:21 +02:00
qwerty287
aab7e73322
Execute make generate with new versions (#2365)
Fixes current swagger checks:
https://ci.woodpecker-ci.org/repos/3780/pipeline/7605/26
2023-09-01 16:44:55 +02:00
Weblate
482aae6c0b Translated using Weblate (Indonesian)
Currently translated at 100.0% (342 of 342 strings)

Translated using Weblate (French)

Currently translated at 99.4% (340 of 342 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translation: Woodpecker CI/UI
2023-08-31 09:46:00 +00:00
qwerty287
971534929c
Only show commit title (#2361)
https://github.com/woodpecker-ci/woodpecker/issues/2359
2023-08-30 17:08:56 +02:00
qwerty287
e847cbadfa
Check permissions on repo lookup (#2357)
There was no permission check when looking up repos so you were able to
get basic repo information even if you're not allowed to.

This uses `session.MustPull` (and set repo/perms before) to fix this.
2023-08-30 16:35:34 +02:00
Robert Kaussow
91192a900a
Truncate commit message in pipeline log view header (#2356) 2023-08-30 16:17:01 +02:00
Patrick Schratz
f2a5e15386
Clarify env var CI in docs (#2349)
Co-authored-by: Anbraten <anton@ju60.de>
2023-08-29 18:38:16 +02:00
qwerty287
9718791eac
Increase header padding again (#2348)
From #2327
(https://github.com/woodpecker-ci/woodpecker/pull/2327#pullrequestreview-1600673521)

This probably needs some discussion first, but I think it looks ugly
with the current padding.

**Before**
![Screenshot 2023-08-29 at 17-17-00
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/0f4df035-b10e-4309-b119-2044fad1d534)

**After**
![Screenshot 2023-08-29 at 17-16-48
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/c45328c1-c3bf-401d-83fa-1b4b1b96d0c0)
2023-08-29 18:31:25 +02:00
Robert Kaussow
81aa9b1439
Use full width header on pipeline view and show repo name (#2327)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
Co-authored-by: 6543 <m.huber@kithara.com>
2023-08-29 15:57:58 +02:00
Weblate
c613664753 Translated using Weblate (Indonesian)
Currently translated at 100.0% (341 of 341 strings)

Translated using Weblate (German)

Currently translated at 100.0% (341 of 341 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
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-08-29 13:07:01 +00:00
Robert Kaussow
d155dfdecb
Use html list for changed files list (#2346)
![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/743317fa-cce6-4eb5-aaa4-7f38aadfcb66)
2023-08-29 15:06:56 +02:00
qwerty287
5bd12aa646
Show that repo is disabled (#2340)
And allow to show badges for disabled repos

Fixes 3rd checkbox from
https://github.com/woodpecker-ci/woodpecker/discussions/2162#discussion-5498655

![Screenshot 2023-08-28 at 11-13-23
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/d881f0c5-6225-4921-9d05-a26f27ad5365)
2023-08-28 18:57:44 +02:00
Anbraten
25225d4902
Update grpc generated code (#2339)
missed in #2173

---------
2023-08-28 18:00:52 +02:00
qwerty287
6f1f0e37ce
Fix org fetching (#2343) 2023-08-28 17:01:18 +02:00
lonix1
36bfc92fc8
docs: yaml cheatsheet for advanced syntax (#2329)
official spec linked at top of page is inaccessible for most readers
(it's too dry and academic)
so added famous cheatsheet (heavily promoted on StackOverflow)
2023-08-28 16:24:56 +02:00
qwerty287
479ced3b25
Add org list (#2338)
![Screenshot 2023-08-28 at 10-08-20
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/e3248b05-7899-43ca-a0cf-4834eae078d8)
Closes #2307
2023-08-28 11:15:16 +02:00
Robert Kaussow
15bd20d58b
Show correct event in pipeline step list (#2334)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/2207


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/e1a1dcf9-c47b-4089-8187-789bfd54e1a7)

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/5432cf7d-fe31-4182-87f7-5622fc1abe3c)

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-08-28 08:08:53 +02:00
Robert Kaussow
e139abf15a
Add min height to mobile pipeline view and fix overflow (#2335)
The mobile pipeline view in landscape view is not really usable. The
idea is to add a min-height to use the screen a bit better for the main
content. Before:


[before.webm](https://github.com/woodpecker-ci/woodpecker/assets/3391958/c4f38da6-c0f2-4549-9f80-90a4b02ddc94)

After:


[after.webm](https://github.com/woodpecker-ci/woodpecker/assets/3391958/a0397d52-aeda-4edf-9200-953ca4738daa)
2023-08-28 00:36:48 +02:00