[PR #1084] [MERGED] fix(user): persist status on email updates #1217

Closed
opened 2025-11-01 21:13:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1084
Author: @dpschen
Created: 7/3/2025
Status: Merged
Merged: 8/4/2025
Merged by: @kolaente

Base: mainHead: feat/update-email-status-handling


📝 Commits (4)

  • cdc582a fix(user): persist status on email updates
  • 74532f4 Merge branch 'main' into feat/update-email-status-handling
  • e524dea fix test
  • ab972ff fix test

📊 Changes

6 files changed (+85 additions, -9 deletions)

View changed files

📝 pkg/user/test.go (+2 -0)
📝 pkg/user/update_email.go (+8 -6)
pkg/user/update_email_test.go (+72 -0)
📝 pkg/user/user.go (+1 -1)
📝 pkg/user/user_create.go (+1 -1)
📝 pkg/user/user_email_confirm.go (+1 -1)

📄 Description

  • update email updates to persist status column before token generation
  • switch other flows from is_active to status
  • handle status when mailer is disabled
  • add unit test for status persistence

🔄 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/1084 **Author:** [@dpschen](https://github.com/dpschen) **Created:** 7/3/2025 **Status:** ✅ Merged **Merged:** 8/4/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `feat/update-email-status-handling` --- ### 📝 Commits (4) - [`cdc582a`](https://github.com/go-vikunja/vikunja/commit/cdc582af56bbf9e0225839ebd2787565318c3341) fix(user): persist status on email updates - [`74532f4`](https://github.com/go-vikunja/vikunja/commit/74532f4bdbfcba3986eef935328fff9e83d8e060) Merge branch 'main' into feat/update-email-status-handling - [`e524dea`](https://github.com/go-vikunja/vikunja/commit/e524dea6c2958c7ab152669e31f08d07dab607f7) fix test - [`ab972ff`](https://github.com/go-vikunja/vikunja/commit/ab972ff998079aa5c8f6f5b435391f7a8a6badbd) fix test ### 📊 Changes **6 files changed** (+85 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `pkg/user/test.go` (+2 -0) 📝 `pkg/user/update_email.go` (+8 -6) ➕ `pkg/user/update_email_test.go` (+72 -0) 📝 `pkg/user/user.go` (+1 -1) 📝 `pkg/user/user_create.go` (+1 -1) 📝 `pkg/user/user_email_confirm.go` (+1 -1) </details> ### 📄 Description - update email updates to persist `status` column before token generation - switch other flows from `is_active` to `status` - handle status when mailer is disabled - add unit test for status persistence --- <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:13:29 -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#1217