Commit Graph

926 Commits (64ae0aa3864a4ff78c7f1413ac6bbab600d05f70)

Author SHA1 Message Date
Daniel García ba9ad14fbb
Merge branch 'icons' of https://github.com/jjlin/vaultwarden into jjlin-icons
3 years ago
Daniel García 14e3dcad8e
Merge branch 'fix-emergency-invite-register' of https://github.com/BlackDex/vaultwarden into BlackDex-fix-emergency-invite-register
3 years ago
Daniel García f4a9645b54
Remove references to "bwrs" #2195
3 years ago
Jeremy Lin 8f7900759f Fix `scope` and `refresh_token` for API key logins
3 years ago
Jeremy Lin 69ee4a70b4 Add support for API keys
3 years ago
Jeremy Lin a16c656770 Add support for legacy HTTP 301/302 redirects for external icons
3 years ago
BlackDex 76b7de15de
Fix emergency access invites for new users
3 years ago
Daniel García 8ba6e61fd5
Merge pull request #2197 from BlackDex/issue-2196
3 years ago
Daniel García a30a1c9703
Merge pull request #2194 from BlackDex/issue-2154
3 years ago
BlackDex bf5aefd129
Fix issue with Bitwarden CLI.
3 years ago
BlackDex 1fa178d1d3
Fixed issue #2154
3 years ago
Jeremy Lin b7eedbcddc Add config option to set the HTTP redirect code for external icons
3 years ago
Jake Howard 4584cfe3c1
Additionally set expires header when caching responses
3 years ago
Daniel García 85ac9783f0
Merge branch 'ratelimit' into main
3 years ago
Daniel García b89ffb2731
Merge pull request #2170 from BlackDex/issue-2136
3 years ago
BlackDex 2c94ea075c
Small changes to icon log messages.
3 years ago
BlackDex 4bd8eae07e
Fixed #2151
3 years ago
Daniel García 5529264c3f
Basic ratelimit for user login (including 2FA) and admin login
3 years ago
Jeremy Lin 2f9ac61a4e Add support for external icon services
3 years ago
BlackDex e327583aa5
Enabled trust-dns and some updates.
3 years ago
BlackDex c453528dc1
Macro recursion decrease and other optimizations
3 years ago
Jeremy Lin 14408396bb Fix missing encrypted key after emergency access reject
3 years ago
Jeremy Lin c476e19796 Add email notifications for incomplete 2FA logins
3 years ago
Daniel García 9f393cfd9d
Formatting
3 years ago
Daniel García 97f9eb1320
Update dependencies
3 years ago
Jeremy Lin cee3fd5ba2 Emergency Access cleanup
3 years ago
Daniel García 4af81ec50e
Merge branch 'domdomegg/2fa-check-accepted' of https://github.com/domdomegg/vaultwarden into domdomegg-domdomegg/2fa-check-accepted
3 years ago
Adam Jones 4cebe1fff4
cargo fmt
3 years ago
Adam Jones a984dbbdf3
2FA org policy: do not enforce on invited (not accepted) users
3 years ago
BlackDex 881524bd54
Added DbConn to /alive healthcheck
3 years ago
Daniel García a1c1b9ab3b
Merge branch 'mail-errors' of https://github.com/BlackDex/vaultwarden into BlackDex-mail-errors
3 years ago
BlackDex 338756550a
Fix error reporting in admin and some small fixes
3 years ago
Adam Jones d014eede9a
feature: Support single organization policy
3 years ago
Daniel García acab70ed89
Merge branch 'domdomegg/support-no-data-org-policies' of https://github.com/domdomegg/vaultwarden into domdomegg-domdomegg/support-no-data-org-policies
3 years ago
BlackDex 9375d5b8c2 Updated icon downloading
3 years ago
Adam Jones e3678b4b56
fix: Support no-data enterprise policies
3 years ago
Daniel García b4c95fb4ac
Hide some warnings for unused struct fields
3 years ago
Daniel García 756d108f6a
Merge branch 'emergency_feature' of https://github.com/thelittlefireman/bitwarden_rs into thelittlefireman-emergency_feature
3 years ago
thelittlefireman ca20b3d80c [PATCH] Some fixes to the Emergency Access PR
3 years ago
thelittlefireman 4ab9362971 Add Emergency contact feature
3 years ago
BlackDex f36bd72a7f Add Organization bulk actions support
3 years ago
Daniel García a99c9715f6
Merge branch 'issue-1963' of https://github.com/BlackDex/vaultwarden into BlackDex-issue-1963
3 years ago
BlackDex 10d5c7738a Fix issue when using uppercase chars in emails
3 years ago
Jeremy Lin 80f23e6d78 Enforce Personal Ownership policy on imports
3 years ago
Jeremy Lin 0cdc0cb147 Fix incorrect WebAuthn origin
3 years ago
Daniel García 93f2f74767
Merge branch 'fix/sends_notifications' of https://github.com/fabianthdev/vaultwarden into fabianthdev-fix/sends_notifications
3 years ago
Daniel García 41add45e67
Merge branch 'fix-attachment-sharing' of https://github.com/jjlin/vaultwarden into jjlin-fix-attachment-sharing
3 years ago
Daniel García 978ef2bc8b
Merge branch 'fix-1878' of https://github.com/BlackDex/vaultwarden into BlackDex-fix-1878
3 years ago
BlackDex 881d1f4334 Fix wrong display of MFA email.
3 years ago
Jeremy Lin 56b4f46d7d Fix limitation on sharing ciphers with attachments
3 years ago
Fabian Thies 1f0f64d961 Sort the imports in notifications.rs alphabetically
4 years ago
Fabian Thies 42ba817a4c Fix errors that occurred in the nightly build
4 years ago
Fabian Thies dd98fe860b Send create, update and delete notifications for `Send`s in the correct format.
4 years ago
Daniel García c68fbb41d2
Merge branch 'fix-org-attachment-uploads' of https://github.com/jjlin/vaultwarden into jjlin-fix-org-attachment-uploads
4 years ago
Jeremy Lin 91e80657e4 Fix error with adding file attachment from org vault view
3 years ago
BlackDex 89b5f7c98d Dependency updates
3 years ago
BlackDex ffdcafa044 Fix WebAuthn issues and some small updates
4 years ago
Daniel García 56ffec40f4
Formatting
4 years ago
Mathijs van Veluw 340d42a1ca
Merge branch 'main' into future-web-vault
4 years ago
Daniel García 4f08167d6f
Merge branch '2fa_enforcement' of https://github.com/olivierIllogika/bitwarden_rs into olivierIllogika-2fa_enforcement
4 years ago
Daniel García f16d56cb27
Merge branch 'attachment-storage' of https://github.com/BlackDex/vaultwarden into BlackDex-attachment-storage
4 years ago
Daniel García d0ec410b73
Merge branch 'password-hints' of https://github.com/jjlin/vaultwarden into jjlin-password-hints
4 years ago
Daniel García e5ec245626
Protect namedfile against path traversal, rocket only does it for pathbuf
4 years ago
BlackDex 6ea95d1ede Updated attachment limit descriptions
4 years ago
Jeremy Lin 88bea44dd8 Prevent user enumeration via password hints
4 years ago
BlackDex 403f35b571 Added web-vault v2.21.x support + some misc fixes
4 years ago
Daniel García 0dcea75764
Remove unused lifetime and double referencing
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 2cd17fe7af
Add token with short expiration time to send url
4 years ago
Jeremy Lin 49579e4ce7 Avoid `Error parsing LastKnownRevisionDate` warning for mobile clients
4 years ago
Daniel García 9254cf9d9c
Fix clippy lints
4 years ago
BlackDex 8615736e84 Multiple Admin Interface fixes and some others.
4 years ago
Daniel García c380d9c379
Support for webauthn and u2f->webauthn migrations
4 years ago
Jeremy Lin 3f7e4712cd Fix attachment size limit calculation for v2 uploads
4 years ago
Jeremy Lin c2ef331df9 Rework file ID generation
4 years ago
Jeremy Lin 5fef7983f4 Clean up attachment error handling
4 years ago
Jeremy Lin 29ed82a359 Add support for v2 attachment upload APIs
4 years ago
BlackDex f270f2ed65 Updated icon fetching and crates.
4 years ago
Jeremy Lin 9133e2927d Fix attachment downloads
4 years ago
Jeremy Lin 38104ba7cf `cargo fmt` changes
4 years ago
Daniel García 8e6c6a1dc4
Merge pull request #1689 from jjlin/hide-email
4 years ago
Daniel García 7a9cfc45da
Merge pull request #1688 from jjlin/config-sends-allowed
4 years ago
Daniel García 9e24b9065c
Merge pull request #1682 from dongcarl/2021-05-admin-granular-http-codes
4 years ago
Daniel García 1c2b376ca2
Merge pull request #1663 from dongcarl/2021-05-invite_user-return
4 years ago
Jeremy Lin 029008bad5 Add support for the `Send Options` policy
4 years ago
Jeremy Lin d3449bfa00 Add support for hiding the sender's email address in Bitwarden Sends
4 years ago
Jeremy Lin a9a5706764 Add support for password reprompt
4 years ago
Jeremy Lin 3ff8014add Add `sends_allowed` config setting
4 years ago
Carl Dong e60bdc7efe admin: Make invite_user error codes more specific
4 years ago
Carl Dong cccd8262fa admin: Add /users/<uuid> route
4 years ago
Carl Dong 68e5d95d25 admin: Specifically return 404 for user not found
4 years ago
Carl Dong 5f458b288a admin: Return newly-created user in invite_user
4 years ago
BlackDex 7cb19ef767 Updated branding, email and crates
4 years ago
Daniel García b8010be26b
Extract some FromDb trait impls outside the macros so they aren't repeated, and fix some clippy lints
4 years ago
Olivier Martin f707f86c8e Merge commit '1e5306b8203a7ebe24047910e6c690c18c6d827a' into 2fa_enforcement
4 years ago
Daniel García 2b4dd6f137
Fix branch name
4 years ago
Olivier Martin e3c4609c2a Merge commit '3da44a8d30e76f48b84f5b888e0b33427037037c' into 2fa_enforcement
4 years ago
Daniel García 3da44a8d30
Fix formatting
4 years ago
Daniel García 34ea10475d
Project renaming
4 years ago
Olivier Martin 89a68741d6 ran cargo fmt --all
4 years ago
Olivier Martin 2421d49d9a Merge branch 'master' of github.com:dani-garcia/bitwarden_rs into 2fa_enforcement
4 years ago
Daniel García 305de2e2cd
Format the changes from merge to master
4 years ago
Daniel García 95d906bdbb
Merge branch 'master' into fmt
4 years ago
Olivier Martin 1db37bf3d0 make error toast display detailed message
4 years ago
Olivier Martin d75a80bd2d Resolves dani-garcia/bitwarden_rs#981
4 years ago
Jake Howard 994669fb69
Merge remote-tracking branch 'origin/master' into fmt
4 years ago
Jake Howard 3ab90259f2
Modify rustfmt file
4 years ago
Jake Howard 155109dea1
Extract client creation to a single place
4 years ago
Daniel García b268c3dd1c
Update web vault and add unnoficialserver response
4 years ago
Daniel García 4e64dbdde4
Merge pull request #1579 from jjlin/job-scheduler
4 years ago
Daniel García d3921b973b
Merge pull request #1583 from BlackDex/icon-updates
4 years ago
Jeremy Lin d77333576b Add support for auto-deleting trashed items
4 years ago
Jeremy Lin 73ff8d79f7 Add a generic job scheduler
4 years ago
BlackDex 95fc88ae5b Some admin interface updates.
4 years ago
BlackDex 1d0eaac260 Updated icon fetching.
4 years ago
Jake Howard 93c881a7a9
Reflow some lines manually
4 years ago
Jake Howard 0af3956abd
Run `cargo fmt` on codebase
4 years ago
BlackDex 3a3390963c Icon and SMTP Debug fixes.
4 years ago
Daniel García fd27759a95
Merge pull request #1546 from RealOrangeOne/clippy-run
4 years ago
Daniel García 01d8056c73
Merge pull request #1545 from RealOrangeOne/icon-client-cache
4 years ago
Jake Howard 81fa33ebb5
Remove unnecessary reference
4 years ago
Jake Howard e8aa3bc066
Merge branch 'master' into clippy-run
4 years ago
Jake Howard 6209e778e5
Icons should always be cached using full TTL
4 years ago
BlackDex 57e17d0648 Updated diagnostics page
4 years ago
Jake Howard 3e5971b9db
Remove unnecessary result return types
4 years ago
Jake Howard 49af9cf4f5
Correctly camelCase acronyms
4 years ago
Jake Howard 6b1daeba05
Implement `From` over `Into`
4 years ago
Jake Howard a8138be69b
Use `if let` more
4 years ago
Jake Howard b22564cb00
Cache icons on the client
4 years ago
Miro Prasil aa5cc642e1 Use constant for the "inaccessible" error message
4 years ago
Miro Prasil 4b6a574ee0 Return generic message when Send not available
4 years ago
Daniel García 1fc6c30652
Send deletion thread and updated users revision
4 years ago
Daniel García 551810c486
Fix updating file send
4 years ago
Daniel García b987ba506d
Merge pull request #1493 from jjlin/send
4 years ago
Daniel García 84810f2bb2
Remove unnecessary fields from send access
4 years ago
Jeremy Lin 424d666a50 Add support for the Disable Send policy
4 years ago
Daniel García b9c3213b90
Merge pull request #1487 from jjlin/send
4 years ago
Daniel García 95e24ffc51
rename send key -> akey
4 years ago
Jeremy Lin 00d56d7295 Send access check fixes
4 years ago
Daniel García 8da5b99482
Send API
4 years ago
Jeremy Lin a75d050001 Fix custom org name in invitation confirmation email
4 years ago
Daniel García 75cfd10f11
Merge pull request #1444 from jjlin/remove-md5
4 years ago
Jeremy Lin 513056f711 Check for data folder on startup
4 years ago
Jeremy Lin 39106d440a Remove `md5.js` dependency
4 years ago
Daniel García c836f88ff2
Remove soup and use a newer html5ever directly
4 years ago
Daniel García 9323c57f49
Remove debug print
4 years ago
Daniel García 85e3c73525
Basic experimental ldap import support with the official directory connector
4 years ago
Mathijs van Veluw 4cd5b06b7f
Merge branch 'master' into admin-interface
4 years ago
Mathijs van Veluw 9e5fd2d576
Merge branch 'master' into admin-interface
4 years ago
Mathijs van Veluw ecb46f591c
Merge branch 'master' into misc-updates
4 years ago
BlackDex 705d840ea3 Extra features for admin interface.
4 years ago
BlackDex 7dff8c01dd JSON Response updates and small fixes
4 years ago
BlackDex 5860679624 Updated dependencies and small mail fixes
4 years ago
Jeremy Lin 1d4f900e48 Add cipher response to restore operations
4 years ago
Jeremy Lin 9f86196a9d Add support for the Personal Ownership policy
4 years ago
BlackDex 235ff44736 Updated the admin interface
4 years ago
BlackDex de86aa671e Fix Key Rotation during password change
4 years ago
Daniel García e38771bbbd
Merge pull request #1267 from jjlin/datetime-cleanup
4 years ago
Daniel García a3f9a8d7dc
Merge pull request #1265 from jjlin/cipher-rev-date
4 years ago
Jeremy Lin 455a23361f Clean up datetime output and code
4 years ago
BlackDex 1a8ec04733 Small update on favicon downloading
4 years ago
Jeremy Lin 4e60df7a08 Fix stale data check failure when cloning a cipher
4 years ago
BlackDex 48baf723a4 Updated icon downloading
4 years ago
Daniel García d15d24f4ff
Merge pull request #1242 from BlackDex/allow-manager-role
4 years ago
Daniel García 8d992d637e
Merge pull request #1257 from jjlin/cipher-rev-date
4 years ago
Daniel García b32f4451ee
Merge branch 'master' into admin-disable-user
4 years ago
Jeremy Lin a9e9a397d8 Validate cipher updates with revision date
4 years ago
janost 1eb5495802 Show latest active device as last active on admin page
4 years ago
BlackDex 7cf8809d77 Adding Manager Role support
4 years ago
janost 043aa27aa3 Implement admin ability to enable/disable users
4 years ago
James Hurst 771233176f Fix for negcached icons
4 years ago
James Hurst ed70b07d81 Return 404 instead of fallback icon
4 years ago
Jeremy Lin 95caaf2a40 Add missing admin endpoints for deleting ciphers
4 years ago
Fabian van Steen b41a0d840c
Correction of verify_email error message
4 years ago
BlackDex c64560016e Add /api/accounts/verify-password endpoint
4 years ago
BlackDex 6a291040bd As requested here: https://bitwardenrs.discourse.group/t/searchable-user-list-on-admin-panel/299
4 years ago
BlackDex 9a47821642 Fixed creating a new organization
4 years ago
Daniel García a0d92a167c
Merge pull request #1125 from jjlin/org-cipher-visibility
4 years ago
Jeremy Lin 4c3b328aca Hide ciphers from non-selected collections for org owners/admins
4 years ago
aaxdev 260ffee093 Improving code
4 years ago
aaxdev c59cfe3371 Fix MsgPack headers and support mobile SignalR
4 years ago
Daniel García 0822c0c128
Update admin page dependencies
4 years ago
Daniel García 0365b7c6a4
Add support for multiple simultaneous database features by using macros.
4 years ago
Jeremy Lin f83a8a36d1 Track favorites on a per-user basis
4 years ago
Daniel García 6a972e4b19
Make the admin URL redirect try to use the referrer first, and use /admin when DOMAIN is not configured and the referrer check doesn't work, to allow users without DOMAIN configured to use the admin page correctly
5 years ago
Daniel García 29c6b145ca
Remove redundant user fetching from login
5 years ago
Jeremy Lin 570d6c8bf9 Add support for restricting org creation to certain users
5 years ago
Daniel García ad48e9ed0f
Fix unlock on desktop clients
5 years ago
Jeremy Lin a846f6c610 Fix soft delete notifications
5 years ago
Daniel García 32cfaab5ee
Updated dependencies and changed rocket request imports
5 years ago
Daniel García 1e950c7dbc
Replace IP support in preparation for compiling on stable, included some tests to check that the code matches the unstable implementation
5 years ago
Daniel García f14e19a3d8
Don't compile the regexes each time
5 years ago
Daniel García 668d5c23dc
Removed try_trait and some formatting, particularly around imports
5 years ago
Jeremy Lin a28ebcb401 Use local time in email notifications for new device logins
5 years ago
Jeremy Lin 979d010dc2 Add support for hiding passwords in a collection
5 years ago
BlackDex 24c914799d Fixes #1022 cloning with attachments
5 years ago
BlackDex ac2723f898 Updated Organizations overview
5 years ago
BlackDex 2fffaec226 Added attachment info per user and some layout fix
5 years ago
BlackDex 5c54dfee3a Fixed an issue when DNS resolving fails.
5 years ago
Jeremy Lin 39d1a09704 Avoid double-slashes in the admin URL
5 years ago
BlackDex b6fde857a7 Added version check to diagnostics
5 years ago
BlackDex 3c66deb5cc Redesign of the admin interface.
5 years ago
Jeremy Lin a314933557 Allow email changes for existing accounts even when signups are disabled
5 years ago
Daniel García 0807783388
Add ip on totp miss
5 years ago
Daniel García aee1ea032b
Merge pull request #989 from theycallmesteve/update_responses
5 years ago
theycallmesteve 5571a5d8ed
Update post_keys to return a keys response model
5 years ago
theycallmesteve 6a8c65493f
Rename collection_user_details to collection_read_only to reflect the response model
5 years ago
theycallmesteve dfdf4473ea
Rename to_json_list to to_json_provder to reflect the response model
5 years ago
theycallmesteve 632f4d5453
Whitespace fixes
5 years ago
Daniel García ec8028aef2
Merge pull request #979 from jjlin/admin-redirect
5 years ago
Daniel García 9cca64003a
Remove unused dependency and simple feature, update dependencies and fix some clippy lints
5 years ago
Jeremy Lin 819d5e2dc8 Use absolute URIs for admin page redirects
5 years ago
Daniel García 0de52c6c99
Merge pull request #957 from jjlin/domain-whitelist
5 years ago
Daniel García e3b00b59a7
Initial support for soft deletes
5 years ago
Jeremy Lin 0a68de6c24 Warn on empty `ADMIN_TOKEN` instead of bailing out
5 years ago
Jeremy Lin e4d08836e2 Make org owner invitations respect the email domain whitelist
5 years ago
Jeremy Lin c2a324e5da Clean up domain whitelist logic
5 years ago
Jeremy Lin 6cd8512bbd Fix Duo auth failure with non-lowercased email addresses
5 years ago
Jeremy Lin 7407b8326a Fix attachment size limit calculation
5 years ago
Jeremy Lin 862d401077 Fix WebSocket notifications
5 years ago
Jeremy Lin c06162b22f Handle `devicePushToken`
5 years ago
Daniel García 7a6a3e4160
Set the cargo version and allow changing it during build time with BWRS_VERSION.
5 years ago
Daniel García 94341f9f3f
Fix token error while accepting invite
5 years ago
BlackDex 37b212427c Updated jsonwebtoken
5 years ago
Daniel García 2ee07ea1d8
Fix empty data when cloning cipher
5 years ago
BlackDex 1b4b40c95d Updated reqwest to the latest version.
5 years ago
Daniel García a30d5f4cf9
Fix cloning issues
5 years ago
Daniel García 3fa78e7bb1
Initial version of policies
5 years ago
Daniel García 70f3ab8ec3
Migrate lazy_static to once_cell, less macro magic and slightly faster
5 years ago
BlackDex 5a974c7b94 Added SMTP test button in the admin gui
5 years ago
Daniel García 2f4a9865e1
Use absolute paths in the admin page
5 years ago
Jeremy Lin 29a0795219 Add backend support for alternate base dir (subdir/subpath) hosting
5 years ago
Daniel García 325039c316
Attachment size limits, per-user and per-organization
5 years ago
Miroslav Prasil 0a72c4b6db Do not disable invitations via admin API
5 years ago
Daniel García 8867626de8
Add option to change invitation org name, fixes #825
5 years ago
Daniel García f5916ec396
Fix backwards indices
5 years ago
Daniel García ebb36235a7
Cache icons in the clients
5 years ago
Daniel García def174a517
Convert email domains to punycode
5 years ago
Daniel García 84ed185579
Update u2f to 0.2, which requires OpenSSL but also might solve the problems we've had with certificates.
5 years ago
Daniel García 8c229920ad
Protect websocket server against panics
5 years ago
Daniel García e274af6e3d
Print current server time when failing TOTP, and use chrono as the rest of the server
5 years ago
Daniel García a0ece3754b
Formatting
5 years ago
Daniel García 2545469713
Fix crash when page URL points to huge file
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 912e1f93b7
Fix some lints
5 years ago
Daniel García adc443ea80
Add endpoint to delete specific U2F key
5 years ago
Daniel García 0d32179d07
Logout button in admin page
5 years ago
Daniel García 12928b832c
Fix broken tests
5 years ago
Daniel García 924ba153aa
Merge pull request #730 from tomuta/email_verification
5 years ago
tomuta bd1e8be328 Implement change-email, email-verification, account-recovery, and welcome notifications
5 years ago
BlackDex b209c1bc4d Add an option to fetch and parse href="data:image"
5 years ago
tomuta 64d6f72e6c Add the ability to disable signups, but allow signups from a whitelist
5 years ago
BlackDex 3f6809bcdf Fixed issue/request #705
5 years ago
BlackDex 2ffc3eac4d Clippy fix
5 years ago
BlackDex 0ff7fd939e Next attempt for issue #709 fix
5 years ago
BlackDex ca7c5129b2 Fixed issue #709 creating icon_cache directory.
5 years ago
Patrick Li 85dbf4e16c
Don't include excluded global equivalent domains during sync
5 years ago
Daniel García e449912f05
Generate recovery codes for email and duo
5 years ago
Daniel García d29b6bee28
Remove unnecessary clones and other clippy fixes
5 years ago
Miro Prasil 00a11b1b78 Stop leaking usernames when SIGNUPS_ALLOWED=false
5 years ago
BlackDex ee550be80c Added http favicon url when response failed
5 years ago
Jellyfrog ebc47dc161
Remove unneeded WS logging
5 years ago
vpl 2edecf34ff Use user_uuid instead of mut twofactor
5 years ago
vpl 18bc8331f9 Send email when preparing 2FA JsonError
5 years ago
BlackDex 603a964579 Fixed issue #663.
5 years ago
BlackDex 9466f02696 Recoded TOTP time drift validation
5 years ago
BlackDex d989a19f76 Merge branch 'master' of https://github.com/dani-garcia/bitwarden_rs into totp-timedrift
5 years ago
Daniel García d292269ea0
Make the blacklist logic be cached
5 years ago
BlackDex ebf40099f2 Updated authenticator TOTP
5 years ago
BlackDex edc482c8ea Changed HIBP Error message.
5 years ago
BlackDex 6e5c03cc78 Some modification when no HIBP API Key is set
5 years ago
Daniel García e6b763026e
Merge branch 'master' into icon-security
5 years ago
BlackDex be2916333b Fixed issue #565
5 years ago
BlackDex 9124d8a3fb Updated icon blacklisting.
5 years ago
Miro Prasil d6e9af909b Remove the unnecessary check for sqlite
5 years ago
Miro Prasil acdd42935b Add sqlite binary into the docker images
5 years ago
Daniel García 4c07f05b3a
Remove Result<T, E: Debug> in preparation of deprecation as Rocket responder.
5 years ago
Daniel García df8114f8be
Updated client kdf iterations to 100000 and fixed some lints
5 years ago
Daniel García e3404dd322
Use the local scripts instead of cloudflare, remove jquery and update config so disabling a master toggle doesn't remove the values
5 years ago
Daniel García bfc517ee80
Remove unused warning
5 years ago
Daniel García 4a7d2a1e28
Rename static files endpoint
5 years ago
vpl 5d50b1ee3c Merge remote-tracking branch 'upstream/master' into email-codes
5 years ago
vpl c99df1c310 Compare token using crypto::ct_eq
5 years ago
vpl 591ae10144 Get token from single u64
5 years ago
Daniel García 026f9da035
Allow removing users two factors
6 years ago
Daniel García 515b87755a
Update HIBP to v3, requires paid API key, fixes #583
6 years ago
vpl ee7837d022 Add option to require new device emails
6 years ago
Daniel García 07743e490b
Ignore error sending device email
6 years ago
BlackDex e7b6238f43 Added reqwest proxy support
6 years ago
vpl ad2225b6e5 Add configuration options for Email 2FA
6 years ago
vpl 5609103a97 Use ring to generate email token
6 years ago
vpl 6d460b44b0 Use saved token for email 2fa codes
6 years ago
vpl efd8d9f528 Remove some unused imports, unneeded mut variables
6 years ago
vpl 29aedd388e Add email code logic and move two_factor into separate modules
6 years ago
vpl 27e0e41835 Add email authenticator logic
6 years ago
Daniel García c9c3f07171
Updated dependencies and fixed panic getting icons
6 years ago
vpl df71f57d86 Move send device email to end of password login
6 years ago
vpl 60e39a9dd1 Move retrieve/new device from connData to separate function
6 years ago
vpl bc6a53b847 Add new device email when user logs in
6 years ago
Daniel García 05a1137828
Move backend checks to build.rs to fail fast, and updated dependencies
6 years ago
Daniel García 5710703c50
Make sure the backup option only appears when using sqlite
6 years ago
Daniel García 1322b876e9
Merge pull request #493 from endyman/feature/initial_mysql_support
6 years ago
Emil Madsen e22e290f67 Fix key and type variable names for mysql
6 years ago
TheMardy ef551f4cc6 Create Backup funcitonality
6 years ago
Daniel García 5521a86693
Change path for served images to avoid collision with vault images
6 years ago
Daniel García 3160780549
Merge pull request #401 from TheMardy/master
6 years ago
Daniel García 874f5c34bd
Formatting
6 years ago
Daniel García 253faaf023
Use users duo host when required, instead of always using the global one
6 years ago
Daniel García 3d843a6a51
Merge pull request #460 from janost/organization-vault-purge
6 years ago
janost 03fdf36bf9 Fixed purging organization vault
6 years ago
Daniel García fdcc32beda
Validate Duo credentials when custom
6 years ago
Daniel García bf20355c5e
Merge branch 'duo'
6 years ago
Daniel García 2e12114350
Always create the user when inviting from admin panel
6 years ago
ViViDboarder d3a8a278e6 Add new endpoint for retrieving all users
6 years ago
Daniel García 8d9827c55f
Implement selection between global config and user settings for duo keys.
6 years ago
Daniel García cad63f9761
Auto generate akey
6 years ago
Daniel García 621f607297
Update dependencies and fix some warnings
6 years ago
Daniel García 754087b990
Add global duo config and document options in .env template
6 years ago
Daniel García cfbeb56371
Implement user duo, initial version
6 years ago
Daniel García 4b40cda910
Added domain blacklist regex for icons service and improved valid domain check.
6 years ago
Daniel García 61515160a7
Allow changing error codes and create an empty error.
6 years ago
Daniel García 43f9038325
Add option to force resync clients in admin panel
6 years ago
Daniel García 0718a090e1
Trim spaces from admin token during authentication and validate that the admin panel token is not empty
6 years ago
Daniel García 04922f6aa0
Some formatting and dependency updates
6 years ago
Daniel García 7d2bc9e162
Added option to force 2fa at logins and made some changes to two factor code.
6 years ago
Daniel García 10756b0920
Update dependencies and fix some lints
6 years ago
Дамјан Георгиевски 473f8b8e31 remove some unneeded mutability
6 years ago
Shane Faulkner 8b5b06c3d1 Allow the Admin token to be disabled in the advanced menu
6 years ago
Daniel García 5ee04e31e5
Updated dependencies, removed some unnecessary clones and fixed some lints
6 years ago
TheMardy 84fb6aaddb Set correct MIME type
6 years ago
Daniel García a744b9437a
Implemented multiple U2f keys, key names, and compromised checks
6 years ago
Daniel García 6027b969f5
Delete old devices when deauthorizing user sessions
6 years ago
Daniel García 93805a5d7b
Fix Yubikeys deleted on error
6 years ago
TheMardy a79334ea4c Added static email image routes
6 years ago
BlackDex 3b27dbb0aa Added config option for icon download timeout
6 years ago
Daniel García 9636f33fdb
Implement constant time equal check for admin, 2fa recover and 2fa remember tokens
6 years ago
Daniel García 28d1588e73
Show version in admin panel
6 years ago
Daniel García f3b1a5ff3e
Error when admin panel is disabled
6 years ago
Daniel García 820c8b0dce
Change use of deserialize_with for Option iterator
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 ef63342e20
Add reset user config button
6 years ago
Daniel García 3db815b969
Implemented config form and fixed config priority
6 years ago
Daniel García ade293cf52
Save config
6 years ago
Daniel García 877408b808
Implement basic config loading and updating. No save to file yet.
6 years ago
Daniel García 86ed75bf7c
Config can now be serialized / deserialized
6 years ago
Daniel García 20d8d800f3
Updated dependencies
6 years ago
Miroslav Prasil 637f655b6f Do not allocate uneccessary Vec
6 years ago
Miroslav Prasil b3f7394c06 Do not update revision at the end, as we already did that
6 years ago
Miroslav Prasil 1a5ecd4d4a cipher does not need to be mutable
6 years ago