aboutsummaryrefslogtreecommitdiffstats
path: root/src/renderer.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-07-14Don't show mkdir option when the directory is not upload allowedGaurav Atreya1-1/+1
Fixes #1249
2024-06-09Remove explicit dependency on httpSven-Hendrik Haase1-2/+1
We now use the one supplied by actix-web.
2024-04-16fix missing drag-form when dragging file in to browserchaibiq1-1/+1
2024-03-16add file and folder symbol to scsschaibiq1-2/+2
2024-03-16add folder and file symbolchaibiq1-2/+2
2024-01-29add `--disable-indexing` cli flag to completely disable directory indexingCarson McManus1-1/+1
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