summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src/migrations/v6.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-07-15Run `cargo fmt`Markus Pettersson1-7/+6
2025-07-15Run `crago +nightly clippy --fix`Markus Pettersson1-3/+1
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.
2024-02-28Fix migrations/v6.rs docsJoakim Hulthe1-6/+3
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-06-29Add settings migration code, refactor and cleanupJonathan1-8/+295
Bump the settings version. Add code for migrating settings to new version since it is now not backwards compatible. Refactor LocationConstraint and related types to be more lean. Cleanup issues and fix formatting. Refactor LocationConstraint and add migration code
2023-04-26Fix remaining clippy warningsDavid Lönnhager1-2/+1
2023-04-21Fix remaining clippy --fix auto fixes with modificationsLinus Färnstrand1-1/+0
2023-03-23Add settings migration for udp2tcp port constraintLinus Färnstrand1-1/+22
2023-02-21Make quantum-resistant tunnel optional in mullvad layerDavid Lönnhager1-0/+305