Commit Graph

162 Commits

Author SHA1 Message Date
blek 1abde66541
remove the file icon from header 2023-10-21 12:12:01 +10:00
blek 6238bdf94e
remove instance_url as it is not needed 2023-10-21 12:10:14 +10:00
blek f112f0bd43
display branding using the config file provided 2023-10-21 12:08:52 +10:00
blek 462f171a5b
add branding emoji property 2023-10-21 12:06:21 +10:00
blek 2df56a67ea
make all the fields public 2023-10-21 11:56:33 +10:00
blek 352444198f
add instance motto config option 2023-10-21 11:55:07 +10:00
blek 6a95446ebe
move branding options to another field 2023-10-21 11:53:14 +10:00
blek 7c3aab8515
pass config to views 2023-10-21 01:49:36 +10:00
blek 04b52bde74
add a few log messages 2023-10-21 01:35:13 +10:00
blek d8cdef2feb
try to also create the config directory 2023-10-21 01:34:09 +10:00
blek fada0ebc6c
write example if not found 2023-10-21 01:31:08 +10:00
blek e9f146a0a2
add config 2023-10-21 01:23:22 +10:00
blek 23b466ade2
change default config path to a file 2023-10-21 01:12:52 +10:00
blek 26f40621c9
basic config 2023-10-21 01:12:16 +10:00
blek 05a9de1605
new logo 2023-10-21 00:49:21 +10:00
blek f7e83a7c9b
fix dumb directory name mistake 2023-10-21 00:40:11 +10:00
blek 7ff68f00bc
add assets directory to cargo watch list 2023-10-21 00:23:37 +10:00
blek 06a281aa08
trade up unnecessary security for speed 2023-10-15 17:38:20 +10:00
blek f6230ee51a
make the pass change a bit longer 2023-10-15 17:25:20 +10:00
blek 815cab46f2
fix expired method 2023-10-15 17:19:16 +10:00
blek eb92676a47
check the password on when the file is downloaded 2023-10-15 17:16:08 +10:00
blek b1292a2f47
minify js 2023-10-14 13:19:09 +10:00
blek 5fff047b92
remove stupid debug statement 2023-10-14 00:11:53 +10:00
blek 2c21bdbf57
minify css on build 2023-10-14 00:10:47 +10:00
blek 6471a7b8d5
enforce terms and conditions 2023-10-13 23:37:18 +10:00
blek 41e98c2245
add error page 2023-10-13 23:37:03 +10:00
blek ff7324d089
add TOS 2023-10-13 23:13:16 +10:00
blek 57c08871be
fix blek! at footer position 2023-10-13 22:43:10 +10:00
blek 3f363fbe09
add license and authors pages 2023-10-13 22:38:21 +10:00
blek ca0fccb019
delete file after download 2023-10-13 09:44:55 +10:00
blek b281934203
save delete mode 2023-10-13 09:25:51 +10:00
blek cbe4f379da
fix broken expired method 2023-10-13 09:17:30 +10:00
blek 32d5666477
get janitord running in docker 2023-10-12 20:39:28 +10:00
blek 10348afaa7
clean up imports 2023-10-11 23:46:53 +10:00
blek a4f8aa3f89
fix the long ass link thing 2023-10-11 23:38:31 +10:00
blek ff66e120b9
fix hardcoded link 2023-10-11 23:34:19 +10:00
blek 92b8ebffb3
return the file 2023-10-11 07:55:36 +10:00
blek 7d4f771b3d
scratch uploaded file handler 2023-10-10 22:04:15 +10:00
blek 3a2a49480c
remove useless file 2023-10-10 21:57:48 +10:00
blek cd97a4ffb9
fix misplaced links 2023-10-10 21:57:28 +10:00
blek a201fd579d
file uploaded page 2023-10-10 21:56:28 +10:00
blek bddd63e134
dont throw an error if the file is already uploaded 2023-10-10 18:03:20 +10:00
blek 5fbb8fdc9c
optimize the production dockerfile to produce a 2.5MB image 2023-10-09 23:54:14 +10:00
blek 7a0b197dc6
remove the commit display feature as it is more hassle than benefit 2023-10-09 23:08:01 +10:00
blek 3ba86697b7
fix minor git issues with docker 2023-10-09 22:46:47 +10:00
blek f7e69e5067
display the commit hash on the footer 2023-10-09 22:46:32 +10:00
blek 7c525808a4
add note about build dependencies 2023-10-09 20:55:26 +10:00
blek a2bc80d501
bundle in the last commit hash 2023-10-09 20:50:18 +10:00
blek 73739b5bc4
add file password security notice 2023-10-09 20:13:07 +10:00
blek 506b309cbc
minor api docs improvements 2023-10-08 15:15:41 +10:00
blek afadf08b40
add upload method 2023-10-08 15:07:15 +10:00
blek 4f0718e75d
organize API routes 2023-10-08 15:01:48 +10:00
blek 7e3be70a8f
base file api docs 2023-10-07 23:51:18 +10:00
blek 7e0602be23
just hardcode the damn paths 2023-10-07 23:50:48 +10:00
blek 2cbcd06c1a
fix the api path compile error 2023-10-07 19:29:56 +10:00
blek bea8e707a2
fix a few compile errors 2023-10-07 19:29:27 +10:00
blek a6b669a007
add uploads path env variable 2023-10-07 19:29:11 +10:00
blek b54b4a6cd7
use the instance url from .env 2023-10-01 21:46:43 +10:00
blek 4fdc213a05
fix compile errer 2023-10-01 21:45:12 +10:00
blek ce8737b0f5
load instance url from Env struct 2023-10-01 21:42:48 +10:00
blek 8aeac07cf8
actually include the seo tags to the page 2023-10-01 21:17:07 +10:00
blek e73afde9bc
use the instance url variable 2023-10-01 21:14:18 +10:00
blek d5d0c6f4d4
introduce the INSTANCE_URL .env parameter 2023-10-01 21:08:12 +10:00
blek 90c7f3da72
uploaded page 2023-10-01 21:02:19 +10:00
blek 6bd7171173
make the js only script actually work 2023-10-01 20:47:38 +10:00
blek 3798b63c4b
.js-only class 2023-10-01 20:42:22 +10:00
blek 06b2064678
remove stupid whitespace 2023-10-01 18:42:42 +10:00
blek 532acc05f1
tidy up compile warnings 2023-10-01 18:41:34 +10:00
blek d31e3429f1
file upload functionality 2023-10-01 18:40:37 +10:00
blek 9b3bfb6407
actually save the files when submitted 2023-10-01 14:44:19 +10:00
blek 381b8b04b7
update .env.example 2023-10-01 14:43:27 +10:00
blek 355f05320b
auto create usercontent path and throw panic only if it is not a directory 2023-10-01 14:43:04 +10:00
blek c6e1f80b47
all the stuff for uploading the files 2023-10-01 14:17:58 +10:00
blek dc6d19a478
tidy up imports 2023-10-01 12:05:39 +10:00
blek 2773d76e22
handle stuff using rejection 2023-10-01 12:05:08 +10:00
blek 2fa3f14597
stateful warp controllers 2023-10-01 10:14:35 +10:00
blek 61772e3552
gitignore .env in filed 2023-10-01 09:55:58 +10:00
blek 6b99a872ec
get it to run with docker 2023-09-30 19:26:47 +10:00
blek 5cdfd6135c
optimize embedded svg 2023-09-30 19:26:30 +10:00
blek 30164dd592
add dockerignore 2023-09-30 14:59:12 +10:00
blek 2674a53fdf
make Dockerfile.dev be dev version 2023-09-30 14:49:59 +10:00
blek 014c031fbc
dockerify 2023-09-30 14:46:29 +10:00
blek a5d17d29aa
accessibility stuff 2023-09-30 13:55:17 +10:00
blek d7463af380
use h2 for the upload form title 2023-09-30 13:22:33 +10:00
blek f61e16efac
seo optimization 2023-09-30 13:21:57 +10:00
blek 19ba76432c
fix typo in the url 2023-09-30 13:04:33 +10:00
blek 592de5661b
make the name input bit smallet 2023-09-30 13:00:10 +10:00
blek a10a181543
cool input style 2023-09-30 12:57:28 +10:00
blek ca36c9388b
add viewport tag 2023-09-30 12:57:13 +10:00
blek ea4573f8f3
add the file name field 2023-09-30 12:28:34 +10:00
blek c9d94b60da
position all the form at center 2023-09-30 12:23:54 +10:00
blek 107627f357
show cool animation on button file select 2023-09-30 12:19:48 +10:00
blek 25948b007a
add submit button 2023-09-30 12:10:49 +10:00
blek bf226250ed
try to assign file to the input element 2023-09-30 12:06:28 +10:00
blek 9323cb1a85
better ux for drag n drop element 2023-09-30 02:17:22 +10:00
blek a52d410861
add footer 2023-09-30 02:15:22 +10:00
blek 1b763473d5
minor mobile ui improvements 2023-09-30 02:02:20 +10:00
blek 49983c5b35
mobile file upload button 2023-09-30 02:00:40 +10:00
blek 1cd0f33fdc
add nojs note 2023-09-30 01:47:10 +10:00
blek 1e6f2aeb11
drop file functionality 2023-09-30 01:45:12 +10:00