Commit Graph

241 Commits

Author SHA1 Message Date
6543
761cc67f11 server/forge: rename var to be more descriptive and test value (#5806) 2025-12-02 13:40:08 +01:00
Henrik Huitti
87ec6ceccb fix: updateRepoPermissions to cleanup old permissions (#5790) 2025-11-29 17:19:55 +01:00
tuxmainy
5a93de88dd add events query parameter to badge url (#5728)
Co-authored-by: damage <damage@devloop.de>
2025-11-27 12:35:29 +02:00
6543
21ef4cac53 On set/get of repo make sure forge_id is set and on fetch respected (#5717) 2025-11-27 09:39:41 +01:00
Anbraten
92b48f813a Improve repair endpoints (#5767)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-20 22:44:05 +01:00
Julian Hübenthal
6e7bb51104 Fix crash when a HTTP/2 client goes away on SSE streams (#5738)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2025-11-13 08:26:47 +01:00
qwerty287
26fc51bfd0 Fix secret on new forge (#5715)
closes #5677
2025-11-05 01:06:11 +01:00
6543
6fa163514b Allow username to be used with multiple forges (#5676) 2025-10-23 17:28:01 +02:00
Anbraten
045a22209a Support multiple users with same login name but different forges (#5612)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-10-21 08:19:09 +02:00
6543
f93ef16fe3 Add pagination for Repos() and Teams() in Forge interface (#5638) 2025-10-15 22:21:24 +02:00
Robert Kaussow
8771f57cb1 Add repo filter options to GetRepos api (#5631)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2025-10-12 16:16:52 +02:00
Gusted
650d6bd432 chore(deps): drop github.com/gorilla/securecookie (#5609) 2025-10-06 23:43:29 +02:00
Anbraten
677a2476b5 Allow to configure a config extension per repo (#3349)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2025-09-30 12:52:40 +02:00
6543
388557d94a New event pull request metadata (#5214)
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2025-09-25 00:07:45 +02:00
Robert Kaussow
2f3c4a28c1 Migrate to mockery v3 (#5547) 2025-09-24 13:12:55 +02:00
Robert Kaussow
177de5d8d2 Fix queue task processing (#5549) 2025-09-24 13:12:23 +02:00
Robert Kaussow
7707e843f2 Show human readable information in queue info (#5516)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2025-09-23 09:35:49 +02:00
Anbraten
24ebcb8cf8 Rename oauth variables (#5435)
Co-authored-by: Anton Bracke <anton.bracke@fastleansmart.com>
2025-08-20 22:47:43 +02:00
qwerty287
40e383866a Allow to set default approval mode (#5406) 2025-08-11 12:59:02 +02:00
Henrik Huitti
5ecdcc99ec Correct OpenApi LookupOrg router path (#5351)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2025-07-23 18:18:27 +02:00
qwerty287
64578bff46 Use forge IDs for hook tokens (#4897)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2025-02-25 17:07:37 +02:00
Jack Gleeson
5ea4f0cfae Add default option for allowing pull requests on repositories (#4873) 2025-02-20 19:28:28 +02:00
Anbraten
45a92cd928 Fix org assign on login (#4817)
Co-authored-by: qwerty287 <qwerty287@posteo.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2025-02-16 12:02:18 +02:00
Patrick Schratz
a6e468afd8 Unsanitize user and org names in DB (#4762)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
Co-authored-by: Anbraten <anton@ju60.de>
2025-02-12 21:41:04 +01:00
qwerty287
b4df9e68fd Store/delete repos after forge communication (#4827) 2025-02-09 14:55:44 +02:00
Lauris BH
021cc59d53 Optimize repository list loading to return also latest pipeline info (#4814) 2025-02-08 09:42:45 +02:00
qwerty287
8e99551d18 Add allow list for approvals (#4768)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-01-30 00:21:33 +01:00
qwerty287
97d24ee1c9 Remove deprecated API field (#4676) 2025-01-08 16:40:53 +01:00
qwerty287
afa6dee30b Migrate away from goblin (#4624)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-12-30 08:08:53 +02:00
qwerty287
81b74025d4 Update Go imports paths (#4605)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-12-22 10:44:34 +01:00
Robert Kaussow
7fa474c5c3 Ignore blocked pipelines for badge rendering (#4582) 2024-12-18 08:58:08 +01:00
6543
6e18a44880 Set new default approval mode based on repo visibility (#4456)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-12-05 09:16:25 +01:00
Robert Kaussow
8cfb8f93fa Fix events filter in GetPipelines API (#4498) 2024-12-01 23:32:46 +01:00
Robert Kaussow
289239d1b3 Add status filter to list pipeline API (#4494) 2024-12-01 05:35:05 +01:00
6543
52fb493495 Add filter to list repository pipelines API (#4416) 2024-11-28 22:33:52 +01:00
Patrick Schratz
6327dcd36f Enforce exact matching for GitLab groups (#4473) 2024-11-28 15:32:21 +01:00
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
Anbraten
07c8765b72 Cleanup openapi generation (#4331)
Co-authored-by: oauth <woodpecker-bot@obermui.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-11-23 09:17:19 +01:00
Anbraten
53d6421940 Support github refresh tokens (#3811) 2024-11-22 19:12:43 +01:00
Anbraten
5e2fa8164b Extend approval options (#3348) 2024-11-18 14:49:12 +01:00
6543
04e8309e60 Add server config to disable user registered agents (#4206) 2024-11-11 18:51:14 +01:00
qwerty287
d72c26c08c Use repo user to fetch branches (#4339) 2024-11-08 15:05:17 +02:00
qwerty287
6ef7cddde8 Refresh token before loading branches (#4284) 2024-11-02 19:38:57 +01:00
qwerty287
29474fc7d9 Split repo trusted setting (#4025) 2024-11-01 21:37:31 +01:00
6543
98d7b1b500 Use middleware to load org (#4208)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
Co-authored-by: Anbraten <anton@ju60.de>
2024-10-09 12:05:01 +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
79aeb92e0c Set repo user to repairing user when old user is missing (#4128) 2024-09-20 22:39:22 +02:00
hg
276b279b7f Process workflow logs in batches (#4045) 2024-09-18 16:29:56 +02:00
qwerty287
92ff320429 Remove various deprecations (#4017) 2024-08-09 16:50:35 +02:00