Robert Kaussow and GitHub
80ea0d1f2f
Don't log DB passwords ( #4583 ) ( #4589 )
2024-12-19 21:17:56 +01:00
cc3f0412f2
Extend approval options ( #3348 ) ( #4429 )
...
Co-authored-by: 6543 <6543@obermui.de >
2024-11-25 21:31:13 +01:00
cbe74ec72f
Process workflow logs in batches ( #4045 ) ( #4356 )
...
Co-authored-by: hg <k@isakov.net >
2024-11-13 15:42:45 +01:00
6543 and GitHub
972e45daaf
Print agent labels in debug mode ( #4155 ) ( #4156 )
2024-10-03 15:02:40 +02:00
6543 and GitHub
9b18a90a59
[Backport] Lint privileged plugin match and allow to be set empty ( #4084 )
2024-09-05 20:30:03 +03:00
6543 and GitHub
cd5f6f71a2
Migrate to github.com/urfave/cli/v3 ( #2951 )
2024-07-18 01:26:35 +02:00
6543 and GitHub
8aa3e5ec82
Disalow to set arbitrary environments for plugins ( #3909 )
2024-07-14 14:35:19 -07:00
6543 and GitHub
757f5a58e2
Gracefully shutdown server ( #3896 )
2024-07-14 01:46:01 +02:00
6543 and GitHub
30cd800110
Gracefully shutdown agent ( #3895 )
2024-07-14 01:06:20 +02:00
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
6543 and GitHub
28cd815c42
Move setupEvilGlobals from server.go into setup.go ( #3899 )
2024-07-13 13:11:07 +02:00
Anbraten and GitHub
b12d676546
Allow login using multiple forges ( #3822 )
2024-07-13 01:41:35 -07:00
6543 and GitHub
0575f36374
Let agents continuously report their health ( #3893 )
...
The agent should continue to report the health status as long as it got not terminated.
extracted from #2951
Right now there exist the case where you have ''shadow agents" who pull tasks even if they don't report healthy...
2024-07-12 23:43:24 +02:00
qwerty287 and GitHub
a076393561
Exclude dummy backend in production ( #3877 )
2024-07-08 16:29:43 +02:00
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 and GitHub
918985c508
Add timestamp for last work done by agent ( #3844 )
2024-07-01 10:34:47 -07:00
daeab8d3c7
Add dummy backend ( #3820 )
...
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com >
2024-06-30 23:06:07 -07:00
Anbraten and GitHub
2bda19024e
Use proper oauth state ( #3847 )
2024-06-27 16:52:09 +02:00
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 and GitHub
fbb96ff8f5
Add api for forges ( #3733 )
2024-06-20 13:08:54 +02:00
c72468478d
Allow to store logs in files ( #3568 )
...
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com >
2024-06-06 14:34:57 +02:00
qwerty287 and GitHub
964860434c
Fix missing WOODPECKER_BITBUCKET_DC_URL ( #3761 )
2024-06-05 14:41:37 +02:00
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
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
linghuying and GitHub
f47f482985
chore: fix some comments ( #3740 )
...
Signed-off-by: linghuying <1599935829@qq.com >
2024-05-31 15:57:57 +02:00
6132136d55
Fix oauth file envvars ( #3726 )
...
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com >
2024-05-27 11:22:31 +02:00
6543 and GitHub
42f2734308
cspell lint go code ( #3706 )
2024-05-24 22:35:04 +02:00
37ea906958
fix(deps): update golang-packages ( #3713 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de >
2024-05-23 17:37:21 +02:00
5527d9bf86
Cleanup server env settings ( #3670 )
...
Co-authored-by: Robert Kaussow <mail@thegeeklab.de >
Co-authored-by: Robert Kaussow <xoxys@rknet.org >
2024-05-15 15:45:08 +02:00
Robert Kaussow and GitHub
89e100cfd1
Add godot linter to harmonitze toplevel comments ( #3650 )
2024-05-13 22:58:21 +02:00
378ec1a67a
Make retry count of config fetching form forge configure ( #3699 )
...
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com >
2024-05-13 19:43:45 +02:00
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 and GitHub
dbd91d3884
Cleanup api docs and ts api-client options ( #3663 )
2024-05-01 11:50:41 +02:00
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
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
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
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 and GitHub
b8763a8f34
Step logs removing API and Button ( #3451 )
...
Closes #3444
closes #1272
---
Admin:



User:

2024-04-15 01:50:50 +02:00
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
Aumetra Weisman and GitHub
20b84a1aee
Add flag to only access public repositories on GitHub ( #3566 )
2024-03-29 14:36:48 +01:00
qwerty287 and GitHub
326069c983
Fix flag name ( #3534 )
...
and remove two unused flags
should close https://github.com/woodpecker-ci/woodpecker/issues/3528
2024-03-21 21:39:16 +01:00
fbdfa14a00
Allow separate gitea oauth URL ( #3513 )
...
closes https://github.com/woodpecker-ci/woodpecker/issues/3470
---------
Co-authored-by: Robert Kaussow <xoxys@rknet.org >
2024-03-21 11:37:02 +01:00
Robert Kaussow and GitHub
a779eed3df
Enable golangci linter gomnd ( #3171 )
2024-03-15 18:00:25 +01:00
zowhoey and GitHub
ad507d8ee4
Move generic agent flags to cmd/agent/core ( #3484 )
2024-03-15 11:31:35 +01:00
03c891eb93
Cli setup command ( #3384 )
...
Co-authored-by: Robert Kaussow <xoxys@rknet.org >
2024-03-13 11:08:22 +01:00
65a429d24a
Fix usage of WOODPECKER_DATABASE_DATASOURCE_FILE ( #3404 )
...
fixes #3389
Set variable to let server detect if it's deployed within a container
image.
Set the default database connection based on this.
---------
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com >
2024-02-26 20:12:41 +01:00
Thor Anker Kvisgård Lange and GitHub
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
Anbraten and GitHub
30b92edc99
Cli updater ( #3382 )
2024-02-19 09:16:27 +01:00
Robert Kaussow and GitHub
6abeff0165
Remove empty strings from slice before parsing agent config ( #3387 )
...
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/3385
2024-02-14 23:22:31 +01:00
Anbraten and GitHub
82e1ce937c
Refactor internal services ( #915 )
2024-02-11 18:42:33 +01:00