neri
|
4ea8797149
|
always add X-Content-Type-Options: nosniff header
|
2022-09-30 14:49:04 +02:00 |
neri
|
96eadb1723
|
return correct mime types, improve web security
|
2022-09-30 14:43:35 +02:00 |
neri
|
36b9096325
|
add cache headers for file downloads
|
2022-06-30 01:04:03 +02:00 |
neri
|
d9c92a2827
|
use html view even if content matches text/html
|
2022-04-23 23:40:35 +02:00 |
neri
|
925a45a011
|
update actix and migrate to tokio
|
2022-02-27 00:34:57 +01:00 |
neri
|
78ef78f342
|
cleanup text response code
|
2021-12-20 15:40:49 +01:00 |
neri
|
48574b1ec3
|
prefer to serve raw files over html files
|
2021-12-20 15:01:02 +01:00 |
neri
|
a065787487
|
limit text view to 512KiB, fix deleter sql query
|
2021-10-16 00:22:54 +02:00 |
neri
|
dfd3387ac6
|
ensure file ids are unique
|
2021-10-16 00:22:54 +02:00 |
neri
|
2ff464915c
|
simpify db query code
|
2021-10-16 00:22:54 +02:00 |
neri
|
b91ef4ab80
|
disallow newlines in urls
|
2021-10-16 00:22:54 +02:00 |
neri
|
84b4c399ca
|
add custom view for link-only text
|
2021-10-16 00:22:54 +02:00 |
neri
|
31a429861d
|
always prefer inline display when not downloading
|
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
|
e49800f05e
|
Don't view file when delete_on_download is set
Fixes #6
|
2021-04-04 14:36:38 +02:00 |
neri
|
313da6b583
|
Always display content as text if user uploaded it as such
Fixes #8
|
2021-04-04 14:33:37 +02:00 |
neri
|
3bed4de127
|
extract more modules, fix FileKind enum names
|
2021-04-04 14:30:31 +02:00 |