Commit Graph

20 Commits

Author SHA1 Message Date
neri 900d9ac449 refactor: construct filepaths more idiomatically 2023-01-23 11:23:48 +01:00
neri f9de6e5164 fix upload without filename 2022-11-24 00:04:47 +01:00
neri ca56e501a2 refactor upload endpoint 2022-11-22 21:32:04 +01:00
neri b9849153f0 fix url decoding in /uploaded endpoint 2022-11-22 21:15:15 +01:00
neri dc2f7ecab0 move multipart error handling into its module 2022-11-22 21:11:35 +01:00
neri 44843ab222 use rand distribution for file id generation 2022-11-22 15:56:38 +01:00
neri 171bfc98a9 use inline string formatting 2022-10-07 15:52:12 +02:00
neri d7b6d31198 determine corrext file extension for text uploads 2022-10-07 15:51:38 +02:00
neri 4496335f50 add rate limiting for download 2022-09-30 14:47:13 +02:00
neri 96eadb1723 return correct mime types, improve web security 2022-09-30 14:43:35 +02:00
neri d340db3b51 migrate from chrono to time 2022-02-27 01:50:29 +01:00
neri 925a45a011 update actix and migrate to tokio 2022-02-27 00:34:57 +01:00
neri 593f93d7d8 don't send content-disposition header for index.html 2022-01-29 12:50:44 +01:00
neri 2fb3b257c2 add shortlink to uploaded page 2021-12-20 01:06:28 +01:00
neri 424af11918 cache index.html and auth-hide.js in static directory 2021-12-08 18:54:55 +01:00
neri dfd3387ac6 ensure file ids are unique 2021-10-16 00:22:54 +02:00
neri c372db6446 show limits explicitly, improve code 2021-10-16 00:22:54 +02:00
neri f2dfca2b39 add error logging for internal server errors 2021-10-16 00:22:54 +02:00
neri f97b3d79be implement basic auth and additional upload limits for unauthenticated users 2021-10-16 00:22:53 +02:00
neri 3bed4de127 extract more modules, fix FileKind enum names 2021-04-04 14:30:31 +02:00