summaryrefslogtreecommitdiff
path: root/fbin/db.py
AgeCommit message (Collapse)AuthorFilesLines
2019-07-24Add file storage modulesJon Bergli Heier1-2/+6
Allows for storing files other places than the local file system. Currently the local filesystem and S3 are supported.
2019-04-02Add support for blocking filesJon Bergli Heier1-1/+3
Files are blocked if blocked_reason is non-NULL. This value is currently not exposed publicly, instead a 404 will be returned. Files are scanned using virustotal.com's public API if scanned is False. Scans are performed by the fbin-scanner.py script. If a match is found, blocked_reason is set to the payload received. Files that are not in VT's database will be automatically submitted and the script will wait for the scan to complete before continuing.
2018-08-06Add video list and video thumbnailsJon Bergli Heier1-0/+3
Add a separate video page for listing uploaded videos. The thumbnail endpoint now supports generating video thumbnails using ffmpegthumbnailer.
2017-04-22Added upload API.Jon Bergli Heier1-0/+2
Also updated the API (previously help) page.
2017-04-09Major rewrite to use jab/oauth.Jon Bergli Heier1-0/+121
Highlights: - Uses the oauth branch of jab. - Changed design to use bootstrap. - Some minor changes to functionality in file uploading and listing. - API is currently disabled and incomplete.