-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement support for daita with multihop #7230
Implement support for daita with multihop #7230
Conversation
0e5b01b
to
46879ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 30 of 93 files at r1, 36 of 59 files at r2, 1 of 61 files at r4.
Reviewable status: 30 of 111 files reviewed, 2 unresolved discussions (waiting on @Pururun)
android/lib/daemon-grpc/src/main/kotlin/net/mullvad/mullvadvpn/lib/daemon/grpc/ManagementService.kt
line 512 at r2 (raw file):
.mapEmpty() suspend fun setDaitaEnabled(enabled: Boolean): Either<SetDaitaSettingsError, Unit> =
Should we use this message instead?
rpc SetEnableDaita(google.protobuf.BoolValue) returns (google.protobuf.Empty) {}
android/lib/daemon-grpc/src/main/kotlin/net/mullvad/mullvadvpn/lib/daemon/grpc/ManagementService.kt
line 521 at r2 (raw file):
.mapEmpty() suspend fun setDaitaDirectOnly(enabled: Boolean): Either<SetDaitaSettingsError, Unit> =
Should we use this message instead?
rpc SetDaitaDirectOnly(google.protobuf.BoolValue) returns (google.protobuf.Empty) {}
e4c6847
to
ffde559
Compare
46879ea
to
b5ae47b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 111 files reviewed, 2 unresolved discussions (waiting on @Rawa)
android/lib/daemon-grpc/src/main/kotlin/net/mullvad/mullvadvpn/lib/daemon/grpc/ManagementService.kt
line 512 at r2 (raw file):
Previously, Rawa (David Göransson) wrote…
Should we use this message instead?
rpc SetEnableDaita(google.protobuf.BoolValue) returns (google.protobuf.Empty) {}
Done.
android/lib/daemon-grpc/src/main/kotlin/net/mullvad/mullvadvpn/lib/daemon/grpc/ManagementService.kt
line 521 at r2 (raw file):
Previously, Rawa (David Göransson) wrote…
Should we use this message instead?
rpc SetDaitaDirectOnly(google.protobuf.BoolValue) returns (google.protobuf.Empty) {}
Done.
DaitaScreen( | ||
state = state, | ||
onDaitaEnabled = viewModel::setDaita, | ||
onDirectOnly = { enable -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
onDirectOnlyClick?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
@@ -33,7 +34,7 @@ class FilterCustomListsRelayItemUseCase( | |||
providers = selectedProviders, | |||
daita = | |||
shouldFilterByDaita( | |||
isDaitaEnabled = settings?.isDaitaEnabled() == true, | |||
isDaitaEnabled = settings?.daitaAndDirectOnly() == true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be more explicit? isDaitaEnabled
is seemingly from this logic specifically isDirectOnlyDaitaEnabled
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed
b5ae47b
to
477c4ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 31 of 61 files at r4, 44 of 56 files at r5, 28 of 31 files at r6, 9 of 9 files at r7, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! all files reviewed, all discussions resolved
f8c699a
to
d09006e
Compare
d09006e
to
124bf64
Compare
This change is