qwerty287
29474fc7d9
Split repo trusted setting ( #4025 )
2024-11-01 21:37:31 +01:00
6543
f8cfda1ea9
Report custom labels set by agent admins back ( #4141 )
2024-10-06 17:13:41 +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
6543
41b2127e04
Don't expose task data via api ( #4108 )
2024-09-14 22:40:12 +02:00
qwerty287
2081ca85db
Refactor JSON and SDK fields ( #3968 )
2024-08-07 10:49:03 +02:00
Anbraten
43b82ba047
Convert to openapi 3.0 ( #3897 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-07-13 15:55:13 +02: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
918985c508
Add timestamp for last work done by agent ( #3844 )
2024-07-01 10:34:47 -07:00
qwerty287
92cd0d04a3
Unify DB tables/columns ( #3806 )
...
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-06-27 09:32:06 +02:00
Anbraten
fbb96ff8f5
Add api for forges ( #3733 )
2024-06-20 13:08:54 +02:00
6543
4ec046e415
Spellcheck "server/*" ( #3753 )
...
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-06-04 08:30:54 +02:00
linghuying
f47f482985
chore: fix some comments ( #3740 )
...
Signed-off-by: linghuying <1599935829@qq.com>
2024-05-31 15:57:57 +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
Robert Kaussow
d0057736f1
Add DeletePipeline API ( #3506 )
...
This is just a first step, the final goal is to have an API endpoint to
prune Repo Pipelines older than the given date.
@woodpecker-ci/maintainers Can I get some feedback if this is the right
direction?
---------
Co-authored-by: 6543 <m.huber@kithara.com>
2024-04-25 10:59:17 +02:00
Robert Kaussow
9972c24924
Add filter options to GetPipelines API ( #3645 )
...
Separate this change from
https://github.com/woodpecker-ci/woodpecker/pull/3506
I would like to get at least this change into v2.5.0 if possible.
---------
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-04-25 09:37:42 +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
qwerty287
00f0fcd416
Rework addons (use rpc) ( #3268 )
...
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-04-15 10:04:21 +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
qwerty287
f369d2c543
Lint for event filter and deprecate exclude
( #3222 )
...
Closes https://github.com/woodpecker-ci/woodpecker/discussions/2174
- return bad habit error if no event filter is set
- If this is applied, it's useless to allow `exclude`s on events.
Therefore, deprecate it together with `include`s which should be
replaced by `base.StringOrSlice` later.
2024-02-10 17:33:05 +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
qwerty287
5e2f7d81b3
Clean up models ( #3228 )
2024-01-22 07:56:18 +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
6543
3f1f563180
fix and lint swagger file ( #3007 )
...
Co-authored-by: qwerty287 <ndev@web.de>
2023-12-24 15:50:01 +01: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
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
Robert Kaussow
6de5922408
Fix skipped pipelines model ( #2923 )
...
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/2901
---------
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-12-12 22:30:52 +02: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
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
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
e74115027b
Add some tests ( #2652 )
...
and some cleanups
2023-10-28 13:37:54 +02:00
Anbraten
f44aa8a6fd
Remove plugin-only option from secrets ( #2213 )
2023-10-24 20:38:47 +02:00
qwerty287
5045f1e431
Remove deprecated API paths ( #2639 )
2023-10-24 15:21:05 +02:00
qwerty287
69917c1a0d
Add "Repair all" button ( #2642 )
...
to the admin repo list
ref #2639
2023-10-24 14:12:55 +02:00
qwerty287
22dfd2ef62
Refactor pipeline parsing and forge refreshing ( #2527 )
...
- refactor pipeline parsing
- do not parse the pipeline multiple times to perform filter checks, do
this once and perform checks on the result directly
- code deduplication
- refactor forge token refreshing
- move refreshing to a helper func to reduce code
---------
Co-authored-by: Anbraten <anton@ju60.de>
2023-10-08 14:05:06 +02:00
qwerty287
d04bb72e5e
Add repos list for admins ( #2347 )
2023-09-08 12:26:20 +02:00
qwerty287
3e563ef198
Use API error helpers and improve response codes ( #2366 )
2023-09-02 13:31:10 +02:00
qwerty287
aab7e73322
Execute make generate
with new versions ( #2365 )
...
Fixes current swagger checks:
https://ci.woodpecker-ci.org/repos/3780/pipeline/7605/26
2023-09-01 16:44:55 +02:00
qwerty287
479ced3b25
Add org list ( #2338 )
...
![Screenshot 2023-08-28 at 10-08-20
Woodpecker](https://github.com/woodpecker-ci/woodpecker/assets/80460567/e3248b05-7899-43ca-a0cf-4834eae078d8 )
Closes #2307
2023-08-28 11:15:16 +02:00
qwerty287
81ead7cbf2
Support user secrets ( #2126 )
2023-08-21 15:04:12 +02:00
qwerty287
4d83ea0de8
Add SSH clone URL env var ( #2198 )
...
to improve https://github.com/woodpecker-ci/plugin-git/pull/75
2023-08-12 17:39:13 +02:00
qwerty287
4ad3968ff1
Fix swagger response code ( #2119 )
...
Closes #2118
2023-08-05 19:44:49 +02:00
Anbraten
e5d5ec8b47
Use id to access orgs ( #1873 )
...
closes #1743
fixes: setting secrets for own user namespace
- create org in database
- use orgID for org related APIs
Co-authored-by: 6543 <6543@obermui.de>
2023-07-21 19:45:32 +02:00
Patrick Schratz
a4c791c6e5
Correct wording ( #1982 )
2023-07-12 13:49:18 +02:00
6543
edb92025df
Correct api docs of PostRepo & GetRepos ( #1974 )
...
... and report if needed forge_remote_id is not valid
2023-07-11 18:51:03 +02:00
6543
b54f6ebad6
Let pipeline-compiler export step types ( #1958 )
2023-07-11 15:53:05 +02:00
qwerty287
3033abc3b4
Add own workflow model ( #1784 )
...
Closes #1287
---------
Co-authored-by: 6543 <6543@obermui.de>
2023-06-27 18:01:18 +02:00
Anbraten
ff01a9ff1d
Access repos by their ids ( #1691 )
...
closes #1295
closes #648
# TODO
- [x] add new routes with `:repoID`
- [x] load repo in middleware using `:repoID` if present
- [x] update UI routes `:owner/:name` to `:repoID`
- [x] load repos using id in UI
- [x] add lookup endpoint `:owner/:name` to `:repoID`
- [x] redirect `:owner/:name` to `:repoID` in UI
- [x] use badge with `:repoID` route in UI
- [x] update `woodpecker-go`
- [x] check cli
- [x] add migrations / deprecation notes
- [x] check if #648 got solved directly
- [x] Test
- [x] create repo
- [x] repo pages
- [x] ui redirects
- [x] forge status links
2023-06-13 01:07:52 +02:00