Commit Graph

35 Commits

Author SHA1 Message Date
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
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 6b99a872ec
get it to run with docker 2023-09-30 19:26:47 +10:00
blek a52ba75924
basic file upload UI 2023-09-30 00:41:23 +10:00
blek 261e57143a
basic template 2023-09-29 23:25:20 +10:00
blek d50e8f5887
load the listen address from .env 2023-09-29 20:57:53 +10:00
blek 0eb673f0e5
fix compile warnings 2023-09-29 20:36:02 +10:00
blek bc067bca0c
base code 2023-09-29 20:15:07 +10:00