aboutsummaryrefslogtreecommitdiffstats
path: root/src/renderer.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-13Set default sorting order and method with argumentselandsborough1-2/+2
2023-09-05Use distinct query type for file op APIscyqsimon1-2/+2
2023-08-02use a char instead of string literalDashon Wells1-1/+1
2023-08-02Run cargo fmt to fix formattingDashon Wells1-2/+3
2023-08-02Encode single quote in directory path nameDashon Wells1-1/+2
2023-07-26Consolidate javascript and add commentsBao Trinh1-35/+29
2023-07-21use grass include macro; remove build.rsBao Trinh1-4/+4
2023-07-20remove commented codeBao Trinh1-2/+0
2023-07-12Separate color schemes into separate filesBao Trinh1-0/+15
2023-07-11simplify theme selection using data attributesBao Trinh1-13/+12
2023-03-01Split up wget testsSven-Hendrik Haase1-23/+35
2023-02-25Added tests and small fixesSilux1-5/+68
...discovered when writing the tests. Ran rustfmt, clippy::all, cargo test, everything passed and I hope the tests I wrote are good. Now with 100% less forgotten debug logs!
2023-02-22Switched from using AsRef<str> to using &UriSilux1-9/+10
I honestly just switched the definition and then frantically changed small things based on rusts error messages, but it passes fmt, clippy and tests so I think it's fine. This allow a bit finer control over the URI, but is honetly a bit insignificant.
2023-02-22Make the wget footer click to copySilux1-1/+5
2023-02-22Cleaned up thewget_footer function and generated commandSilux1-18/+14
The command now has slightly more concise flags, the cut_dir flag gets omitted when it would be zero, if downloading root put files in a folder named the title of the page, use match claues instead of ifs, bit more concise I think
2023-02-21Fix the wget footerSilux1-7/+11
...by having it use the absolute url instead of the breadcrumbs
2023-01-22Bump more depsSven-Hendrik Haase1-1/+1
2022-12-19Fix lintsSven-Hendrik Haase1-11/+11
2022-12-06[fix] Sorting breaks subdir downloadingVamist1-1/+1
- Small check in render.rs make_link_with_trailing_slash to return nothing if link is empty, instead of adding a /
2022-11-11Bump depsSven-Hendrik Haase1-1/+5
2022-11-10RefactoringIvkinStanislav1-4/+2
2022-11-10Update datetime formatIvkinStanislav1-1/+1
Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com>
2022-10-23Change DateTime formats.ivkin1-11/+6
2022-10-12Upgrade clap to v4Sven-Hendrik Haase1-3/+13
2022-09-26Bump depsSven-Hendrik Haase1-2/+2
2022-09-20Tidy up some importsSven-Hendrik Haase1-4/+3
2022-09-19Fix `fast_qr` API breaking changecyqsimon1-1/+1
2022-09-19Changed handling of allowed path to fix WindowsJonas Diemer1-1/+1
2022-09-18cargo fmtJonas Diemer1-3/+6
2022-09-18Renamed option for more clarityJonas Diemer1-1/+1
2022-09-18cleaned up code using any()Jonas Diemer1-14/+2
2022-09-18Switched to use of PathBuf, fixed for subdirsJonas Diemer1-8/+15
2022-09-18fixed rendering of upload if non-restrictedJonas Diemer1-1/+2
2022-09-18Added option restrict-upload-dirJonas Diemer1-1/+8
2022-09-15Add tooltip on QR codecyqsimon1-1/+1
2022-09-01Move QR margin size into `consts`cyqsimon1-1/+1
2022-09-01Switch to `fast_qr` cratecyqsimon1-26/+10
2022-09-01Fix drop-down QR codecyqsimon1-38/+57
2022-08-26Add tests for `--readme`Gaurav1-3/+5
2022-08-22Move QR code page style to `style.scss`cyqsimon1-30/+17
2022-08-22Fix testscyqsimon1-1/+1
2022-08-22Switch to `qrcode` libcyqsimon1-0/+40
2022-08-14Simplify README code a bitSven-Hendrik Haase1-8/+8
2022-08-14Edit Readme struct to remove render boolGaurav1-4/+4
2022-08-14Make Readme structGaurav1-12/+5
2022-08-14Add `--readme` info and reformatGaurav1-9/+10
2022-08-14Satisfy cargo fmtGaurav1-12/+12
2022-08-14Replace `markdown` by `comrak`; Render support for nested dirsGaurav1-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.
2022-08-14Add support for readme renderingGaurav1-0/+9
2022-06-26Create directory (#781)Sheepy1-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