- Feb 15, 2021
-
-
Lukas Lechner authored
* Discard one time password when risk state changes from HIGH to LOW * Call oneTimePasswordRepo.clear() instead of settings.clear() in resetSurvey() of Surveys.kt * Remove suspend modifier from resetSurvey() function * Add log statement in resetSurvey() Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
BMItter <46747780+BMItter@users.noreply.github.com>
-
Matthias Urhahn authored
Privacy Preserving Analytics (main-feature-branch) (EXPOSUREAPP-4321)
-
Matthias Urhahn authored
-
axelherbstreith authored
-
harambasicluka authored
-
Lukas Lechner authored
-
Mohamed authored
* Add new google apis aar * show error * lint * Remove comma * Use kotlinx await * Handle ApiException * Remvoe line * Handle user consent selection * Add consent version * Move logic into provider * Handle result in presentation layer * Fix tests * Handle exception * Request keys release * Refactor key retrieval * Adjust docs * Handle exceptions for different cases * Add mock context * Fis comment * Revert * Use Cached keys * lint * Create separate internal methods for different apis * Add timeout for receiver * Fix unit tests * lint * Add some logs * Revert "Add some logs" This reverts commit de8f83c0ef90eaf80682bbc6674f51c74c3be834. * Add logs * Prevent creating multiple instances. New exposure notification launches new instance when it is clicked * Add more unit tests * Fix typo * Add tests for consent viewmodel * Add unit tests for TEKHistoryUpdater changed behaviour * Register receiver before hitting Google Api * Code formatting, typo and VisibleForTesting. * Add space * Additional unit tests for edge cases. * Static import * Infer type Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Lukas Lechner authored
-
axelherbstreith authored
-
harambasicluka authored
-
axelherbstreith authored
-
janetback authored
-
Kolya Opahle authored
* initial commit of Analytics upload code (lots of missing pieces) kind of working: Definition of backends and endpoints, donor data collection (no donors implemented here) probably broken: SafetyNet attestation, actual server communication Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * added checks for analytics submission abortion Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * added analytics submission periodic worker definition Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * lint fixes Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed kotlin support for IntoSet injection Added AnalyticsModule to DataDonationModule Added WorkerBinder definition for DataDonationAnalyticsPeriodicWorker Added DataDonationAnalyticsPeriodicWorker scheduling to CoronaWarnApplication Added missing mocks to WorkerBinderTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed injectData call in ExposureRiskMetadataDonor Added more logging to Analytics Implemented first AnalyticsTests Fixed auto formatted removal of io.kotest.matchers.collections.shouldContainAll in WorkerBinderTest (curse you Optimize imports) Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Implemented Test for ExposureRiskMetadataDonor Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added check for isEnabled during Analytics submission Added DataDonationAnalyticsOneTimeWorker to allow for random distribution of Analytics submission events Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Moved contribution collection to own function to help with test menu features Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added analytics testing features Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * small fixes to the WorkerBinderTest added missing worker binding to WorkerBinder Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Put Analytics test options into an extra card. * in my defense, it was quite late Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Moved AnalyticsSettings to own package Updated the @IntoSet providers in AnalyticsModule to match the actual DonorModules Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added analyticsEnabled preference to AnalyticsSettings Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added a deleteData function to the DonorModule interface which can be used to remove persisted data if a user revokes analytics consent Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added skeleton to persist last analytics submission on tester devices Currently the tester version also does not store the data Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed borked unit tests Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Implemented File based storage of Last submitted analytics file on tester devices Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added calls to enable and disable analytics to the OnboardingAnalyticsViewModel Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed OnboardingAnalyticsFragmentTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Turns out AnalyticsConfigMapping was not implemented yet, fixed that Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added a timestamp to the stored Analytics Submission Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed unit tests in AnalyticsTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Updated AnalyticsConfigMapper to throw an exception if app config is invalid Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Implemented most of the comments from @d4rken Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * if -> when magic Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Moved analytics enable/disable to the Analytics class to allow for deletion on disable Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Made the AnalyticsTest a bit more concise and improved the abort checks Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Changed Api provider to reusable Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Aligned DataDonationAnalyticsApiV1 response with Survery format Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Integration of the Analytics settings UI with the Analytics backend code Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added test for the analytics status Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed OnboardingAnalyticsFragmentTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Refactored the SettingsPrivacyPreservingAnalyticsFragment ui state handling Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Merge with ppa-main exploded this for some reason, fixed now Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added analytics deactivation if no config is present on remote Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed AnalyticsTest borked by merge Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed AnalyticsTest borked by merge Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Addressed some linting comments Signed-off-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
- Feb 12, 2021
-
-
Matthias Urhahn authored
# Conflicts: # Corona-Warn-App/src/main/res/values/strings.xml
-
Matthias Urhahn authored
# Conflicts: # Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/test/datadonation/ui/DataDonationTestFragment.kt # Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/test/datadonation/ui/DataDonationTestFragmentViewModel.kt # Corona-Warn-App/src/deviceForTesters/res/layout/fragment_test_datadonation.xml
-
Ralf Gehrer authored
* Update default strings.xml (DEV) * Update default contact_diary_strings.xml and release_info_strings.xml (DEV) Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Kolya Opahle authored
* initial commit of Analytics upload code (lots of missing pieces) kind of working: Definition of backends and endpoints, donor data collection (no donors implemented here) probably broken: SafetyNet attestation, actual server communication Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * added checks for analytics submission abortion Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * added analytics submission periodic worker definition Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * lint fixes Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed kotlin support for IntoSet injection Added AnalyticsModule to DataDonationModule Added WorkerBinder definition for DataDonationAnalyticsPeriodicWorker Added DataDonationAnalyticsPeriodicWorker scheduling to CoronaWarnApplication Added missing mocks to WorkerBinderTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed injectData call in ExposureRiskMetadataDonor Added more logging to Analytics Implemented first AnalyticsTests Fixed auto formatted removal of io.kotest.matchers.collections.shouldContainAll in WorkerBinderTest (curse you Optimize imports) Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Implemented Test for ExposureRiskMetadataDonor Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added check for isEnabled during Analytics submission Added DataDonationAnalyticsOneTimeWorker to allow for random distribution of Analytics submission events Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Moved contribution collection to own function to help with test menu features Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added analytics testing features Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * small fixes to the WorkerBinderTest added missing worker binding to WorkerBinder Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Put Analytics test options into an extra card. * in my defense, it was quite late Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Moved AnalyticsSettings to own package Updated the @IntoSet providers in AnalyticsModule to match the actual DonorModules Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added analyticsEnabled preference to AnalyticsSettings Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added a deleteData function to the DonorModule interface which can be used to remove persisted data if a user revokes analytics consent Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added skeleton to persist last analytics submission on tester devices Currently the tester version also does not store the data Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed borked unit tests Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Implemented File based storage of Last submitted analytics file on tester devices Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added calls to enable and disable analytics to the OnboardingAnalyticsViewModel Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed OnboardingAnalyticsFragmentTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Turns out AnalyticsConfigMapping was not implemented yet, fixed that Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added a timestamp to the stored Analytics Submission Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed unit tests in AnalyticsTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Updated AnalyticsConfigMapper to throw an exception if app config is invalid Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Implemented most of the comments from @d4rken Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * if -> when magic Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Moved analytics enable/disable to the Analytics class to allow for deletion on disable Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Made the AnalyticsTest a bit more concise and improved the abort checks Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Changed Api provider to reusable Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Aligned DataDonationAnalyticsApiV1 response with Survery format Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed OnboardingAnalyticsFragmentTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Merge with ppa-main exploded this for some reason, fixed now Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added analytics deactivation if no config is present on remote Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fix error message if there is no last analytics data. We only need to check the values if the object itself is non-null. * Refactor upload response code check. Use a single `return when` to let the compiler enforce correct case handling. * Use a specific time object, as Long and just `getDelay` could be confusing. Android mostly uses long=miliseconds and not hours. * Only get the config once for the whole analytics submission process. Prevent unnecessary config checks, and if the config cache expires, don't let the config change in the middle of submisison. * LINTER ¯\_(ツ)_/¯ Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
BMItter authored
* basic survey teststuff in dataDonationTestFragment * Show survey config * Show safetynet exception dialog * Simulate survey exception * corrected reference * trailing comma fix * Universal error code mapping * ktlint * adjust OTP string in DataDonationTestFragment
-
chris-cwa authored
-
Matthias Urhahn authored
-
Matthias Urhahn authored
# Conflicts: # Corona-Warn-App/src/main/res/values-de/legal_strings.xml # Corona-Warn-App/src/main/res/values-de/strings.xml # Corona-Warn-App/src/main/res/values/legal_strings.xml
-
SAP LX Lab Service Account authored
Change-Id: Ieadbf121c1838bbb893ed91f4f87e03d46407a04
-
harambasicluka authored
* update legal datadonation strings * removing dot from title Co-authored-by:
I502720 <axel.herbstreith@sap.com>
-
harambasicluka authored
* data privacy update * fixing typo in de * data donation to share data * share data feature to data sharing feature * data privacy - donate to share Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Lukas Lechner authored
Co-authored-by:
I502720 <axel.herbstreith@sap.com>
-
axelherbstreith authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Lukas Lechner authored
* Show active tracing history in low risk detail screen * Move isGone logic from xml layout into state object and add tests Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Feb 11, 2021
-
-
Chilja Gossow authored
* show link for German only simplify layout and fragment * remove view model * add unit tests * use AppCompatImageView * comments Co-authored-by:
Mohamed Metwalli <Mohamed.Metwalli@sap.com>
-
Lukas Lechner authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
harambasicluka authored
* data privacy update * fixing typo in de * data donation to share data * share data feature to data sharing feature Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Ralf Gehrer authored
-
Lukas Lechner authored
* Create SurveyUrlProvider.kt and SurveyHighRiskUrlProviderTest.kt * Call SurveyUrlProvider in Surveys.kt * Adapt SurveyUrlProvider.kt so that now the otp has to be passed directly * Add @Reusable annotation to SurveyUrlProvider.kt Co-authored-by:
BMItter <46747780+BMItter@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
chris-cwa authored
-
axelherbstreith authored
* Updated settings icons * added navigation to analytics more information fragment * linting * fixed max length * removed unneeded marging at botton of scrollview * added dimens * aligned fonts * added row click * updated doc * aligned fonts
-
harambasicluka authored
-
Chilja Gossow authored
Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
Chilja Gossow authored
* refactor for better preview change font * clean up * resolve includes to simplify layout Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
- Feb 10, 2021
-
-
Matthias Urhahn authored
* Clean up log spam for CancellationExceptions. * Clean up log spam for CancellationExceptions. * Adjust log level to `error` for flows that completed due to an exception being bubbled up. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Lukas Lechner authored
* Set offset to zero instead of 90 when 'fakeCorrectDeviceTime' is active * Add a description of the 'Fake correct device time' feature in the Test Menu Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-