Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reorganize imports to be more consistent | Sven-Hendrik Haase | 2025-01-10 | 1 | -8/+10 |
| | |||||
* | Bump reqwest to v0.12 | Sven-Hendrik Haase | 2024-06-09 | 1 | -1/+1 |
| | |||||
* | Remove explicit dependency on http | Sven-Hendrik Haase | 2024-06-09 | 1 | -1/+1 |
| | | | | We now use the one supplied by actix-web. | ||||
* | tweak test assertions | Carson McManus | 2024-01-30 | 1 | -1/+5 |
| | |||||
* | add unit tests | Carson McManus | 2024-01-30 | 1 | -0/+31 |
| | |||||
* | Add pretty urls | Norberto Lopes | 2023-08-06 | 1 | -0/+18 |
| | | | | | | | | | | This adds a new flag namely `--pretty-urls` that when enabled will serve the equivalent `.html` if it exists. Very much the same approach that [`netlify` uses](https://docs.netlify.com/site-deploys/post-processing/). It can be quite useful when having hrefs like `/about` serve `/about.html`. | ||||
* | Run cargo fmt | Sven-Hendrik Haase | 2022-12-30 | 1 | -4/+2 |
| | |||||
* | Fix lints | Sven-Hendrik Haase | 2022-12-19 | 1 | -15/+15 |
| | |||||
* | Merge pull request #902 from kianmeng/fix-typos | Sven-Hendrik Haase | 2022-09-15 | 1 | -2/+2 |
|\ | | | | | Fix typos | ||||
| * | Fix typos | Kian-Meng Ang | 2022-09-14 | 1 | -2/+2 |
| | | | | | | | | Found via `codespell -L crate`. | ||||
* | | Check for directories in default request test | Sven-Hendrik Haase | 2022-09-15 | 1 | -0/+3 |
|/ | |||||
* | Apply suggestions from code review | zhoupeiheng | 2022-07-28 | 1 | -2/+23 |
| | |||||
* | Fix test | cyqsimon | 2022-07-20 | 1 | -1/+1 |
| | |||||
* | Fix security issue with --no-symlinks | Sven-Hendrik Haase | 2022-05-18 | 1 | -21/+27 |
| | | | | | Even with --no-symlinks specified, if a direct path to a symlink had been entered, it would be resolved. This fixes that behavior and improves tests to ensure this behavior. | ||||
* | Fix route_prefix for css and favicon | Ali MJ Al-Nasrawy | 2022-02-06 | 1 | -4/+4 |
| | |||||
* | Implement --route-prefix to set specific route prefix | jikstra | 2021-12-29 | 1 | -0/+15 |
| | |||||
* | Add test for --spa | Sven-Hendrik Haase | 2021-10-26 | 1 | -5/+22 |
| | |||||
* | Implement show symlink destination | Dean Li | 2021-08-30 | 1 | -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 | ||||
* | Fix stderr output in test index_fallback_to_listing | Sven-Hendrik Haase | 2021-08-29 | 1 | -3/+4 |
| | |||||
* | list directory if index not found | Ali MJ Al-Nasrawy | 2021-08-29 | 1 | -0/+11 |
| | |||||
* | new partial-injection syntax | Ali MJ Al-Nasrawy | 2021-08-26 | 1 | -2/+2 |
| | |||||
* | address comments | Ali MJ Al-Nasrawy | 2021-08-26 | 1 | -4/+8 |
| | |||||
* | tests: Refactor! | Ali MJ Al-Nasrawy | 2021-08-26 | 1 | -87/+23 |
| | | | | | | | | | | | 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-symlinks | Ali MJ Al-Nasrawy | 2021-04-18 | 1 | -2/+9 |
|\ | |||||
| * | Test URL encoding for special characters | Ali MJ Al-Nasrawy | 2021-04-06 | 1 | -0/+6 |
| | | |||||
| * | Fix tests | Sven-Hendrik Haase | 2021-03-28 | 1 | -2/+3 |
| | | |||||
* | | Test for --no-symlink option | Ali MJ Al-Nasrawy | 2021-04-11 | 1 | -8/+18 |
| | | |||||
* | | Test for symlink directories and files | Ali MJ Al-Nasrawy | 2021-03-31 | 1 | -0/+64 |
|/ | | | | | Replace some of the testing files and directories with symbolic links. They should behave exactly the same. | ||||
* | Add negative test for hidden directories | Sven-Hendrik Haase | 2021-03-20 | 1 | -0/+31 |
| | |||||
* | Finish up --hidden feature | Sven-Hendrik Haase | 2021-03-20 | 1 | -7/+2 |
| | |||||
* | Add option to show hidden files | Sven-Hendrik Haase | 2021-03-07 | 1 | -1/+52 |
| | |||||
* | Bump Dockerfile nightly version | Sven-Hendrik Haase | 2020-08-25 | 1 | -1/+0 |
| | |||||
* | Fix formatting | Sven-Hendrik Haase | 2020-08-24 | 1 | -0/+1 |
| | |||||
* | Try to fix file names on Windows | Sven-Hendrik Haase | 2020-08-24 | 1 | -1/+0 |
| | |||||
* | Fix double-escaping (fixes #354) | Sven-Hendrik Haase | 2020-08-24 | 1 | -1/+8 |
| | |||||
* | cargo fmt | Sven-Hendrik Haase | 2020-07-20 | 1 | -1/+1 |
| | |||||
* | Cast port to u16 | Isaac Parker | 2020-06-29 | 1 | -3/+2 |
| | |||||
* | Bind to random port when port 0 specified | Isaac Parker | 2020-06-28 | 1 | -0/+26 |
| | |||||
* | Format everything | Sven-Hendrik Haase | 2020-03-11 | 1 | -3/+5 |
| | |||||
* | Bump reqwests to v0.10 | Sven-Hendrik Haase | 2020-03-11 | 1 | -3/+3 |
| | |||||
* | specify port to avoid test conflict | Eli Flanagan | 2020-02-03 | 1 | -1/+3 |
| | |||||
* | Merge branch 'master' into fix-156 | Eli Flanagan | 2019-09-25 | 1 | -1/+0 |
|\ | |||||
* | | add a test for missing index file | Eli Flanagan | 2019-09-25 | 1 | -1/+26 |
|/ | |||||
* | Remove unnecessary import | Sven-Hendrik Haase | 2019-07-14 | 1 | -1/+0 |
| | |||||
* | Also check directories in tests | Sven-Hendrik Haase | 2019-07-07 | 1 | -3/+16 |
| | |||||
* | Make tests into their own proper modules without star imports | Sven-Hendrik Haase | 2019-05-01 | 1 | -1/+10 |
| | | | | Star imports make it hard to see which imports a module is actually using so I prefer to have this be a bit more explicit. | ||||
* | Move helpers.rs to fixtures/mod.rs | khai96_ | 2019-04-29 | 1 | -2/+2 |
| | |||||
* | Split integration test into multiple files | khai96_ | 2019-04-28 | 1 | -0/+44 |