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.
2021-03-23 13:39:09 +00:00
Daniel García
f9ebb780f9
Update dependencies
2021-03-22 20:00:57 +01:00
Daniel García
1fc6c30652
Send deletion thread and updated users revision
2021-03-22 19:57:35 +01:00
Daniel García
46a1a013cd
Update user revision date with sends
2021-03-22 19:05:15 +01:00
Daniel García
551810c486
Fix updating file send
2021-03-17 19:39:48 +01:00
Daniel García
b987ba506d
Merge pull request #1493 from jjlin/send
...
Add support for the Disable Send policy
2021-03-16 18:13:55 +01:00
Daniel García
84810f2bb2
Remove unnecessary fields from send access
2021-03-16 18:11:25 +01:00
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
2021-03-16 02:07:45 -07:00
Daniel García
a71359f647
Merge pull request #1469 from jjlin/cors
...
CORS fixes
2021-03-15 16:57:00 +01:00
Daniel García
d93c344176
Merge branch 'master' into cors
2021-03-15 16:49:12 +01:00
Daniel García
b9c3213b90
Merge pull request #1487 from jjlin/send
...
Send access check fixes
2021-03-15 16:47:14 +01:00
Daniel García
95e24ffc51
rename send key -> akey
2021-03-15 16:42:20 +01:00
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.
2021-03-14 23:20:49 -07:00
Daniel García
7436b454db
Update web vault to 2.19.0
2021-03-14 23:36:49 +01:00
Daniel García
8da5b99482
Send API
2021-03-14 23:35:55 +01:00
Daniel García
2969e87b52
Add separate host-only fromrequest handler
2021-03-14 23:24:47 +01:00
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
2021-03-13 22:04:04 +01:00
Daniel García
431462d839
Update dependencies and enable serde integration for chrono
2021-03-13 22:02:11 +01:00
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.
2021-03-07 00:35:08 -08:00
Daniel García
dad1b1bee9
Updated dependencies
2021-03-06 22:04:01 +01:00
Daniel García
9312cebee3
Merge pull request #1463 from std2main/patch-2
...
Add a dot in find command.
2021-03-06 00:04:12 +01:00
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
2021-03-05 15:49:45 -05:00
Mathijs van Veluw
ce99fc8f95
Merge pull request #1460 from jjlin/invitation-org-name
...
Fix custom org name in invitation confirmation email
2021-03-04 08:15:34 +01:00
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.
2021-03-03 23:03:55 -08:00
Daniel García
75cfd10f11
Merge pull request #1444 from jjlin/remove-md5
...
Remove `md5.js` dependency
2021-02-28 18:23:27 +01:00
Daniel García
9859ba6339
Merge pull request #1443 from jjlin/data-folder
...
Check for data folder on startup
2021-02-28 18:22:46 +01:00
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.
2021-02-28 01:45:05 -08:00
Mathijs van Veluw
ebe334fcc7
Merge pull request #1447 from jjlin/issue-templates
...
Allow only bug report issues
2021-02-28 08:32:04 +01:00
Jeremy Lin
0eec12472e
Allow only bug report issues
...
Remove templates for other issue types, directing them to the forum instead.
2021-02-27 22:13:51 -08:00
Jeremy Lin
39106d440a
Remove `md5.js` dependency
...
Switch to the built-in WebCrypto APIs for computing identicon hashes.
2021-02-26 21:48:01 -08:00
Daniel García
9117095764
Update dependencies and web vault
2021-02-24 20:30:19 +01:00
Daniel García
099bba950c
Merge pull request #1432 from jjlin/2fa
...
Change `twofactorauth.org` to `2fa.directory`
2021-02-24 20:05:57 +01:00
Jeremy Lin
e37ff60617
Change `twofactorauth.org` to `2fa.directory`
...
The `twofactorauth.org` has apparently been sold to some company for
marketing purposes.
2021-02-23 18:51:07 -08:00
Daniel García
5b14608041
Update web vault to have better error messages when not using HTTPS
2021-02-20 19:13:20 +01:00
Daniel García
ad92692bab
Merge pull request #1413 from paolobarbolini/email-clones
...
Remove unnecessary allocations
2021-02-20 17:58:12 +01:00
Paolo Barbolini
d956d42903
Remove unnecessary allocations
2021-02-19 20:17:18 +01:00
Daniel García
d69be7d03a
Merge pull request #1389 from jjlin/alpine
...
Update Alpine base images to 3.13
2021-02-15 20:58:13 +01:00
Jeremy Lin
f82de8d00d
Update Alpine base images to 3.13
2021-02-14 15:18:47 -08:00
Daniel García
c836f88ff2
Remove soup and use a newer html5ever directly
2021-02-07 22:28:02 +01:00
Daniel García
8b660ae090
Swap structopt for a simpler alternative
2021-02-07 20:10:40 +01:00
Daniel García
9323c57f49
Remove debug print
2021-02-07 00:22:39 +01:00
Daniel García
85e3c73525
Basic experimental ldap import support with the official directory connector
2021-02-06 20:15:42 +01:00
Daniel García
a74bc2e58f
Update web vault to 2.18.1b
2021-02-06 16:49:49 +01:00
Daniel García
0680638933
Update dependencies
2021-02-06 16:49:28 +01:00
Daniel García
46d31ee5f7
Merge pull request #1356 from BlackDex/fix-config-bug
...
Fixed small buggy in validation
2021-02-03 23:50:49 +01:00
BlackDex
e794b397d3
Fixed small buggy in validation
2021-02-03 23:47:48 +01:00
Daniel García
d41350050b
Merge pull request #1353 from BlackDex/admin-interface
...
Extra features for admin interface.
2021-02-03 22:50:15 +01:00
Mathijs van Veluw
4cd5b06b7f
Merge branch 'master' into admin-interface
2021-02-03 22:41:59 +01:00
Daniel García
cd768439d2
Merge pull request #1329 from BlackDex/misc-updates
...
JSON Response updates and small fixes
2021-02-03 22:37:59 +01:00
Mathijs van Veluw
9e5fd2d576
Merge branch 'master' into admin-interface
2021-02-03 22:22:33 +01:00