Compare commits

..

69 Commits

Author SHA1 Message Date
blek 772c5b9bf2
fix compile warnings 2023-12-14 21:04:26 +10:00
blek 18f525e0a2
include changes as requested 2023-12-14 21:04:26 +10:00
blek 66c114b203
properly implement delete method according to config 2023-12-14 21:04:26 +10:00
blek 15954258f5
remove an unused import 2023-12-14 21:04:26 +10:00
blek 27b1919416
make the get_all api method actually work 2023-12-14 21:04:26 +10:00
blek 605a0f76ff
fix stupid mistakes in config checks 2023-12-14 21:04:25 +10:00
blek 7e9d387cc2
improve the documentation on api upload method 2023-12-14 21:04:25 +10:00
blek 616ceb2ad7
add config checks to api upload 2023-12-14 21:04:25 +10:00
blek e2d2d3120d
add bodies to responses 2023-12-14 21:04:25 +10:00
blek 799baa80b5
add all the functionality into the upload api 2023-12-14 21:04:25 +10:00
blek 739bf5e370
fix any request being treated as a GUI upload form 2023-12-14 21:04:25 +10:00
blek 8de83749a3
add upload route 2023-12-14 21:04:24 +10:00
blek b4f804d39b
add file password to /api/files/upload swagger spec 2023-12-14 21:04:24 +10:00
blek 5944d73d6c
implement the /api/files/delete method 2023-12-14 21:04:24 +10:00
blek 103c7c4c8d
respect the config.api.METHOD config values 2023-12-14 21:04:24 +10:00
blek a10333ae16
move out the api check code 2023-12-14 21:04:24 +10:00
blek 1b94c87ffd
hardcode the midfix variable 2023-12-14 21:04:24 +10:00
blek b285a6476e
refactor code for readability 2023-12-14 21:04:24 +10:00
blek ac59ee4648
fix #23 2023-12-14 21:04:23 +10:00
blek 95013d49de
mention the contributing guide in readme 2023-12-14 21:04:23 +10:00
blek b925b2aaca
add contributing guide 2023-12-14 21:04:23 +10:00
blek 55b299b524
print warning in resourceD if no resources are specified and report number of resources on startup 2023-12-14 21:04:23 +10:00
blek 231e26da4a
add animation to the header 2023-12-14 21:04:23 +10:00
blek aeccccd9ec
add html-minifier to rust dev dockerfile 2023-12-14 21:04:23 +10:00
blek 7e2b2bc636
improve dragndrop zone size handling on mobile 2023-12-14 21:04:22 +10:00
blek 2ed60cd045
alternative display for header in mobile mode 2023-12-14 21:04:22 +10:00
blek 8abab247c4
print a warning if resourced is disabled 2023-12-14 21:04:22 +10:00
blek f0d7f8fd8c
deploy resourced to production dockerfile
Note: I did not test the compose file on my machine before submitting the commit. May or may not work.
2023-12-14 21:04:22 +10:00
blek 15c94b8949
deploy resourceD within dev compose file 2023-12-14 21:04:22 +10:00
blek bdd197857e
add air to resourceD
more info: https://github.com/cosmtrek/air
2023-12-14 21:04:21 +10:00
blek b306ab3eb6
add swagger reference 2023-12-14 21:04:21 +10:00
blek 77970e86e7
add route to get if the resourced is enabled 2023-12-14 21:04:21 +10:00
blek b1981db998
fix wrong symbols in the example config 2023-12-14 21:04:21 +10:00
blek f45f52a718
add option to configure min size to cache proxy 2023-12-14 21:04:21 +10:00
blek eb2afaf6d0
cached proxied resources 2023-12-14 21:04:21 +10:00
blek 9e7c207075
proxied resources 2023-12-14 21:04:20 +10:00
blek 7e664b311e
support for http(s):// urls 2023-12-14 21:04:20 +10:00
blek 7e23b3aea0
actually serve the resources 2023-12-14 21:04:20 +10:00
blek 3624cfe568
init repo 2023-12-14 21:04:17 +10:00
blek 9ca7174c85
fix a few problems with template sources 2023-12-14 21:04:17 +10:00
blek 68471b6e4f
minify templates on compile time 2023-12-14 21:04:16 +10:00
blek 4f65ec5229
fix drag and drop size 2023-12-14 21:04:16 +10:00
blek c01b4ea73f
add a ToS switch 2023-12-14 21:04:16 +10:00
blek a9955f5e99
make code blocks always in one line 2023-12-14 21:04:16 +10:00
blek 99e3f8ba67
match colors with the console UI 2023-12-14 21:04:16 +10:00
blek 60f6d973c8
web UI for curlapi/help 2023-12-14 21:04:16 +10:00
blek 82acf6cb50
curl API help 2023-12-14 21:04:15 +10:00
blek 6b4ddb8756
fix compile warning 2023-12-14 21:04:15 +10:00
blek 67ba2308b7
scratch curl API 2023-12-14 21:04:15 +10:00
blek 634afe00fe
fix wrong .env.example time format 2023-12-14 21:04:15 +10:00
blek 5e06986ae1
fix typo 2023-12-14 21:04:15 +10:00
blek 4b7899e8d4
get rid of function panics in the build.rs 2023-12-14 21:04:15 +10:00
blek b81ebab96e
fix filed dockerfile and use alpine as a base image 2023-12-14 21:04:14 +10:00
blek 3cba73fc1a
fix prod dockerfile build error 2023-12-14 21:04:14 +10:00
blek 052d40dc8c
bump Cargo.toml version 2023-12-14 21:04:14 +10:00
blek 62869da989
print version at the footer 2023-12-14 21:04:14 +10:00
blek 7bcc5e11b9
fix few obscure errors 2023-12-14 21:04:14 +10:00
blek a2020a57be
display errors 2023-12-14 21:04:14 +10:00
blek 22f9c9ac78
include branch data 2023-12-14 21:04:13 +10:00
blek 6904a670a8
move out code to a function 2023-12-14 21:04:13 +10:00
blek 98c22d2408
load commit hash at compile time 2023-12-14 21:04:13 +10:00
blek ce7f70ad7b
remove warp static dir in favor of static_dir! macro 2023-12-14 21:04:13 +10:00
blek 545d19c42f
add note about extensive configuration 2023-12-14 21:04:13 +10:00
blek 1e7783154c
init: DEPLOYING.md 2023-12-14 21:04:13 +10:00
blek cd87766fca
add password field to /api/files/upload method 2023-12-14 21:04:12 +10:00
blek 49dae841bc
add js UX for pass entry 2023-12-14 21:04:12 +10:00
blek fc036b82e2
check for password server side 2023-12-14 21:04:12 +10:00
blek d2e32d6d38
add password request on upload page 2023-12-14 21:04:12 +10:00
blek 98b4934ddb
add upload_pass config option 2023-12-14 21:04:12 +10:00

Diff Content Not Available