Merge pull request #102 from ctrlcctrlv/master

Fix truncation issues once and for all
Update auto-reload.js

check if viewing a thread or viewing a board page when updating a thread so new posts do not appear at bottom of page while viewing threads list not sure if this was because of an outdated template but I thought I should point out this as it may affect html templates no matter the code as the banner code is the only code that checks where the user currently is.
Merge pull request #106 from ctrlcctrlv/master

Per board configuration names were not working
update to pages.php minor exploit

A lot of bans can be removed from a tinyboard database because it isn't limited A staff member could select 100 users all at once with a simple javascript function and unban them all this needs to be limited because a staff member on an image board if they feel hostile they can just remove all bans on the tinyboard site easily without being limited to how many people they can unban at a time, this adds an option to limit it.
update config.php config for unban limit

Adding config and error for unban list when a user tries to unban more users than they are allowed too.
Fixes #59 by making quick-reply.js agnostic to the value of $config['button_reply'].
Merge pull request #110 from lanc33/master

Fixes #59
Merge pull request #104 from undido/patch-1

Update auto-reload.js possible minor issue
Merge pull request #109 from undido/banlistpatch

Banlistpatch
Fix PM count caching.

cache::get() returns null if the key wasn't found (at least when using
the Redis cache backend).
Fix display issues with RTL control characters in post names, subjects, and filenames.
Output times in UTC.

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.
pm_snippet() should probably use mb_substr if it's using mb_strlen.
Fix openBoard and boardTitle functions using same caching keys.

Added getBoardInfo function that's used by both of the above functions,
and can get a board's info without loading it.
Fix result page after installing theme getting doubled up.
Fix broken entity removal in post truncation.
mod.php: Don't freak out if extra dummy query parameters are added.
(Such as for cache-avoidance.)
Include non-compiled javascript in page.html too.
Don't forget secure tripcode that's preceded by a space.

Mod capcodes are not remembered in the posting form.
Fix "Undefined index: sticky" and "locked" errors on new thread creation.