aboutsummaryrefslogtreecommitdiffstats
path: root/src/renderer.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix loading animation and row height jumping while loading dir sizesLukas Stabe2025-03-091-20/+2
|
* Fix dir size calculation for percent-encoded paths with spacesSven-Hendrik Haase2025-03-091-1/+1
|
* Add asynchronous directory size countingSven-Hendrik Haase2025-03-071-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.
* Reformat everything with Rust 2024 editionSven-Hendrik Haase2025-03-071-7/+11
|
* Make exact byte formatting consistent with human formatSven-Hendrik Haase2025-03-061-2/+2
|
* make the option effect raw modeLzzzt2025-03-031-5/+5
| | | | Signed-off-by: Lzzzt <liuzitao0123@gmail.com>
* Show File Size in BytesLzzzt2025-03-031-7/+18
| | | | Add a cli option that show file size in bytes rather than KB or MB, etc.
* feat: address comments; add in new argument (`temp-directory`); add comments ↵Alec Di Vito2025-02-221-24/+52
| | | | to upload code; add tests
* feat: implement temporary file uploads and tweak mobile designAlec Di Vito2025-02-171-13/+70
|
* Merge branch 'master' into upload-progress-barSven-Hendrik Haase2025-02-071-8/+12
|\
| * Add date pill and sort links for mobile viewsFlat2025-02-061-1/+6
| |
| * Use Self where possibleadamnemecek2025-01-031-4/+4
| |
| * Don't show mkdir option when the directory is not upload allowedGaurav Atreya2024-07-141-1/+1
| | | | | | | | Fixes #1249
| * Remove explicit dependency on httpSven-Hendrik Haase2024-06-091-2/+1
| | | | | | | | We now use the one supplied by actix-web.
* | chore: clean upAlec Di Vito2024-06-061-4/+3
| |
* | feat: Added HTML and Javascript progress bar when uploading filesAlec Di Vito2024-06-061-8/+235
|/
* fix missing drag-form when dragging file in to browserchaibiq2024-04-161-1/+1
|
* add `--disable-indexing` cli flag to completely disable directory indexingCarson McManus2024-01-291-1/+1
|
* Set default sorting order and method with argumentselandsborough2024-01-131-2/+2
|
* Merge pull request #1228 from cyqsimon/upload-refactorSven-Hendrik Haase2023-09-241-2/+2
|\ | | | | Minor refactor on upload code
| * Use distinct query type for file op APIscyqsimon2023-09-051-2/+2
| |
* | use a char instead of string literalDashon Wells2023-08-021-1/+1
| |
* | Run cargo fmt to fix formattingDashon Wells2023-08-021-2/+3
| |
* | Encode single quote in directory path nameDashon Wells2023-08-021-1/+2
| |
* | Consolidate javascript and add commentsBao Trinh2023-07-261-35/+29
| |
* | use grass include macro; remove build.rsBao Trinh2023-07-211-4/+4
| |
* | remove commented codeBao Trinh2023-07-201-2/+0
| |
* | Separate color schemes into separate filesBao Trinh2023-07-121-0/+15
| |
* | simplify theme selection using data attributesBao Trinh2023-07-111-13/+12
|/
* Split up wget testsSven-Hendrik Haase2023-03-011-23/+35
|
* Merge pull request #1043 from Yusuto/wget-fixSven-Hendrik Haase2023-03-011-20/+88
|\ | | | | Fix the wget footer
| * Added tests and small fixesSilux2023-02-251-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!
| * Switched from using AsRef<str> to using &UriSilux2023-02-221-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.
| * Make the wget footer click to copySilux2023-02-221-1/+5
| |
| * Cleaned up thewget_footer function and generated commandSilux2023-02-221-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
| * Fix the wget footerSilux2023-02-211-7/+11
| | | | | | | | ...by having it use the absolute url instead of the breadcrumbs
* | Merge pull request #991 from Vam-Jam/sort_down_fixSven-Hendrik Haase2023-02-211-1/+1
|\ \ | |/ |/| [fix] Sorting breaks subdir downloading
| * [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 more depsSven-Hendrik Haase2023-01-221-1/+1
| |
* | Fix lintsSven-Hendrik Haase2022-12-191-11/+11
|/
* 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
| |