[PR #834] [CLOSED] feat: allow sending reminders via webhooks #2910

Closed
opened 2026-03-22 14:24:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/834
Author: @lelemm
Created: 5/28/2025
Status: Closed

Base: mainHead: feat/webhooks_reminder


📝 Commits (2)

  • 27986c9 Webhook for user notifications
  • 77ede60 possible notifications

📊 Changes

25 files changed (+1499 additions, -49 deletions)

View changed files

📝 frontend/src/i18n/lang/en.json (+22 -0)
📝 frontend/src/modelTypes/IUserSettings.ts (+0 -1)
frontend/src/modelTypes/IUserWebhookSetting.ts (+16 -0)
📝 frontend/src/models/userSettings.ts (+2 -0)
frontend/src/models/userWebhookSetting.ts (+18 -0)
📝 frontend/src/router/index.ts (+5 -0)
frontend/src/services/userWebhookSettings.ts (+63 -0)
📝 frontend/src/stores/config.ts (+2 -0)
📝 frontend/src/views/user/Settings.vue (+6 -0)
frontend/src/views/user/settings/Webhooks.vue (+342 -0)
pkg/migration/20260128170701.go (+51 -0)
📝 pkg/models/listeners.go (+0 -6)
📝 pkg/models/models.go (+1 -0)
📝 pkg/models/notifications.go (+65 -6)
📝 pkg/models/task_overdue_reminder.go (+50 -8)
📝 pkg/models/task_overdue_reminder_test.go (+3 -3)
📝 pkg/models/task_reminder.go (+62 -23)
📝 pkg/models/task_reminder_test.go (+4 -2)
pkg/models/user_webhook_setting.go (+362 -0)
📝 pkg/models/webhooks.go (+6 -0)

...and 5 more files

📄 Description

This PR creates two new cron jobs that check for reminders (normal reminder and overdue) just like the normal reminder cron, but instead of saving the information in the database or sending an email, it tries to call webhooks.

I'm unsure if this is a desirable feature, but it makes creating integrations with gotify and n8n easier.


🔄 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-vikunja/vikunja/pull/834 **Author:** [@lelemm](https://github.com/lelemm) **Created:** 5/28/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/webhooks_reminder` --- ### 📝 Commits (2) - [`27986c9`](https://github.com/go-vikunja/vikunja/commit/27986c9126873b0aef23d03335908bac6f187375) Webhook for user notifications - [`77ede60`](https://github.com/go-vikunja/vikunja/commit/77ede60fd7d6a417ef480f68ec0990dcc9e4bc4e) possible notifications ### 📊 Changes **25 files changed** (+1499 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/i18n/lang/en.json` (+22 -0) 📝 `frontend/src/modelTypes/IUserSettings.ts` (+0 -1) ➕ `frontend/src/modelTypes/IUserWebhookSetting.ts` (+16 -0) 📝 `frontend/src/models/userSettings.ts` (+2 -0) ➕ `frontend/src/models/userWebhookSetting.ts` (+18 -0) 📝 `frontend/src/router/index.ts` (+5 -0) ➕ `frontend/src/services/userWebhookSettings.ts` (+63 -0) 📝 `frontend/src/stores/config.ts` (+2 -0) 📝 `frontend/src/views/user/Settings.vue` (+6 -0) ➕ `frontend/src/views/user/settings/Webhooks.vue` (+342 -0) ➕ `pkg/migration/20260128170701.go` (+51 -0) 📝 `pkg/models/listeners.go` (+0 -6) 📝 `pkg/models/models.go` (+1 -0) 📝 `pkg/models/notifications.go` (+65 -6) 📝 `pkg/models/task_overdue_reminder.go` (+50 -8) 📝 `pkg/models/task_overdue_reminder_test.go` (+3 -3) 📝 `pkg/models/task_reminder.go` (+62 -23) 📝 `pkg/models/task_reminder_test.go` (+4 -2) ➕ `pkg/models/user_webhook_setting.go` (+362 -0) 📝 `pkg/models/webhooks.go` (+6 -0) _...and 5 more files_ </details> ### 📄 Description This PR creates two new cron jobs that check for reminders (normal reminder and overdue) just like the normal reminder cron, but instead of saving the information in the database or sending an email, it tries to call webhooks. I'm unsure if this is a desirable feature, but it makes creating integrations with gotify and n8n easier. --- <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 2026-03-22 14:24:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#2910