Commit Graph

  • 5a4a73108a update dependencies master neri 2022-11-24 00:10:11 +0100
  • f9de6e5164 fix upload without filename neri 2022-11-24 00:04:09 +0100
  • 16ba5f025e version 2.0.2 neri 2022-11-22 21:33:37 +0100
  • ca56e501a2 refactor upload endpoint neri 2022-11-22 21:32:04 +0100
  • b9849153f0 fix url decoding in /uploaded endpoint neri 2022-11-22 21:11:59 +0100
  • dc2f7ecab0 move multipart error handling into its module neri 2022-11-22 21:11:35 +0100
  • 2de28ca5db correct vary header neri 2022-11-22 20:46:37 +0100
  • 44843ab222 use rand distribution for file id generation neri 2022-11-22 15:56:38 +0100
  • 756d4b67a0 refactor: fix clippy warnings neri 2022-11-04 11:37:10 +0100
  • 7664ba3ec9 don't reread file to perform mime guess neri 2022-10-25 20:55:29 +0200
  • 7983557c5a update/fix rate limit environment variables neri 2022-10-15 14:31:54 +0200
  • 32fdda0b1e remove debug logs neri 2022-10-15 14:02:47 +0200
  • e0ac712a4e improve release binary size neri 2022-10-08 12:42:20 +0200
  • 8bc086a524 version 1.2.0 neri 2022-10-07 15:52:26 +0200
  • 171bfc98a9 use inline string formatting neri 2022-10-07 15:52:12 +0200
  • d7b6d31198 determine corrext file extension for text uploads neri 2022-10-07 15:51:38 +0200
  • f6628e63da add button to view text content as raw file neri 2022-10-07 14:59:57 +0200
  • 1dc2fff0c1 load mime parents to determine text display neri 2022-10-07 12:18:23 +0200
  • e4857cde42 perform mime guess on application/octet-stream upload neri 2022-09-30 15:42:08 +0200
  • 44aa90369d fix db migration neri 2022-09-30 15:06:24 +0200
  • 1527445857 upgrade dependencies and time handling neri 2022-09-30 14:38:33 +0200
  • 4ea8797149 always add X-Content-Type-Options: nosniff header neri 2022-08-24 10:32:51 +0200
  • 4496335f50 add rate limiting for download neri 2022-08-21 18:44:12 +0200
  • 96eadb1723 return correct mime types, improve web security neri 2022-08-18 23:20:56 +0200
  • e0b5a3fc65 fix unlimited max file size template render neri 2022-07-23 15:02:13 +0200
  • b414fda39a make template filling code prettier neri 2022-07-03 01:02:27 +0200
  • 53c568082d trim trailing whitespace of snippets neri 2022-07-03 00:48:34 +0200
  • bf7c762f83 upgrade dependencies neri 2022-07-02 22:28:48 +0200
  • 36b9096325 add cache headers for file downloads neri 2022-06-30 01:04:03 +0200
  • 24fc93cef7 set version to 1.1.2 neri 2022-05-09 23:10:07 +0200
  • 7e2d1d8c71 Revert "add a custom response for full storage" neri 2022-05-09 23:07:24 +0200
  • c6a9eae828 change repos.ctdo.de to git.ctdo.de neri 2022-05-09 23:04:13 +0200
  • d822ae27ae remove wrong lang=javascript attributes from script tags neri 2022-05-09 11:20:17 +0200
  • eddbeec7ef add a custom response for full storage neri 2022-04-30 21:29:41 +0200
  • becfefb070 chore: update dependencies neri 2022-04-24 00:37:20 +0200
  • d9c92a2827 use html view even if content matches text/html neri 2022-04-23 23:40:35 +0200
  • 7f26e7c456 update version in Cargo.lock neri 2022-04-23 15:22:28 +0200
  • 29add89e3d add support for pasting files neri 2022-04-13 18:41:24 +0200
  • 6601e719c9 add FILES_DIR to sample docker-compose environment neri 2022-04-11 00:01:19 +0200
  • 1eeff7b0c4 update version, readme and sample docker-compose file neri 2022-04-10 23:45:32 +0200
  • 166d2e09ba unpin alpine version in dockerfile neri 2022-02-27 02:15:46 +0100
  • d340db3b51 migrate from chrono to time neri 2022-02-27 01:50:29 +0100
  • 925a45a011 update actix and migrate to tokio neri 2022-02-27 00:34:57 +0100
  • 8ca0a9cdee update screenshot neri 2022-01-29 13:21:00 +0100
  • 7f650fa89c center the website neri 2022-01-29 13:16:04 +0100
  • de43726283 update screenshot neri 2022-01-29 12:57:26 +0100
  • 593f93d7d8 don't send content-disposition header for index.html neri 2022-01-29 12:50:44 +0100
  • 78ef78f342 cleanup text response code neri 2021-12-20 15:40:49 +0100
  • 48574b1ec3 prefer to serve raw files over html files neri 2021-12-20 15:00:13 +0100
  • 30d059b7af refactor upload requirements check into separate method neri 2021-12-20 11:12:09 +0100
  • 937f0c439c add `cursor: pointer` to details summary neri 2021-12-20 10:48:06 +0100
  • 48005123de increase margin-top of buttons neri 2021-12-20 01:06:45 +0100
  • 2fb3b257c2 add shortlink to uploaded page neri 2021-12-20 01:06:28 +0100
  • c320f87961 make copying more generic and hide when unsupported neri 2021-12-20 01:05:38 +0100
  • 530ae31c77 fix font family neri 2021-12-10 20:31:04 +0100
  • 424af11918 cache index.html and auth-hide.js in static directory neri 2021-12-08 18:54:55 +0100
  • 6b60399c5f migrate Dockerfile away from rust-musl-builder neri 2021-10-26 23:31:21 +0200
  • ff3bf42342 update to edition 2021 neri 2021-10-26 22:30:10 +0200
  • e568919641 provide sample docker-compose.yml neri 2021-10-16 00:25:55 +0200
  • 5a933641a4 css focus styling neri 2021-10-13 09:34:15 +0200
  • 95dacb20b4 fix panic when files table is empty neri 2021-09-24 22:51:13 +0200
  • a065787487 limit text view to 512KiB, fix deleter sql query neri 2021-09-12 18:51:14 +0200
  • dfd3387ac6 ensure file ids are unique neri 2021-09-11 02:08:47 +0200
  • 2ff464915c simpify db query code neri 2021-09-10 17:44:37 +0200
  • b91ef4ab80 disallow newlines in urls neri 2021-09-10 01:45:12 +0200
  • 32e411a4d5 fix url view content for copying neri 2021-09-09 23:06:04 +0200
  • 923574e235 add repo link and add noopener to links neri 2021-09-09 22:57:13 +0200
  • 84b4c399ca add custom view for link-only text neri 2021-09-09 22:18:42 +0200
  • 922663bf63 set textarea height relative to view-height neri 2021-09-09 20:14:45 +0200
  • f417783821 use tree_magic_db neri 2021-08-18 23:32:58 +0200
  • 8fcc4f19d2 add snippet folder to docker build neri 2021-08-18 23:27:55 +0200
  • c372db6446 show limits explicitly, improve code neri 2021-08-18 23:22:50 +0200
  • 31a429861d always prefer inline display when not downloading neri 2021-08-15 23:23:03 +0200
  • b66b34208c license as agpl neri 2021-06-28 10:09:04 +0200
  • c89c934d04 fix font-family set everywhere, changed spacings and button text size neri 2021-06-28 01:22:52 +0200
  • ad4def1569 set font-family better in css neri 2021-06-28 01:11:10 +0200
  • 983eafb2e1 wrap api usage in html details tag neri 2021-04-16 14:45:43 +0200
  • f2dfca2b39 add error logging for internal server errors neri 2021-04-08 00:33:22 +0200
  • f97b3d79be implement basic auth and additional upload limits for unauthenticated users neri 2021-04-08 00:03:02 +0200
  • 1c43d70457 allow slash after file url neri 2021-04-07 13:02:46 +0200
  • dbafc1849e update usage with delete_on_download, let it scroll on narrow screens neri 2021-04-04 20:29:41 +0200
  • b8fac27511 hide copy buttons when js is not enabled neri 2021-04-04 14:49:34 +0200
  • e49800f05e Don't view file when delete_on_download is set neri 2021-04-04 14:36:38 +0200
  • 313da6b583 Always display content as text if user uploaded it as such neri 2021-04-04 14:33:37 +0200
  • 3bed4de127 extract more modules, fix FileKind enum names neri 2021-04-04 14:30:31 +0200
  • 77fd25b787 implement delete on download, better logging and multipart parsing neri 2021-04-04 03:38:29 +0200
  • c551f40c7a remove openssl from dependencies neri 2021-03-10 00:15:18 +0100
  • 2388e2c2ce decide when to show embedded text based on mime type of file neri 2021-03-10 00:02:02 +0100
  • 1d51c200d6 do mime guessing, fix MAX_UPLOAD_BYTES neri 2021-03-09 23:36:24 +0100
  • 3a3174619d shorter id generation, shorten file url neri 2021-03-09 22:19:06 +0100
  • 9e38960f00 update dependencies, urlencode filename neri 2021-03-09 19:59:10 +0100
  • f100450796 remove unused import neri 2021-02-13 16:49:05 +0100
  • 12544034af Add curl instructions, extract copy into own file neri 2021-02-13 16:47:04 +0100
  • 83ea1a15c7 strip binary in docker build neri 2020-12-03 23:30:54 +0100
  • 4efea5e221 improve error handling neri 2020-12-03 23:30:37 +0100
  • 19ae7ff673 update dependecies neri 2020-09-06 16:19:51 +0200
  • dc99b87bcc add 'copy link' button to upload view neri 2020-08-19 16:26:47 +0200
  • f5a7ed4213 use ein* instead of 1 in validity dropdown neri 2020-08-19 16:26:14 +0200
  • 0ec9e1f5f1 use more css vars neri 2020-08-19 16:25:03 +0200
  • c9d00db39a add 404 page neri 2020-08-19 16:24:42 +0200