Compare commits

..

20 Commits

Author SHA1 Message Date
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
neri c89c934d04 fix font-family set everywhere, changed spacings and button text size 2021-10-16 00:22:54 +02:00
neri ad4def1569 set font-family better in css 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 f2dfca2b39 add error logging for internal server errors 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
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ services:
DATABASE_USER: datatrash
DATABASE_PASS: jNmLZYr75as0W5TY7iSaIEVPSa2awaWAAgC5Zt8JsRAXbYrscLW4Dk7ZxHL1Bu4v
UPLOAD_MAX_BYTES: 1073741824
AUTH_PASSWORD: peter123
AUTH_PASSWORD: auth_password
NO_AUTH_MAX_TIME: 604800
NO_AUTH_LARGE_FILE_MAX_TIME: 1800
NO_AUTH_LARGE_FILE_SIZE: 10485760