[PR #834] Feat/webhooks reminder #985

Open
opened 2025-11-01 21:08:35 -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: 🔄 Open

Base: mainHead: feat/webhooks_reminder


📝 Commits (1)

  • 3cd1623 Webhook for user reminders

📊 Changes

20 files changed (+465 additions, -95 deletions)

View changed files

📝 frontend/src/i18n/lang/en.json (+4 -0)
📝 frontend/src/modelTypes/IUserSettings.ts (+2 -1)
📝 frontend/src/models/userSettings.ts (+2 -0)
📝 frontend/src/views/user/settings/General.vue (+31 -0)
📝 pkg/config/config.go (+2 -0)
pkg/migration/20250527194144.go (+44 -0)
📝 pkg/models/listeners.go (+38 -4)
📝 pkg/models/notifications.go (+8 -6)
📝 pkg/models/task_overdue_reminder.go (+136 -40)
📝 pkg/models/task_overdue_reminder_test.go (+5 -3)
📝 pkg/models/task_reminder.go (+89 -24)
📝 pkg/models/task_reminder_test.go (+4 -2)
📝 pkg/models/webhooks.go (+42 -0)
📝 pkg/modules/auth/auth.go (+2 -0)
📝 pkg/notifications/notification.go (+25 -0)
📝 pkg/routes/api/v1/info.go (+16 -14)
📝 pkg/routes/api/v1/user_settings.go (+6 -0)
📝 pkg/routes/api/v1/user_show.go (+2 -0)
📝 pkg/user/user.go (+6 -1)
📝 pkg/user/user_create.go (+1 -0)

📄 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:** 🔄 Open **Base:** `main` ← **Head:** `feat/webhooks_reminder` --- ### 📝 Commits (1) - [`3cd1623`](https://github.com/go-vikunja/vikunja/commit/3cd1623e0579d0c8718f20249d0d523a6fbfae48) Webhook for user reminders ### 📊 Changes **20 files changed** (+465 additions, -95 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/i18n/lang/en.json` (+4 -0) 📝 `frontend/src/modelTypes/IUserSettings.ts` (+2 -1) 📝 `frontend/src/models/userSettings.ts` (+2 -0) 📝 `frontend/src/views/user/settings/General.vue` (+31 -0) 📝 `pkg/config/config.go` (+2 -0) ➕ `pkg/migration/20250527194144.go` (+44 -0) 📝 `pkg/models/listeners.go` (+38 -4) 📝 `pkg/models/notifications.go` (+8 -6) 📝 `pkg/models/task_overdue_reminder.go` (+136 -40) 📝 `pkg/models/task_overdue_reminder_test.go` (+5 -3) 📝 `pkg/models/task_reminder.go` (+89 -24) 📝 `pkg/models/task_reminder_test.go` (+4 -2) 📝 `pkg/models/webhooks.go` (+42 -0) 📝 `pkg/modules/auth/auth.go` (+2 -0) 📝 `pkg/notifications/notification.go` (+25 -0) 📝 `pkg/routes/api/v1/info.go` (+16 -14) 📝 `pkg/routes/api/v1/user_settings.go` (+6 -0) 📝 `pkg/routes/api/v1/user_show.go` (+2 -0) 📝 `pkg/user/user.go` (+6 -1) 📝 `pkg/user/user_create.go` (+1 -0) </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 2025-11-01 21:08:35 -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#985