Commit Graph

156 Commits

Author SHA1 Message Date
blek 99807b9722
fix few obscure errors 2023-10-29 19:25:53 +10:00
blek 32375127a9
display errors 2023-10-29 19:25:33 +10:00
blek 8d5d739568
include branch data 2023-10-29 19:14:58 +10:00
blek b9f0d80dc3
move out code to a function 2023-10-29 19:13:27 +10:00
blek d09f88f7fa
load commit hash at compile time 2023-10-29 19:11:38 +10:00
blek b7b303afb3
remove warp static dir in favor of static_dir! macro 2023-10-29 19:00:54 +10:00
blek 6852536f39
add password field to /api/files/upload method 2023-10-27 20:12:08 +10:00
blek 04a40e26c4
add js UX for pass entry 2023-10-27 20:12:08 +10:00
blek 22444beba4
check for password server side 2023-10-27 20:12:08 +10:00
blek 5fc980a0b6
add password request on upload page 2023-10-27 20:12:08 +10:00
blek 6617efc9fe
add upload_pass config option 2023-10-27 20:12:00 +10:00
blek e81a5e3ec3
fix compile warnings 2023-10-27 01:19:30 +10:00
blek e91e40e0fc
attach user ip to the file record 2023-10-26 23:54:47 +10:00
blek dd4fc52c98
get client ip on upload action 2023-10-26 18:30:35 +10:00
blek 6f9ef9be69
fix proxy ip getter 2023-10-26 18:30:21 +10:00
blek c1220cac79
refactor forms to be more readable 2023-10-26 18:27:57 +10:00
blek 0cdf8fe7fc
add trust proxy env config 2023-10-23 20:54:15 +10:00
blek bc6f8921fb
add server side checks for pass and custom name 2023-10-23 13:21:50 +10:00
blek 5d8b8648cb
add debug mode notice 2023-10-23 13:17:40 +10:00
blek 8d3b81244d
just rewrite the fucking upload method, its too buggy to fix 2023-10-23 01:24:38 +10:00
blek f1ee297b8d
mount config files in their places 2023-10-23 00:03:02 +10:00
blek 022dffa1c4
make the dockerfiles not to fail during build 2023-10-22 23:46:17 +10:00
blek 2af8e44dd9
change path to comply with swagger spec 2023-10-22 15:16:47 +10:00
blek f8172d7e61
move out the files api to a different folder 2023-10-22 15:16:13 +10:00
blek 5d05f7190a
implement /api/get_all 2023-10-22 14:22:19 +10:00
blek 1353145014
API config settings 2023-10-22 13:44:05 +10:00
blek 3ff8759a97
grammar 2023-10-21 16:10:48 +10:00
blek cb933d12dc
remove max_per_ip config param
may be implemented later
2023-10-21 16:10:29 +10:00
blek 5f65a171dd
add config checks on backend 2023-10-21 16:09:36 +10:00
blek 3bb83bb039
fix the purple text on a button 2023-10-21 16:02:13 +10:00
blek f72eb21903
move out the upload form code 2023-10-21 16:01:13 +10:00
blek 761684ee34
<a> color tweaks.. again 2023-10-21 15:59:29 +10:00
blek 583196d685
home button on header title 2023-10-21 15:55:46 +10:00
blek a05954efe4
improve <a> styles a bit more 2023-10-21 15:46:20 +10:00
blek 980f7fc515
move out alert classes to a separate stylesheet 2023-10-21 15:45:56 +10:00
blek 8a445ad096
fix header floating with scroll 2023-10-21 14:42:53 +10:00
blek 8220aa4c46
display less text when uploads are disabled for layout reasons 2023-10-21 13:57:25 +10:00
blek 93d94b8431
add ui banner wall when file uploads are disabled 2023-10-21 13:52:03 +10:00
blek e72a556394
block uploads/names/passwords on UI level according to config 2023-10-21 13:43:37 +10:00
blek f53dc248c9
fix dead link 2023-10-21 12:26:53 +10:00
blek fc8e86bc9a
fix oversized button 2023-10-21 12:26:05 +10:00
blek e7de48d072
improve <a> styles 2023-10-21 12:25:19 +10:00
blek ceabef96ba
add app icon to /authors, overall improve the page's design 2023-10-21 12:22:42 +10:00
blek b9936fb6c9
remove a few whitespaces desperately saving a few bytes 2023-10-21 12:12:58 +10:00
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