Ban bugs
-
I tested ban function and this is not workin (1.10.1) version of NodeBB
When i ban someone to 1 hour - after this time user still remains banned.
Tested 2 times.. after 4 hours ban still exist.I refresh page / purge cache but ban remains.. i need manually remove ban.
-
Actually quite a nice system. Otherwise you would need to either check regularly if a ban has expired and thus probably do a lot of unnecessary checks, or you would need to predict when the next ban expiration will be and thus probably introduce a lot of bugs with the prediction code.
What might be interesting is a feature request, to not show the flag if the expiration has happened. I assume the flag is stored with a timestamp for when the ban will expire. Thus it should be possible to filter it out when displayed. But actually remove it when the user logs in.