summaryrefslogtreecommitdiffhomepage
path: root/mullvad-setup
AgeCommit message (Collapse)AuthorFilesLines
2025-07-10Run `cargo fmt`Sebastian Holmin1-2/+2
2025-06-19Add start-service command to mullvad-setup on WindowsDavid Lönnhager3-0/+102
2025-02-18Unify daemon app version typesKalle Lindström1-7/+6
Previously we had two types in the code base that dealt with version parsing. This commit unifies these types so that we only use the Version struct that is defines in the mullvad-version crate. This also solves a bug where the daemon code would crash on alpha versions, as the previous version parsing code didn't handle them.
2025-01-02Remove global API endpointEmīls1-4/+5
2024-12-02Remove DNS fallback except for conncheckDavid Lönnhager1-2/+2
2024-11-22Add non-blocking DNS resolver for Android API requestsDavid Lönnhager1-2/+2
2024-10-01Rename account "token" to account "number"Joakim Hulthe1-1/+1
2024-08-27Use std LazyLock instead of once_cell LazyDavid Lönnhager2-5/+3
2024-02-27Replace err_derive with thiserrorJoakim Hulthe2-23/+22
`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-1/+1
2024-02-16Refactor API access methodsDavid Lönnhager1-1/+1
2024-02-15Swap out `talpid-core` for `talpid-future`Markus Pettersson2-6/+6
2024-02-15Fix off-by-one error when choosing access method candidatesMarkus Pettersson1-7/+2
2024-01-16Add rust-version to all Cargo.tomlLinus Färnstrand1-0/+1
2024-01-09Remove version and publish cargo metadataLinus Färnstrand1-2/+0
Since Rust 1.75.0 the `version` field is optional. The version defaults to "0.0.0" if it's not specified, and `publish` defaults to false if no version has been given. So by not specifying a version we get both `version = "0.0.0" and `publish = false` "for free"
2024-01-08Remove `ApiEndpointUpdateHandler`Markus Pettersson1-1/+0
Previously, the `mullvad-api` would tell the `mullvad-daemon` that it wanted a new API endpoint by calling a certain callback (`ApiEndpointUpdateCallback`), which would asynchronously resolve a new API endpoint and tell the daemon to punch an appropriate hole in the firewall for that particular endpoint before the `mullvad-api` crate would consume it. The logic of the callback can be moved inside `AccessModeSelector`, which simplifies the contract between `mullvad-daemon` and `mullvad-api` somewhat.
2024-01-04Add workspace level lintsLinus Färnstrand1-0/+3
2023-10-11Make `once_cell` a workspace dependencyMarkus Pettersson1-1/+1
2023-09-19Simplify immediate retry strategyDavid Lönnhager1-6/+4
2023-09-11Make env_logger a workspace dependencyDavid Lönnhager1-1/+1
2023-09-11Make err-derive a workspace dependencyDavid Lönnhager1-1/+1
2023-08-07Make clap a workspace dependency and activate features used by allLinus Färnstrand1-1/+1
Both mullvad-setup and mullvad-problem-report had not specified the "derive" feature. Moving it to workspace dependency is probably nicer.
2023-08-04Replace all use of `lazy_static` with `once_cell`Markus Pettersson2-5/+4
To align more with the upcoming standardizations within the Rust ecosystem which started with the release of `1.70.0` and the inevitable deprecation of `lazy_static`.
2023-07-14Move tokio dependency to be a workspace dependencyLinus Färnstrand1-1/+1
2023-07-14Set package fields in workspace and inherit in packagesLinus Färnstrand1-5/+6
2023-06-28Do not consider removing a revoked device to be an error.Markus Pettersson1-4/+13
Sometimes when removing a device when uninstalling the app, a `404` is returned if the device has already been revoked from the account. However, removing a non-existent device should not be considered an error if the end goal is to not have the device on the account. That goal has clearly already been achieved.
2023-05-03Update CLI for mullvad-setupDavid Lönnhager2-34/+31
2023-05-03And gRPC interface wrapper and refactor CLI to use clap derive instead of ↵David Lönnhager1-6/+6
the builder
2023-02-08Make async fns without awaits into regular fnsLinus Färnstrand1-2/+2
2023-02-01Upgrade env_logger to 0.10.0Linus Färnstrand1-1/+1
2022-11-21Always return the correct settings path on Windows in mullvad_pathsDavid Lönnhager3-291/+1
2022-11-07Split up talpid-coreEmīls Piņķis1-4/+7
2022-10-10Adapt all crates to use mullvad-versionLinus Färnstrand3-11/+3
2022-10-10Set all Rust crate versions to 0.0.0Linus Färnstrand1-1/+1
2022-10-05Updating version in package filesLinus Färnstrand1-1/+1
2022-09-28Bump windows-sys to 0.42.0David Lönnhager2-5/+4
2022-09-26Updating version in package filesLinus Färnstrand1-1/+1
2022-09-01Replace winapi with windows-sys for all remaining cratesDavid Lönnhager2-63/+61
2022-08-19Updating version in package filesLinus Färnstrand1-1/+1
2022-08-10Updating version in package filesLinus Färnstrand1-1/+1
2022-07-28Updating version in package filesLinus Färnstrand1-1/+1
2022-07-05Update version in package filesDavid Lönnhager1-1/+1
2022-06-27Updating version in package filesLinus Färnstrand1-1/+1
2022-06-21Fix the large majority of clippy warningsJonathan1-3/+3
This commit fixes most of the remaining clippy warnings in the codebase. These warnings were the more semantically difficult ones to fix. There are some warnings that remain from the rebase that will be fixed in the upcoming PR.
2022-06-13Bump desktop versions to 2022.2Linus Färnstrand1-1/+1
2022-05-17Updating version in package filesLinus Färnstrand1-1/+1
2022-05-12Distinguish between logged-out and revoked device statesDavid Lönnhager1-2/+2
2022-05-05Hide private device type in `mullvad-daemon`David Lönnhager1-1/+1
2022-03-23Rename `mullvad_api::MullvadRpcRuntime` to `mullvad_api::Runtime`David Lönnhager1-3/+3
2022-03-23Rename mullvad-rpc to mullvad-apiDavid Lönnhager2-5/+5