- Feb 18, 2021
-
-
Matthias Urhahn authored
* Log http error bodies. * 2048Byte are enough. Co-authored-by:
chris-cwa <69595386+chris-cwa@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Ralf Gehrer authored
-
harambasicluka authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
SAP LX Lab Service Account authored
Change-Id: I26b33a183c7f2a439503f444952e41996b5955dd Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Matthias Urhahn authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Kolya Opahle authored
* Added the ability to skip the CWASafetyNet 24H check Added reportProblem call to Analytics error handling to provide testers with a way to inspect PPA Errors Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed CWASafetyNetTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Remove tinting, it's just test menu, and was more confusing for testers. * Typo * Skip check should only influence 24H check, not valid time check. Add debug output for time values. * Add test to make sure the setting is only in effect on tester builds. Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
BMItter authored
* fix crashing app on unspecified error * detekt clean
-
Mohamed authored
* Reduce timeout * lint * Update tests * Set timeout to 5 sec and calculate waiting time * Add pre-auth * Show progress while retrieving TEKs Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Feb 17, 2021
-
-
Chilja Gossow authored
-
Matthias Urhahn authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Maximilian Lenkeit authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
janetback authored
* Update legal_strings.xml * Adding two \n Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Kolya Opahle authored
* Fixed an issue in ExposureRiskMetadataDonor where mostRecentDateAtRiskLevel was set to the calculation timestamp instead of the encounter timestamp Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Updated ExposureRiskMetadataDonorTest to reflect new data Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * also updated low risk to same time in ExposureRiskMetadataDonorTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * also updated low risk to same time in ExposureRiskMetadataDonorTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Kolya Opahle authored
Signed-off-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
harambasicluka authored
-
- Feb 16, 2021
-
-
janetback authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
janetback authored
* Update legal_strings.xml * Update legal_strings.xml * Update legal_strings.xml * Update legal_strings.xml * Update legal_strings.xml * Update legal_strings.xml * Update legal_strings.xml * Update legal_strings.xml * Update legal_strings.xml * Update legal_strings.xml * Update legal_strings.xml * Update legal_strings.xml * Update legal_strings.xml * Update legal_strings.xml Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Mohamed authored
* Create annotation for Testing screenshots tests * Fix comment * Revert * Fix test * Update comment Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Kolya Opahle authored
Signed-off-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
chris-cwa authored
* use protobuf container as request param * use 1 code for generating payload * removed another code duplicate * Fix test regression. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
Matthias Urhahn authored
-
- Feb 15, 2021
-
-
Matthias Urhahn authored
Co-authored-by:
BMItter <46747780+BMItter@users.noreply.github.com>
-
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>
-
axelherbstreith 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
-
-
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
-
SAP LX Lab Service Account authored
Change-Id: Ieadbf121c1838bbb893ed91f4f87e03d46407a04
-