Commit graph

498 commits

Author SHA1 Message Date
Anbraten ae1cfd2ecd cleanup 2024-04-24 15:11:34 +02:00
Anbraten b3f163f15c Merge remote-tracking branch 'upstream/main' into fix-secrets 2024-04-24 14:47:40 +02:00
Anbraten dfb59b92b9 cleanup 2024-04-24 14:46:28 +02:00
Anbraten 5ee4a0f7d3 undo unrelated changes 2024-04-24 14:22:56 +02:00
qwerty287 f9ef8ee374 Translated using Weblate (German)
Currently translated at 100.0% (373 of 373 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2024-04-21 14:57:40 +00:00
Michael 7f0084c476 Translated using Weblate (French)
Currently translated at 100.0% (373 of 373 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2024-04-19 09:57:40 +00:00
Anbraten 3880844a79 improve pagination 2024-04-17 11:37:19 +02:00
Anbraten d316e3c5cb improve tests 2024-04-17 10:57:58 +02:00
Anbraten db5a384390 add tests 2024-04-16 10:05:49 +02:00
Anbraten 8ce3461289 fix secrets list loading 2024-04-16 08:53:12 +02:00
Anbraten cacb16c0f1 fix secret loading 2024-04-16 08:44:56 +02:00
Anbraten d494b6a959
Use forge from db (#1417)
This is the first step towards support for multiple forges (#138). It
inserts a forge using the currently existing env varaibles into db and
uses this forge from db later on in all places of the code.

closes #621

addresses #138 

# TODO
- [x] add forges table
- [x] add id of forge to repo
- [x] use forge of repo
- [x] add forge from env vars to db if not exists
- [x] migrate repo.ForgeID to the newly generated forge
- [x] support cache with forge from repo
- [x] maybe add forge loading cache? (use LRU cache for forges, I expect
users to have less than 10 forges normally)

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-04-16 08:04:55 +02:00
Robert Kaussow 21f87b4b1d
Remove review button from approval view (#3617)
Not required anymore after
https://github.com/woodpecker-ci/woodpecker/pull/2757 was merged.
2024-04-15 16:42:19 +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 ce57128317 Translated using Weblate (German)
Currently translated at 100.0% (371 of 371 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2024-04-06 15:57:38 +00:00
Michael 7b731d6b9e Translated using Weblate (French)
Currently translated at 100.0% (371 of 371 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2024-04-04 16:57:37 +00: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
yeziruo adc222e507 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (369 of 369 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
2024-03-28 20:57:36 +00:00
Anbraten c2a8464512
Fix cli version comparison and improve setup command (#3518) 2024-03-28 10:36:39 +01:00
yeziruo 5de15d84bd Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (369 of 369 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
2024-03-22 16:57:35 +00:00
qwerty287 e00b2d4bd3
Only allow to deploy from push, tag and release (#3522) 2024-03-20 21:04:51 +01:00
qwerty287 4e95724880 Translated using Weblate (German)
Currently translated at 100.0% (369 of 369 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2024-03-18 03:29:56 +00:00
Michael d91d63b5f4 Translated using Weblate (French)
Currently translated at 100.0% (369 of 369 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2024-03-17 12:18:20 +00:00
Anbraten 03c891eb93
Cli setup command (#3384)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-03-13 11:08:22 +01:00
NamelessGO 67d7c860e1 Translated using Weblate (Portuguese)
Currently translated at 100.0% (364 of 364 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/pt/
2024-03-08 09:44:24 +00:00
NamelessGO a5bd7e36fa Translated using Weblate (Spanish)
Currently translated at 100.0% (364 of 364 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/es/
2024-03-08 09:44:23 +00: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
Michael 5e0ec973ba Translated using Weblate (French)
Currently translated at 100.0% (364 of 364 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2024-02-13 16:57:29 +00:00
qwerty287 8700d2b300 Translated using Weblate (German)
Currently translated at 100.0% (364 of 364 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2024-02-10 07:57:29 +00:00
Lukas 147137c7bb
Allow editing all environment variables in pipeline popups (#3314) 2024-02-09 00:46:08 +01:00
Marcin Puc e64d596436 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-07 15:57:28 +00:00
Lukas c746857830
Fix version check on next (#3340)
Closes #3318
2024-02-07 02:10:36 +01:00
Michael 4456da99c5 Translated using Weblate (French)
Currently translated at 100.0% (364 of 364 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2024-02-02 18:57:28 +00:00
qwerty287 5ccdfa76e0 Translated using Weblate (German)
Currently translated at 100.0% (364 of 364 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2024-02-02 18:57:27 +00:00
Lukas dd465add43
Add no branches text (#3312) 2024-02-01 16:31:04 +02:00
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