Added possibility to use different database (storage) backends. Currently
supported: flatfiles and mysql. Fixes#2.
Added database shutdown call. This call will properly shutdown database
connections (in case of RDBMS) or flush pastes index cache on disk (in
case of flatfiles).
De-hardcoded pagination count. Fixes#12.
It is now possible to create private pastes, just check approriate
checkbox.
Added systemd unit file. Don't forget to fix it for your needs!
Updated design for pastes viewing, now paste information shows in
table. Improves mobile experience at least :).
Added captcha generation. As we're working without JS - there is no
possibility to reload image, only if user will reload whole web page.
Some design works - set monospace font for paste textarea (will
use system-defined default monospace font) and lowered font size
in paste views.
Pagination now works. Temporary hardcoded 10 pastes per page, will be put
in configuration later. Maybe.
From now user will receive readable error message if error occured.
Started to work on syntax highlighting, tried to make lexers detection
work but apparently to no avail.