You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a comment is made and cannot be posted, all progress made typing it up is lost.
To Reproduce
I have found two routes so far.
Route 1: fastposting
Open two tabs with images
Start typing out a comment for each, but do not hit post just yet
Press post for both tabs within 30 seconds (or whatever the too fast timeout is)
The comment on the second image is totally gone when the posting too fast error is shown
Route 2: time-out
Start typing a long comment
Take a break and touch grass for 8 hours or otherwise be AFK for an excessive amount of time
Finish typing your essay
Press post
The comment doesn't post and there's no way to recover its contents without having a time machine or precognition to copy it before smashing that post button.
Expected behavior
The rejected comment is pre-populated into the comment field
The page is scrolled to the comment box on reload (showing the rejected message)
The error bar is mirrored near the comment box in addition to the very top of the page
Additional context
Specifically for the case of messages being rejected for posting too fast, we do need to make sure it's not too easy for spammers to resubmit the rejected comment. I propose using some heuristic of message length to separate which posts get returned to sender and which get blackholed in such a scenario. Admins of sites using Philomena would know the profile of spam messages better than me, but perhaps a starting metric for minimum comment length to be returned for posting too quickly is 180+200n where n is the number of URLs (not counting intra-site embeds) in the message. Messages that are too short would get blackholed.
The text was updated successfully, but these errors were encountered:
Describe the bug
When a comment is made and cannot be posted, all progress made typing it up is lost.
To Reproduce
I have found two routes so far.
Route 1: fastposting
Route 2: time-out
Expected behavior
Additional context
Specifically for the case of messages being rejected for posting too fast, we do need to make sure it's not too easy for spammers to resubmit the rejected comment. I propose using some heuristic of message length to separate which posts get returned to sender and which get blackholed in such a scenario. Admins of sites using Philomena would know the profile of spam messages better than me, but perhaps a starting metric for minimum comment length to be returned for posting too quickly is
180+200n
wheren
is the number of URLs (not counting intra-site embeds) in the message. Messages that are too short would get blackholed.The text was updated successfully, but these errors were encountered: