1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-09-28 21:53:55 +02:00
Commit-Graph

2690 Commits

Autor SHA1 Nachricht Datum
Mathijs van Veluw
158f834ba7
Merge branch 'main' into multiple-domains-support 2024-05-19 19:41:42 +02:00
Daniel García
0fe93edea6
Some fixes for the new mobile apps (#4526) 2024-04-27 23:24:04 +02:00
Stefan Melmuk
e9aa5a545e
fix emergency access invites (#4337)
* fix emergency access invites with no mail

when mail is disabled instead of accepting emergency access for all
invited users automatically, we only accept if the user already exists

on registration of a new account any open emergency access invitations
will be accepted, if mail is disabled

also prevent invited emergency access contacts to register if emergency
access is disabled (this is only relevant for when mail is enabled, if
mail is disabled they should have an Invitation entry)

* delete emergency access invitations

if an invited user is deleted in the /admin panel their emergency
access invitation will remain in the database which causes
the to_json_grantee_details fn to panic

* improve missing emergency access grantees

instead of returning an empty emergency access contact the entry should
not be added to the list. also the error handling can be improved a bit.
2024-04-27 22:16:05 +02:00
Stefan Melmuk
9dcc738f85
improve access to collections via groups (#4441)
* refactor get_org_collections_details

* improve access to collection check

* fix get_org_collection_detail too
2024-04-27 22:09:00 +02:00
Kristof Mattei
84a7c7da5d
Pass in collection ids to notifier when sharing cipher. (#4517) 2024-04-27 21:53:10 +02:00
Mathijs van Veluw
ca9234ed86
Add extra (unsupported) container build arch's (#4524)
There was a PR (#4370) to add i686/i386 support for Vaultwarden.
That specific PR was not a viable way of adding this.

This PR adds extra architectures for Debian based containers which we
will not support by default. Those images will not be build and pushed
to our container registries.

Added the following architectures:
 - linux/386
 - linux/ppc64le
 - linux/s390x

Again, there will be no major support for these architectures, but it
will allow people who use these architectures to build a Debian based
binary more easily
2024-04-27 21:51:14 +02:00
Daniel García
27dc67fadd
Implement custom DNS resolver (#3988) 2024-04-27 20:25:34 +02:00
Mathijs van Veluw
2ad33ec97f
Update Crate and Rust (#4522)
* Update Crate and Rust

- Updated all crates
- Updated Rust to the latest patch version

* Updated GitHub Actions
2024-04-27 00:53:42 +02:00
Mathijs van Veluw
e1a8df96db
Update Key Rotation web-vault v2024.3.x (#4446)
Key rotation was changed since 2024.1.x.
Multiple other items were added to be rotated like password-reset and emergency-access data to be part of just one POST instead of having multiple.

See: https://github.com/dani-garcia/bw_web_builds/pull/157
2024-04-06 14:42:53 +02:00
Mathijs van Veluw
e42a37c6c1
Update crates and some Clippy fixes (#4475)
- Updated all crates including reqwest
- Fixed some clippy lints reported by nightly Rust
2024-04-06 13:55:10 +02:00
Stefan Melmuk
129b835ac7
update web-vault to v2024.3.1 (new vertical layout) (#4468)
* update web-vault to v2024.3.0

* update web-vault to v2024.3.1
2024-04-06 11:45:25 +02:00
Daniel García
2d98aa3045
Use async verify for Yubikey (#4448) 2024-03-23 16:03:17 +01:00
Mathijs van Veluw
93636eb3c3
Update Rust and crates (#4445)
- Updated Rust to v1.77.0
- Updated several crates
  The `reqwest` update included `trust-dns` > `hickory-dns` changes.
  Also, `reqwest` v0.12 is not working correctly for us, that is something to investigate.
- Fixed a new clippy warning
2024-03-23 15:40:34 +01:00
Mathijs van Veluw
1e42755187
Update chrono and sqlite (#4436)
- Updated sqlite crate
- Updated chrono crate

The latter needed a lot of changes done, mostly `Duration` to `TimeDelta`.
And some changes on how to use Naive.
2024-03-19 19:47:30 +01:00
guangwu
ce8efcc48f
fix: typos (#4440)
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
2024-03-19 19:47:14 +01:00
BlockListed
c150818e19
rebase and fix rebase issues 2024-03-19 13:15:20 +01:00
BlockListed
fae770a6a2
remove some outdated comments / move import 2024-03-19 13:11:19 +01:00
BlockListed
aceaf61810
switch back to admin_path, since cookies break otherwise 2024-03-19 13:11:18 +01:00
BlockListed
6375a20f2f
cargo clippy and cargo fmt 2024-03-19 13:10:27 +01:00
BlockListed
d1cb726996
fix bug when extracing host from domain 2024-03-19 13:10:27 +01:00
BlockListed
335984ee28
cargo clippy and cargo fmt 2024-03-19 13:10:27 +01:00
BlockListed
298cf8adcb
change back name of domain configuration option 2024-03-19 13:10:27 +01:00
BlockListed
09c0367571
re-add domain_origin field to configuration 2024-03-19 13:10:27 +01:00
BlockListed
edcd2640d0
cargo clippy and cargo fmt 2024-03-19 13:10:26 +01:00
BlockListed
96261f1284
remove breaking parameter from to_json methods 2024-03-19 13:10:26 +01:00
BlockListed
d627b02c5f
remove admin_path function
since it just returns a const
2024-03-19 13:10:22 +01:00
BlockListed
fc78b6f4b3
implement error handling for HostInfo extractor
if host isn't an allowed domain, we default to the main domain.
2024-03-19 13:07:25 +01:00
BlockListed
12bdcd447d
clippy and format 2024-03-19 13:07:24 +01:00
BlockListed
3a66772077
use single hashmap instead of two for domain lookups 2024-03-19 13:05:00 +01:00
BlockListed
c0db0d8da0
make clippy happy 2024-03-19 13:05:00 +01:00
BlockListed
f20863096f
fix issue in config 2024-03-19 13:05:00 +01:00
BlockListed
1dfc68ab8a
make auth support multi-domains 2024-03-19 13:05:00 +01:00
BlockListed
7639a2b03d
make identity support multi-domains 2024-03-19 13:04:59 +01:00
BlockListed
df524c7139
make PublicToken support multi-domains 2024-03-19 13:01:28 +01:00
BlockListed
901bf570bf
make organizations work with multi-domains 2024-03-19 13:01:28 +01:00
BlockListed
ab96b26981
make getting config work with multi-domains 2024-03-19 13:01:27 +01:00
BlockListed
3421dfcbf5
make emergency access work with multi-domains 2024-03-19 12:59:20 +01:00
BlockListed
81dd47952b
make ciphers work with multi-domains 2024-03-19 12:59:20 +01:00
BlockListed
2670db15c5
make accounts support multi-domains 2024-03-19 12:59:20 +01:00
BlockListed
6867099291
make headers use hostinfo 2024-03-19 12:59:20 +01:00
BlockListed
ac3c1d41b2
make web support hostinfo 2024-03-19 12:59:20 +01:00
BlockListed
12c0005e7f
make webauthn support multi-domain 2024-03-19 12:59:19 +01:00
BlockListed
42e1018ad7
make admin support hostinfo 2024-03-19 12:57:33 +01:00
BlockListed
968ed8a453
make sends support multi-domain 2024-03-19 12:57:31 +01:00
BlockListed
b5dea32ea5
make attachments / ciphers support multi-domains 2024-03-19 12:55:48 +01:00
BlockListed
f82a142cee
get domain and origin with single extractor 2024-03-19 12:55:47 +01:00
BlockListed
5462b97c26
make cors work with multi-domains 2024-03-19 12:55:47 +01:00
BlockListed
0d7e678c2e
make mail work with multi-domains
the domain chosen is always the first domain
2024-03-19 12:55:47 +01:00
BlockListed
e313745f7c
make domain protocol validation work with multi-domains 2024-03-19 12:55:47 +01:00
BlockListed
2c7b739d49
make fido app-id.json work with multi-domains 2024-03-19 12:55:47 +01:00