Jake Howard
3e5971b9db
Remove unnecessary result return types
4 years ago
Jake Howard
47c2625d38
Prevent `clippy` complaining at method
...
It's not incorrectly wrapped. We care about the return type being `Option`.
4 years ago
Jake Howard
49af9cf4f5
Correctly camelCase acronyms
...
https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms
4 years ago
Jake Howard
6b1daeba05
Implement `From` over `Into`
...
https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into
4 years ago
Jake Howard
9f1240d8d9
Only construct JSON object if it's useful
4 years ago
Jake Howard
a8138be69b
Use `if let` more
4 years ago
Jake Howard
ea57dc3bc9
Use `matches` macro
4 years ago
Daniel García
16eb0a56f9
Exclude vendored scripts from Github language statistics
4 years ago
Daniel García
3e4ff47a38
Update dependencies, particularly openssl to 1.1.1k
4 years ago
Daniel García
8ea01a67f6
Merge pull request #1529 from mprasil/more-generic-send-error-messages
...
Return generic message when Send not available
4 years ago
Miro Prasil
aa5cc642e1
Use constant for the "inaccessible" error message
4 years ago
Daniel García
a121cb6f00
Merge pull request #1530 from jjlin/global-domains
...
Sync global_domains.json
4 years ago
Daniel García
60164182ae
Fix alpine armv7 build
...
Reference: https://github.com/messense/rust-musl-cross/pull/34
4 years ago
Jeremy Lin
f842a80cdb
Sync global_domains.json to bitwarden/server@455e4b2 (ProtonMail/ProtonVPN)
4 years ago
Miro Prasil
4b6a574ee0
Return generic message when Send not available
...
This should help avoid leaking information about (non)existence of Send
and be more in line with what official server returns.
4 years ago
Daniel García
f9ebb780f9
Update dependencies
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
551810c486
Fix updating file send
4 years ago
Daniel García
b987ba506d
Merge pull request #1493 from jjlin/send
...
Add support for the Disable Send policy
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
...
Upstream refs:
* https://github.com/bitwarden/server/pull/1130
* https://bitwarden.com/help/article/policies/#disable-send
4 years ago
Daniel García
a71359f647
Merge pull request #1469 from jjlin/cors
...
CORS fixes
4 years ago
Daniel García
d93c344176
Merge branch 'master' into cors
4 years ago
Daniel García
b9c3213b90
Merge pull request #1487 from jjlin/send
...
Send access check fixes
4 years ago
Daniel García
95e24ffc51
rename send key -> akey
4 years ago
Jeremy Lin
00d56d7295
Send access check fixes
...
Adjust checks for max access count, expiration date, and deletion date.
The date checks aren't that important, but the access count check
currently allows one more access than it should.
4 years ago
Daniel García
7436b454db
Update web vault to 2.19.0
4 years ago
Daniel García
8da5b99482
Send API
4 years ago
Daniel García
2969e87b52
Add separate host-only fromrequest handler
4 years ago
Daniel García
ce62e898c3
Remove debug impl from database structs
...
This is only implemented for the database specific structs, which is not what we want
4 years ago
Daniel García
431462d839
Update dependencies and enable serde integration for chrono
4 years ago
Jeremy Lin
7d0e234b34
CORS fixes
...
* The Safari extension apparently now uses the origin `file://` and expects
that to be returned (see bitwarden/browser#1311 , bitwarden/server#800 ).
* The `Access-Control-Allow-Origin` header was reflecting the value of the
`Origin` header without checking whether the origin was actually allowed.
This effectively allows any origin to interact with the server, which
defeats the purpose of CORS.
4 years ago
Daniel García
dad1b1bee9
Updated dependencies
4 years ago
Daniel García
9312cebee3
Merge pull request #1463 from std2main/patch-2
...
Add a dot in find command.
4 years ago
std2main
cdf5b6ec2d
Add a dot in find command.
...
Add a dot indicting current directory to search by find.
find in mac won't work without the dot
4 years ago
Mathijs van Veluw
ce99fc8f95
Merge pull request #1460 from jjlin/invitation-org-name
...
Fix custom org name in invitation confirmation email
4 years ago
Jeremy Lin
a75d050001
Fix custom org name in invitation confirmation email
...
The org name in the invitation email was made customizable in 8867626
, but
the org name is still hardcoded as "bitwarden_rs" in the confirmation email.
4 years ago
Daniel García
75cfd10f11
Merge pull request #1444 from jjlin/remove-md5
...
Remove `md5.js` dependency
4 years ago
Daniel García
9859ba6339
Merge pull request #1443 from jjlin/data-folder
...
Check for data folder on startup
4 years ago
Jeremy Lin
513056f711
Check for data folder on startup
...
Currently, when starting up for the first time (running standalone, outside
of Docker), bitwarden_rs panics when the `openssl` tool isn't able to create
`data/rsa_key.pem` due to the `data` dir not existing. Instead, print a more
helpful error message telling the user to create the directory.
4 years ago
Mathijs van Veluw
ebe334fcc7
Merge pull request #1447 from jjlin/issue-templates
...
Allow only bug report issues
4 years ago
Jeremy Lin
0eec12472e
Allow only bug report issues
...
Remove templates for other issue types, directing them to the forum instead.
4 years ago
Jeremy Lin
39106d440a
Remove `md5.js` dependency
...
Switch to the built-in WebCrypto APIs for computing identicon hashes.
4 years ago
Daniel García
9117095764
Update dependencies and web vault
4 years ago
Daniel García
099bba950c
Merge pull request #1432 from jjlin/2fa
...
Change `twofactorauth.org` to `2fa.directory`
4 years ago
Jeremy Lin
e37ff60617
Change `twofactorauth.org` to `2fa.directory`
...
The `twofactorauth.org` has apparently been sold to some company for
marketing purposes.
4 years ago
Daniel García
5b14608041
Update web vault to have better error messages when not using HTTPS
4 years ago
Daniel García
ad92692bab
Merge pull request #1413 from paolobarbolini/email-clones
...
Remove unnecessary allocations
4 years ago
Paolo Barbolini
d956d42903
Remove unnecessary allocations
4 years ago