aboutsummaryrefslogtreecommitdiffstats
path: root/src/listing.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add backslash to percent_encode_sets.PATH_SEGMENT. Fixes #545jikstra2021-08-271-1/+1
|
* Upgrade qrcodegen (fixes #568)Sven-Hendrik Haase2021-08-251-2/+33
|
* Merge pull request #479 from aliemjay/rfc-resolve-symlinksSven-Hendrik Haase2021-04-181-20/+18
|\ | | | | Resolve symlinks on directory listing
| * Merge branch 'master' into rfc-resolve-symlinksAli MJ Al-Nasrawy2021-04-181-10/+20
| |\
| * | Avoid unneccessary syscalls for entry metadataAli MJ Al-Nasrawy2021-04-051-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 listingAli MJ Al-Nasrawy2021-04-051-1/+1
| | |
| * | Bring back the symlink symbolAli MJ Al-Nasrawy2021-03-271-0/+11
| | |
| * | Resolve symlinks when listingAli MJ Al-Nasrawy2021-03-271-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 Haase2021-04-181-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-archiveSven-Hendrik Haase2021-04-181-1/+3
|\ \ | | | | | | Separate tar archive and tar flags
| * | Change naming of uncompressed/compressed tarballsDean Li2021-04-181-3/+3
| | | | | | | | | | | | | | | | | | Use following terminology: uncompressed tarballs => `uncompressed tar archives` compressed ones => `gz-compressed tar archives`
| * | Separate tar archive and tar flagsDean Li2021-04-111-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 URLAli MJ Al-Nasrawy2021-04-081-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 URLAli MJ Al-Nasrawy2021-04-061-5/+14
|/ | | | Use proper percent-encoding charset for each context.
* Add option to show hidden filesSven-Hendrik Haase2021-03-071-1/+2
|
* Fix DoS issue when deliberately sending unconforming URL pathsSven-Hendrik Haase2021-03-071-1/+1
|
* Add program version footerTamas Levai2021-02-281-0/+3
|
* Add option to list directories firstTamas Levai2021-01-041-0/+6
|
* Fix lintSven-Hendrik Haase2020-12-281-4/+2
|
* restore default theme cli option and add default theme dark optionLukas Stabe2020-10-011-0/+6
|
* move css out of html into its own routeLukas Stabe2020-09-261-0/+3
|
* [wip] client-side color-scheme handlingLukas Stabe2020-09-251-12/+0
|
* use format! instead of +Lukas Stabe2020-09-241-1/+1
|
* use unreachable instead of panic for unreachable caseLukas Stabe2020-09-241-1/+1
|
* use req.connection_info() and build breadcrumbs iterativelyLukas Stabe2020-09-241-25/+36
|
* add title option (#335) and breadcrumb links in headingLukas Stabe2020-09-241-8/+42
|
* Add embedded favicon (fixes #364)Sven-Hendrik Haase2020-09-241-0/+3
|
* Fix double-escaping (fixes #354)Sven-Hendrik Haase2020-08-241-5/+3
|
* make linter happyLukas Stabe2020-08-211-2/+6
|
* make name ordering case-insensitiveLukas Stabe2020-08-211-23/+19
|
* url-decode path in title and headingLukas Stabe2020-08-211-3/+12
|
* Remove unrelevant commentsequal-l22020-07-211-13/+0
|
* Update to actix 2 and futures 0.3equal-l22020-07-211-63/+77
|
* cargo fmtSven-Hendrik Haase2020-07-201-9/+6
|
* Add generate QR code (#330)wyhaya2020-07-051-0/+23
| | | | * Add generate QR code * Add --qrcode option
* Make clippy and cargo fmt happySven-Hendrik Haase2020-06-261-1/+1
|
* make sure archiving is opt-inmarawan ragab2020-05-101-3/+5
|
* Format everythingSven-Hendrik Haase2020-03-111-6/+5
|
* Ignore clippy warningDamian2020-03-021-1/+1
|
* Added option to disable archivesDamian2020-03-021-0/+21
|
* Compare paths instead of stringsboastful-squirrel2019-11-221-1/+1
|
* Upgrade percent-encoding to 2.0Sven-Hendrik Haase2019-07-251-2/+4
|
* Fix testsSven-Hendrik Haase2019-07-241-13/+13
|
* fix parent directorywyhaya2019-07-081-2/+13
|
* Add doc and commentsAlexandre Bury2019-06-241-4/+13
|
* Enable streaming tarball downloadAlexandre Bury2019-06-141-38/+38
| | | | Also add a non-compressed tar option
* refactor codemahdi2019-05-311-2/+2
|
* Return QueryParameters struct instead of tupleboastful-squirrel2019-05-031-26/+24
|
* Merge branch 'master' into themed-errorsboastful-squirrel2019-05-031-0/+1
|\
| * Ignore clippy warningskhai96_2019-05-011-0/+1
| |