Commit graph

196 commits

Author SHA1 Message Date
renovate[bot]
22414744b0
chore(deps): update dependency eslint to v9 - abandoned (#3594)
Co-authored-by: qwerty287 <qwerty287@posteo.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-06 15:16:59 +02:00
qwerty287
2aa8531ad6
Show workflow names if there are multiple configs (#3767)
Co-authored-by: Tchoupinax <corentinfiloche@hotmail.fr>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-06-06 12:23:04 +02:00
qwerty287
91b122e1ce
Native forgejo support (#3684)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2024-06-01 11:23:19 +02:00
Anbraten
f034954f83
Fix secret translations (#3734) 2024-05-27 18:59:43 +02:00
qwerty287
b08133bb63
Replace duplicated strings (#3710) 2024-05-15 18:52:19 +02:00
Robert Kaussow
89e100cfd1
Add godot linter to harmonitze toplevel comments (#3650) 2024-05-13 22:58:21 +02:00
Fernando Barbosa
e6bda2c2b3
Support github deploy task (#3512)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-05-02 18:56:19 +02:00
Anbraten
dbd91d3884
Cleanup api docs and ts api-client options (#3663) 2024-05-01 11:50:41 +02:00
Anbraten
ae14150c09
Fix secret loading (#3620) 2024-04-29 21:33:45 +02:00
Thomas Anderson
b8763a8f34
Step logs removing API and Button (#3451)
Closes #3444
closes #1272

---

Admin:
![Screenshot 2024-02-27
1](https://github.com/woodpecker-ci/woodpecker/assets/127358482/285b2daa-9a37-4bd8-a11e-c4b7ced20e5a)
![Screenshot 2024-02-27
2](https://github.com/woodpecker-ci/woodpecker/assets/127358482/891ff2f8-71b5-4687-80a7-e3e4b1cb4e41)
![Screenshot 2024-02-27
3](https://github.com/woodpecker-ci/woodpecker/assets/127358482/362dbfe9-ac63-4be4-a4bb-f4e5140d54a5)

User:
![Screenshot 2024-02-27
4](https://github.com/woodpecker-ci/woodpecker/assets/127358482/b2f3db6b-5ec3-4e06-a508-61dd07a69d60)
2024-04-15 01:50:50 +02:00
qwerty287
eaf10611eb
Allow to disable deployments (#3570)
…but if they're enabled, allow for all events. Also add warning that you
should only enable it if you trust the users with push access.

closes #3559

---------

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-04-02 22:03:37 +02:00
Anbraten
03c891eb93
Cli setup command (#3384)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-03-13 11:08:22 +01:00
Thor Anker Kvisgård Lange
364d708923
Add bitbucket datacenter (server) support (#2503)
This pull-requests re-introduces the Bitbucket Server support with a
more or less complete rewrite of the forge implementation. We have a lot
of on-premises git repositories hosted in Bitbucket Server and need a CI
solution for running that and Woodpecker looks promising.

The implementation is based on external Bitbucket Server REST client
library which we are maintaining and have created in another context.
Besides the original support for Bitbucket the re-implementation also
adds support for handling Bitbucket pull-request events.
2024-02-20 15:58:02 +01:00
Lukas
147137c7bb
Allow editing all environment variables in pipeline popups (#3314) 2024-02-09 00:46:08 +01: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
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
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
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
857db91634
Unfold workflow when opening via URL (#3106)
Closes #2938
2024-01-03 01:33:46 +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
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
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
qwerty287
d82e151440
Hide queue visualization if nothing to show (#3003) 2023-12-25 13:38:58 +01: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
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
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
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
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
Anbraten
52163b9a3e
Fix sidepanel not closable via button (#2772) 2023-11-07 14:22:08 +01:00
Ricardo Escaran
5c72b8d532
Fix the wrong link to the cron job document (#2740) 2023-11-05 08:13:28 +01:00
Anbraten
33f9574dce
Add version and update notes (#2722) 2023-11-04 14:20:50 +01:00
Anbraten
fe489287fc
Fix active tab not updating on prop change (#2712) 2023-11-03 16:01:14 +01: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
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