summaryrefslogtreecommitdiffhomepage
path: root/mullvad-problem-report/src
AgeCommit message (Collapse)AuthorFilesLines
2025-11-03Update include account token in problem reportsJonatan Rhodin1-1/+1
- Move checkbox below message - Add warning about anonymity - Change from AccountToken to account-token in support message
2025-10-15Enable the user to include their account token in problem reportsJonatan Rhodin2-1/+14
2025-10-09Remove `duct` from `mullvad-problem-report`Markus Pettersson1-5/+12
2025-07-10Run `cargo fmt`Sebastian Holmin2-2/+2
2025-07-09Inline format argumentsLinus Färnstrand1-1/+1
2025-05-06Run `cargo fix --edition`Markus Pettersson1-2/+2
2025-01-02Remove global API endpointEmīls2-5/+16
2024-12-02Remove DNS fallback except for conncheckDavid Lönnhager1-2/+1
2024-11-22Add non-blocking DNS resolver for Android API requestsDavid Lönnhager1-1/+2
2024-09-02Run `cargo +nightly clippy --fix`Markus Pettersson1-2/+1
2024-08-27Use std LazyLock instead of once_cell LazyDavid Lönnhager1-4/+4
2024-06-17Get value of data directory value at app startupMarkus Pettersson1-0/+2
Remove `APP_PATH` from `mullvad-paths` on Android since it should not be a constant value. Instead, it is passed down from the Android app startup. As it turns out, it is really ever used for pointing to the RPC socket in use.
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-23/+22
`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-16Refactor API access methodsDavid Lönnhager1-1/+1
2024-02-15Fix off-by-one error when choosing access method candidatesMarkus Pettersson1-7/+2
2024-01-08Remove `ApiEndpointUpdateHandler`Markus Pettersson1-1/+0
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-04Add workspace level lintsLinus Färnstrand2-4/+0
2023-08-30Fix clippy lintsEmīls1-1/+1
2023-08-04Replace all use of `lazy_static` with `once_cell`Markus Pettersson1-23/+17
To align more with the upcoming standardizations within the Rust ecosystem which started with the release of `1.70.0` and the inevitable deprecation of `lazy_static`.
2023-08-01Replace unmaintained dirs-next with maintained dirsLinus Färnstrand1-3/+3
Gets rid of one usage of winapi in our dependency tree
2023-05-03Update CLI for mullvad-daemonDavid Lönnhager2-105/+71
2023-03-27Fix many typosAlexander Seiler1-1/+1
Signed-off-by: Alexander Seiler <seileralex@gmail.com>
2023-01-30Run `cargo clippy --fix` with the new Rust 1.67 preferred formatLinus Färnstrand1-39/+20
2022-12-14Return non-zero status if sending problem report failsDavid Lönnhager1-10/+6
2022-10-10Adapt all crates to use mullvad-versionLinus Färnstrand2-5/+3
2022-06-15Add unit test for home dir redactionDavid Lönnhager1-0/+15
2022-06-15Redact home dir for device paths in problem reportsDavid Lönnhager1-4/+27
2022-06-13Perform a clippy --fixjonathan2-5/+4
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-23Rename `mullvad_api::MullvadRpcRuntime` to `mullvad_api::Runtime`David Lönnhager1-4/+4
2022-03-23Rename mullvad-rpc to mullvad-apiDavid Lönnhager1-5/+5
2022-03-01Add proxy config generator to daemonDavid Lönnhager1-32/+54
2022-03-01Remove API address rotationDavid Lönnhager1-1/+0
2022-02-14Upgrade clap to 3.0David Lönnhager1-20/+23
2022-01-18Move printing to stdout/stderr out of problem-report libraryLinus Färnstrand2-12/+34
2021-11-29Reformat code without blank_lines_upper_bound = 2Linus Färnstrand2-3/+0
2021-11-26Don't pass tokio runtime handles to async functionsDavid Lönnhager1-1/+0
2021-10-28Set address change listener after TSM has spawnedDavid Lönnhager1-1/+0
2021-10-01Only retry for network-related API request failures, and remove the delayDavid Lönnhager1-4/+4
2021-07-13Fix tokio runtime buildersDavid Lönnhager1-3/+2
2021-07-13Replace delay_for with sleepDavid Lönnhager1-1/+1
2021-04-30Redact GUIDs from problem reportsDavid Lönnhager1-31/+49
2021-03-26Retry using different endpoints if a problem report cannot be sentDavid Lönnhager1-5/+27
2021-02-17Use threaded scheduler in problem reportEmīls1-1/+2
2021-01-28Rename mullvad-platform-metadataEmīls1-2/+2
2021-01-25Bypass socket on AndroidEmīls1-0/+2
2021-01-12Replace the old cache directoryDavid Lönnhager2-4/+4
2021-01-05Create platform metadata crateOskar Nyberg1-152/+3
2021-01-04Unblock API endpoint while connecting or blockedDavid Lönnhager1-1/+1
2021-01-04Add address change listener to AddressCacheDavid Lönnhager1-0/+1
2021-01-04Always prefer the last used API addressDavid Lönnhager2-4/+8