[PR #2402] [MERGED] Implementation of discord webhook #16391

Closed
opened 2025-11-02 12:09:31 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2402
Author: @lunny
Created: 8/26/2017
Status: Merged
Merged: 8/28/2017
Merged by: @lunny

Base: masterHead: lunny/webhook_discord


📝 Commits (5)

  • abe3230 implementation of discord webhook
  • 74ef25b fix webhooks
  • 1dcd825 fix typo and unnecessary color values
  • 0481644 fix typo
  • 9810a44 fix imports and revert changes to webhook_slack.go

📊 Changes

11 files changed (+427 additions, -14 deletions)

View changed files

📝 models/webhook.go (+25 -8)
models/webhook_discord.go (+252 -0)
📝 modules/auth/repo_form.go (+13 -0)
📝 modules/setting/setting.go (+1 -1)
📝 options/locale/locale_en-US.ini (+3 -0)
public/img/discord.png (+0 -0)
📝 routers/repo/webhook.go (+106 -5)
📝 routers/routes/routes.go (+2 -0)
templates/repo/settings/hook_discord.tmpl (+19 -0)
📝 templates/repo/settings/hook_list.tmpl (+3 -0)
📝 templates/repo/settings/hook_new.tmpl (+3 -0)

📄 Description

will fix #2191


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2402 **Author:** [@lunny](https://github.com/lunny) **Created:** 8/26/2017 **Status:** ✅ Merged **Merged:** 8/28/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `lunny/webhook_discord` --- ### 📝 Commits (5) - [`abe3230`](https://github.com/go-gitea/gitea/commit/abe3230e1f7dc3d7c8ee85e9a0a384cc2cadb8fe) implementation of discord webhook - [`74ef25b`](https://github.com/go-gitea/gitea/commit/74ef25ba43fbf933a3a412339354644bf1e240e9) fix webhooks - [`1dcd825`](https://github.com/go-gitea/gitea/commit/1dcd825aea394b1717f162ec8baa25e4ef981b20) fix typo and unnecessary color values - [`0481644`](https://github.com/go-gitea/gitea/commit/04816442d6c54e8c6039dc4ca985a67a48e66cc8) fix typo - [`9810a44`](https://github.com/go-gitea/gitea/commit/9810a44ef7a797e52399b2fc6bf6dce7e20e191b) fix imports and revert changes to webhook_slack.go ### 📊 Changes **11 files changed** (+427 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `models/webhook.go` (+25 -8) ➕ `models/webhook_discord.go` (+252 -0) 📝 `modules/auth/repo_form.go` (+13 -0) 📝 `modules/setting/setting.go` (+1 -1) 📝 `options/locale/locale_en-US.ini` (+3 -0) ➕ `public/img/discord.png` (+0 -0) 📝 `routers/repo/webhook.go` (+106 -5) 📝 `routers/routes/routes.go` (+2 -0) ➕ `templates/repo/settings/hook_discord.tmpl` (+19 -0) 📝 `templates/repo/settings/hook_list.tmpl` (+3 -0) 📝 `templates/repo/settings/hook_new.tmpl` (+3 -0) </details> ### 📄 Description will fix #2191 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:09:31 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16391