inc/functions.php
- Fixed issues with dio on windows machines.
inc/lib/Twig/Extensions/Extension/Tinyboard.php
- Added strict (int) typecasting to avoid critical errors in timestamp formatting.
index.php
- Fixed issue where opening index.php would whitepage.
static/nsfw.png
static/swf.png
- Added missing static files.
Imagine the following scenario:
Alice has permission to view IPs on board A, and Bob has permissions to view IPs on board B.
If the post number was to match, and the same IP made both posts, A and B could trade user IPs which they wouldn't normally have permission to do so. This weird bug has already creeped up on 8chan.co and is now patched.
Let the client localize the times with js/local-time.js themselves. No
one cares what the server timezone is.
This fixes a bug where posts made in a different daylight savings mode
have their times displayed off by an hour. Their times would be rendered
to the server's own timezone area correctly, but then the server's
*current* utc-offset would be appended, which wouldn't match up.