aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add EC key support (closes #1080)Sven-Hendrik Haase2023-04-167-104/+157
|
* Added tests and small fixesSilux2023-02-251-3/+19
| | | | | | ...discovered when writing the tests. Ran rustfmt, clippy::all, cargo test, everything passed and I hope the tests I wrote are good. Now with 100% less forgotten debug logs!
* Make clippy happySven-Hendrik Haase2022-12-301-1/+1
|
* Run cargo fmtSven-Hendrik Haase2022-12-303-7/+5
|
* Fix lintsSven-Hendrik Haase2022-12-199-46/+44
|
* Merge pull request #907 from svenstaro/dependabot/cargo/fake-tty-0.3.1Sven-Hendrik Haase2022-09-201-1/+1
|\ | | | | Bump fake-tty from 0.2.0 to 0.3.1
| * Fix `fake-tty` API breaking changecyqsimon2022-09-191-1/+1
| | | | | | | | It's difficult to create a more trivial commit. Possible, but difficult.
* | Merge pull request #858 from jonasdiemer/restrict-upload-dirSven-Hendrik Haase2022-09-201-2/+89
|\ \ | | | | | | Added option restrict-upload-dir
| * | Return 403 instead of 500 for upload errsJonas Diemer2022-09-191-1/+1
| | |
| * | Switched to using Path in test to handle windows platform.Jonas Diemer2022-09-191-12/+12
| | |
| * | Fixing (hopefully) issue with path on WindowsJonas Diemer2022-09-181-7/+5
| | |
| * | Fixed formattingJonas Diemer2022-09-181-3/+4
| | |
| * | trying to handle paths in a way that works for windowsJonas Diemer2022-09-181-8/+12
| | |
| * | Test dir with starting -Jonas Diemer2022-09-181-1/+1
| | |
| * | sanitize allowed upload paths for cases like ./dirJonas Diemer2022-09-181-0/+1
| | |
| * | Use argument -u instead of --allowed-upload-dirJonas Diemer2022-09-181-5/+5
| | |
| * | check status code when restricted; fix formattingJonas Diemer2022-09-181-14/+12
| | |
| * | test case with two allowed dirsJonas Diemer2022-09-181-35/+39
| | |
| * | Moved use to globalJonas Diemer2022-09-181-2/+1
| | |
| * | renaming of option for clarity in testJonas Diemer2022-09-181-5/+5
| | |
| * | Renamed option for more clarityJonas Diemer2022-09-181-4/+4
| | |
| * | Avoid error message during testing of restrictedJonas Diemer2022-09-181-2/+2
| | |
| * | added test cases for sub directoryJonas Diemer2022-09-181-5/+10
| | |
| * | Added positive test for --restrict-upload-dirJonas Diemer2022-09-181-0/+45
| | |
| * | Removed redundant test code, fixed commentsJonas Diemer2022-09-181-11/+5
| | |
| * | Test that uploads fail if outside restricted dirJonas Diemer2022-09-181-0/+38
| |/
* / Add support for README.txt and README filesGaurav-Lab-PC2022-09-191-10/+12
|/
* Merge branch 'master' into qrcodecyqsimon2022-09-152-2/+130
|\
| * Merge pull request #902 from kianmeng/fix-typosSven-Hendrik Haase2022-09-151-2/+2
| |\ | | | | | | Fix typos
| | * Fix typosKian-Meng Ang2022-09-141-2/+2
| | | | | | | | | | | | Found via `codespell -L crate`.
| * | Check for directories in default request testSven-Hendrik Haase2022-09-151-0/+3
| | |
| * | Reformat readme tests and add some commentsSven-Hendrik Haase2022-09-151-4/+11
| | |
| * | Add README test in rootGaurav2022-09-131-32/+69
| | | | | | | | | | | | | | | Root and Directories' readme test is in different functions to make it easier to catch bugs.
| * | Test for different README.md in all directories.Gaurav2022-09-022-46/+41
| | |
| * | Add test for README.md file for `--readme`Gaurav2022-08-271-6/+23
| | |
| * | Make cases for `--readme` test functionsGaurav2022-08-261-48/+27
| | | | | | | | | | | | | | | * remove extra functions for directory check * add directory listing check for with and without readme
| * | Appease `cargo fmt`Gaurav2022-08-261-3/+4
| | |
| * | Use `TestServer` in `--readme` testsGaurav2022-08-262-43/+8
| | |
| * | Modify `--readme` tests for directoriesGaurav2022-08-261-4/+4
| | |
| * | Add tests for `--readme`Gaurav2022-08-261-0/+124
| |/
* | Add tooltip on QR codecyqsimon2022-09-151-1/+8
| |
* | Fix test namecyqsimon2022-09-151-1/+1
| |
* | Restores webpage QR testscyqsimon2022-09-151-1/+21
| |
* | Remove outdated testcyqsimon2022-09-011-21/+1
| |
* | Fix QR code testcyqsimon2022-08-221-3/+3
| |
* | Fix QR test screwing up terminalcyqsimon2022-08-221-1/+3
| |
* | Disable broken tests for Windowscyqsimon2022-08-221-0/+5
| |
* | Fix testscyqsimon2022-08-221-17/+68
|/
* Apply suggestions from code reviewzhoupeiheng2022-07-282-30/+23
|
* test: check_static_file_route_patternzhoupeiheng2022-07-281-0/+28
|