summaryrefslogtreecommitdiffhomepage
path: root/mullvad-api/src
AgeCommit message (Collapse)AuthorFilesLines
2025-05-08Add storekit 2 functions to mullvad apiSteffen Ernst2-5/+51
2025-05-06Fix lifetime changes in rust 2024Markus Pettersson2-6/+6
2025-04-28Implement DeviceProxy to use Mullvad APImojganii1-43/+91
2025-04-24Expose TransportSelector to mullvad-iosJon Petersson2-16/+27
2025-04-23Fix clippy and build errors on macOS for Rust 2024David Lönnhager2-3/+3
2025-04-08Add mullvad api implementation for account proxyJon Petersson1-5/+23
2025-04-03Set default pubkeys and pinned certificate in mullvad-updateDavid Lönnhager1-2/+1
2025-04-03Rename deserialize_and_verify to deserialize_and_verify_with_keysDavid Lönnhager1-1/+1
2025-03-31Move Mullvad API functions to new fileJon Petersson1-21/+27
2025-03-31Tie rust and Swift side togetherJon Petersson1-2/+1
2025-03-31Implement call for getting relays on Rust sideJon Petersson1-28/+41
2025-03-28Switch from staging to prod for version metadataDavid Lönnhager1-10/+1
2025-03-25Move version client to module in mullvad-apiDavid Lönnhager2-94/+99
2025-03-25Add feature gate for app version client in mullvad-apiDavid Lönnhager1-0/+3
2025-03-25Add function for fetching version info from new endpoint to mullvad-apiDavid Lönnhager2-2/+72
Co-authored-by: Sebastian Holmin <sebastian.holmin@mullvad.net>
2025-03-17Rename references to bridge_dns_proxy_providerBug Magnet1-11/+9
2025-03-17Fix building for Android, rename api to access_mode in mullvad-apiBug Magnet4-226/+103
2025-03-17Move the api client from the daemon to mullvad-apiBug Magnet3-1/+673
2025-02-25Allow undocumented_unsafe_blocks in some modulesJoakim Hulthe1-0/+2
2025-02-21Implement an FFI to fetch API IP addresses using mullvad-apiJon Petersson2-2/+11
2025-02-12Format workspaceSebastian Holmin1-1/+1
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 "RPIT lifetime capture rules"Sebastian Holmin4-20/+29
2025-02-12Replace `#[no_mangle]` with `#[unsafe(no_mangle)]`Sebastian Holmin3-14/+14
2025-01-22Reduce log verbosity of API checkSebastian Holmin1-2/+2
2025-01-02Remove global API endpointEmīls7-129/+208
2024-12-02Make SNI hostname implicitDavid Lönnhager3-19/+6
2024-12-02Remove DNS fallback except for conncheckDavid Lönnhager5-70/+59
2024-12-02Make address cache constructor infallibleDavid Lönnhager1-7/+5
2024-12-02Make `EncryptedDNSForwarder::from_stream` infallibeMarkus Pettersson1-1/+2
2024-11-26Fix clippy lints in mullvad-apiDavid Lönnhager2-32/+43
2024-11-26Add missing resolver for iOS testsDavid Lönnhager1-0/+1
2024-11-22Add non-blocking DNS resolver for Android API requestsDavid Lönnhager4-21/+76
2024-10-31Do not fallback to direct API connections when testing access methodsMarkus Pettersson1-0/+6
2024-10-23Do not implement `std::fmt::Display` for `ProxyConfig`Markus Pettersson1-26/+1
Use the Debug implementation in the one case where the Display implementation was used.
2024-10-23Enable Encrypted DNS proxy access method in the daemonMarkus Pettersson2-1/+12
2024-10-23Wire up Mullvad Encrypted DNS proxy in `mullvad-api`Markus Pettersson1-0/+21
2024-10-16Replace old client with `hyper_util` legacy clientSebastian Holmin4-48/+54
2024-10-16Add `impl From<Infallible> for Error`Sebastian Holmin1-0/+7
2024-10-16Replace occurrences of old `Body` type in `rest` modSebastian Holmin3-77/+153
Use `Empty<Bytes>` for outgoing, `Incoming` for responses and generic paras for our type wrapping `Request`.
2024-10-16Update `rustls` in `tls_stream.rs`Sebastian Holmin1-11/+12
2024-10-02Fix bug when overriding API with only MULLVAD_API_HOSTLinus Färnstrand1-0/+1
2024-10-01Rename account "token" to account "number"Joakim Hulthe4-33/+31
2024-09-26Add unit tests to `availability` moduleMarkus Pettersson1-0/+36
2024-09-26Implement `Default` for `ApiAvailibility`Markus Pettersson2-11/+19
2024-09-26Fix regression in API timer logicDavid Lönnhager1-2/+10
2024-09-25Consolidate two mutexes into oneMarkus Pettersson3-149/+149
2024-09-17Remove Option from Relay::locationJoakim Hulthe1-1/+1
2024-08-27Use std LazyLock instead of once_cell LazyDavid Lönnhager1-2/+2
2024-08-22Fix IP-override feature indicatorSebastian Holmin1-0/+2
It was trigger by any overrides existing in the settings, not by the current endpoint being overridden. Add flag to `Relay` to specify if its IPv4 and/or IPv6 has been overridden and use that in combination with the endpoint IP version to derive if the current connection is overridden.
2024-08-16Use range types for all port rangesDavid Lönnhager1-2/+16
Breaks backwards compatibility with relays.json (which is acceptable)