aboutsummaryrefslogtreecommitdiffstats
path: root/src/auth.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add asynchronous directory size countingSven-Hendrik Haase2025-03-071-2/+5
| | | | | This is enabled by default and without an option to toggle it off as it's asynchronous and shouldn't block the server thread.
* Upgrade to Rust 2024 editionSven-Hendrik Haase2025-03-071-1/+1
|
* Refactor errorscyqsimon2024-01-291-2/+2
| | | | | - Split `ContexualError` into `StartError` & `RuntimeError` - Made sure every `RuntimeError` variant has an accurate status code
* Fix lintsSven-Hendrik Haase2022-12-191-3/+3
|
* Tidy up some importsSven-Hendrik Haase2022-09-201-2/+1
|
* Update actix-web-httpauth to v0.8Sven-Hendrik Haase2022-07-221-1/+1
|
* Bump depsSven-Hendrik Haase2022-07-191-4/+6
|
* Fix new clippy lintsSven-Hendrik Haase2022-05-231-2/+2
|
* revert unnecessary changesAli MJ Al-Nasrawy2021-10-131-46/+18
|
* cargo fmt & cargo clippyjikstra2021-09-021-2/+2
|
* Fix rebasejikstra2021-09-021-2/+2
|
* Implement a raw rendering mode for recursive folder downloadjikstra2021-09-011-6/+14
| | | | | | | - Raw mode only displays file/folders and is more focused on computer processing - Display a banner in footer to recursively download the current folder with wget
* Fix clippy::too_many_arguments and rework error ..Ali MJ Al-Nasrawy2021-08-301-68/+18
| | | | | | | | | | | | | | | | | | | | | ... page rendering Too many arguments are moved around and many of them are already stored in MiniserveConfig. Many of these are used to render error pages. To fix this issue, it was necessary to rework error page rendering: 1. Implement `ResponseError` for `ContextualError` so that it can be returned from service handlers as is and will then be automatically logged to the console and converted into an error response. 2. At service handler level, all error responses are now rendered as plain text. 3. 'error_page_middleware' is now responsible for the rendering of the final error page from plain text reponses. Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
* migrate to actix-web v4.0-betaAli MJ Al-Nasrawy2021-08-281-23/+51
|
* Add program version footerTamas Levai2021-02-281-0/+1
|
* Fix lintsSven-Hendrik Haase2021-02-191-2/+2
|
* restore default theme cli option and add default theme dark optionLukas Stabe2020-10-011-0/+2
|
* move css out of html into its own routeLukas Stabe2020-09-261-0/+1
|
* [wip] client-side color-scheme handlingLukas Stabe2020-09-251-2/+0
|
* Add embedded favicon (fixes #364)Sven-Hendrik Haase2020-09-241-0/+1
|
* Use actix-web-httpauth for authentication middlewareequal-l22020-07-211-121/+30
|
* Update to actix 2 and futures 0.3equal-l22020-07-211-25/+80
|
* Update sha2 to 0.9Sven-Hendrik Haase2020-06-261-2/+2
|
* Fix deprecated stuffSven-Hendrik Haase2020-03-091-5/+5
|
* Actually make use of pretty_assertionsSven-Hendrik Haase2019-09-211-20/+12
|
* Apply WWW_AUTHENTICATE to all Unauthorized brancheskhai96_2019-05-301-11/+0
|
* Improve doc commentkhai96_2019-05-241-1/+1
|
* Add unit test for multiple accountskhai96_2019-05-181-1/+74
|
* Fix Clippykhai96_2019-05-171-5/+5
|
* Merge remote-tracking branch 'mainrepo/master' into multiple-auths-altkhai96_2019-05-171-17/+70
|\
| * Return QueryParameters struct instead of tupleboastful-squirrel2019-05-031-1/+1
| |
| * Read query params to handle error back linkboastful-squirrel2019-05-021-0/+1
| |
| * Cargo fmtboastful-squirrel2019-05-021-4/+8
| |
| * Added rustfmt_skip directive on testsboastful-squirrel2019-05-021-6/+2
| |
| * Return to root when auth succeedsboastful-squirrel2019-05-011-1/+1
| |
| * Use HTTP StatusCode for error titleboastful-squirrel2019-05-011-2/+6
| |
| * Fix return link when random_route is setboastful-squirrel2019-05-011-1/+6
| |
| * Added docboastful-squirrel2019-05-011-0/+3
| |
| * Display HTTP authentication errorsboastful-squirrel2019-05-011-5/+38
| |
| * Merge branch 'master' into themed-errorsboastful-squirrel2019-04-271-9/+4
| |\
| * | Fixed test + fixed clippy warningboastful-squirrel2019-04-271-2/+2
| | |
| * | Cargo fmtboastful-squirrel2019-04-261-2/+7
| | |
* | | Update unit testskhai96_2019-05-161-18/+17
| | |
* | | Make some changeskhai96_2019-05-161-41/+55
| | |
* | | Begin to support multiple authskhai96_2019-05-051-22/+22
| | |
* | | Fix some Clippy lintskhai96_2019-05-011-3/+2
| | |
* | | Ignore clippy warningskhai96_2019-05-011-0/+1
| |/ |/|
* | Combine ContextualError and ContextualErrorKind into onekhai96_2019-04-271-7/+5
|/
* Comply to change requestskhai96_2019-04-261-1/+7
| | | | | - Added doc comments - Added an additional test case
* Merge remote-tracking branch 'mainrepo/master' into pullrequest.hashed-passwordkhai96_2019-04-261-13/+20
|\