Commit Graph

342 Commits (8e7b27cc36f02da6a02099be3bc5a59e42bcb1b6)

Author SHA1 Message Date
Jeremy Lin 56b4f46d7d Fix limitation on sharing ciphers with attachments
3 years ago
Fabian Thies 42ba817a4c Fix errors that occurred in the nightly build
3 years ago
Fabian Thies dd98fe860b Send create, update and delete notifications for `Send`s in the correct format.
3 years ago
Daniel García cfceac3909
Merge branch 'fix-sync-desktop-client' of https://github.com/BlackDex/vaultwarden into BlackDex-fix-sync-desktop-client
3 years ago
BlackDex 58b046fd10 Fix syncing with Bitwarden Desktop v1.28.0
3 years ago
BlackDex 89b5f7c98d Dependency updates
3 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
BlackDex 403f35b571 Added web-vault v2.21.x support + some misc fixes
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
Jeremy Lin 5fef7983f4 Clean up attachment error handling
4 years ago
Jeremy Lin 29ed82a359 Add support for v2 attachment upload APIs
4 years ago
Daniel García 8e6c6a1dc4
Merge pull request #1689 from jjlin/hide-email
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
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 1e5306b820
Remove warning when compiling only with mysql and add compatibility mode with the old docker script names
4 years ago
Olivier Martin e3c4609c2a Merge commit '3da44a8d30e76f48b84f5b888e0b33427037037c' into 2fa_enforcement
4 years ago
Daniel García 34ea10475d
Project renaming
4 years ago
Olivier Martin 2421d49d9a Merge branch 'master' of github.com:dani-garcia/bitwarden_rs into 2fa_enforcement
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
Daniel García 4e64dbdde4
Merge pull request #1579 from jjlin/job-scheduler
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
Jake Howard 93c881a7a9
Reflow some lines manually
4 years ago
Jake Howard 0af3956abd
Run `cargo fmt` on codebase
4 years ago
BlackDex 9caf4bf383 Misc changes.
4 years ago
Jake Howard e8aa3bc066
Merge branch 'master' into clippy-run
4 years ago
Jake Howard 0bf0125e82
Reverse negation on ordering
4 years ago
BlackDex 57e17d0648 Updated diagnostics page
4 years ago
Jake Howard 49af9cf4f5
Correctly camelCase acronyms
4 years ago
Jake Howard 9f1240d8d9
Only construct JSON object if it's useful
4 years ago
Jake Howard ea57dc3bc9
Use `matches` macro
4 years ago
Daniel García 1fc6c30652
Send deletion thread and updated users revision
4 years ago
Daniel García 46a1a013cd
Update user revision date with sends
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 95e24ffc51
rename send key -> akey
4 years ago
Daniel García 8da5b99482
Send API
4 years ago
Daniel García ce62e898c3
Remove debug impl from database structs
4 years ago
Daniel García 85e3c73525
Basic experimental ldap import support with the official directory connector
4 years ago
BlackDex 7dff8c01dd JSON Response updates and small fixes
4 years ago
Jeremy Lin 9f86196a9d Add support for the Personal Ownership policy
4 years ago
BlackDex de86aa671e Fix Key Rotation during password change
4 years ago
Daniel García b32f4451ee
Merge branch 'master' into admin-disable-user
4 years ago
janost 1eb5495802 Show latest active device as last active on admin page
4 years ago
janost 043aa27aa3 Implement admin ability to enable/disable users
4 years ago
Ave fa364c3f2c
Ensure that a user is actually in an org when applying policies
4 years ago
Daniel García b5f9fe4d3b
Fix #1206
4 years ago
Daniel García 013d4c28b2
Try to fix #1218
4 years ago
Rob Watson b9daa59e5d Add DATABASE_MAX_CONNS config setting
4 years ago
Daniel García 448e6ac917
Invalidate sessions when changing password or kdf values
4 years ago
Daniel García 729c9cff41
Retry initial db connection, with adjustable option
4 years ago
BlackDex 978be0b4a9 Fixed foreign-key (mariadb) errors.
4 years ago
Jeremy Lin 0eee907c88 Simplify implementation of `UserOrgType::cmp()`
4 years ago
Jeremy Lin 4c3b328aca Hide ciphers from non-selected collections for org owners/admins
4 years ago
Daniel García aaba1e8368
Fix some clippy warnings and remove unused function
4 years ago
Jeremy Lin 175d647e47 Delete associated favorites when deleting a cipher or user
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
Jeremy Lin 0e9eba8c8b Maximize similarity between MySQL and SQLite/PostgreSQL schemas
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
Jeremy Lin 790146bfac Fix error in PostgreSQL build
5 years ago
Jeremy Lin f9a73a9bbe More cipher optimization/cleanup
5 years ago
Jeremy Lin 35868dd72c Optimize cipher queries
5 years ago
Jeremy Lin 979d010dc2 Add support for hiding passwords in a collection
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 3c66deb5cc Redesign of the admin interface.
5 years ago
Daniel García aee1ea032b
Merge pull request #989 from theycallmesteve/update_responses
5 years ago
theycallmesteve 08afc312c3
Add missing items to profileOrganization 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 9cca64003a
Remove unused dependency and simple feature, update dependencies and fix some clippy lints
5 years ago
Daniel García e3b00b59a7
Initial support for soft deletes
5 years ago
BlackDex 1ee8e44912 Fixed issue #965
5 years ago
Daniel García adf47827c9
Make sure the data field is always returned, otherwise the mobile apps seem to have issues
5 years ago
BlackDex 078234d8b3 Small change for rocket compatibilty
5 years ago
Daniel García 40c339db9b
Fix postgres policies, second try
5 years ago
Daniel García 819f340f39
Fix issue with postgres
5 years ago
Daniel García 3fa78e7bb1
Initial version of policies
5 years ago
Daniel García 325039c316
Attachment size limits, per-user and per-organization
5 years ago
Miro Prasil 03233429f4 Remove check from Invitation:take()
5 years ago
Michael Powers e196ba6e86
Switch error handling to ? operator instead of explicit handling.
5 years ago
Michael Powers 76743aee48
Fixes #635 - Unique constraint violation when using U2F tokens on PostgreSQL
5 years ago
tomuta bd1e8be328 Implement change-email, email-verification, account-recovery, and welcome notifications
5 years ago
BlackDex 3442eb1b9d Trying to fix issue #687
5 years ago
Daniel García fccc0a4b05
Update rocket to latest master
5 years ago
Daniel García dc515b83f3
Merge pull request #657 from BlackDex/totp-timedrift
5 years ago
BlackDex 2cde814aaa Fixed a bug with the sqlite backup feature.
5 years ago
BlackDex ebf40099f2 Updated authenticator TOTP
5 years ago
Daniel García 4c07f05b3a
Remove Result<T, E: Debug> in preparation of deprecation as Rocket responder.
5 years ago
Michael Powers f5f9861a78
Adds support for PostgreSQL which resolves #87 and is mentioned in #246.
5 years ago
Daniel García df8114f8be
Updated client kdf iterations to 100000 and fixed some lints
5 years ago
vpl 6d460b44b0 Use saved token for email 2fa codes
5 years ago
vpl 29aedd388e Add email code logic and move two_factor into separate modules
5 years ago
Daniel García 05a1137828
Move backend checks to build.rs to fail fast, and updated dependencies
6 years ago
Daniel García 76f38621de
Update dependencies and remove unwraps from Cipher::to_json
6 years ago
Daniel García 12af32b9ea
Don't print DB URL
6 years ago
Daniel García 1322b876e9
Merge pull request #493 from endyman/feature/initial_mysql_support
6 years ago
Nils Domrose dc36f0cb6c re-added sqlite check_db code, cleanup
6 years ago
Nils Domrose ff759397f6 initial mysql support
6 years ago
Emil Madsen 233b48bdad Fix missing joinable in schema
6 years ago
Emil Madsen e22e290f67 Fix key and type variable names for mysql
6 years ago
Emil Madsen ab95a69dc8 Rework migrations for MySQL
6 years ago
Emil Madsen 85c8a01f4a Merge branch 'master' of github.com:Skeen/bitwarden_rs
6 years ago
Emil Madsen 42af7c6dab MySQL database
6 years ago
TheMardy ef551f4cc6 Create Backup funcitonality
6 years ago
Daniel García bf20355c5e
Merge branch 'duo'
6 years ago
Daniel García 0136c793b4
Implement better user status API, in the future we'll probably want a way to disable users.
6 years ago
Daniel García 621f607297
Update dependencies and fix some warnings
6 years ago
Daniel García 43f9038325
Add option to force resync clients in admin panel
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
Дамјан Георгиевски 473f8b8e31 remove some unneeded mutability
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 8b4a6f2a64
Fixed some clippy lints and changed update_uuid_revision to only use one db query
6 years ago
Miroslav Prasil 08ca47cadb Update revision when adding or removing cipher from collection
6 years ago
Miroslav Prasil 5272b465cc Update revision of affected users when deleting Collection
6 years ago
Miroslav Prasil bce656c787 Retry updating revision - fixes #383
6 years ago
Daniel García bef1183c49
Only send one notification per vault import and purge, improve move ciphers functions
6 years ago
Daniel García 69036cc6a4
Add disabled user badge (no password) and deauthorize button to admin page.
6 years ago
Daniel García 700e084101
Add 2FA icon to admin panel
6 years ago
Daniel García a1dc47b826
Change config to thread-safe system, needed for a future config panel.
6 years ago
Daniel García 86de0ca17b
Fix editing users from collections menu
6 years ago
Stephen White fc0e239bdf No point calling find_by_uuid now we don't use the result.
6 years ago
Stephen White 928ad6c1d8 Fix the list of users with access to a collection to display correctly.
6 years ago
Daniel García ddd49596ba
Fix invite empty email
6 years ago
Daniel García 834c847746
Implement admin JWT cookie, separate JWT issuers for each type of token and migrate admin page to handlebars template
6 years ago
Daniel García 6f52104324
Fix casing error in Attachment, should fix 'Attachment doesn't exist' errors
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 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 b2fc0499f6
Finish invite functionality, and remove virtual organization
6 years ago
Daniel García 6a99849a1e
Implemented proper error handling, now we can do `user.save($conn)?;` and it works.
6 years ago
Daniel García 1b5134dfe2
Fixed delete user when 2FA is enabled, implemented delete user for admin panel, and the front-end part for invite user. Secured admin panel behind a configurable token.
6 years ago
Daniel García 004a3f891f
Merge pull request #315 from aksdb/master
6 years ago
Andreas Schneider e7ea5097f4 Restrict join on users_collections to current user (fixes #313)
6 years ago
Miroslav Prasil 8451a70de6 Rewrite find_by_user_uuid to use one query
6 years ago
Daniel García 4e827e4f8a
Implement better retry and use it while saving device
6 years ago
Daniel García 7adc045b80
Updated IP logging to use client_ip, to match old remote behavior.
6 years ago
Daniel García 738ad2127b
Fixed some clippy linting issues
6 years ago
Daniel García cb930a0858
Remove some required values during login, now uses default values
6 years ago