Commit Graph

1195 Commits (0c0e632bc99e707991da1af01d111580d1571ff9)

Author SHA1 Message Date
Daniel García edca4248aa
Use optional env as this variable isn't defined during CI
2 years ago
Daniel García 818b254cef
Implement config endpoint
2 years ago
Daniel García 8b5c945bad
Merge branch 'web-vault-v2022.9-support' of https://github.com/BlackDex/vaultwarden into BlackDex-web-vault-v2022.9-support
2 years ago
BlackDex 94be67eac1
Added support for web-vault v2022.9
2 years ago
BlackDex 5a05139efe
Change the handling of login errors.
2 years ago
Daniel García 7598997deb
Merge branch 'org-user-revoke-access' of https://github.com/BlackDex/vaultwarden into BlackDex-org-user-revoke-access
2 years ago
BlackDex 1722742ab3
Add Org user revoke feature
2 years ago
Hagen Tasche d9c0eb3cfc
Update two external Links to prevent tabnabbing
2 years ago
Hagen Tasche 0d990e1dc0
Open Externallink in new Tab
2 years ago
BlackDex abfa868423
Mitigate attachment/send upload issues
2 years ago
BlackDex 9a787dd105
Fix persistent folder check within containers
2 years ago
BlackDex 0f95bdc9bb
Fix issue with CSP and icon redirects
2 years ago
Daniel García c9376e3126
Remove read_file and read_file_string and replace them with the std alternatives
2 years ago
Daniel García e167798449
Merge branch 'more-clippy-checks' of https://github.com/BlackDex/vaultwarden into BlackDex-more-clippy-checks
2 years ago
Daniel García fc5928772b
Move around comments
2 years ago
BlackDex 55d7c48b1d
Add more clippy checks for better code/readability
2 years ago
Yip Rui Fung bf623eed7f Use if let instead of a match with empty block.
2 years ago
Yip Rui Fung 84bcac0112 Apply rustfmt.
2 years ago
Yip Rui Fung 31595888ea Use match to avoid ownership issues on the TempFile / file_path variables in closures.
2 years ago
Yip Rui Fung 5c38b2c4eb Remove option and use unwrap_or_else to fall back to copy behavior.
2 years ago
Yip Rui Fung ebe9162af9 Add option to make file uploads use move_copy_to instead of persist_to
2 years ago
Daniel García b64cf27038
Upgrade dependencies and swap lettre to async transport
2 years ago
Jeremy Lin 5e13b1a7cb Add `password_hints_allowed` config option
2 years ago
Daniel García 221a11de9b
Merge branch 'log-level-adjustment' of https://github.com/BlackDex/vaultwarden into BlackDex-log-level-adjustment
2 years ago
Daniel García c9934ccdb7
Merge branch 'fix-issue-2570' of https://github.com/BlackDex/vaultwarden into BlackDex-fix-issue-2570
2 years ago
Daniel García f1a86acb98
Merge branch 'optimize-icon-html-parsing' of https://github.com/BlackDex/vaultwarden into BlackDex-optimize-icon-html-parsing
2 years ago
Daniel García bf403fee7d
Merge branch 'fix-issue-2566' of https://github.com/BlackDex/vaultwarden into BlackDex-fix-issue-2566
2 years ago
BlackDex 45d3b479bc
Small change in log-level for better debugging
2 years ago
BlackDex c7a752b01d
Update dep's and small improvements on favicons
2 years ago
BlackDex 099d359628
Fix identicons not always working
2 years ago
BlackDex 006a2aacbb
Allow FireFox relay in CSP.
2 years ago
BlackDex b71d9dd53e
Fix for issue #2566
2 years ago
Daniel García 887e320e7f
Merge pull request #2555 from jjlin/global-domains
2 years ago
BlackDex 5d05ec58be
Updated deps and misc fixes and updates
3 years ago
Jeremy Lin dec03b3dc0 Sync global_domains.json to bitwarden/server@194b76c (HealthCare.gov)
3 years ago
Jeremy Lin 85950bdc0b Sync global_domains.json to bitwarden/server@496c9a5 (Proton)
3 years ago
BlackDex e33b8fab34
Re-Base, Update crates and small change.
3 years ago
Daniel García b00fbf153e
Fix clippy lint and remove unused log
3 years ago
Daniel García 0de5919a16
Fix incorrect pings sent, and respond to pings from the client
3 years ago
Daniel García 699777be9e
use dashmap in icons blacklist regex
3 years ago
Daniel García 16ff49d712
Move to job_scheduler_ng
3 years ago
Daniel García 54c78cf06d
Migrate old ws crate to tungstenite, which is async and also removes over 20 old dependencies
3 years ago
Daniel García 6b6f5b8d04
Merge branch 'lettre-improvements' of https://github.com/paolobarbolini/vaultwarden into paolobarbolini-lettre-improvements
3 years ago
Paolo Barbolini 12612da75e Remove manual IDN handling
3 years ago
Paolo Barbolini 68ec5f2a18 Use MultiPart::alternative_plain_html instead of manual impl
3 years ago
Lyonel Martinez dbd95e08e9 Adding "UserEnabled" and "CreatedAt" member to the json output of a User in the admin/users and admin/users/<ID> web routes.
3 years ago
BlackDex 40ed505581
Add a persistent volume check.
3 years ago
BlackDex 1c266031d7
Fix upload limits and disable color logs
3 years ago
Daniel García 2a9ca88c2a
Dependency updates
3 years ago
Daniel García 451ad47327
Merge branch 'db-conn-init' of https://github.com/jjlin/vaultwarden into jjlin-db-conn-init
3 years ago
BlackDex 3ca85028ea
Improve sync speed and updated dep. versions
3 years ago
Jeremy Lin 542a73cc6e Switch to a single config option for database connection init
3 years ago
Jeremy Lin 78d07e2fda Add default connection-scoped pragmas for SQLite
3 years ago
Jeremy Lin b617ffd2af Add support for database connection init statements
3 years ago
Jeremy Lin df8aeb10e8 Add `/api/{alive,now,version}` endpoints
3 years ago
Jeremy Lin 28c5e63bf5 Sync global_domains.json to bitwarden/server@3521ccb (Just Eat Takeaway.com)
3 years ago
BlackDex fb0c23b71f
Remove u2f implementation
3 years ago
Daniel García 81f0c2b0e8
Merge branch 'x-xss-protection' of https://github.com/Wonderfall/vaultwarden into Wonderfall-x-xss-protection
3 years ago
Wonderfall 27d4b713f6 disable legacy X-XSS-Protection feature
3 years ago
BlackDex b0faaf2527
Several updates and fixes
3 years ago
BlackDex c4d565b15b
Update login API code
3 years ago
Daniel García 843f205f6f
Merge branch 'async-updates' of https://github.com/BlackDex/vaultwarden into BlackDex-async-updates
3 years ago
Daniel García 2ff51ae77e
formatting
3 years ago
Daniel García 2b75d81a8b
Ignore unused field
3 years ago
Daniel García cad0dcbed1
await the mutex in db_run and use block_in_place for it's contents
3 years ago
BlackDex 19b8388950
Upd Dockerfiles, crates. Fixed rust 2018 idioms
3 years ago
BlackDex 87e08b9e50
Async/Awaited all db methods
3 years ago
Daniel García 0b7d6bf6df
Update to rocket 0.5 and made code async, missing updating all db calls, that are currently blocking
3 years ago
Daniel García d73d74e78f
Merge branch 'main' of https://github.com/taylorwmj/vaultwarden into taylorwmj-main
3 years ago
Daniel García 94201ca133
Merge branch 'custom-env-path' of https://github.com/TinfoilSubmarine/vaultwarden into TinfoilSubmarine-custom-env-path
3 years ago
BlackDex 42136a7097
Favicon, SMTP and misc updates
3 years ago
taylorwmj 9bb4c38bf9
Added autofocus to pw field on admin login page
3 years ago
BlackDex 5f01db69ff
Update async to prepare for main merge
3 years ago
Joel Beckmeyer 8295688bed Add support for custom .env file path
3 years ago
Tomek Mańko 9713a3a555 Add IP address to missing/invalid password message for Sends
3 years ago
Daniel García d781981bbd
formatting
3 years ago
Daniel García 5125fdb882
Ignore unused field
3 years ago
Daniel García fd9693b961
await the mutex in db_run and use block_in_place for it's contents
3 years ago
BlackDex f38926d666
Upd Dockerfiles, crates. Fixed rust 2018 idioms
3 years ago
BlackDex 775d07e9a0
Async/Awaited all db methods
3 years ago
Daniel García 2d5f172e77
Update to rocket 0.5 and made code async, missing updating all db calls, that are currently blocking
3 years ago
Jeremy Lin 7d552dbdc8 Increase length limit for email token generation
3 years ago
Daniel García bf6330374c
Merge branch 'api-key' of https://github.com/jjlin/vaultwarden into jjlin-api-key
3 years ago
Daniel García 4a88e7ec78
Merge branch 'iamdoubz-feature-to-permissions-policy-patch' of https://github.com/iamdoubz/vaultwarden into iamdoubz-iamdoubz-feature-to-permissions-policy-patch
3 years ago
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
iamdoubz e4e16ed50f Upgrade Feature-Policy to Permissions-Policy
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 6ddbe84bde
Remove unnecessary return
3 years ago
Jake Howard 690d0ed1bb
Add our own HTTP date formatter
3 years ago
Jake Howard 248e7dabc2
Collapse field name definition
3 years ago
Jake Howard 4584cfe3c1
Additionally set expires header when caching responses
3 years ago
Daniel García e501dc6d0e
Merge branch 'multi-db-dockers' of https://github.com/BlackDex/vaultwarden into BlackDex-multi-db-dockers
3 years ago
Daniel García 85ac9783f0
Merge branch 'ratelimit' into main
3 years ago
BlackDex 5b430f22bc
Support all DB's for Alpine and Debian
3 years ago
Daniel García d4eb21c2d9
Better document the new rate limiting
3 years ago
Jeremy Lin 605419ae1b Sync global_domains.json to bitwarden/server@5a8f334 (TransferWise)
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
Jeremy Lin d8869adf52 Sync global_domains.json to bitwarden/server@224bfb6 (Wells Fargo)
3 years ago
Jeremy Lin a631fc0077 Sync global_domains.json to bitwarden/server@2f518fb (Ubisoft)
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
Daniel García 88643fd9d5
Merge pull request #2078 from jjlin/fix-ea-reject
3 years ago
Jeremy Lin 14408396bb Fix missing encrypted key after emergency access reject
3 years ago
Jeremy Lin 6cbb724069 Fix conflict resolution logic for `read_only` and `hide_passwords` flags
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 75e62abed0
Move database_max_conns
3 years ago
Daniel García 97f9eb1320
Update dependencies
3 years ago
Daniel García 53cc8a65af
Add doc comments to the functions in Config, and remove some unneeded pubs
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
Daniel García f8d1cfad2a
Merge branch 'admin-interface' of https://github.com/BlackDex/vaultwarden into BlackDex-admin-interface
3 years ago
BlackDex b0a411b733 Update some JS Libraries and fix small issues
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
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 c68fbb41d2
Merge branch 'fix-org-attachment-uploads' of https://github.com/jjlin/vaultwarden into jjlin-fix-org-attachment-uploads
3 years ago
Jeremy Lin 91e80657e4 Fix error with adding file attachment from org vault view
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
BlackDex ffdcafa044 Fix WebAuthn issues and some small updates
3 years ago
Daniel García 56ffec40f4
Formatting
3 years ago
Mathijs van Veluw 340d42a1ca
Merge branch 'main' into future-web-vault
3 years ago
Daniel García e19420160f
Simplify 2fa removed email and remove extra table close in the footer
3 years ago
Daniel García 4f08167d6f
Merge branch '2fa_enforcement' of https://github.com/olivierIllogika/bitwarden_rs into olivierIllogika-2fa_enforcement
3 years ago
Daniel García f16d56cb27
Merge branch 'attachment-storage' of https://github.com/BlackDex/vaultwarden into BlackDex-attachment-storage
3 years ago
Daniel García 7f437b6947
Merge branch 'umireon-add-edge-frame-ancestors' of https://github.com/umireon/vaultwarden into umireon-umireon-add-edge-frame-ancestors
3 years ago
Daniel García d0ec410b73
Merge branch 'password-hints' of https://github.com/jjlin/vaultwarden into jjlin-password-hints
3 years ago
Daniel García e5ec245626
Protect namedfile against path traversal, rocket only does it for pathbuf
3 years ago
BlackDex 6ea95d1ede Updated attachment limit descriptions
3 years ago
Jeremy Lin 88bea44dd8 Prevent user enumeration via password hints
3 years ago
Jeremy Lin 8ee5d51bd4 Disable `show_password_hint` by default
3 years ago
Kaito Udagawa c640abbcd7
Update src/util.rs
3 years ago
Kaito Udagawa 13598c098f Add links to browser extensions
3 years ago
Kaito Udagawa a622b4d2fb Add Edge's frame-ancestors
3 years ago
BlackDex 403f35b571 Added web-vault v2.21.x support + some misc fixes
3 years ago
Daniel García e3a2dfffab
Formatting
3 years ago
Daniel García 0dcea75764
Remove unused lifetime and double referencing
3 years ago
Daniel García 46e0f3c43a
Load RSA keys as pem format directly, and using openssl crate, backported from async branch
3 years ago
Daniel García 2cd17fe7af
Add token with short expiration time to send url
3 years ago
Jeremy Lin 49579e4ce7 Avoid `Error parsing LastKnownRevisionDate` warning for mobile clients
3 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 5772836be5
Fix admin page with handlebars 4
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
Jeremy Lin 848d17ffb9 Sync global_domains.json to bitwarden/server@7857053 (Amazon)
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