Skip to content

add invalidate old invites#194

Merged
chriscarrollsmith merged 3 commits into
mainfrom
feature/192-invalidate-old-invites
Jun 23, 2026
Merged

add invalidate old invites#194
chriscarrollsmith merged 3 commits into
mainfrom
feature/192-invalidate-old-invites

Conversation

@rafizamankhan

Copy link
Copy Markdown
Contributor

Invalidates old invitation when prompted to send one to the same member within or after expiry without requiring cron jobs supporting cleanup.

Resolves #192

@chriscarrollsmith chriscarrollsmith force-pushed the feature/192-invalidate-old-invites branch from b93edc8 to 9e57f82 Compare June 23, 2026 01:51
Redirect inactive accept links to login/register with warnings, allow logged-in users to see those banners, add resend and expired-invite admin controls, and show all pending invites with status badges.

Co-authored-by: Cursor <cursoragent@cursor.com>
@chriscarrollsmith chriscarrollsmith merged commit 8c3fed8 into main Jun 23, 2026
2 checks passed
@chriscarrollsmith chriscarrollsmith deleted the feature/192-invalidate-old-invites branch June 23, 2026 04:04
chriscarrollsmith added a commit that referenced this pull request Jun 23, 2026
* add invalidate old invites

* Remove obsolete exception class

* Improve invitation UX with resend, redirects, and pending visibility.

Redirect inactive accept links to login/register with warnings, allow logged-in users to see those banners, add resend and expired-invite admin controls, and show all pending invites with status badges.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: chriscarrollsmith <chriscarrollsmith@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
chriscarrollsmith added a commit that referenced this pull request Jun 23, 2026
* add communication preferences

* add delete invite feature (#193)

* add delete invite feature

* Add hx-confirm for destructive org actions and standardize invitation exceptions.

Mirror formettle PR #101 follow-up: require confirmation before cancelling invitations or removing members, and use InsufficientPermissionsError and RoleNotFoundError in the invitation router.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Move private helper to shared utils and add custom exception message

---------

Co-authored-by: chriscarrollsmith <chriscarrollsmith@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

* chore: release v0.1.26 [skip ci]

* add invalidate old invites (#194)

* add invalidate old invites

* Remove obsolete exception class

* Improve invitation UX with resend, redirects, and pending visibility.

Redirect inactive accept links to login/register with warnings, allow logged-in users to see those banners, add resend and expired-invite admin controls, and show all pending invites with status badges.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: chriscarrollsmith <chriscarrollsmith@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

* chore: release v0.1.27 [skip ci]

* add communication preferences

* Remove accidentally duplicated key

---------

Co-authored-by: chriscarrollsmith <chriscarrollsmith@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: chriscarrollsmith <75859865+chriscarrollsmith@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalidate old invitation when prompted to send one to the same member

2 participants