Commit Graph

  • e0b5a3fc65 fix unlimited max file size template render master 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
  • 458220df47 more intuitive max file size neri 2020-07-24 19:56:36 +0200
  • 86b2b2bac8 add file_id unique constraint neri 2020-07-24 19:56:17 +0200
  • 6c48d97799 add dockerignore neri 2020-08-07 02:11:56 +0200
  • 76fd093756 improve dockerfile dependency caching and file system structure neri 2020-08-04 23:43:50 +0200
  • 2eb816134d update documentation to new environment variables neri 2020-08-03 02:56:42 +0200
  • 64c2567918 append original file name to urls neri 2020-08-03 02:42:27 +0200
  • b0b03f32a4 update css, fix some a11y issues neri 2020-08-03 02:41:36 +0200
  • b553bd621b remove debug env var read neri 2020-08-03 01:30:45 +0200
  • c57d15c7e3 rustify db url building neri 2020-08-03 01:28:42 +0200
  • e3a7c5329e apply formatter neri 2020-08-03 01:12:42 +0200
  • 180bc08cc5 Merge pull request 'Remove Baseurl Env var and add more flexible db config' (#3) from fionera/datatrash:master into master neri 2020-08-02 23:12:25 +0000
  • 64be9b7f0c Use actix url generator for the uploaded url #3 Fionera 2020-08-03 00:07:16 +0200
  • 3c05a725c2 Removing default env args from dockerfile Fionera 2020-08-02 14:31:48 +0200
  • b512674da9 Add Connection string builder Fionera 2020-08-02 03:08:07 +0200
  • 9f1e1e3818 remove unued .env file neri 2020-07-14 17:56:09 +0200
  • a92d7fe397 do some code cleanup neri 2020-07-14 17:53:43 +0200
  • 594ca9d253 remove content disposition from index.html neri 2020-07-14 16:03:34 +0200
  • 941c07bdaf no compression, better http caching, better css neri 2020-07-14 13:45:14 +0200
  • 07db070107 add asciitrash copy and download button neri 2020-07-14 13:21:57 +0200
  • 8436ae4f4d remove unused dependency neri 2020-07-13 16:26:13 +0200
  • 6ffaf5d582 use correct http semantic on upload redirect neri 2020-07-13 16:08:55 +0200
  • 42a3d61db8 configurable logging, mobile friendliness neri 2020-07-13 15:59:16 +0200
  • 5fb444216e fix deletion race condition neri 2020-07-13 15:29:40 +0200
  • 7403abbe99 db timeout, dont leak inner workings, auto create files dir, fix script injection neri 2020-07-13 15:22:33 +0200