Commit Graph

44 Commits (3968bc8016611cdf9a84db68990f27624ab17889)

Author SHA1 Message Date
Daniel García e3a2dfffab
Formatting
4 years ago
Daniel García 46e0f3c43a
Load RSA keys as pem format directly, and using openssl crate, backported from async branch
4 years ago
Daniel García 9254cf9d9c
Fix clippy lints
4 years ago
Daniel García c380d9c379
Support for webauthn and u2f->webauthn migrations
4 years ago
Carl Dong 68e5d95d25 admin: Specifically return 404 for user not found
4 years ago
BlackDex 7cb19ef767 Updated branding, email and crates
4 years ago
Jake Howard 3ab90259f2
Modify rustfmt file
4 years ago
Jake Howard 0af3956abd
Run `cargo fmt` on codebase
4 years ago
Jake Howard 47c2625d38
Prevent `clippy` complaining at method
4 years ago
Jake Howard 49af9cf4f5
Correctly camelCase acronyms
4 years ago
Daniel García 8da5b99482
Send API
4 years ago
janost caddf21fca Log proper namespace in the err!() macro
4 years ago
Daniel García 729c9cff41
Retry initial db connection, with adjustable option
4 years ago
BlackDex 6a0d024c69 Format some common Lettre errors a bit simpler
4 years ago
BlackDex 844cf70345 Updated lettre (and other crates) and workflow.
4 years ago
Daniel García 0365b7c6a4
Add support for multiple simultaneous database features by using macros.
4 years ago
Daniel García 32cfaab5ee
Updated dependencies and changed rocket request imports
5 years ago
Daniel García 668d5c23dc
Removed try_trait and some formatting, particularly around imports
5 years ago
Daniel García 6c5e35ce5c
Change the mails content types to more closely match what we sent before
5 years ago
Daniel García 63cbd9ef9c
Update lettre to latest master
5 years ago
Daniel García 9cca64003a
Remove unused dependency and simple feature, update dependencies and fix some clippy lints
5 years ago
Daniel García 325039c316
Attachment size limits, per-user and per-organization
5 years ago
Daniel García ff7b4a3d38
Update handlebars to 3.0 which included performance improvements.
5 years ago
Daniel García a0ece3754b
Formatting
5 years ago
Daniel García 5cabf4d040
Fix IP not shown when failed login (Fixes #761)
5 years ago
Daniel García 8d1b72b951
Collapsed log messages from 3 lines per request to 2 and hidden the ones valued as less informative.
5 years ago
Daniel García 8d9827c55f
Implement selection between global config and user settings for duo keys.
6 years ago
Daniel García 61515160a7
Allow changing error codes and create an empty error.
6 years ago
Daniel García 8b4a6f2a64
Fixed some clippy lints and changed update_uuid_revision to only use one db query
6 years ago
Daniel García 877408b808
Implement basic config loading and updating. No save to file yet.
6 years ago
Daniel García 20d8d800f3
Updated dependencies
6 years ago
BlackDex 9657463717 Added better favicon downloader.
6 years ago
Daniel García a797459560
Implement HIBP check [WIP].
6 years ago
Daniel García 19b6bb0fd6
Initial stab at templates
6 years ago
Daniel García a0a08c4c5a
Include IP in invalid admin token error
6 years ago
Daniel García c9063a06b4
Print unauthorized error message
6 years ago
Daniel García 5f49ecd7f3
Updated dependencies to use u2f crate directly, and some style changes
6 years ago
Daniel García 30e768613b
Start using rustfmt and some style changes to make some lines shorter
6 years ago
Daniel García adb8052689
Updated Error to implement Display and Debug, instead of using custom methods
6 years ago
Daniel García 1483829c94
Removed invalid todo
6 years ago
Daniel García acb9d1b3c6
Remove config option for admin email, embdedded admin page, managed IO::Error, and added security and cache headers globally
6 years ago
Daniel García 301919d9d4
Modified navigation bar and corrected some comments
6 years ago
Daniel García 2bb0b15e04
Implemented better errors for JWT
6 years ago
Daniel García 6a99849a1e
Implemented proper error handling, now we can do `user.save($conn)?;` and it works.
6 years ago