This website requires JavaScript.
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
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
f7aa5b7b07
add direct cargo build instruction
neri
2020-07-12 03:16:17 +0200
a5ff24cd0d
remove 10 second option
neri
2020-07-12 03:09:45 +0200
e110378ba6
remove compile time postgres dependency, add docker build
neri
2020-07-12 02:26:11 +0200
deb99942d3
add not yet working multi stage docker build
neri
2020-07-12 00:16:36 +0200
4af61bfd86
add environment variable configuration
neri
2020-07-11 23:27:15 +0200
82b2bd4075
add readme, extract init-db script
neri
2020-07-09 22:01:25 +0200
827baf8eec
finish it i guess
neri
2020-07-09 19:27:24 +0200
fdd418ec3e
Initial commit
neri
2020-07-08 21:26:46 +0200