Commit graph

439 commits

Author SHA1 Message Date
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
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
Anbraten
52163b9a3e
Fix sidepanel not closable via button (#2772) 2023-11-07 14:22:08 +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
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
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
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
Anbraten
49f95edf00
Fix step selection (#2719)
Just reverted those lines from #1572
2023-11-03 14:42:59 +01:00
Weblate
dd930e5754 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
Translation: Woodpecker CI/UI
2023-11-03 10:44:09 +00:00
Anbraten
5ff006614f
Enhance linter and errors (#1572)
Co-authored-by: 6543 <m.huber@kithara.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-11-03 11:44:03 +01:00
Weblate
f270be4940 Translated using Weblate (Indonesian)
Currently translated at 100.0% (354 of 354 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-02 12:17:40 +00:00
Joonhyeok Ahn
5876213b42
Showing the pending pipelines on top (#1488)
close #1358

---------

Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2023-11-01 15:37:43 +01:00
Weblate
fe7dc3fff5 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
Translation: Woodpecker CI/UI
2023-11-01 09:43:59 +00:00
Weblate
bde9f97407 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
Translation: Woodpecker CI/UI
2023-11-01 09:30:46 +00:00
qwerty287
2ff916c804
Refactor UI dark/bright mode (#2590)
- collapse pipeline configs by default, closes
https://github.com/woodpecker-ci/woodpecker/discussions/2557
- refactor ui themes: instead of just differentiating between "is dark"
or "is not dark", add a third "auto" option following the browser
settings (closes
https://github.com/woodpecker-ci/woodpecker/discussions/2204) and put
everything into an enum. also move the option from the navbar to user
settings.

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-11-01 10:30:40 +01:00
6543
902877690d
Fix secrets UI (#2687) 2023-11-01 08:36:59 +01:00