Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create changeset subscription resource #5535

Merged

Conversation

AntonKhorev
Copy link
Collaborator

@AntonKhorev AntonKhorev commented Jan 22, 2025

This is for pages accessed by following unsubscribe links from comment notification emails, not for subscribe/unsubscribe buttons on changeset pages.

Changes /changeset/:id/subscribe and /changeset/:id/unsubscribe to /changeset/:id/subscription, similar to #5261. Now there's a subscription resource, you can get/post/delete at its path.

I'm not sure why we need these pages since there's a subscribe/unsubscribe button on the changeset page. Probably to have an uncluttered unsubscribe page because they we added in #4534. If so, same should be done for note subscriptions.

@tomhughes
Copy link
Member

They were added so that we could fill in the List-Unsubscribe header in emails as Google had made that a requirement for gmail.

@tomhughes
Copy link
Member

This looks good to me, thanks.

@tomhughes tomhughes merged commit b0cf194 into openstreetmap:master Jan 22, 2025
22 checks passed
@AntonKhorev AntonKhorev deleted the changeset-subscription-resource branch January 22, 2025 23:11
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.

2 participants