--------------------------
New features:
* support http basic auth header (it just reads the password from there, the
user name is ignored). this is useful for scripting, e.g. you can do now:
$ curl -F 'file=somefile;type=text/plain' http://user:passwordlocalhost:5000/+upload
* you can give the filename for the list items now
* do not use paste.txt as default filename, but <uuid>.txt or <uuid>.bin
(this is less pretty, but avoids collisions if you download multiple files)
* allow uploading of multiple files via the fileselector of the browser
* display download (view) timestamp
* sorting of file lists
* use iso-8859-1 if decoding with utf-8 fails
* let admin directly delete locked files, without having to unlock first
* new bepasty-object cli command
* added REST api for bepasty-client-cli
* MAX_RENDER_SIZE can be used to set up maximum sizes for items of misc. types,
so bepasty e.g. won't try to render a 1 GB text file with highlighting.
* offer a "max. lifetime" when creating a pastebin
* if you link to some specific text line, it will highlight that line now
* add filename to the pastebin url (as anchor)
Removed features:
* removed ceph-storage implementation due to bugs, missing features and general
lack of maintenance. it is still in the repo in branch ceph-storage, waiting
to be merged back after these issues have been fixed:
https://github.com/bepasty/bepasty-server/issues/13
https://github.com/bepasty/bepasty-server/issues/38
Fixes:
* security fix: when showing potentially dangerous text/* types, force the
content-type to be text/plain and also turn the browser's sniffer off.
* security fix: prevent disclosure of locked item's metadata
* use POST for delete/lock actions
* application/x-pdf content-type items are offer for in-browser rendering, too
* fix typo in cli command bepasty-object set --incomplete (not: uncomplete)
* quite some UI / UX and other bug fixes
* filesystem storage: check if the configured directory is actually writeable
Other changes:
* using xstatic packages now for all 3rd party static files
* docs updated / enhanced