6543 and GitHub
2bc56896f3
Refactor so storage detects if Insert fails because of unique constraint ( #6259 )
2026-03-19 13:17:56 +01:00
6543 and GitHub
52cb9f6c21
Document required forge methods ( #6049 )
2026-02-03 17:04:24 +01:00
6543 and GitHub
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
6543 and GitHub
f93ef16fe3
Add pagination for Repos() and Teams() in Forge interface ( #5638 )
2025-10-15 22:21:24 +02:00
6543 and GitHub
30e4383792
Document Forge interface precisely ( #5636 )
2025-10-14 01:38:10 +02:00
Robert Kaussow and GitHub
2f3c4a28c1
Migrate to mockery v3 ( #5547 )
2025-09-24 13:12:55 +02:00
81b74025d4
Update Go imports paths ( #4605 )
...
Co-authored-by: Robert Kaussow <mail@thegeeklab.de >
2024-12-22 10:44:34 +01:00
6543 and GitHub
402938e216
Exclude mocks from release build ( #3831 )
2024-06-25 12:23:07 +02:00
Robert Kaussow and GitHub
781628816d
Fix make in_docker generate ( #3616 )
2024-04-15 17:46:44 +02:00
qwerty287 and GitHub
451af535d3
Replace http types on forge interface ( #3374 )
2024-02-13 16:19:02 +01:00
qwerty287 and GitHub
e1521ef460
Set correct link for commit ( #3368 )
...
Closes https://github.com/woodpecker-ci/woodpecker/issues/2657
Closes https://github.com/woodpecker-ci/woodpecker/issues/906
2024-02-11 10:44:50 +01:00
adb2c82790
Update go module path for major version 2 ( #2905 )
...
https://go.dev/doc/modules/release-workflow#breaking
Fixes https://github.com/woodpecker-ci/woodpecker/issues/2913 fixes
#2654
```
runephilosof@fedora:~/code/platform-woodpecker/woodpecker-repo-configurator (master)$ go get go.woodpecker-ci.org/woodpecker@v2.0.0
go: go.woodpecker-ci.org/woodpecker@v2.0.0: invalid version: module contains a go.mod file, so module path must match major version ("go.woodpecker-ci.org/woodpecker/v2")
```
---------
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com >
2023-12-08 08:15:08 +01:00
5a7b689e30
Switch to go vanity urls ( #2706 )
...
Co-authored-by: Anbraten <anton@ju60.de >
2023-11-07 08:04:33 +01:00
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
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
6543 and GitHub
d9991e67e5
let HookParse func explicit ignore events ( #1942 )
...
for now it's not clear defined, what to do on an unsupported event.
e.g. gitea webhook panel shows 500 error and no message.
now we have a successful webhook and a message to show an info
2023-07-14 02:03:54 +02:00
3033abc3b4
Add own workflow model ( #1784 )
...
Closes #1287
---------
Co-authored-by: 6543 <6543@obermui.de >
2023-06-27 18:01:18 +02:00
6543 and GitHub
524611cf00
Add Forge Metadata ( #1789 )
...
close #1787
2023-05-31 18:30:41 +02:00
qwerty287 and GitHub
0f9188597e
Initiate Pagination Implementation for API and Infinite Scroll in UI ( #1651 )
...
- Add pagination support to the API endpoints that return lists of items
- Adjust UI to enable infinite scrolling via pagination
2023-04-30 03:40:13 +02:00
0970f35df5
Do not store inactive repos ( #1658 )
...
Do not sync repos with forge if the repo is not necessary in DB.
In the DB, only repos that were active once or repos that are currently
active are stored. When trying to enable new repos, the repos list is
fetched from the forge instead and displayed directly. In addition to
this, the forge func `Perm` was removed and is now merged with `Repo`.
Solves a TODO on RepoBatch.
---------
Co-authored-by: Anbraten <anton@ju60.de >
2023-03-21 23:01:59 +01:00
42a115e19e
Add PR pipeline list ( #1641 )
...
Instead of viewing PR pipelines in the branches lists, add a separate
list for them. The API endpoint for PRs supports pagination (thus I
added a lot of pagination-related stuff), the UI doesn't yet though.

Closes #1619
Extends this part of #1640
---------
Co-authored-by: Anbraten <anton@ju60.de >
2023-03-19 10:43:57 +01:00
Anbraten and GitHub
de8ea95dd3
Rename forge-id to forge-remote-id ( #1418 )
2022-11-15 15:01:23 +01:00