Commit Graph

58 Commits

Author SHA1 Message Date
blek 93d94b8431
add ui banner wall when file uploads are disabled 2023-10-21 13:52:03 +10:00
blek f53dc248c9
fix dead link 2023-10-21 12:26:53 +10:00
blek 6238bdf94e
remove instance_url as it is not needed 2023-10-21 12:10:14 +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 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 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 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 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 10348afaa7
clean up imports 2023-10-11 23:46:53 +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 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 7a0b197dc6
remove the commit display feature as it is more hassle than benefit 2023-10-09 23:08:01 +10:00
blek f7e69e5067
display the commit hash on the footer 2023-10-09 22:46:32 +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 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 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 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 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 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