aboutsummaryrefslogtreecommitdiffstats
path: root/src/file_upload.rs (unfollow)
Commit message (Expand)AuthorFilesLines
2023-09-05rename `file_upload` to `file_op`cyqsimon1-228/+0
2023-09-05Rewrite `contains_symlink`cyqsimon1-8/+20
2023-07-10Create shared file utiity modulecyqsimon1-85/+2
2022-09-20Tidy up some importsSven-Hendrik Haase1-3/+4
2022-09-19Return 403 instead of 500 for upload errsJonas Diemer1-3/+1
2022-09-18cargo fmtJonas Diemer1-6/+8
2022-09-18sanitize allowed upload paths for cases like ./dirJonas Diemer1-1/+1
2022-09-18clarity of commentJonas Diemer1-1/+1
2022-09-18Update src/file_upload.rsJonas Diemer1-1/+1
2022-09-18Renamed option for more clarityJonas Diemer1-3/+2
2022-09-18cleaned up code using any()Jonas Diemer1-11/+5
2022-09-18Switched to use of PathBuf, fixed for subdirsJonas Diemer1-3/+8
2022-09-18Added option restrict-upload-dirJonas Diemer1-0/+13
2022-06-26Create directory (#781)Sheepy1-16/+122
2021-12-28Bump actix-web to v4.0-beta.15jikstra1-9/+6
2021-09-04Adress review commentsAli MJ Al-Nasrawy1-2/+39
2021-09-01file_upload.rs: sanitize path inputAli MJ Al-Nasrawy1-10/+42
2021-08-30Fix clippy::too_many_arguments and rework error ..Ali MJ Al-Nasrawy1-142/+25
2021-08-28file_upload.rs: use async/awaitAli MJ Al-Nasrawy1-133/+100
2021-08-28migrate to actix-web v4.0-betaAli MJ Al-Nasrawy1-1/+1
2021-06-28Fix lintsSven-Hendrik Haase1-2/+2
2021-03-28Refuse to start without explicit path if not attached to interactive terminalSven-Hendrik Haase1-3/+1
2021-03-01Fix clippy warningTamas Levai1-0/+1
2021-02-28Add program version footerTamas Levai1-0/+7
2021-02-19Fix lintsSven-Hendrik Haase1-5/+5
2020-10-01restore default theme cli option and add default theme dark optionLukas Stabe1-0/+17
2020-09-26move css out of html into its own routeLukas Stabe1-0/+7
2020-09-25[wip] client-side color-scheme handlingLukas Stabe1-15/+0
2020-09-24Add embedded favicon (fixes #364)Sven-Hendrik Haase1-0/+7
2020-07-21Update to actix 2 and futures 0.3equal-l21-74/+65
2020-06-26Make clippy and cargo fmt happySven-Hendrik Haase1-1/+1
2020-03-11Format everythingSven-Hendrik Haase1-6/+6
2019-12-20Fixed clippy warningsDamian1-1/+1
2019-08-16Fix Clippy warningboastful-squirrel1-0/+1
2019-08-16Do not 'back to listing' link when random route is setboastful-squirrel1-1/+7
2019-06-09Add dynsSven-Hendrik Haase1-2/+2
2019-05-03Return QueryParameters struct instead of tupleboastful-squirrel1-11/+11
2019-05-02Read query params to handle error back linkboastful-squirrel1-41/+18
2019-05-02Cargo fmtboastful-squirrel1-2/+3
2019-05-01Use HTTP StatusCode for error titleboastful-squirrel1-1/+8
2019-04-27Improved some errorsboastful-squirrel1-1/+1
2019-04-27Themed errorsboastful-squirrel1-22/+86
2019-04-27Combine ContextualError and ContextualErrorKind into onekhai96_1-16/+16
2019-04-26Merged query parameter structs + improved file upload errorsboastful-squirrel1-21/+33
2019-04-24Add a couple more integration testsSven-Hendrik Haase1-4/+5
2019-04-21Properly log error + added render_error methodboastful-squirrel1-6/+6
2019-04-21Print upload/archive errors also in terminalboastful-squirrel1-0/+1
2019-04-21Rework error system + avoid panics in main()boastful-squirrel1-18/+39
2019-04-09Replace format with to_string()Vojtěch Pejša1-4/+1
2019-04-09Change HTTP response code and cleanup previus commit.Vojtěch Pejša1-5/+6