Commit Graph

185 Commits

Author SHA1 Message Date
blek d277fd451e
fix stupid mistakes in config checks 2023-12-13 00:55:39 +10:00
blek 86f6958a02
improve the documentation on api upload method 2023-12-13 00:47:47 +10:00
blek d5c49d73a9
add config checks to api upload 2023-12-12 17:11:09 +10:00
blek 8d8d1b5a2e
add bodies to responses 2023-12-12 17:02:50 +10:00
blek 7ad7a5acf0
add all the functionality into the upload api 2023-12-12 17:01:29 +10:00
blek ae90e5474b
fix any request being treated as a GUI upload form 2023-12-12 16:30:03 +10:00
blek c298a188bf
add upload route 2023-12-12 16:28:44 +10:00
blek 400c3dc129
add file password to /api/files/upload swagger spec 2023-12-11 09:58:49 +10:00
blek bf923244fa
implement the /api/files/delete method 2023-12-09 23:22:33 +10:00
blek 1aa8a77b78
respect the config.api.METHOD config values 2023-12-09 23:02:23 +10:00
blek 3c3ca2b87a
move out the api check code 2023-12-09 22:57:41 +10:00
blek 6e500cf07b add animation to the header 2023-11-11 09:28:01 +01:00
blek 64edbd48d5 improve dragndrop zone size handling on mobile 2023-11-11 09:28:01 +01:00
blek 3c30f964f0 alternative display for header in mobile mode 2023-11-11 09:28:01 +01:00
blek 1aaebdb24d
fix a few problems with template sources 2023-11-06 13:53:08 +10:00
blek 599056a33b
minify templates on compile time 2023-11-06 13:46:05 +10:00
blek a685f5db84
fix drag and drop size 2023-11-03 14:50:02 +10:00
blek 72abd4d5bd
add a ToS switch 2023-11-03 00:08:45 +10:00
blek 57ea39ceda
make code blocks always in one line 2023-11-03 00:02:40 +10:00
blek 575f7d31e8
match colors with the console UI 2023-11-02 23:49:26 +10:00
blek 79ef0634f9
web UI for curlapi/help 2023-11-02 23:44:46 +10:00
blek aca37bc52b
curl API help 2023-11-02 20:00:39 +10:00
blek 164af11b8b
fix compile warning 2023-11-02 19:01:21 +10:00
blek 9ccd3d6212
scratch curl API 2023-11-01 19:19:51 +10:00
blek 6120ce7a30
get rid of function panics in the build.rs 2023-11-01 01:28:00 +10:00
blek 6302d11acd
fix filed dockerfile and use alpine as a base image 2023-11-01 01:26:57 +10:00
blek b1463519d7
fix prod dockerfile build error 2023-11-01 00:46:54 +10:00
blek a0c6c27e8c
bump Cargo.toml version 2023-10-29 19:50:09 +10:00
blek 12614078ad
print version at the footer 2023-10-29 19:44:31 +10:00
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