summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src/migrations/v5.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-07-15Run `crago +nightly clippy --fix`Markus Pettersson1-15/+15
2024-10-01Rename account "token" to account "number"Joakim Hulthe1-3/+3
2024-03-27Refactor `mullvad-relay-selector`Markus Pettersson1-1/+1
Implement a system built on 'queries' for selecting appropriate relays. A query is a set of constraints which dictates which relay(s) that *can* be chosen by the relay selector. The user's settings can naturally be expressed as a query. The semantics of merging two queries in a way that always prefer user settings is defined by the new `Intersection` trait. Split `mullvad-relay-selector` into several modules: - `query.rs`: Definition of a query on different types of relays. This module is integral to the new API of `mullvad-relay-selector` - `matcher.rs`: Logic for filtering out candidate relays based on a query. - `detailer.rs`: Logic for deriving connection details for the selected relay. - `tests/`: Integration tests for the new relay selector. These tests only use the public APIs of `RelaySelector` and make sure that the output matches the expected output in different scenarios.
2023-11-13Remove unnecessary `mut`Sebastian Holmin1-1/+1
2023-08-30Fix clippy lintsEmīls1-1/+1
2023-08-07Get rid of "extern crate serde" and import derive macros explicitlyLinus Färnstrand1-0/+1
2023-02-21Make quantum-resistant tunnel optional in mullvad layerDavid Lönnhager1-1/+4
2023-02-13Rename settings error variantsDavid Lönnhager1-4/+7
2023-02-08Make async fns without awaits into regular fnsLinus Färnstrand1-3/+3
2022-06-21Fix the large majority of clippy warningsJonathan1-3/+2
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-13Perform a clippy --fixjonathan1-1/+0
This is a giant commit which performs only a clippy --fix. Auditing can happen in two ways, either by reading every line or by running a `cargo clippy --fix` on the previous commit and make sure that the result is the same.
2022-03-24Add migration logic for WireGuard port constraintOdd Stranne1-38/+125
2022-03-23Move imports out of v5 moduleDavid Lönnhager1-105/+25
2022-03-23Rename mullvad-rpc to mullvad-apiDavid Lönnhager1-1/+1
2022-03-14Migrate old settings to device cacheDavid Lönnhager1-14/+120
2022-01-17Add description of v5 settings format migrationLinus Färnstrand1-0/+13
2022-01-17Add instructions in migrations/mod.rs about how to create a migrationLinus Färnstrand1-1/+9
2022-01-11Remove unecessary Android stuff from settings migration codeLinus Färnstrand1-0/+6
2021-12-09Migrate multihop stateDavid Lönnhager1-0/+199