| Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
|
|
|
|
|
|
This refactor aims to be a step in decoupling the service connection
from the main activity and fragment inheritance. The goal is to avoid
or minimize the fragment inheritance and instead let each domain observe
service connection changes and adjust accordingly.
|
|
|
|
|
|
Loads the UI specific DI module only in the process/activity where it's
used. Before, the UI module and its dependencies would be loaded in the
service and tile processes as well.
|
|
Rename the UI specific DI module to avoid potential confusion with the
Application class.
|
|
The wireguard key view is removed in favor of the new way of managing
devices. Translations and some error handling remain.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is an intermediate way of handling revoked devices until the proper
screen has been merged.
|
|
|
|
With the advent of the latest nightly, the unused macro expressions are
producing warnings, which fail the CI. So the unused expressions are
removed, and can be added back if they are ever required again.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The webview is added to the debug build type of the main app, but it's
current purpose is only to enable verification as part of e2e tests. One
example is to open the webview on the device while connected and verify
the results of the Mullvad Connection Check.
|
|
|
|
Adds a mechanism to remove all keys/devices of a specified account in
order to start all tests with a known state. This is achieved using a
simple http client included in the e2e test apk, which support login,
listing devices and removing devices.
Two account used for testing _must_ be specified either as gradle
properties or as runtime arguments to the test runner:
* Local properties (local.properties):
valid_test_account_token=XXXX
invalid_test_account_token=XXXX
* Gradle/CLI arguments:
./gradlew :e2e:assembleDebug -Pvalid_test_account_token=XXXX -Pinvalid_test_account_token=XXXX
* Runtime arguments:
am instrument -e valid_test_account_token XXXX -e invalid_test_account_token XXXX # ...
|
|
|
|
This rule will capture screenshot of any failed test and download it to
the host executing the test.
|
|
Most/all tests will inherit from this common base class that will hold
necessary setup steps to run various e2e test scenarios.
|
|
The purpose of this test module is to be able to trigger end-to-end
tests separately from the main app module, mainly because of the flaky
nature of end-to-end tests.
Tests are easiest executed by running the following gradle command:
./gradlew :e2e:connectedDebugAndroidTest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Adds device state communication between the app and service with a
repository backed by a data source to add abstraction layers on the app
side.
Limitations:
* Expiration is not updated correctly.
* The login/creation flow has not been fully adapted to devices.
|
|
|
|
|
|
|
|
Android Studio and ktlint seem to agree on most styling except for
imports. Some settings can be changed in Android Studio, however it
seems to be hard to get lexicographical order (which ktlin wants).
Therefore ktlint should be ran after any formatting has been applied by
Android Studio (otherwise the CI workflow will complain).
|
|
The URL is a left-over after implementing in-app account creation via
the daemon.
|