aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Better help for -uSven-Hendrik Haase2023-11-091-0/+5
|
* Fix incorrect conditional compilationSven-Hendrik Haase2023-10-101-3/+1
|
* Merge pull request #1228 from cyqsimon/upload-refactorSven-Hendrik Haase2023-09-246-132/+156
|\ | | | | Minor refactor on upload code
| * Fix clippy complaintscyqsimon2023-09-051-1/+1
| |
| * Fix incorrect usage of app data extractorcyqsimon2023-09-051-1/+1
| | | | | | | | - `Data` extractor can only be used when app data is wrapped with `Data`
| * Minor code style refactorscyqsimon2023-09-052-21/+27
| |
| * Use distinct query type for file op APIscyqsimon2023-09-053-18/+20
| |
| * rename `file_upload` to `file_op`cyqsimon2023-09-052-2/+4
| | | | | | | | - This is in preparation for adding deletion code
| * Rewrite `contains_symlink`cyqsimon2023-09-052-29/+41
| |
| * Make file util functions genericcyqsimon2023-07-101-4/+4
| |
| * Create shared file utiity modulecyqsimon2023-07-104-86/+88
| |
* | Fix MIPS compileSven-Hendrik Haase2023-08-211-3/+2
| |
* | Fix arg help formattingSven-Hendrik Haase2023-08-211-4/+9
| |
* | Merge pull request #1179 from proudmuslim-dev/masterSven-Hendrik Haase2023-08-212-3/+23
|\ \ | | | | | | Add ability to read auth from file
| * | Add file content example to `--auth-file` argumentproudmuslim-dev2023-08-031-1/+5
| | |
| * | Update src/args.rsproudmuslim-dev2023-08-031-1/+1
| | | | | | | | | Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com>
| * | Add ability to read auth from fileProudmuslim2023-07-212-3/+19
| |/
* | Adjust from feedbackNorberto Lopes2023-08-071-1/+6
| | | | | | | | | | - remove info logging - add comment to clarify logic
* | Add pretty urlsNorberto Lopes2023-08-063-1/+39
| | | | | | | | | | | | | | | | | | | | This adds a new flag namely `--pretty-urls` that when enabled will serve the equivalent `.html` if it exists. Very much the same approach that [`netlify` uses](https://docs.netlify.com/site-deploys/post-processing/). It can be quite useful when having hrefs like `/about` serve `/about.html`.
* | 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
| |
* | Fix error page wrappingBao Trinh2023-07-261-2/+10
| | | | | | | | | | | | Error page was incorrectly comparing the full content-type header of error responses against `text/plain`, so no error pages were being wrapped by `map_error_page`.
* | Consolidate javascript and add commentsBao Trinh2023-07-261-35/+29
| |
* | use grass include macro; remove build.rsBao Trinh2023-07-212-5/+5
| |
* | remove commented codeBao Trinh2023-07-201-2/+0
| |
* | Separate color schemes into separate filesBao Trinh2023-07-122-3/+29
| |
* | simplify theme selection using data attributesBao Trinh2023-07-111-13/+12
|/
* Fix ANSI color codes are printed when not a ttySven-Hendrik Haase2023-07-051-12/+14
| | | | Fixes #1095.
* Allow parameters to be provided via env varsSven-Hendrik Haase2023-07-051-32/+78
| | | | Fixes #829.
* Remove atty depSven-Hendrik Haase2023-07-021-4/+4
| | | | We can now use the stabilized IsTerminal trait.
* Switch from deprecated get_if_addrs to if-addrsSven-Hendrik Haase2023-04-201-1/+1
| | | | Fixes #1079.
* Add EC key support (closes #1080)Sven-Hendrik Haase2023-04-161-1/+3
|
* Split up wget testsSven-Hendrik Haase2023-03-011-23/+35
|
* Merge pull request #1043 from Yusuto/wget-fixSven-Hendrik Haase2023-03-012-27/+95
|\ | | | | 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-222-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.
| * 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 more lintsSven-Hendrik Haase2022-12-311-1/+1
| |
* | Run cargo fmtSven-Hendrik Haase2022-12-302-33/+31
| |
* | Fix lintsSven-Hendrik Haase2022-12-196-27/+27
|/
* Bump depsSven-Hendrik Haase2022-11-111-1/+5
|
* Fix clap 4 behavior when allowing duplicate argsSven-Hendrik Haase2022-11-111-12/+3
|
* RefactoringIvkinStanislav2022-11-101-4/+2
|
* Update datetime formatIvkinStanislav2022-11-101-1/+1
| | | Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com>