aboutsummaryrefslogtreecommitdiffstats
path: root/tests/upload_files.rs (unfollow)
Commit message (Expand)AuthorFilesLines
2025-03-07Reformat everything with Rust 2024 editionSven-Hendrik Haase1-16/+24
2025-02-22feat: address comments; add in new argument (`temp-directory`); add comments ...Alec Di Vito1-8/+83
2025-02-17feat: implement temporary file uploads and tweak mobile designAlec Di Vito1-2/+17
2025-02-06Get rid of server_no_stderrSven-Hendrik Haase1-4/+4
2025-01-10Reorganize imports to be more consistentSven-Hendrik Haase1-4/+6
2024-01-13Use tokio::fs instead of std::fs to enable async file operations (fixes #445)Sven-Hendrik Haase1-2/+2
2022-12-30Run cargo fmtSven-Hendrik Haase1-1/+2
2022-12-19Fix lintsSven-Hendrik Haase1-3/+3
2022-09-19Return 403 instead of 500 for upload errsJonas Diemer1-1/+1
2022-09-19Switched to using Path in test to handle windows platform.Jonas Diemer1-12/+12
2022-09-18Fixing (hopefully) issue with path on WindowsJonas Diemer1-7/+5
2022-09-18Fixed formattingJonas Diemer1-3/+4
2022-09-18trying to handle paths in a way that works for windowsJonas Diemer1-8/+12
2022-09-18Test dir with starting -Jonas Diemer1-1/+1
2022-09-18sanitize allowed upload paths for cases like ./dirJonas Diemer1-0/+1
2022-09-18Use argument -u instead of --allowed-upload-dirJonas Diemer1-5/+5
2022-09-18check status code when restricted; fix formattingJonas Diemer1-14/+12
2022-09-18test case with two allowed dirsJonas Diemer1-35/+39
2022-09-18Moved use to globalJonas Diemer1-2/+1
2022-09-18renaming of option for clarity in testJonas Diemer1-5/+5
2022-09-18Renamed option for more clarityJonas Diemer1-4/+4
2022-09-18Avoid error message during testing of restrictedJonas Diemer1-2/+2
2022-09-18added test cases for sub directoryJonas Diemer1-5/+10
2022-09-18Added positive test for --restrict-upload-dirJonas Diemer1-0/+45
2022-09-18Removed redundant test code, fixed commentsJonas Diemer1-11/+5
2022-09-18Test that uploads fail if outside restricted dirJonas Diemer1-0/+38
2022-03-13Add test cases for the media-type parametersJohannes May1-0/+20
2021-09-04Better name and docs for symlink testAli MJ Al-Nasrawy1-1/+7
2021-09-04Adress review commentsAli MJ Al-Nasrawy1-4/+8
2021-09-01file_upload.rs: sanitize path inputAli MJ Al-Nasrawy1-1/+80
2021-08-26new partial-injection syntaxAli MJ Al-Nasrawy1-2/+2
2021-08-26tests: Refactor!Ali MJ Al-Nasrawy1-40/+10
2020-03-11Bump reqwests to v0.10Sven-Hendrik Haase1-10/+13
2019-12-18Added test for disabled file uploadsDamian1-0/+46
2019-05-01Make tests into their own proper modules without star importsSven-Hendrik Haase1-1/+11
2019-04-29Move helpers.rs to fixtures/mod.rskhai96_1-2/+2
2019-04-28Split integration test into multiple fileskhai96_1-0/+51