aboutsummaryrefslogtreecommitdiffstats
path: root/src/renderer.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-03-10SSE-based directory size handlingSven-Hendrik Haase1-16/+32
This allows us to cancel stale clients and in general be much nicer and more modern.
2025-03-10Add link to miniserve GitHub to footerSven-Hendrik Haase1-1/+4
Fixes #1479.
2025-03-09fix loading animation and row height jumping while loading dir sizesLukas Stabe1-20/+2
2025-03-09Fix dir size calculation for percent-encoded paths with spacesSven-Hendrik Haase1-1/+1
2025-03-07Add asynchronous directory size countingSven-Hendrik Haase1-9/+72
This is enabled by default and without an option to toggle it off as it's asynchronous and shouldn't block the server thread.
2025-03-07Reformat everything with Rust 2024 editionSven-Hendrik Haase1-7/+11
2025-03-06Make exact byte formatting consistent with human formatSven-Hendrik Haase1-2/+2
2025-03-03make the option effect raw modeLzzzt1-5/+5
Signed-off-by: Lzzzt <liuzitao0123@gmail.com>
2025-03-03Show File Size in BytesLzzzt1-7/+18
Add a cli option that show file size in bytes rather than KB or MB, etc.
2025-02-22feat: address comments; add in new argument (`temp-directory`); add comments ↵Alec Di Vito1-24/+52
to upload code; add tests
2025-02-17feat: implement temporary file uploads and tweak mobile designAlec Di Vito1-13/+70
2025-02-06Add date pill and sort links for mobile viewsFlat1-1/+6
2025-01-03Use Self where possibleadamnemecek1-4/+4
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-06-06chore: clean upAlec Di Vito1-4/+3
2024-06-06feat: Added HTML and Javascript progress bar when uploading filesAlec Di Vito1-8/+235
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