summaryrefslogtreecommitdiffhomepage
path: root/mullvad-api/src/lib.rs
AgeCommit message (Collapse)AuthorFilesLines
2023-03-29Remove getters and setters from SettingsPersisterDavid Lönnhager1-1/+0
2023-01-30Run `cargo clippy --fix` with the new Rust 1.67 preferred formatLinus Färnstrand1-8/+8
2022-11-28Conditionally compile some API override fieldsDavid Lönnhager1-2/+14
2022-11-28Warn about MULLVAD_API_DISABLE_TLS being set if the API address and host are notDavid Lönnhager1-3/+10
2022-11-28Make API address overridable from MullvadDaemonDavid Lönnhager1-9/+44
2022-11-28Add option to disable TLS for API RPCs, and resolve address from hostname if ↵David Lönnhager1-14/+28
needed
2022-11-28Don't use bridges if the API endpoint is overriddenDavid Lönnhager1-0/+3
2022-11-28Add support for non-TLS API connectionsDavid Lönnhager1-0/+2
2022-11-28Use once_cell instead of lazy_static in mullvad-apiDavid Lönnhager1-4/+3
2022-11-21Update API ipAndrej Mihajlov1-1/+1
2022-08-29Fix Clippy errorsDavid Lönnhager1-3/+2
2022-08-15Allow for migrating windows users to WGJonathan1-0/+10
Use a potential value between 0 and 1 provided by the API version check to decide if the Windows client should use WireGuard or OpenVpn. This decision is then persisted in the settings in the form of a random value between 0 and 1 where if the value is higher than the value provided by the API the client will use OpenVpn. If there is no value provided by the API then the client will use WireGuard as the migration has concluded.
2022-06-21Fix the large majority of clippy warningsJonathan1-1/+1
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-20Add abstraction for atomic file I/ODavid Lönnhager1-0/+1
2022-06-13Perform a clippy --fixjonathan1-6/+2
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-05-11Check status in API response body to determine whether a device has been revokedDavid Lönnhager1-0/+3
2022-05-09Use stable device API endpointsDavid Lönnhager1-1/+1
2022-05-02Remove account number field from non-creation account API responseDavid Lönnhager1-8/+12
2022-04-21Change API IP to use DDoS protected IPDavid Lönnhager1-1/+1
2022-03-23Rename `mullvad_api::MullvadRpcRuntime` to `mullvad_api::Runtime`David Lönnhager1-7/+7
2022-03-23Rename mullvad-rpc to mullvad-apiDavid Lönnhager1-0/+530