Commit graph

463 commits

Author SHA1 Message Date
Lukas
a801f8cbc3
Add loading spinner to repo list (#3310) 2024-02-01 08:40:01 +01:00
Marcin Puc
450a437cb6 Translated using Weblate (Polish)
Currently translated at 90.1% (328 of 364 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/pl/
2024-02-01 03:45:23 +00:00
qwerty287
9df572ef31
Add release event trigger (#3226)
Supersedes #764 

Bitbucket does not support release webhooks.

---------

Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2024-01-30 17:39:00 +01:00
Patrick Schratz
da4bd8b97d
Update theme on system color mode change (#3296)
Currently, when theme `auto` is set and the system theme changes, users
need to reload the site themselves.

This PR adds an even listener which listens for such changes and reloads
the theme automatically in the background.

---------

Co-authored-by: Anbraten <anton@ju60.de>
2024-01-30 11:00:07 +01:00
Lukas
94b882fb95
Add spellcheck config (#3018)
Part of #738 

```
pnpx cspell lint --gitignore '{**,.*}/{*,.*}'
```

---------

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-01-27 21:15:10 +01:00
runephilosof-karnovgroup
05f24a5706
Load more pipeline log lines (500 => 5000) (#3212)
Co-authored-by: 6543 <6543@obermui.de>
2024-01-22 08:13:22 +01:00
qwerty287
5e2f7d81b3
Clean up models (#3228) 2024-01-22 07:56:18 +01:00
renovate[bot]
7eff20d1b7
chore(deps): lock file maintenance (#3190)
[![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**: 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-15 08:32:17 +01:00
Robert Kaussow
7756c60a33
Enable golangci linter stylecheck (#3167)
This PR only fixes error string formatting, log message strings are
still mixed upper/lowercase (see
https://github.com/woodpecker-ci/woodpecker/pull/3161#issuecomment-1885140649)
and I'm not aware of a linter to enforce it.
2024-01-10 22:56:42 +01:00
qwerty287
631b7c2fed
Fix feed sorting (#3155)
Closes #2915
2024-01-09 20:01:18 +01:00
6543
11d70a894d
use animate-spin class (#3150) 2024-01-09 15:42:23 +01:00
6543
1ee2b8c41c
Make service icon rotate (#3149)
add animation for color blind people

[video](https://cloud.obermui.de/s/adpxqpMw6dEgZcC/download/recording_woodpecker-pull-3148.mkv)
2024-01-09 07:45:41 +01:00
6543
5715bd1027
Make Service Icons work as enum was wrong (#3148)
make #3078 work as enum was wrong.


![image](https://github.com/woodpecker-ci/woodpecker/assets/24977596/933cf69d-9884-4e29-ac7b-21b58a52b870)
2024-01-09 07:30:43 +01:00
6543
549d095ff3
Use js-base64 on pipeline log page (#3146)
followup of  #3110
2024-01-09 03:45:30 +01:00
Weblate
4a0d5f1391 Translated using Weblate (German)
Currently translated at 100.0% (363 of 363 strings)

Co-authored-by: qwerty287 <ndev@web.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translation: Woodpecker CI/UI
2024-01-06 19:46:20 +00:00
Weblate
c3aec61bfc Translated using Weblate (Indonesian)
Currently translated at 100.0% (363 of 363 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (362 of 362 strings)

Co-authored-by: Blezz Rot <markus.jenya04@yandex.ru>
Co-authored-by: Linerly <linerly@proton.me>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/ru/
Translation: Woodpecker CI/UI
2024-01-05 07:34:01 +00:00
Lukas
4a88e3727b
Always show pipeline step list (#3114)
Closes #1845 

Will always show the pipeline step list for failed pipelines, declined
pipelines and blocked pipelines.

Example screenshot of a failed pipeline:


![image](https://github.com/woodpecker-ci/woodpecker/assets/32853499/c43618f2-b49e-4b42-908c-95c5f641ba4a)
2024-01-04 10:10:54 +01:00
Lukas
f8a4d72381
Add loading spinner and no pull request text (#3113) 2024-01-03 19:39:45 +01:00
Lukas
7c4a61a17f
Fix timeout settings contrast (#3112) 2024-01-03 18:18:54 +01:00
Lukas
ef3dabc679
Fix config base64 parsing to utf-8 (#3110)
Closes #2609
2024-01-03 10:39:04 +01:00
Lukas
857db91634
Unfold workflow when opening via URL (#3106)
Closes #2938
2024-01-03 01:33:46 +01:00
6543
38cf248e41
use semver for version comparsion (#3042)
close  #3041
close #3043

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-12-30 23:28:43 +01:00
qwerty287
ab1927fca1
Indicate if step is service (#3078)
closes https://github.com/woodpecker-ci/woodpecker/issues/269

Icons in step list:
![Screenshot 2023-12-30 at 12-05-48
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/5f682cc6-8dad-4edb-ab15-b8ae93078c7c)
![Screenshot 2023-12-30 at 12-06-06
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/67782571-438e-4937-a7c6-ab2b378aa0c7)
![Screenshot 2023-12-30 at 12-07-49
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/b3841e10-ac85-4c2b-a46b-663c2db8f59e)
2023-12-30 13:28:11 +02:00
Andy Han
f100a21cc7
Fix badge's repoUrl with rootpath (#3076)
Fix #3032 again.
2023-12-30 09:56:48 +01:00
6543
74f6824d03
Add option to disable version check in admin web UI (#3040)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-12-27 22:16:15 +01:00
qwerty287
8280655e0f
Fix duplicated icons (#3045)
on PRs


![image](https://github.com/woodpecker-ci/woodpecker/assets/80460567/75ebbcc3-4b12-4192-a2ad-5103331cb3e7)
2023-12-27 16:23:33 +01:00
6543
af3b35f06a
trim v on version check (#3039)
close #3034
2023-12-27 15:17:18 +01:00
Andy Han
8c4480f281
Fix Wrong badgeUrl repo badge tab when rootPath is not empty (#3033)
Fix #3032
2023-12-27 10:38:27 +01:00
Anbraten
f01ac3f0a3
Add pull request closed event (#2684)
- [x] updates docs
- [x] adjust UI
  - [x] show correct icon
  - [x] show correct link (to pr)
  - [x] add as option in secret edit
- [x] parse webhook
- [x] update tests
  - [x] github merged
  - [x] github closed
  - [x] gitea merged
  - [x] gitea closed
  - [x] bitbucket merged
  - [x] bitbucket closed
  - [x] gitlab merged
  - [x] gitlab closed

closes #286
2023-12-26 19:22:52 +01:00
Lukas
28bd6cc690
Show default branch on top (#3019) 2023-12-26 07:37:14 +01:00
qwerty287
d82e151440
Hide queue visualization if nothing to show (#3003) 2023-12-25 13:38:58 +01:00
Weblate
acec955943 Translated using Weblate (Indonesian)
Currently translated at 100.0% (362 of 362 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-12-24 16:18:11 +00:00
qwerty287
9d9bcbf363
Hide PR tab if PRs are disabled (#3004)
Closes https://github.com/woodpecker-ci/woodpecker/issues/2988
2023-12-24 11:04:18 +02:00
Weblate
030db4e110 Translated using Weblate (German)
Currently translated at 100.0% (362 of 362 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-12-23 16:46:15 +00:00
Weblate
f6ca346f13 Translated using Weblate (French)
Currently translated at 100.0% (362 of 362 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-12-22 15:46:15 +00:00
Lukas
5a7e314f5a
Link labels to input and select (#2974) 2023-12-19 22:32:35 +02:00
Anbraten
ba21f29c27
Update pipeline icons (#2783)
![image](https://github.com/woodpecker-ci/woodpecker/assets/6918444/1da704e0-f160-44f4-8b23-e223313c0f11)
2023-12-19 06:00:56 +01:00
Weblate
ed4cd1044c Translated using Weblate (Chinese (Traditional))
Currently translated at 3.0% (11 of 360 strings)

Translated using Weblate (French)

Currently translated at 100.0% (360 of 360 strings)

Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: yeziruo <i@yeziruo.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hant/
Translation: Woodpecker CI/UI
2023-12-19 03:08:49 +00:00
Robert Kaussow
57790e4176
Fix error container overflow (#2957)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/2947


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/03198aec-fd3c-4fcd-8418-a7c5b0ff9d0b)

On the mobile view, it now wraps to show error on top. That is still not
perfect as it creates content jumps, after clicking on a pipeline with
errors. I don't have a better idea yet, but IMO it's already an
improvement as before it was quite unusable on mobile view.

Before:

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/20849de8-55d6-4839-b4b4-fe220003887d)

After:

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/8a80939b-d6a5-414d-b693-ef4583e2f37d)
2023-12-16 22:27:46 +02:00
Anbraten
16803d6217
Show secrets from org and global level (#2873)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-12-16 10:29:13 +01:00
qwerty287
8c6738e2bb
Unify date/time dependencies (#2891)
Remove all date/time-related dependencies from the ui except `dayjs` and
use `dayjs` for all tasks.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-04 12:46:24 +01:00
qwerty287
ffb3bd806c
Fix version check partially (#2871)
ref #2748 

- fix link to releases
- fix jq syntax
- support rc versions (separate json field)

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-11-26 08:02:02 +01:00
Michalis Zampetakis
981384b79a
Change PullRequest Index to ForgeRemoteID / string type (#2823)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Anbraten <anton@ju60.de>
2023-11-26 00:52:52 +01:00
Anbraten
ac009d9b0b
Fix secret creation (#2862)
closes #2821
2023-11-22 19:53:59 +01:00
renovate[bot]
60c021e510
Lock file maintenance (#2840)
[![Mend Renovate logo
banner](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**: 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:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
2023-11-19 14:28:58 +01:00
Weblate
7b95e885dd Translated using Weblate (Spanish)
Currently translated at 100.0% (360 of 360 strings)

Co-authored-by: Carlos Moreu <carlosfmoreu@gmail.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/es/
Translation: Woodpecker CI/UI
2023-11-17 16:46:11 +00:00
Weblate
78060dad0a Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (360 of 360 strings)

Co-authored-by: yeziruo <i@yeziruo.com>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
Translation: Woodpecker CI/UI
2023-11-16 06:02:17 +00:00
qwerty287
342b25826c
Rename link to url (#2812)
As of https://woodpecker-ci.org/docs/next/usage/terminiology#conventions
2023-11-14 17:12:12 +01:00
Weblate
bd69a69e0e Translated using Weblate (Latvian)
Currently translated at 100.0% (360 of 360 strings)

Co-authored-by: Lauris BH <lauris@nix.lv>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
Translation: Woodpecker CI/UI
2023-11-13 09:41:33 +00: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