Commit Graph

38 Commits

Author SHA1 Message Date
neri bb35dd97a2 feat: better security with <script nonce=""> 2024-07-26 02:18:56 +02:00
neri 215bca866f feat: show filename in text view if available 2024-01-26 15:08:45 +01:00
neri bcf21b4c79 feat: add icon 2023-07-10 22:39:58 +02:00
neri 2ab33b82d0 fix: remove unnecessary label links, update dependencies 2023-04-26 20:28:48 +02:00
neri 39e72a8eb6 feat: update usage info, include actual origin 2023-03-20 20:33:38 +01:00
neri 4cd3cead88 feat: add abuse mail link to footer 2023-02-11 00:16:51 +01:00
neri f7cc3db25a feat: update styling and layout 2023-02-08 12:34:24 +01:00
neri f6628e63da add button to view text content as raw file 2022-10-07 14:59:57 +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 29add89e3d add support for pasting files 2022-04-13 18:41:49 +02:00
neri 7f650fa89c center the website 2022-01-29 13:16:04 +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 424af11918 cache index.html and auth-hide.js in static directory 2021-12-08 18:54:55 +01: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 c372db6446 show limits explicitly, improve code 2021-10-16 00:22:54 +02:00
neri 983eafb2e1 wrap api usage in html details tag 2021-10-16 00:22:54 +02:00
neri f97b3d79be implement basic auth and additional upload limits for unauthenticated users 2021-10-16 00:22:53 +02:00
neri dbafc1849e update usage with delete_on_download, let it scroll on narrow screens 2021-04-04 20:29:41 +02:00
neri b8fac27511 hide copy buttons when js is not enabled
Fixes #5
2021-04-04 14:49:42 +02:00
neri 77fd25b787 implement delete on download, better logging and multipart parsing
a new database column was introduced for delete on download.
the model should be migrated automatically.

Fixes #4
2021-04-04 03:39:50 +02:00
neri 2388e2c2ce decide when to show embedded text based on mime type of file 2021-03-10 00:02:02 +01:00
neri 12544034af Add curl instructions, extract copy into own file 2021-02-13 16:47:04 +01:00
neri dc99b87bcc add 'copy link' button to upload view 2020-08-19 16:26:47 +02:00
neri b0b03f32a4 update css, fix some a11y issues 2020-08-03 02:41:36 +02:00
Fionera 64be9b7f0c Use actix url generator for the uploaded url 2020-08-03 00:07:16 +02:00
neri 941c07bdaf no compression, better http caching, better css 2020-07-14 13:46:01 +02:00
neri 07db070107 add asciitrash copy and download button 2020-07-14 13:21:57 +02:00
neri 42a3d61db8 configurable logging, mobile friendliness 2020-07-13 15:59:16 +02:00
neri 7403abbe99 db timeout, dont leak inner workings, auto create files dir, fix script injection 2020-07-13 15:22:33 +02:00
neri a5ff24cd0d remove 10 second option 2020-07-12 03:09:45 +02:00
neri e110378ba6 remove compile time postgres dependency, add docker build 2020-07-12 02:26:11 +02:00
neri 4af61bfd86 add environment variable configuration 2020-07-11 23:27:15 +02:00
neri 827baf8eec finish it i guess 2020-07-09 19:27:32 +02:00