summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src/management_interface.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-11-03Add `mullvad debug rollout` commandMarkus Pettersson1-0/+45
Define `get`, `reroll` and `seed` for quickly inspecting and debugging new app releases.
2025-10-14Improve login and create account error messagesJonatan Rhodin1-0/+9
- Add support for more types of login error messages - Add more detail to create account error message - Show info dialog when api is unreachable
2025-09-30Rename block_when_disconnected to lockdown_mode in mullvad cratesTobias Järvelöv1-10/+7
2025-07-10Implement recents support in daemonKalle Lindström1-0/+9
2025-07-10Run `cargo fmt`Sebastian Holmin1-6/+6
2025-07-09Inline format argumentsLinus Färnstrand1-1/+1
2025-07-09Put the `tonic::Status` in a Box to make the error type smallerSebastian Holmin1-0/+1
2025-07-08Inline variables in format stringLinus Färnstrand1-1/+1
A new clippy lint warns about this. A simple cargo clippy --fix solved it
2025-07-04Add rpc call to get in-app upgrade cache dirOskar1-0/+17
2025-06-24Enable support for creating a custom list with locationsJonatan Rhodin1-3/+15
2025-06-19Add RPC for checking if split tunneling is available on LinuxDavid Lönnhager1-0/+15
2025-06-09Add `AllowedIps` setting to CLISebastian Holmin1-1/+22
2025-05-28Various fixes for in-app upgradesDavid Lönnhager1-1/+1
2025-05-28Add in app upgrades to the daemonSebastian Holmin1-26/+28
--------- Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2025-05-28Implement new version check and app downloaderDavid Lönnhager1-11/+48
This also fixes 'latest_beta' being required in the API Co-authored-by: Sebastian Holmin <sebastian.holmin@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2025-05-28Add skeleton for missing gRPC functions in `mullvad-daemon`Markus Pettersson1-0/+19
2025-04-04Implement new debug commands: `relay disable` and `relay enable`Markus Pettersson1-0/+20
Add two new `mullvad debug` subcommands: - mullvad debug relay enable <country|city|hostname|openvpn|wireguard> - mullvad debug relay disable <country|city|hostname|openvpn|wireguard> These commands are used to update the state of relays the current relay list. This is useful to mock relays going offline or coming online from an offline state. These new debug commands were conceived during the development of the feature for adding warnings for the upcoming OpenVPN deprecation, as there wasn't a convenient way of mocking this.
2025-02-12Format workspaceSebastian Holmin1-4/+4
The 2024 edition contains new formatting rules. All of these are not compatible with the 2021 formatting style, but most of them are. To change the formatting to be as close to the new style as possible while remaining compatible with the 2021 edition, I first ran `cargo +beta fmt` with the edition set to 2024, then, with the edition set to 2021, I ran `cargo fmt`.
2025-02-12Fix `clippy::precedence`Sebastian Holmin1-8/+8
2025-02-12Remove `ref` bindingsSebastian Holmin1-1/+1
2025-02-12Run `cargo +beta fix --edition`Sebastian Holmin1-2/+2
2024-10-29Add RPC for checking if TCC approval is neededDavid Lönnhager1-0/+12
2024-10-29Throw error if `set_block_when_disconnected` is called on AndroidMarkus Pettersson1-2/+1
2024-10-29Remove `block_when_disconnected` setting on AndroidMarkus Pettersson1-0/+9
2024-10-07Rename "smart routing" to "direct only" in the APISebastian Holmin1-10/+14
Also invert the behavior
2024-10-07Replace `smart_routing` with `use_multihop_if_necessary` in daemonSebastian Holmin1-1/+1
Simplify the logic for feature indicators
2024-10-04Remove setting to leak traffic to apple networksDavid Lönnhager1-20/+0
2024-10-01Rename account "token" to account "number"Joakim Hulthe1-11/+11
2024-09-25Add setting to leak traffic to apple networksJoakim Hulthe1-0/+20
Co-authored-by: David Lönnhager <david.l@mullvad.net>
2024-09-17Align Smart routing GUI with design specJoakim Hulthe1-4/+4
2024-09-17Add daita.enabled and daita.use_anywhere rpc callsJoakim Hulthe1-0/+30
2024-08-06Shut down gRPC server gracefullyMarkus Pettersson1-36/+87
This commit also removes the `EventListener` trait and the daemon is no longer parameterized over it.
2024-08-01Implement feature indicators in daemonJoakim Hulthe1-0/+17
- Add a GetFeatureIndicators gRPC call that get's the current set of active "features" that should be shown in the UI. - Extend the TunnelState with a FeatureIndicators value. Clients who listens for TunnelState events will get updates automatically.
2024-07-31Add ResetSettings RPC to the management interfaceDavid Lönnhager1-0/+8
2024-07-30Handle version check error more loudlyMarkus Pettersson1-2/+14
Propagate the underlying error which caused the version check to fail, instead of converting it to an Option::None and constructing an ad-hoc status message in case it did fail.
2024-06-25Add `daita` as a Cargo cfg variableMarkus Pettersson1-2/+2
Gate DAITA compilation on `"cargo::rustc-cfg=daita"` emitted in build files per platform.
2024-06-25Enable DAITA for linux in CLI and typesSebastian Holmin1-2/+2
2024-06-20Add `PrepareRestartv2` gRPC callMarkus Pettersson1-3/+10
- Add option to automatically shutdown daemon on after running through the same safety routine as `PrepareRestart`. This is exposed via a new gRPC call called `PrepareRestartV2`. - Add help text for enabling full disk access to the CLI
2024-06-17Get value of data directory value at app startupMarkus Pettersson1-15/+14
Remove `APP_PATH` from `mullvad-paths` on Android since it should not be a constant value. Instead, it is passed down from the Android app startup. As it turns out, it is really ever used for pointing to the RPC socket in use.
2024-05-31Run cargo fmtDavid Lönnhager1-1/+1
2024-05-29Migrate to gRPCDavid Göransson1-19/+67
Co-authored-by: Jonatan Rhodin <jonatan.rhodin@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net> Co-authored-by: David Lönnhager <david.l@mullvad.net>
2024-04-30Add initial split tunneling implementation for macOSDavid Lönnhager1-10/+16
2024-04-22Fix broken lints in rustdocsSebastian Holmin1-3/+3
I ran `cargo doc` and fixed as many broken links as I could find.
2024-04-18Limit the size of custom list names to 30 graphemesEmīls1-10/+0
2024-04-16Add DAITA Windows client and updated tuncfgDavid Lönnhager1-0/+19
2024-04-12Add ClearCustomLists RPC callJoakim Hulthe1-0/+10
2024-04-12Add ClearCustomApiAccessMethods rpc callJoakim Hulthe1-0/+10
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-4/+3
`err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical.
2024-02-19Fix redundant importsDavid Lönnhager1-2/+0
2024-01-22Add `TestCustomApiAccessMethod` RPC callMarkus Pettersson1-3/+23
Add a new RPC call `TestCustomApiAccessMethod` for testing access methods on the fly, without having to save them to the daemon settings first. This only works for custom access methods.