aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix route_prefix for css and faviconAli MJ Al-Nasrawy2022-02-062-4/+5
|
* Merge 'jikstra/feat_route_prefix' #682Ali MJ Al-Nasrawy2022-02-061-0/+15
|\
| * Implement --route-prefix to set specific route prefixjikstra2021-12-291-0/+15
| |
* | update to actix-web v4.0-rc.2Ali MJ Al-Nasrawy2022-02-054-7/+61
| |
* | Bump depsSven-Hendrik Haase2022-01-041-1/+1
|/
* Bump depsSven-Hendrik Haase2021-12-091-1/+1
|
* Add test for --spaSven-Hendrik Haase2021-10-261-5/+22
|
* Update clapSven-Hendrik Haase2021-10-181-2/+2
|
* Golf tests a bitSven-Hendrik Haase2021-09-231-38/+30
|
* cargo fmtjikstra2021-09-111-1/+3
|
* Fix testsjikstra2021-09-102-2/+14
|
* Remove unused imports and filesjikstra2021-09-102-16/+0
|
* Fix testsjikstra2021-09-101-2/+2
|
* Merge branch 'master' into feat_raw_modeJikstra2021-09-101-1/+90
|\
| * 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>
* | Apply requested changesjikstra2021-09-101-2/+0
| |
* | cargo fmt & cargo clippyjikstra2021-09-021-5/+3
| |
* | Fix testsjikstra2021-09-021-16/+19
| |
* | Implement a raw rendering mode for recursive folder downloadjikstra2021-09-011-0/+103
|/ | | | | | | - Raw mode only displays file/folders and is more focused on computer processing - Display a banner in footer to recursively download the current folder with wget
* 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
|