Skip to content

feat: add GitLab issue and merge request webhooks - #249

Merged
aktasfatih merged 3 commits into
mainfrom
feat/gitlab-webhooks
Nov 19, 2026
Merged

aktasfatih merged 3 commits into
mainfrom
feat/gitlab-webhooks

Conversation

@aktasfatih

@aktasfatih aktasfatih commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Adds GitLab issue and merge-request links, including nested project paths, and authenticated webhook deliveries using each board's own X-Gitlab-Token secret.

Deliveries update link state and the existing review/done workflows. Repeated deliveries preserve card order and avoid unnecessary changes. Board managers can enable, rotate and disable the token; delayed settings responses cannot overwrite newer operations or retain a token after switching boards.

Includes an additive migration, settings and card-link UI, setup documentation and translations. GitLab integration receives webhook events and does not poll remote instances. PHPUnit sets a 512MB test limit so the full suite runs with the documented dev image and its large CSV fixtures.

Card: KANSO-376.

Refs #234. This implements GitLab links and webhook-driven card transitions; opt-in creation of cards from newly opened issues remains outstanding.

Validation: 3,077 PHP tests and 395 JavaScript tests passed; Psalm, PHP style, production build and localization checks passed. Independent security review verified authentication, permissions, visibility and secret handling. All 43 GitLab/GitHub/Forgejo browser checks passed on the local preview containing #248; the combined PHP suite also passed all 3,082 tests.

Support nested GitLab project links and receive-only webhooks with independent board tokens, permission gates, and idempotent workflow transitions.

Refs KANSO-376
@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 50 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 52d02b0f-7260-4d18-ab8f-6abae6ef62a8
Commits

Reviewing files that changed from the base of the PR and between 752749f and 53bd2ae.

Files selected for processing: 49

  • README.md
  • appinfo/routes.php
  • l10n/de.js
  • l10n/de.json
  • l10n/es.js
  • l10n/es.json
  • l10n/fr.js
  • l10n/fr.json
  • l10n/it.js
  • l10n/it.json
  • l10n/nl.js
  • l10n/nl.json
  • l10n/pl.js
  • l10n/pl.json
  • l10n/pt_BR.js
  • l10n/pt_BR.json
  • l10n/ru.js
  • l10n/ru.json
  • l10n/tr.js
  • l10n/tr.json
  • l10n/zh_CN.js
  • l10n/zh_CN.json
  • lib/Controller/WebhookController.php
  • lib/Db/Board.php
  • lib/Db/CardLink.php
  • lib/Migration/Version008000Date20261119000000.php
  • lib/Service/AbstractForgeWebhookService.php
  • lib/Service/CardLinkService.php
  • lib/Service/GitlabWebhookService.php
  • phpunit.xml
  • src/components/BoardSettingsModal.vue
  • src/components/CardDetail.vue
  • src/services/api.js
  • tests/e2e/card-gitlab-webhook.spec.js
  • tests/integration/webhook-availability.php
  • tests/unit/Controller/WebhookControllerTest.php
  • tests/unit/Service/CardLinkServiceTest.php
  • tests/unit/Service/GitlabWebhookServiceTest.php
  • translationfiles/de/kanso.po
  • translationfiles/es/kanso.po
  • translationfiles/fr/kanso.po
  • translationfiles/it/kanso.po
  • translationfiles/nl/kanso.po
  • translationfiles/pl/kanso.po
  • translationfiles/pt_BR/kanso.po
  • translationfiles/ru/kanso.po
  • translationfiles/templates/kanso.pot
  • translationfiles/tr/kanso.po
  • translationfiles/zh_CN/kanso.po
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@aktasfatih
aktasfatih merged commit d5a65b3 into main Nov 19, 2026
25 checks passed
@aktasfatih
aktasfatih deleted the feat/gitlab-webhooks branch November 19, 2026 16:48
@aktasfatih

Copy link
Copy Markdown
Owner Author

🎉 This pull request is included in version 0.48.0 🎉

The release notes are on GitHub.

If Kanso saves you time, consider sponsoring its development — it’s an AGPL solo project and sponsorships keep it maintained. 💜

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant