summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-04-22Added upload API.Jon Bergli Heier7-48/+205
Also updated the API (previously help) page.
2017-04-09Fixed renaming files.Jon Bergli Heier1-1/+2
2017-04-09Major rewrite to use jab/oauth.Jon Bergli Heier44-966/+1342
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.
2017-02-11Fixed uploading small files.Jon Bergli Heier1-2/+4
For small files the file attribute is a StringIO object instead of a NamedTemporaryFile. For cStringIO we're not allowed to set the delete attribute, so check wether the object already has a delete attribute before attempting to set it.
2016-04-03Delete thumbnails when deleting files.Jon Bergli Heier1-0/+3
2016-03-28Auto-delete temporary files by default.Jon Bergli Heier1-3/+2
This fixes multipart upload where temporary files are created for all fields. Instead we explicitly set the uploaded file itself to not be auto-deleted. This doesn't work on Windows (see NamedTemporaryFile for more details).
2016-03-27Fixed formatting in API 'Unknown method' message.Jon Bergli Heier1-1/+1
2016-03-27Added the test_token API method.Jon Bergli Heier1-0/+8
This API method checks whether the provided token is valid or not.
2016-03-26Fixed error handling on image thumbnails.Jon Bergli Heier4-12/+19
Replaced jquery-lazyload with jquery.lazy which provides an onError event handler.
2014-02-10Use jab id instead of username as user key.Jon Bergli Heier2-35/+24
2014-02-09Return rendered templates as lists.Jon Bergli Heier1-17/+17
2014-02-08Updated help page.Jon Bergli Heier1-4/+10
2014-02-08Login using single signon via jab web, cleanup old stuff.Jon Bergli Heier2-140/+80
2014-02-07Added support for authentication via jab.Jon Bergli Heier3-106/+92
2014-02-04Added lazy load to image page.jablessJon Bergli Heier6-7/+22
2013-10-01Added options for persistent login.Jon Bergli Heier2-6/+32
2013-10-01Fixed uploading when anonymous uploads are disabled while logged in.Jon Bergli Heier1-1/+1
2013-08-31Return 404 if file hash does not exist.Jon Bergli Heier1-2/+2
2013-08-30Added settings for registrations and uploads.Jon Bergli Heier10-57/+113
* create_active_users: Controls whether new user accounts are created as 'active'; accounts that are not marked as active will not be able to log in, and will be automatically logged out if they're already logged in. * allow_registration: Allow or disallow creation of new user accounts. Any attempts to access the registration page will result in an error message. * allow_anonymous_uploads: Allow or disallow uploading of files by anonymous (not logged in) users. Combined with either allow_registration or create_active_users, this will effectively create a private filebin where the admin must explicitly create or activate new users.
2013-08-30Properly return favicon.ico if it exists.Jon Bergli Heier1-2/+8
2013-08-30Added ip and accessed to the 'files' table.Jon Bergli Heier2-7/+17
2013-08-03Added some minor adjustments to look better on mobile browsers.Jon Bergli Heier3-1/+4
2013-05-06Fixed hashing when uploading very small files.Jon Bergli Heier1-0/+1
2013-05-06Fixed uploading very small files.Jon Bergli Heier1-0/+6
2013-05-02Added api calls for file and image listings.Jon Bergli Heier1-2/+29
2012-12-16Make image thumbnail tiles consistent in width.Jon Bergli Heier2-8/+11
2012-09-24Show a placeholder image when no thumbnail could be fetched or generated.Jon Bergli Heier4-2/+11
2012-09-24Delete uploaded temporary file on missing metadata.Jon Bergli Heier1-0/+2
2012-09-24Reversed image hover opacity.Jon Bergli Heier1-2/+2
2012-09-04Optionally change file mode after uploading.Jon Bergli Heier1-0/+2
2012-08-28Write temporary files to settings.file_directory on upload.Jon Bergli Heier1-11/+17
We now only use one temporary file instead of two, and this file is renamed to the destination filename on completion. This should speed up things by avoiding copying files from tmpfs to disk.
2012-05-23Redirect to login page and back to the original page afterwards when login ↵Jon Bergli Heier2-5/+11
is required.
2012-02-18Send Content-Type when using X-Sendfile.Jon Bergli Heier1-1/+1
2012-01-01Added a 'del' link to allow deleting files.Jon Bergli Heier4-2/+56
2011-11-12Added a change password option when logged in.Jon Bergli Heier4-2/+77
2011-10-30Detect and use mogrify to auto-rotate JPEG images with EXIF orientation tags.Jon Bergli Heier1-1/+19
2011-09-10Handle rfc1123 dates with timezone names.Jon Bergli Heier1-1/+6
2011-07-29Display number of files and total size on myfiles and images pages.Jon Bergli Heier4-2/+7
2011-07-29Handle file ranges.Jon Bergli Heier1-6/+29
2011-07-29Support ranges using X-Sendfile2.Jon Bergli Heier1-2/+17
2011-07-29Added support for X-Sendfile.Jon Bergli Heier1-0/+3
2011-07-29Added support for configurable virtual root.Jon Bergli Heier7-29/+50
2011-07-29Write file uploads to temp file while hashing.Jon Bergli Heier1-6/+6
This avoids loading the file into memory, which is bad for huge files.
2011-07-18Fixed breakage caused by using wrong hash.Jon Bergli Heier1-2/+11
2011-07-18Implemented simple cache control for files and thumbnails.Jon Bergli Heier1-17/+25
Send the Last-Modified header, and react accordingly when receiving an If-Modified-Since header.
2011-07-17Removed unused line from style.css.Jon Bergli Heier1-1/+0
2011-07-17Added an image section with thumbnails of all uploaded image files.Jon Bergli Heier7-2/+64
2011-05-11Removed page-wrapper div.Jon Bergli Heier2-2/+0
2011-05-11Use settings.static_root as root directory for static files.Jon Bergli Heier1-1/+1
2011-05-11Moved menu, fixed login button.Jon Bergli Heier4-21/+25