| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2025-07-15 | Fix `collapsible_if` clippy lint | Markus Pettersson | 1 | -12/+13 | |
| 2025-07-10 | Run `cargo fmt` | Sebastian Holmin | 1 | -3/+3 | |
| 2025-05-08 | Add storekit 2 functions to mullvad api | Steffen Ernst | 1 | -5/+18 | |
| 2025-03-25 | Add function for fetching version info from new endpoint to mullvad-api | David Lönnhager | 1 | -2/+24 | |
| Co-authored-by: Sebastian Holmin <sebastian.holmin@mullvad.net> | |||||
| 2025-02-21 | Implement an FFI to fetch API IP addresses using mullvad-api | Jon Petersson | 1 | -0/+4 | |
| 2025-01-02 | Remove global API endpoint | Emīls | 1 | -1/+3 | |
| 2024-12-02 | Make SNI hostname implicit | David Lönnhager | 1 | -2/+0 | |
| 2024-12-02 | Remove DNS fallback except for conncheck | David Lönnhager | 1 | -3/+0 | |
| 2024-11-22 | Add non-blocking DNS resolver for Android API requests | David Lönnhager | 1 | -0/+3 | |
| 2024-10-16 | Replace old client with `hyper_util` legacy client | Sebastian Holmin | 1 | -28/+38 | |
| 2024-10-16 | Add `impl From<Infallible> for Error` | Sebastian Holmin | 1 | -0/+7 | |
| 2024-10-16 | Replace occurrences of old `Body` type in `rest` mod | Sebastian Holmin | 1 | -73/+150 | |
| Use `Empty<Bytes>` for outgoing, `Incoming` for responses and generic paras for our type wrapping `Request`. | |||||
| 2024-10-01 | Rename account "token" to account "number" | Joakim Hulthe | 1 | -5/+5 | |
| 2024-09-25 | Consolidate two mutexes into one | Markus Pettersson | 1 | -8/+8 | |
| 2024-02-27 | Replace err_derive with thiserror | Joakim Hulthe | 1 | -14/+14 | |
| `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-19 | Move responsibility of updating the API IP from REST handle to the daemon | David Lönnhager | 1 | -60/+1 | |
| 2024-02-19 | Fix pointless API method rotations when concurrent requests fail | David Lönnhager | 1 | -4/+14 | |
| 2024-02-16 | Refactor API access methods | David Lönnhager | 1 | -33/+32 | |
| 2024-02-15 | Fix off-by-one error when choosing access method candidates | Markus Pettersson | 1 | -5/+4 | |
| 2024-02-14 | Fix talpid-time for iOS, add FFI for mullvad-api | Emīls | 1 | -4/+11 | |
| 2024-01-23 | Use infallible HeaderValue::from() when converting from usize | Andrej Mihajlov | 1 | -6/+2 | |
| 2024-01-11 | Synchronize `mullvad-api` and `mullvad-daemon` when the `api-override` | Markus Pettersson | 1 | -22/+6 | |
| feature is enabled Move the logic for using overridden API endpoints for API calls from `mullvad-api::rest` to `mullvad_daemon::api`. This is in line with how the interaction between the two crates work for a normal release build, i.e. when the `api-override` feature is disabled. This commit also removes references to `force_direct_connection` in the Android code. The flag does not exist in the `mullvad-*` rust crates anymore, so it would be erroneous to try to serialize/deserialize the value from the Android client. | |||||
| 2024-01-08 | Remove `ApiEndpointUpdateHandler` | Markus Pettersson | 1 | -39/+10 | |
| 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-02 | Fix clippy lints | David Lönnhager | 1 | -1/+1 | |
| 2023-12-04 | Perform testing of access methods asynchronously | Markus Pettersson | 1 | -0/+4 | |
| Perform testing of access methods asynchronously in a separate `tokio` task as to not block the daemon from handling other daemon events during the testing window | |||||
| 2023-11-07 | Configure firewall rules to allow proxy clients | Markus Pettersson | 1 | -2/+4 | |
| The default setting will (always) be to only allow processes with root-privilege to send/receive traffic from an allowed endpoint. This change is only supposed to be used with the local SOCKS5 api access method. | |||||
| 2023-11-07 | Add configurable transport protocol to local SOCKS5 access method | Markus Pettersson | 1 | -2/+8 | |
| 2023-10-30 | Ignore dropped response channel in API client | David Lönnhager | 1 | -3/+1 | |
| 2023-10-30 | Share hostname string in RequestFactory | David Lönnhager | 1 | -3/+3 | |
| 2023-10-30 | Rename REST request factory timeout | David Lönnhager | 1 | -4/+9 | |
| 2023-10-30 | Remove unused URL component | David Lönnhager | 1 | -9/+2 | |
| 2023-10-30 | Wait for unsuspend | David Lönnhager | 1 | -4/+18 | |
| 2023-10-30 | Newtype REST Response | David Lönnhager | 1 | -24/+42 | |
| 2023-10-30 | Rename RestRequest to Request | David Lönnhager | 1 | -25/+24 | |
| 2023-10-30 | Handle authentication and errors in API client | David Lönnhager | 1 | -197/+148 | |
| 2023-10-24 | Remove 'ResponseFailure' device error variant | David Lönnhager | 1 | -15/+11 | |
| 2023-10-23 | Improve error handling for API requests that failed to due being offline | David Lönnhager | 1 | -1/+16 | |
| 2023-10-19 | Fold all access token requests into a single request | David Lönnhager | 1 | -48/+51 | |
| 2023-10-16 | Add android conditional compilation for google pay | Jonathan | 1 | -3/+29 | |
| Add conditional compilation for google pay API access for only android. Also allow new error type to be parsed. Additionally fix review comments, formatting and warnings. | |||||
| 2023-10-09 | UX improvements for `mullvad api-access` | Markus Pettersson | 1 | -6/+18 | |
| - Re-phrase help texts for a lot of `mullvad api-access` commands - Add to help texts for some `mullvad api-access` commands - Compact the output of `mullvad api-access test` - `mullvad api-access status` is changed to `mullvad api-access get` to align with other `mullvad` commands. - `mullvad api-access get` does not print the enabled/disabled status of the shown access method - Rotate access method if the currently active one is updated or removed - Fix reset access method after `mullvad api-access test` After running `mullvad api-access test`, the previously used access method should be used, which was not the case previously. - Fix `mullvad api-access use` API connectivity check - `mullvad api-access use` now runs a test-routine to check that the new access method will function before comitting to it. If this check fails, the previously used access method will be used instead - guarantee that `set_api_access_method` has finished upon returning. Make `mullvad_api::rest::next_api_endpoint` `async` and send a message upon completion. This is propagated to the caller of `next_api_endpoint` which can `await` the result | |||||
| 2023-09-20 | Remove deadcode from mullvad-api | Emīls | 1 | -16/+0 | |
| 2023-03-27 | Fix many typos | Alexander Seiler | 1 | -1/+1 | |
| Signed-off-by: Alexander Seiler <seileralex@gmail.com> | |||||
| 2023-02-08 | Make async fns without awaits into regular fns | Linus Färnstrand | 1 | -1/+1 | |
| 2023-01-30 | Run `cargo clippy --fix` with the new Rust 1.67 preferred format | Linus Färnstrand | 1 | -1/+1 | |
| 2022-11-28 | Conditionally compile some API override fields | David Lönnhager | 1 | -4/+14 | |
| 2022-11-28 | Don't use bridges if the API endpoint is overridden | David Lönnhager | 1 | -1/+9 | |
| 2022-06-21 | Fix the large majority of clippy warnings | Jonathan | 1 | -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-14 | Manually fix the simpler non-semantic clippy warns | Jonathan | 1 | -8/+2 | |
| This commit tries to manually fix the clippy warnings that are fairly straightforward and do not have rippling effects on the codebase nor have a very high chance of causing bugs. | |||||
| 2022-06-13 | Perform a clippy --fix | jonathan | 1 | -10/+9 | |
| 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-11 | Don't stop device check if an API request is aborted | David Lönnhager | 1 | -0/+7 | |
