Changelog
2016-03-31
Cleaned up the code for nocron a little.
Check for the deactivated permission flag in the loginCheck router filter.
Made a json_decode filter available to templates because it should've been there to begin with.
Add config() function to templates to fetch stuff from the configuration directly from templates, this removes the need to fetch a lot of vars in sakura.php prior to doing anything.
Regenerate PHP session keys before destroying sessions.
Added a static ActiveUser class which deprecates $currentUser, $authData and Users::checkLogin.
2016-03-30
Made friend adding/removing dynamic.
Made comment posting and voting completely dynamic.
Moved friends stuff to the router.
Removed old comment backend.
Added voting to the object based comment system.
2016-03-28
Removed remnants of the template options.
Made news backend fully OOP.
Added comments controller.
Moved notification methods to its own controller.
Renamed and moved template files to make more sense with their function.
Fixed comment delete method being in the notification object (don't do code at 3 am kids).
Removed the (basically unused) banning backend.
2016-03-27
Made Sakura PHP7 only.
Removed the php. section of the available twig set and replaced it with equivalents.
Removed the premium tracker, the data was inaccurate anyway.
Moved the premium management to the User object.
Rewrote the premium controller.
2016-03-26
Removed notification sounds.
Let the client side mark notifications as read.
Pull notifications through the router.
Added Notification object.
Rewrote the code bbcode backend.
Fixed unwanted line breaks in the box bbcode.
2016-03-25
Moved auth templates out of main folder.