Commit Graph

155 Commits

Author SHA1 Message Date
qwerty287
5bb7cef08b Allow to set custom trusted clone plugins (#4352)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Thomas Anderson <127358482+zc-devs@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-11-26 14:27:05 +01:00
Robert Kaussow
9fc8b40d77 Use same default sort for repo and org repo list (#4461) 2024-11-25 21:36:12 +01:00
Patrick Schratz
196e2b6acf Improve project settings descriptions (#4410)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-11-22 09:28:41 +01:00
Robert Kaussow
350082cd19 Add count badge to visualize counters in tab title (#4419) 2024-11-20 22:02:59 +01:00
Robert Kaussow
b3932a0aed Redesign repo list and include last pipeline (#4386) 2024-11-20 12:24:56 +01:00
qwerty287
95e464b7cd Use separate routes instead of anchors (#4285)
Co-authored-by: Anbraten <anton@ju60.de>
2024-11-19 14:04:50 +01:00
Anbraten
d0927e37dc Untangle settings / header slots (#4403) 2024-11-18 15:16:30 +01:00
qwerty287
d2509d3ad1 Revert "Add back button to repo pipeline list" (#4398) 2024-11-17 10:46:55 +01:00
Robert Kaussow
4ff8b3f86f Add back button to repo pipeline list (#4393) 2024-11-17 04:17:14 +01:00
Robert Kaussow
a1193f0fb4 Improve linter messages in UI (#4351) 2024-11-11 23:34:20 +01:00
6543
04e8309e60 Add server config to disable user registered agents (#4206) 2024-11-11 18:51:14 +01:00
6543
496859c083 Highlight invalid entries in manual pipeline trigger (#4153)
and move key-value editor into own component
2024-10-06 15:34:20 +02:00
6543
febb8c5276 Implement org/user agents (#3539) 2024-09-30 12:33:16 +01:00
6543
fcc57dfc38 Replay pipeline using cli exec by downloading metadata (#4103)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-09-25 07:20:51 +02:00
Lukas
4909e32ed6 Fix repo add loading spinner (#4135) 2024-09-21 18:47:59 +03:00
qwerty287
83926133d4 Allow to restart declined pipelines (#4109) 2024-09-14 17:27:45 +02:00
renovate[bot]
d6446bab48 chore(deps): update dependency @antfu/eslint-config to v3 (#4095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2024-09-07 11:27:08 +03:00
renovate[bot]
8ae8b8647e Update web npm deps non-major (#4034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2024-08-15 19:26:10 +02:00
qwerty287
2d1bc9f15c Move manual popup to own page (#3981) 2024-08-07 09:31:17 +02:00
Divya Jain
93c2a11020 Fix org settings page (#4002)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-08-04 17:46:57 +02:00
qwerty287
61f4c6a540 Show logs if step has error (#3979) 2024-07-25 23:25:55 +02:00
qwerty287
0863f5df8f Truncate creation in list (#3952) 2024-07-21 15:00:15 +02:00
qwerty287
059cb93d06 Remove unplugin-icons (#3809) 2024-07-17 08:13:56 -07:00
Anbraten
cff393d644 Enhance pipeline list (#3898)
Co-authored-by: 6543 <6543@obermui.de>
2024-07-13 14:45:18 +02:00
Anbraten
b12d676546 Allow login using multiple forges (#3822) 2024-07-13 01:41:35 -07:00
Lauris BH
a26c7a475b Add user registries UI (#3888) 2024-07-12 20:32:10 -07:00
Lauris BH
28e982fffb Global and organization registries (#1672)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-07-03 06:33:11 -07:00
Anbraten
2bda19024e Use proper oauth state (#3847) 2024-06-27 16:52:09 +02:00
Anbraten
1a39d57f71 Enhance authentication UX (#3807) 2024-06-21 09:55:30 +02:00
Anbraten
fbb96ff8f5 Add api for forges (#3733) 2024-06-20 13:08:54 +02:00
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
renovate[bot]
bbe3f4e393 chore(deps): lock file maintenance (#3750)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2024-06-03 08:41:32 +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
6543
edf0728c4a Add class to forge button be easey to select for css (#3675) 2024-05-03 23:06:24 +02:00
Anbraten
dbd91d3884 Cleanup api docs and ts api-client options (#3663) 2024-05-01 11:50:41 +02:00
qwerty287
b2cfa37682 Deprecate environment filter and improve errors (#3634)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-04-24 16:07:16 +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
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
c2a8464512 Fix cli version comparison and improve setup command (#3518) 2024-03-28 10:36:39 +01:00
qwerty287
e00b2d4bd3 Only allow to deploy from push, tag and release (#3522) 2024-03-20 21:04:51 +01: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
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
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
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