X-Base Bugtracking - OpenTTD website
View Issue Details
000768OpenTTD website[All Projects] Generalpublic2011-12-23 16:402013-07-04 00:22
xOR 
myhorta 
normalminoralways
resolvedfixed 
Live version 
Live version 
000768: Prevent shoutbox message to be sent multiple times
When users have a delay they click the shout button several times, which then leads the message being shown several time.
The button should be disabled while the message is processed - maybe it should even have a cooldown time of 30-60 seconds in general, to prevent users from flooding.
http://dl.dropbox.com/u/21345942/Selection532802953.png [^]
No tags attached.
Issue History
2011-12-23 16:40xORNew Issue
2011-12-23 16:40xORStatusnew => assigned
2011-12-23 16:40xORAssigned To => myhorta
2011-12-24 00:07myhortaNote Added: 0000376
2011-12-24 00:07myhortaStatusassigned => resolved
2011-12-24 00:07myhortaResolutionopen => fixed
2012-04-21 23:57myhortaStatusresolved => feedback
2012-04-21 23:57myhortaResolutionfixed => reopened
2012-05-03 23:33xORProduct Version => Live version
2012-05-03 23:33xORTarget Version => Live version
2012-08-04 00:41xORNote Added: 0000496
2012-08-04 00:41xORStatusfeedback => assigned
2013-07-04 00:22myhortaNote Added: 0000520
2013-07-04 00:22myhortaStatusassigned => resolved
2013-07-04 00:22myhortaResolutionreopened => fixed

Notes
(0000376)
myhorta   
2011-12-24 00:07   
I'm not sure (it's hard reproduce principally in a localhost) if it is correct.
The button is disabled in the beginning of function and reactivated in the end after sending everything to the server.
(0000496)
xOR   
2012-08-04 00:41   
occurrences have decreased but it still happens. i think there is no way around checking whether the user already has submitted a shout within the last 20 seconds and not let him submit a new one in that case. this also has the side-effect of adding a little anti-flood protection.
(0000520)
myhorta   
2013-07-04 00:22   
fixed: r[22]