Commit Graph

193 Commits

Author SHA1 Message Date
blek ee7fe2963f fix compile warnings 2023-12-14 11:56:46 +01:00
blek 02c3d6f52d include changes as requested 2023-12-14 11:56:46 +01:00
blek 7cd3c91cf1 properly implement delete method according to config 2023-12-14 11:56:46 +01:00
blek bd12e44838 remove an unused import 2023-12-14 11:56:46 +01:00
blek 3cb1fd978f make the get_all api method actually work 2023-12-14 11:56:46 +01:00
blek 46fbbee459 fix stupid mistakes in config checks 2023-12-14 11:56:46 +01:00
blek 544bacff2a improve the documentation on api upload method 2023-12-14 11:56:46 +01:00
blek dc11b37713 add config checks to api upload 2023-12-14 11:56:46 +01:00
blek f2f3b519a2 add bodies to responses 2023-12-14 11:56:46 +01:00
blek 1d62a0df0f add all the functionality into the upload api 2023-12-14 11:56:46 +01:00
blek f91625729c fix any request being treated as a GUI upload form 2023-12-14 11:56:46 +01:00
blek caaae9b9ae add upload route 2023-12-14 11:56:46 +01:00
blek 84d77c6efb add file password to /api/files/upload swagger spec 2023-12-14 11:56:46 +01:00
blek cdbcd0e158 implement the /api/files/delete method 2023-12-14 11:56:46 +01:00
blek a7ce3bbc21 respect the config.api.METHOD config values 2023-12-14 11:56:46 +01:00
blek e0577a66ae move out the api check code 2023-12-14 11:56:46 +01:00
blek ea15e25fe2
hardcode the midfix variable 2023-12-11 02:42:52 +10:00
blek e84ddee2a4
refactor code for readability 2023-12-09 22:14:09 +10:00
blek 080498d80c
fix #23 2023-12-09 22:13:42 +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