59 Commits (master)

Author SHA1 Message Date
neri e0b5a3fc65 fix unlimited max file size template render 2 weeks ago
neri b414fda39a make template filling code prettier 1 month ago
neri 53c568082d trim trailing whitespace of snippets 1 month ago
neri bf7c762f83 upgrade dependencies 1 month ago
neri 36b9096325 add cache headers for file downloads 1 month ago
neri 7e2d1d8c71 Revert "add a custom response for full storage" 3 months ago
neri eddbeec7ef add a custom response for full storage 3 months ago
neri d9c92a2827 use html view even if content matches text/html 4 months ago
neri d340db3b51 migrate from chrono to time 5 months ago
neri 925a45a011 update actix and migrate to tokio 5 months ago
neri 593f93d7d8 don't send content-disposition header for index.html 6 months ago
neri 78ef78f342 cleanup text response code 8 months ago
neri 48574b1ec3 prefer to serve raw files over html files 8 months ago
neri 30d059b7af refactor upload requirements check into separate method 8 months ago
neri 2fb3b257c2 add shortlink to uploaded page 8 months ago
neri 424af11918 cache index.html and auth-hide.js in static directory 8 months ago
neri 95dacb20b4 fix panic when files table is empty 10 months ago
neri a065787487 limit text view to 512KiB, fix deleter sql query 10 months ago
neri dfd3387ac6 ensure file ids are unique 10 months ago
neri 2ff464915c simpify db query code 10 months ago
neri b91ef4ab80 disallow newlines in urls 10 months ago
neri 84b4c399ca add custom view for link-only text 10 months ago
neri c372db6446 show limits explicitly, improve code 10 months ago
neri 31a429861d always prefer inline display when not downloading 10 months ago
neri f2dfca2b39 add error logging for internal server errors 10 months ago
neri f97b3d79be implement basic auth and additional upload limits for unauthenticated users 10 months ago
neri 1c43d70457 allow slash after file url 1 year ago
neri e49800f05e Don't view file when delete_on_download is set 1 year ago
neri 313da6b583 Always display content as text if user uploaded it as such 1 year ago
neri 3bed4de127 extract more modules, fix FileKind enum names 1 year ago
neri 77fd25b787 implement delete on download, better logging and multipart parsing 1 year ago
neri 2388e2c2ce decide when to show embedded text based on mime type of file 1 year ago
neri 1d51c200d6 do mime guessing, fix MAX_UPLOAD_BYTES 1 year ago
neri 3a3174619d shorter id generation, shorten file url 1 year ago
neri 9e38960f00 update dependencies, urlencode filename 1 year ago
neri f100450796 remove unused import 2 years ago
neri 12544034af Add curl instructions, extract copy into own file 2 years ago
neri 4efea5e221 improve error handling 2 years ago
neri c9d00db39a add 404 page 2 years ago
neri 458220df47 more intuitive max file size 2 years ago
neri 64c2567918 append original file name to urls 2 years ago
neri b553bd621b remove debug env var read 2 years ago
neri c57d15c7e3 rustify db url building 2 years ago
neri e3a7c5329e apply formatter 2 years ago
Fionera 64be9b7f0c Use actix url generator for the uploaded url 2 years ago
Fionera b512674da9 Add Connection string builder 2 years ago
neri a92d7fe397 do some code cleanup 2 years ago
neri 594ca9d253 remove content disposition from index.html 2 years ago
neri 941c07bdaf no compression, better http caching, better css 2 years ago
neri 07db070107 add asciitrash copy and download button 2 years ago