This repository has been archived on 2026-10-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openproject_gitea_plugin/frontend/module/tab-prs/tab-prs.template.html
T
quafzi 5d409989df Add OpenProject Gitea integration plugin
Implements a Gitea integration for OpenProject following the same
patterns as the bundled GitHub and GitLab integrations.

- Webhook endpoint at /webhooks/gitea with HMAC-SHA256 verification
- Handles pull_request and issue_comment events
- Links Gitea PRs to work packages via OP# references or URLs
- Posts journal comments on WPs for PR lifecycle events
- Gitea tab on the work package split view
- V3 API endpoint: GET /api/v3/work_packages/:id/gitea_pull_requests
- Admin settings UI for bot user and webhook secret
- Nightly cron job to clean up unlinked PR records
2026-08-28 22:33:27 +02:00

11 lines
257 B
HTML

@if (pullRequests.length === 0) {
<p
class="op-tab-content--text-box"
[innerHTML]="getEmptyText()"
></p>
}
@for (pullRequest of pullRequests; track pullRequest.id || pullRequest.htmlUrl) {
<gitea-pull-request [pullRequest]="pullRequest" />
}