Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | cargo fmt & cargo clippy | jikstra | 2021-09-02 | 1 | -1/+1 | |
| | | ||||||
* | | Fix rebase | jikstra | 2021-09-02 | 1 | -0/+1 | |
| | | ||||||
* | | Implement a raw rendering mode for recursive folder download | jikstra | 2021-09-01 | 1 | -0/+7 | |
|/ | | | | | | | - 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 | |||||
* | Fix clippy::too_many_arguments and rework error .. | Ali MJ Al-Nasrawy | 2021-08-30 | 1 | -66/+26 | |
| | | | | | | | | | | | | | | | | | | | | | ... page rendering Too many arguments are moved around and many of them are already stored in MiniserveConfig. Many of these are used to render error pages. To fix this issue, it was necessary to rework error page rendering: 1. Implement `ResponseError` for `ContextualError` so that it can be returned from service handlers as is and will then be automatically logged to the console and converted into an error response. 2. At service handler level, all error responses are now rendered as plain text. 3. 'error_page_middleware' is now responsible for the rendering of the final error page from plain text reponses. Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | |||||
* | Implement show symlink destination | Dean Li | 2021-08-30 | 1 | -7/+13 | |
| | | | | | | | | | | | | | 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 | |||||
* | migrate to actix-web v4.0-beta | Ali MJ Al-Nasrawy | 2021-08-28 | 1 | -23/+8 | |
| | ||||||
* | Add backslash to percent_encode_sets.PATH_SEGMENT. Fixes #545 | jikstra | 2021-08-27 | 1 | -1/+1 | |
| | ||||||
* | Upgrade qrcodegen (fixes #568) | Sven-Hendrik Haase | 2021-08-25 | 1 | -2/+33 | |
| | ||||||
* | Merge pull request #479 from aliemjay/rfc-resolve-symlinks | Sven-Hendrik Haase | 2021-04-18 | 1 | -20/+18 | |
|\ | | | | | Resolve symlinks on directory listing | |||||
| * | Merge branch 'master' into rfc-resolve-symlinks | Ali MJ Al-Nasrawy | 2021-04-18 | 1 | -10/+20 | |
| |\ | ||||||
| * | | Avoid unneccessary syscalls for entry metadata | Ali MJ Al-Nasrawy | 2021-04-05 | 1 | -4/+7 | |
| | | | | | | | | | | | | | | | | | | For non-symlink files and directories, there is no need to call `std::fs::metadata()` as the metadata are already obtained via `entry.metadata()` | |||||
| * | | Honor --no-symlinks option when listing | Ali MJ Al-Nasrawy | 2021-04-05 | 1 | -1/+1 | |
| | | | ||||||
| * | | Bring back the symlink symbol | Ali MJ Al-Nasrawy | 2021-03-27 | 1 | -0/+11 | |
| | | | ||||||
| * | | Resolve symlinks when listing | Ali MJ Al-Nasrawy | 2021-03-27 | 1 | -19/+3 | |
| | | | | | | | | | | | | | | | | | | This has the benefit of showing the size and modification date of the pointed-to file. Symlink to directories now respects '--dirs-first' option and broken symlinks don't show in directory listing. | |||||
* | | | Rename compression code references to 'archive' | Sven-Hendrik Haase | 2021-04-18 | 1 | -9/+9 | |
| |/ |/| | | | | | | | This name more closely resembles its purpose. For instance, we also now support plain tar archives which are uncompressed but archives nonetheless. | |||||
* | | Merge pull request #492 from deantvv/tar-and-tar-archive | Sven-Hendrik Haase | 2021-04-18 | 1 | -1/+3 | |
|\ \ | | | | | | | Separate tar archive and tar flags | |||||
| * | | Change naming of uncompressed/compressed tarballs | Dean Li | 2021-04-18 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | Use following terminology: uncompressed tarballs => `uncompressed tar archives` compressed ones => `gz-compressed tar archives` | |||||
| * | | Separate tar archive and tar flags | Dean Li | 2021-04-11 | 1 | -1/+3 | |
| |/ | | | | | | | | | | | | | 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 | |||||
* | | Avoid double-encoding file URL | Ali MJ Al-Nasrawy | 2021-04-08 | 1 | -6/+5 | |
| | | | | | | | | | | | | | | | | Now that the '%' char itself is accepted in the file name and is encoded into '%25', this exposed a previously silent bug: `base` is already percent-encoded but it is encoded again when setting `file_url`. This produces erroneous URLs such as: '/%2523/x.y' instead of '/%23/x.y' for the path '/#/x.y' | |||||
* | | Fix percent encoding for URL | Ali MJ Al-Nasrawy | 2021-04-06 | 1 | -5/+14 | |
|/ | | | | Use proper percent-encoding charset for each context. | |||||
* | Add option to show hidden files | Sven-Hendrik Haase | 2021-03-07 | 1 | -1/+2 | |
| | ||||||
* | Fix DoS issue when deliberately sending unconforming URL paths | Sven-Hendrik Haase | 2021-03-07 | 1 | -1/+1 | |
| | ||||||
* | Add program version footer | Tamas Levai | 2021-02-28 | 1 | -0/+3 | |
| | ||||||
* | Add option to list directories first | Tamas Levai | 2021-01-04 | 1 | -0/+6 | |
| | ||||||
* | Fix lint | Sven-Hendrik Haase | 2020-12-28 | 1 | -4/+2 | |
| | ||||||
* | restore default theme cli option and add default theme dark option | Lukas Stabe | 2020-10-01 | 1 | -0/+6 | |
| | ||||||
* | move css out of html into its own route | Lukas Stabe | 2020-09-26 | 1 | -0/+3 | |
| | ||||||
* | [wip] client-side color-scheme handling | Lukas Stabe | 2020-09-25 | 1 | -12/+0 | |
| | ||||||
* | use format! instead of + | Lukas Stabe | 2020-09-24 | 1 | -1/+1 | |
| | ||||||
* | use unreachable instead of panic for unreachable case | Lukas Stabe | 2020-09-24 | 1 | -1/+1 | |
| | ||||||
* | use req.connection_info() and build breadcrumbs iteratively | Lukas Stabe | 2020-09-24 | 1 | -25/+36 | |
| | ||||||
* | add title option (#335) and breadcrumb links in heading | Lukas Stabe | 2020-09-24 | 1 | -8/+42 | |
| | ||||||
* | Add embedded favicon (fixes #364) | Sven-Hendrik Haase | 2020-09-24 | 1 | -0/+3 | |
| | ||||||
* | Fix double-escaping (fixes #354) | Sven-Hendrik Haase | 2020-08-24 | 1 | -5/+3 | |
| | ||||||
* | make linter happy | Lukas Stabe | 2020-08-21 | 1 | -2/+6 | |
| | ||||||
* | make name ordering case-insensitive | Lukas Stabe | 2020-08-21 | 1 | -23/+19 | |
| | ||||||
* | url-decode path in title and heading | Lukas Stabe | 2020-08-21 | 1 | -3/+12 | |
| | ||||||
* | Remove unrelevant comments | equal-l2 | 2020-07-21 | 1 | -13/+0 | |
| | ||||||
* | Update to actix 2 and futures 0.3 | equal-l2 | 2020-07-21 | 1 | -63/+77 | |
| | ||||||
* | cargo fmt | Sven-Hendrik Haase | 2020-07-20 | 1 | -9/+6 | |
| | ||||||
* | Add generate QR code (#330) | wyhaya | 2020-07-05 | 1 | -0/+23 | |
| | | | | * Add generate QR code * Add --qrcode option | |||||
* | Make clippy and cargo fmt happy | Sven-Hendrik Haase | 2020-06-26 | 1 | -1/+1 | |
| | ||||||
* | make sure archiving is opt-in | marawan ragab | 2020-05-10 | 1 | -3/+5 | |
| | ||||||
* | Format everything | Sven-Hendrik Haase | 2020-03-11 | 1 | -6/+5 | |
| | ||||||
* | Ignore clippy warning | Damian | 2020-03-02 | 1 | -1/+1 | |
| | ||||||
* | Added option to disable archives | Damian | 2020-03-02 | 1 | -0/+21 | |
| | ||||||
* | Compare paths instead of strings | boastful-squirrel | 2019-11-22 | 1 | -1/+1 | |
| | ||||||
* | Upgrade percent-encoding to 2.0 | Sven-Hendrik Haase | 2019-07-25 | 1 | -2/+4 | |
| | ||||||
* | Fix tests | Sven-Hendrik Haase | 2019-07-24 | 1 | -13/+13 | |
| | ||||||
* | fix parent directory | wyhaya | 2019-07-08 | 1 | -2/+13 | |
| |