aboutsummaryrefslogtreecommitdiffstats
path: root/src/auth.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\
| * Improved errorsboastful-squirrel2019-04-221-4/+6
| |
| * Rework error system + avoid panics in main()boastful-squirrel2019-04-211-12/+17
| |
* | Use rstest_parametrize for unit testskhai96_2019-04-251-68/+44
| |
* | Run cargo fmtkhai96_2019-04-241-5/+11
| |
* | Convert hex strings to raw byte vectors and compare themkhai96_2019-04-231-14/+19
| |
* | Remove spaces before function nameskhai96_2019-04-201-3/+3
| |
* | Fix parse_auth and add some testskhai96_2019-04-191-3/+91
| |
* | Fix false positivekhai96_2019-04-191-1/+1
| |
* | Create get_hash_hexkhai96_2019-04-191-3/+6
| |
* | Add support for sha-512khai96_2019-04-191-7/+11
| |
* | Add support for hashed password (sha256)khai96_2019-04-191-3/+31
|/
* Fixed auth checkboasting-squirrel2019-04-131-12/+7
|