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

Quote n2ntms when replying #1043

Open
wants to merge 3 commits into
base: next
Choose a base branch
from

Conversation

ArneBab
Copy link
Contributor

@ArneBab ArneBab commented Mar 3, 2025

No description provided.

ArneBab added 3 commits March 3, 2025 22:30
Methods:

- canReply() — show reply button?
- getSourceNode() — whom to reply to
- getMessageText() — the content
- replyButtonText() — custom label per Alert

Goals:

- Enable replying with a POST request (contains the form password).
- Turn reply into a standard operation for N2NTMs instead of an
  implementation detail of the specific User Alerts.

Only the N2NTMUserAlert implements these for now.
The message needs escaping of linebreaks, because those get lost in
hidden input elements.
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.

1 participant