Commit Graph

155 Commits

Author SHA1 Message Date
neri 7f6db2de40 chore: version 2.3.6 2023-05-24 10:53:56 +02:00
neri fbb8f5a7c5 refactor: use results for deletion failures 2023-05-24 10:53:07 +02:00
neri aef400ff51 fix: panic when unable to delete files 2023-05-24 10:14:16 +02:00
neri 6e5892a209 fix: file deletion when database can't be reached 2023-05-24 09:55:47 +02:00
neri 2ab33b82d0 fix: remove unnecessary label links, update dependencies 2023-04-26 20:28:48 +02:00
neri 804a4fc7ae fix: increase upload button contrast 2023-04-25 11:30:57 +02:00
neri a221d4e618 fix: xss when attaching ?dl to the url 2023-04-22 19:08:48 +02:00
neri 99c3f3694b feat: add security headers 2023-04-22 19:07:21 +02:00
neri b28d83a481 feat: add security headers 2023-04-20 21:46:56 +02:00
neri af59c099dd feat: allow http head requests 2023-04-16 09:35:48 +02:00
neri 39e72a8eb6 feat: update usage info, include actual origin 2023-03-20 20:33:38 +01:00
neri bf2e91a2c5 refactor: simplify actix app config 2023-03-15 09:44:31 +01:00
neri c33cece59e fix: scrolling in usage details 2023-03-15 09:43:33 +01:00
neri 0a469ae367 refactor: move template filling into module 2023-02-11 00:18:18 +01:00
neri 4cd3cead88 feat: add abuse mail link to footer 2023-02-11 00:16:51 +01:00
neri 95c867eb38 fix: quit the server should the deleter ever panic 2023-02-10 23:07:58 +01:00
neri 9aa0fff2e2 chore: update dependencies 2023-02-08 19:24:46 +01:00
neri f7cc3db25a feat: update styling and layout 2023-02-08 12:34:24 +01:00
neri 24c4307ce5 fix: payload too large, failed binary content type detection 2023-02-02 20:58:34 +01:00
neri 3da9f1117e chore: upgrade dependencies 2023-01-27 20:56:44 +01:00
neri 8f0cfdc91b fix: trim content before detecting urls 2023-01-26 10:20:50 +01:00
neri 900d9ac449 refactor: construct filepaths more idiomatically 2023-01-23 11:23:48 +01:00
neri e538d93d80 feat: larger textarea on textview 2023-01-05 20:43:50 +01:00
neri 5a4a73108a update dependencies 2022-11-24 00:10:11 +01:00
neri f9de6e5164 fix upload without filename 2022-11-24 00:04:47 +01:00
neri 16ba5f025e version 2.0.2 2022-11-22 21:33:37 +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 2de28ca5db correct vary header 2022-11-22 20:46:37 +01:00
neri 44843ab222 use rand distribution for file id generation 2022-11-22 15:56:38 +01:00
neri 756d4b67a0 refactor: fix clippy warnings 2022-11-04 11:37:15 +01:00
neri 7664ba3ec9 don't reread file to perform mime guess 2022-10-26 20:01:29 +02:00
neri 7983557c5a update/fix rate limit environment variables 2022-10-15 14:32:20 +02:00
neri 32fdda0b1e remove debug logs 2022-10-15 14:02:47 +02:00
neri e0ac712a4e improve release binary size 2022-10-08 12:42:20 +02:00
neri 8bc086a524 version 1.2.0 2022-10-07 16:10:05 +02: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 f6628e63da add button to view text content as raw file 2022-10-07 14:59:57 +02:00
neri 1dc2fff0c1 load mime parents to determine text display 2022-10-07 14:29:47 +02:00
neri e4857cde42 perform mime guess on application/octet-stream upload 2022-09-30 15:42:08 +02:00
neri 44aa90369d fix db migration 2022-09-30 15:27:35 +02:00
neri 1527445857 upgrade dependencies and time handling 2022-09-30 14:51:23 +02:00
neri 4ea8797149 always add X-Content-Type-Options: nosniff header 2022-09-30 14:49:04 +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 e0b5a3fc65 fix unlimited max file size template render 2022-07-23 15:02:30 +02:00
neri b414fda39a make template filling code prettier 2022-07-06 19:03:26 +02:00
neri 53c568082d trim trailing whitespace of snippets 2022-07-03 00:48:34 +02:00