aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Better name and docs for symlink testAli MJ Al-Nasrawy2021-09-041-1/+7
|
* Adress review commentsAli MJ Al-Nasrawy2021-09-041-4/+8
|
* file_upload.rs: sanitize path inputAli MJ Al-Nasrawy2021-09-011-1/+80
| | | | Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
* Implement show symlink destinationDean Li2021-08-301-4/+15
| | | | | | | | | | | | | Add option `show_symlink_info` to represent show symlink info or not. (Default to no) Show symlink destination after symlink symbol in directory listing Resemble `ls -l` and also the short argument select for this feature is also `-l`. Basic testing is included. Related to #499
* order interface verticallyAli MJ Al-Nasrawy2021-08-301-9/+6
|
* tests for binding behaviorAli MJ Al-Nasrawy2021-08-301-0/+91
|
* Switch from structopt to clap v3Sven-Hendrik Haase2021-08-301-1/+2
|
* Fix stderr output in test index_fallback_to_listingSven-Hendrik Haase2021-08-291-3/+4
|
* list directory if index not foundAli MJ Al-Nasrawy2021-08-291-0/+11
|
* Execute backslash test only on non windows systemsjikstra2021-08-281-0/+1
|
* Add file with backslash to the test FILES fixturejikstra2021-08-281-0/+1
|
* Add TLS support via rustls (fixes #18)Sven-Hendrik Haase2021-08-275-8/+156
|
* Golf tests a bit moreSven-Hendrik Haase2021-08-261-9/+3
|
* new partial-injection syntaxAli MJ Al-Nasrawy2021-08-264-8/+8
|
* address commentsAli MJ Al-Nasrawy2021-08-264-23/+41
|
* tests: Refactor!Ali MJ Al-Nasrawy2021-08-268-442/+192
| | | | | | | | | | | Remove duplicate code responsible for the initial setup and teardown of the test binary. This introduces `TestServer` as a resource manager for a running miniserve binary, which can be created with the fixtures `server()` and `server_no_stderr()` It also provides convenience function for handling server url.
* Merge branch 'master' into rfc-resolve-symlinksAli MJ Al-Nasrawy2021-04-184-3/+80
|\
| * Merge pull request #492 from deantvv/tar-and-tar-archiveSven-Hendrik Haase2021-04-181-0/+41
| |\ | | | | | | Separate tar archive and tar flags
| | * Separate tar archive and tar flagsDean Li2021-04-111-0/+41
| | | | | | | | | | | | | | | | | | | | | It used to have one flag (-r) to enable both tar archive and tar. Now it has two flags [ -r: for tar, -g: for tar archive]. Related to #451
| * | Test URL encoding for special charactersAli MJ Al-Nasrawy2021-04-062-0/+9
| |/
| * Fix testsSven-Hendrik Haase2021-03-281-2/+3
| |
| * Generate completions with `miniserve --print-completions <shell>`Andy Freeland2021-03-281-1/+27
| | | | | | | | | | | | | | | | This patch adds a `--print-completions` option to generate shell completion files at runtime. This ensures the completions are always up to date. Fixes #377.
* | Test for --no-symlink optionAli MJ Al-Nasrawy2021-04-111-8/+18
| |
* | Test for symlink directories and filesAli MJ Al-Nasrawy2021-03-311-0/+64
|/ | | | | Replace some of the testing files and directories with symbolic links. They should behave exactly the same.
* Merge pull request #471 from svenstaro/show-hiddenSven-Hendrik Haase2021-03-202-4/+95
|\ | | | | Show hidden
| * Add negative test for hidden directoriesSven-Hendrik Haase2021-03-201-0/+31
| |
| * Finish up --hidden featureSven-Hendrik Haase2021-03-202-8/+3
| |
| * Add option to show hidden filesSven-Hendrik Haase2021-03-072-4/+69
| |
* | Hide some annoying test outputSven-Hendrik Haase2021-03-201-0/+1
|/
* Test that all directories properly get trailing slashesSven-Hendrik Haase2021-03-071-6/+17
|
* Fix DoS issue when deliberately sending unconforming URL pathsSven-Hendrik Haase2021-03-071-0/+30
|
* Fix formatSven-Hendrik Haase2021-02-281-1/+2
|
* Re-do the way setting multiple headers worksSven-Hendrik Haase2021-02-281-17/+11
|
* Fix grammarSven-Hendrik Haase2021-02-271-1/+1
|
* Multiple headers support for custom headersDean Li2021-02-271-9/+19
|
* Add test for custom headerDean Li2021-02-241-0/+33
|
* add test for breadcrumbsLukas Stabe2020-09-241-0/+60
|
* Bump Dockerfile nightly versionSven-Hendrik Haase2020-08-251-1/+0
|
* Fix formattingSven-Hendrik Haase2020-08-242-1/+3
|
* Try to fix file names on WindowsSven-Hendrik Haase2020-08-242-2/+8
|
* Fix double-escaping (fixes #354)Sven-Hendrik Haase2020-08-242-2/+9
|
* cargo fmtSven-Hendrik Haase2020-07-202-5/+5
|
* Add generate QR code (#330)wyhaya2020-07-051-0/+88
| | | | * Add generate QR code * Add --qrcode option
* Cast port to u16Isaac Parker2020-06-291-3/+2
|
* Bind to random port when port 0 specifiedIsaac Parker2020-06-281-0/+26
|
* make sure archiving is opt-inmarawan ragab2020-05-101-1/+0
|
* add zip download testmarawan ragab2020-05-031-0/+5
|
* Format everythingSven-Hendrik Haase2020-03-114-6/+9
|
* Fix tests for reqwests v0.10Sven-Hendrik Haase2020-03-111-11/+14
|
* Merge pull request #235 from DamianX/archivesSven-Hendrik Haase2020-03-111-0/+46
|\ | | | | Added option to disable archives