Commit Graph

235 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 aae05764f5
mention the contributing guide in readme 2023-12-07 20:20:42 +10:00
blek f4e3aef32e
add contributing guide 2023-12-07 20:19:57 +10:00
blek d018c0c2ba
print warning in resourceD if no resources are specified and report number of resources on startup 2023-11-16 19:03:51 +10:00
blek 6e500cf07b add animation to the header 2023-11-11 09:28:01 +01:00
blek 2efdeabf77 add html-minifier to rust dev dockerfile 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 f976c85e48 print a warning if resourced is disabled 2023-11-11 09:09:48 +01:00
blek cdcecad84d 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-11-11 09:09:48 +01:00
blek edf0591bf0 deploy resourceD within dev compose file 2023-11-11 09:09:48 +01:00
blek 24d1318c9f add air to resourceD
more info: https://github.com/cosmtrek/air
2023-11-11 09:09:48 +01:00
blek 75ce4b1311 add swagger reference 2023-11-11 09:09:48 +01:00
blek 15d47c8fea add route to get if the resourced is enabled 2023-11-11 09:09:48 +01:00
blek 8a6c411bf8 fix wrong symbols in the example config 2023-11-11 09:09:48 +01:00
blek e4d3331823 add option to configure min size to cache proxy 2023-11-11 09:09:48 +01:00
blek cc8c9b911a cached proxied resources 2023-11-11 09:09:48 +01:00
blek 915552e62c proxied resources 2023-11-11 09:09:48 +01:00
blek ee450d237a support for http(s):// urls 2023-11-11 09:09:48 +01:00
blek 90d4e8c93f actually serve the resources 2023-11-11 09:09:48 +01:00
blek 4997750fc6 init repo 2023-11-11 09:09:48 +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 bae978d1ec
fix wrong .env.example time format 2023-11-01 03:42:14 +10:00