Commit Graph

19 Commits

Author SHA1 Message Date
neri 7e2d1d8c71 Revert "add a custom response for full storage"
This reverts commit eddbeec7ef.
2022-05-09 23:07:24 +02:00
neri eddbeec7ef add a custom response for full storage 2022-04-30 21:29:41 +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 30d059b7af refactor upload requirements check into separate method 2021-12-20 11:12:09 +01:00
neri 95dacb20b4 fix panic when files table is empty 2021-10-16 00:22:54 +02: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
neri 77fd25b787 implement delete on download, better logging and multipart parsing
a new database column was introduced for delete on download.
the model should be migrated automatically.

Fixes #4
2021-04-04 03:39:50 +02:00
neri 1d51c200d6 do mime guessing, fix MAX_UPLOAD_BYTES 2021-03-09 23:36:24 +01:00
neri 12544034af Add curl instructions, extract copy into own file 2021-02-13 16:47:04 +01:00
neri 4efea5e221 improve error handling 2020-12-03 23:30:37 +01:00
neri 6ffaf5d582 use correct http semantic on upload redirect 2020-07-13 16:08:55 +02:00
neri 7403abbe99 db timeout, dont leak inner workings, auto create files dir, fix script injection 2020-07-13 15:22:33 +02:00
neri 827baf8eec finish it i guess 2020-07-09 19:27:32 +02:00
neri fdd418ec3e Initial commit 2020-07-08 21:33:48 +02:00