Commit Graph

108 Commits

Author SHA1 Message Date
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
neri bf7c762f83 upgrade dependencies 2022-07-02 22:28:48 +02:00
neri 36b9096325 add cache headers for file downloads 2022-06-30 01:04:03 +02:00
neri 24fc93cef7 set version to 1.1.2 2022-05-09 23:10:07 +02:00
neri 7e2d1d8c71 Revert "add a custom response for full storage"
This reverts commit eddbeec7ef.
2022-05-09 23:07:24 +02:00
neri c6a9eae828 change repos.ctdo.de to git.ctdo.de 2022-05-09 23:04:13 +02:00
neri d822ae27ae remove wrong lang=javascript attributes from script tags 2022-05-09 11:20:17 +02:00
neri eddbeec7ef add a custom response for full storage 2022-04-30 21:29:41 +02:00
neri becfefb070 chore: update dependencies 2022-04-24 00:37:20 +02:00
neri d9c92a2827 use html view even if content matches text/html 2022-04-23 23:40:35 +02:00
neri 7f26e7c456 update version in Cargo.lock 2022-04-23 15:22:28 +02:00
neri 29add89e3d add support for pasting files 2022-04-13 18:41:49 +02:00
neri 6601e719c9 add FILES_DIR to sample docker-compose environment 2022-04-11 00:01:19 +02:00
neri 1eeff7b0c4 update version, readme and sample docker-compose file 2022-04-10 23:45:32 +02:00
neri 166d2e09ba unpin alpine version in dockerfile 2022-02-27 02:15:46 +01: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 8ca0a9cdee update screenshot 2022-01-29 13:21:00 +01:00
neri 7f650fa89c center the website 2022-01-29 13:16:04 +01:00
neri de43726283 update screenshot 2022-01-29 12:57:26 +01:00
neri 593f93d7d8 don't send content-disposition header for index.html 2022-01-29 12:50:44 +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 30d059b7af refactor upload requirements check into separate method 2021-12-20 11:12:09 +01:00
neri 937f0c439c add `cursor: pointer` to details summary 2021-12-20 10:48:06 +01:00
neri 48005123de increase margin-top of buttons 2021-12-20 01:06:45 +01:00
neri 2fb3b257c2 add shortlink to uploaded page 2021-12-20 01:06:28 +01:00
neri c320f87961 make copying more generic and hide when unsupported 2021-12-20 01:05:38 +01:00
neri 530ae31c77 fix font family 2021-12-10 20:31:04 +01:00
neri 424af11918 cache index.html and auth-hide.js in static directory 2021-12-08 18:54:55 +01:00
neri 6b60399c5f migrate Dockerfile away from rust-musl-builder 2021-10-26 23:40:41 +02:00
neri ff3bf42342 update to edition 2021 2021-10-26 22:30:10 +02:00
neri e568919641 provide sample docker-compose.yml 2021-10-16 00:26:05 +02:00
neri 5a933641a4 css focus styling 2021-10-16 00:22:54 +02:00
neri 95dacb20b4 fix panic when files table is empty 2021-10-16 00:22:54 +02: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 32e411a4d5 fix url view content for copying 2021-10-16 00:22:54 +02:00
neri 923574e235 add repo link and add noopener to links 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 922663bf63 set textarea height relative to view-height 2021-10-16 00:22:54 +02:00
neri f417783821 use tree_magic_db 2021-10-16 00:22:54 +02:00
neri 8fcc4f19d2 add snippet folder to docker build 2021-10-16 00:22:54 +02:00
neri c372db6446 show limits explicitly, improve code 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 b66b34208c license as agpl 2021-10-16 00:22:54 +02:00