aboutsummaryrefslogtreecommitdiffstats
path: root/src/renderer.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [fix] Sorting breaks subdir downloadingVamist2022-12-061-1/+1
| | | - Small check in render.rs make_link_with_trailing_slash to return nothing if link is empty, instead of adding a /
* Bump depsSven-Hendrik Haase2022-11-111-1/+5
|
* RefactoringIvkinStanislav2022-11-101-4/+2
|
* Update datetime formatIvkinStanislav2022-11-101-1/+1
| | | Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com>
* Change DateTime formats.ivkin2022-10-231-11/+6
|
* Upgrade clap to v4Sven-Hendrik Haase2022-10-121-3/+13
|
* Bump depsSven-Hendrik Haase2022-09-261-2/+2
|
* Tidy up some importsSven-Hendrik Haase2022-09-201-4/+3
|
* Merge pull request #858 from jonasdiemer/restrict-upload-dirSven-Hendrik Haase2022-09-201-1/+7
|\ | | | | Added option restrict-upload-dir
| * Changed handling of allowed path to fix WindowsJonas Diemer2022-09-191-1/+1
| |
| * cargo fmtJonas Diemer2022-09-181-3/+6
| |
| * Renamed option for more clarityJonas Diemer2022-09-181-1/+1
| |
| * cleaned up code using any()Jonas Diemer2022-09-181-14/+2
| |
| * Switched to use of PathBuf, fixed for subdirsJonas Diemer2022-09-181-8/+15
| |
| * fixed rendering of upload if non-restrictedJonas Diemer2022-09-181-1/+2
| |
| * Added option restrict-upload-dirJonas Diemer2022-09-181-1/+8
| |
* | Fix `fast_qr` API breaking changecyqsimon2022-09-191-1/+1
|/
* Merge branch 'master' into qrcodecyqsimon2022-09-151-3/+5
|\
| * Add tests for `--readme`Gaurav2022-08-261-3/+5
| |
* | Add tooltip on QR codecyqsimon2022-09-151-1/+1
| |
* | Move QR margin size into `consts`cyqsimon2022-09-011-1/+1
| |
* | Switch to `fast_qr` cratecyqsimon2022-09-011-26/+10
| |
* | Fix drop-down QR codecyqsimon2022-09-011-38/+57
| |
* | Move QR code page style to `style.scss`cyqsimon2022-08-221-30/+17
| |
* | Fix testscyqsimon2022-08-221-1/+1
| |
* | Switch to `qrcode` libcyqsimon2022-08-221-0/+40
|/
* Simplify README code a bitSven-Hendrik Haase2022-08-141-8/+8
|
* Edit Readme struct to remove render boolGaurav2022-08-141-4/+4
|
* Make Readme structGaurav2022-08-141-12/+5
|
* Add `--readme` info and reformatGaurav2022-08-141-9/+10
|
* Satisfy cargo fmtGaurav2022-08-141-12/+12
|
* Replace `markdown` by `comrak`; Render support for nested dirsGaurav2022-08-141-4/+9
| | | | | | | * README.md will be rendered at currently visiting directory instead of just in the root. * Rendering is now done by comrak, which seems heavy but has a lot more features.
* Add support for readme renderingGaurav2022-08-141-0/+9
|
* Create directory (#781)Sheepy2022-06-261-13/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ability to make directory Frontend for making directories Fix potential security vulnerability (CWE-23) Add tests Update README.md Disallow using parent directories altogether Fix formatting Fix clippy warnings Address review comments Update README.md Change `making` to `creation` Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com> Have make directory flag require file upload flag Address review comments * Disallow uploading files and making directories through symlinks when disabled * Add test * Clippy formatting changes * Add test doc comment
* Fix lintSven-Hendrik Haase2022-06-071-2/+2
|
* Flip usage of theme selector showing functionality added in last commitSven-Hendrik Haase2022-05-231-3/+3
| | | | This is so it doesn't break current configurations. Let's not surprise the users.
* Add configuration `change-theme` (#805)FLAMINGO2022-05-231-10/+12
| | | Add configuration `change-theme`Add configuration `change-theme`
* Allow to set the accept input attribute to arbitrary valuesJohannes May2022-03-121-1/+4
|
* Make more use of flex in mobile formatting (fixes #142)Sven-Hendrik Haase2022-02-061-5/+9
|
* Fix route_prefix for css and faviconAli MJ Al-Nasrawy2022-02-061-2/+2
|
* Implement --route-prefix to set specific route prefixjikstra2021-12-291-5/+2
|
* Bump depsSven-Hendrik Haase2021-12-091-1/+1
|
* Upgrade to Rust 2021 editionSven-Hendrik Haase2021-10-261-4/+4
|
* Merge pull request #508 from Jikstra/feat_raw_modeSven-Hendrik Haase2021-09-231-16/+96
|\ | | | | Implement a raw rendering mode for recursive folder download
| * Implement --show-wget-footer argumentjikstra2021-09-101-2/+4
| |
| * Apply requested changesjikstra2021-09-101-2/+2
| |
| * cargo fmt & cargo clippyjikstra2021-09-021-12/+5
| |
| * Fix rebasejikstra2021-09-021-21/+16
| |
| * Implement a raw rendering mode for recursive folder downloadjikstra2021-09-011-14/+104
| | | | | | | | | | | | | | - 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
* | Rename Archlinux -> Arch LinuxSven-Hendrik Haase2021-09-231-1/+1
|/