aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-04-16Add EC key support (closes #1080)Sven-Hendrik Haase1-1/+3
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 &UriSilux2-16/+17
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-31Fix more lintsSven-Hendrik Haase1-1/+1
2022-12-30Run cargo fmtSven-Hendrik Haase2-33/+31
2022-12-19Fix lintsSven-Hendrik Haase6-27/+27
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-11Fix clap 4 behavior when allowing duplicate argsSven-Hendrik Haase1-12/+3
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-14Golf a use lineSven-Hendrik Haase1-2/+1
2022-10-14Fix clap deprecationsSven-Hendrik Haase1-36/+35
Also update README
2022-10-12Upgrade clap to v4Sven-Hendrik Haase6-41/+43
2022-09-26Bump depsSven-Hendrik Haase1-2/+2
2022-09-20Tidy up some importsSven-Hendrik Haase9-25/+24
2022-09-19Add support for README.txt and README filesGaurav-Lab-PC1-5/+12
2022-09-19Fix `fast_qr` API breaking changecyqsimon1-1/+1
2022-09-19Return 403 instead of 500 for upload errsJonas Diemer2-3/+7
2022-09-19Fixed clippy issue (single-char string to char)Jonas Diemer1-1/+1
2022-09-19Changed handling of allowed path to fix WindowsJonas Diemer2-3/+9
2022-09-18fix lint errorsJonas Diemer1-2/+2
2022-09-18Improved output of -hJonas Diemer1-1/+1
2022-09-18cargo fmtJonas Diemer4-12/+27
2022-09-18sanitize allowed upload paths for cases like ./dirJonas Diemer2-2/+3
2022-09-18Use argument -u instead of --allowed-upload-dirJonas Diemer2-13/+7
2022-09-18Clarity of commentJonas Diemer1-1/+1
Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com>
2022-09-18clarity of commentJonas Diemer1-1/+1
Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com>
2022-09-18Update src/file_upload.rsJonas Diemer1-1/+1
Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com>
2022-09-18Renamed option for more clarityJonas Diemer4-9/+10
2022-09-18cleaned up code using any()Jonas Diemer2-25/+7
2022-09-18Switched to use of PathBuf, fixed for subdirsJonas Diemer4-15/+26
2022-09-18Added dependency to -u for --restrict-upload-dirJonas Diemer1-1/+2
2022-09-18fixed rendering of upload if non-restrictedJonas Diemer1-1/+2
2022-09-18Added option restrict-upload-dirJonas Diemer4-1/+29
2022-09-15Add tooltip on QR codecyqsimon1-1/+1
2022-09-14Fully qualify clap_complete::generateSven-Hendrik Haase1-2/+1
2022-09-14Fix typosKian-Meng Ang4-5/+5
Found via `codespell -L crate`.
2022-09-01Move QR margin size into `consts`cyqsimon2-1/+4
2022-09-01Switch to `fast_qr` cratecyqsimon3-57/+16
2022-09-01Remove leftover `dbg!`cyqsimon1-1/+0
2022-09-01Fix drop-down QR codecyqsimon2-55/+66
2022-08-26Add tests for `--readme`Gaurav1-3/+5
2022-08-22Fix rustfmt complaintscyqsimon1-6/+13