- Feb 16, 2021
-
-
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>
-
- Feb 15, 2021
-
-
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>
-
- Feb 12, 2021
-
-
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>
-
- 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>
-
- Feb 10, 2021
-
-
AlexanderAlferov authored
* Strings for onboarding * view and image * View attached to onboarding process * Complete onboarding screen * Tests and screen capture * Accessibility * Reformatting * New screen with additional info * New screen with routing * Small change in legal text * Missing sentence in description of contact journal (EXPOSUREAPP-4941) #2309 Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> * Change statistics overview header to 'bundesweite' Statistiken (EXPOSUREAPP-4975) #2305 Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> * Show normal behavior box when tracing disabled (EXPOSUREAPP-4768) #2306 use toolbar Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> * Delta onboarding analytics screen * Delta onboarding navigation * Strings fix * Comment for Kolya * Layout, nav grav and fragments refactoring * Merge conflicts and formatting * Add missing tools:layout and format the file Co-authored-by:
janetback <68653277+janetback@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
Chilja Gossow <49635654+chiljamgossow@users.noreply.github.com> Co-authored-by:
Mohamed Metwalli <Mohamed.Metwalli@sap.com>
-
- Feb 09, 2021
-
-
Alex Paulescu authored
* Fixed circle progress text and color. * Changed default color for setter. * Added circle progress color in the rest of the app. * Changed progress color when bluetooth or location is disabled. * Adjusted progress color one last time. * Fix lint issues. Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
Mohamed Metwalli <Mohamed.Metwalli@sap.com>
-
Juraj Kusnier authored
* Update LocalData implementation * Fix BackgroundWorkScheduler comment * Fix typo in SubmissionData * Skip risk calculation if user got a positive test result * Skip deadman notifications if user got a positive test result * Refresh diagnosis keys when test is removed * Update tests * End of life behaviour UI (EXPOSUREAPP-4641) (#2230) * Added strings. * Added card. * Added missing layout from main. * Removed duplicate layout and switched to different home icon. * Added test registration date. * Prepare UI for End of Life behaviour * Removed unused import. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Juraj Kusnier <jurajkusnier@gmail.com> * Add ReactivateRiskCheckDialog * Fix comment * Update strings * Not nullable date in SubmissionDone * Fix merge * Fix instrumentation test crash * Increased font size in card layout. * Keep DiagnosisKeyBackgroundWork alive Co-authored-by:
Alex Paulescu <alex.paulescu@gmail.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Feb 08, 2021
-
-
Lukas Lechner authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
Mohamed Metwalli <Mohamed.Metwalli@sap.com>
-
- Feb 04, 2021
-
-
Mohamed Metwalli authored
-
- Feb 03, 2021
-
-
Mohamed Metwalli authored
* Add bottom bar * Fix di * Adjust theme * Align content on top of bottom bar * Enhance findNavController * Adjust Bottom Bar * Remove diary card * Remove up button * lint * Adapt MD theme * Fix ui tests * Delete contact diary , handle onboarding * Remove x button * Show bottom nav only for Home and contact diary destinations * Only contact diary overview screen * Adjust alert dialog theme * update docs * Fix close button issue * Revert close button changes * Rename text resources * Make visibility logic flexible for future additions * Fix typo * Setup main activity tests * Add diary overview screenshot test * lint * Disable unmocking * Update Gemfile.lock * Contact diary onboarding's bottom bar behaviour * Update ContactDiaryOnboardingFragmentTest.kt * Refactor screenshots tests * Update Corona-Warn-App/src/main/res/values/strings.xml Co-authored-by:
Sabine Loss <44154356+SabineLoss@users.noreply.github.com> * Update contact_diary_overview_fragment.xml * Small refactoring * Remove un required gravity * Use accent colour * Move diary settings into vm * Update tests * Update MainActivityViewModelTest.kt * Fix styling in bottom sheet dialog * Keep default delay * klint * Keep default delay Co-authored-by:
Sabine Loss <44154356+SabineLoss@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Mohamed Metwalli authored
* Add bottom bar * Fix di * Adjust theme * Align content on top of bottom bar * Enhance findNavController * Adjust Bottom Bar * Remove diary card * Remove up button * lint * Adapt MD theme * Fix ui tests * Delete contact diary , handle onboarding * Remove x button * Show bottom nav only for Home and contact diary destinations * Only contact diary overview screen * Adjust alert dialog theme * update docs * Fix close button issue * Revert close button changes * Rename text resources * Make visibility logic flexible for future additions * Fix typo * Contact diary onboarding's bottom bar behaviour * Update ContactDiaryOnboardingFragmentTest.kt * Update Corona-Warn-App/src/main/res/values/strings.xml Co-authored-by:
Sabine Loss <44154356+SabineLoss@users.noreply.github.com> * Update contact_diary_overview_fragment.xml * Small refactoring * Remove un required gravity * Use accent colour * Move diary settings into vm * Update MainActivityViewModelTest.kt * Fix styling in bottom sheet dialog Co-authored-by:
Sabine Loss <44154356+SabineLoss@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Feb 02, 2021
-
-
Lukas Lechner authored
* Fix issue of not showing delta onboarding about interoperability before showing release notes * Suppress failure to give the chance for other steps to continue in Firebase TestLab * Fix instrumentation test * Revert "Suppress failure to give the chance for other steps to continue in Firebase TestLab" This reverts commit 5d642b66 * Use when statement instead of if-else conditions Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Alex Paulescu <alex.paulescu@gmail.com>
-
Lukas Lechner authored
* Replace strings "on one day" to "on 1 day" for low risk card * Change content description of low risk card * Adapt low risk card - display date when last encounter occurred - similar to high risk card * Update Corona-Warn-App/src/main/res/values-de/strings.xml Co-authored-by:
Sabine Loss <44154356+SabineLoss@users.noreply.github.com> * Update Corona-Warn-App/src/main/res/values/strings.xml Co-authored-by:
Sabine Loss <44154356+SabineLoss@users.noreply.github.com> * Update strings.xml * Rename input parameters of LowRisk data class from c to context * Fix instrumentation tests Co-authored-by:
Sabine Loss <44154356+SabineLoss@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Jan 27, 2021
-
-
Chilja Gossow authored
* write test for DiagnosisTestResultRetrievalPeriodicWorker * klint * Use TimeStamper
-
Juraj Kusnier authored
* fix tests * Implement StatisticsExplanationFragmentTest * Implement StatisticsTest * Fix old tests * Rename StatisticsTest > StatisticsCardsTest * Fix marge Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Mohamed Metwalli authored
* Move to launch*2 to have app theme * Fix failing test * Fix import * Add hw properties * update sdk manager * Add more emulator options * Unmock after tests * Retry for failure * Revert changes in CI yaml
-
- Jan 25, 2021
-
-
axelherbstreith authored
* mounted navigation button to bottom on symptom screen * mounted navigation button on symptom calender screen to bottom * aligned button margins * simplified margins * removed unused code * fixed instrumentation tests Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
chris-cwa authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Matthias Urhahn authored
* Adjust DispatcherProvider interface to return type `CoroutineContext`. This is a preamble to fix a few coroutine tests that require time advancement. We need to be able to pass the TestCoroutineScope's context to classes under test. This can now be done using CoroutineContext.asDispatcherProvider(). * Fix compile error in test Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
ralfgehrer <mail@ralfgehrer.com>
-
Mohamed Metwalli authored
* Migrate to dagger2 assisted injection * bump version * Fix Worker test * Fix failing test * Remove Square AssistedInject from Technical file * Set nav-graph in Ui Thread to prevent crashing * bump dagger to 2.31.2
-
- Jan 22, 2021
-
-
Matthias Urhahn authored
-
Matthias Urhahn authored
-
BMItter authored
Contact Journal Risk Extension - Risk details contact overview logic & peristance (EXPOSUREAPP-4577) (#2142) * Added AggregatedRiskPerDateResult to AggregatedRisk, Added AggregatedRiskPerDateResult to riskresult database * Added list of AggregatedRiskPerDateResult to AggregatedRisk, Added AggregatedRiskPerDateResult to riskresult db * Save aggregated risk per date results * Override aggregatedRiskPerDateResults * Delete risk level per date which are older than 2 weeks * Prepared logic to show risk level per date in contact diary overview * Test day mapping for risk result * Added tests for AggregatedRiskPerDateResultDao * Fixed layouts in contact diary overview * Show risk in overview * click adjustments * Moved logic into view model * adjusted ListItem * Added clearing of obsolete aggregated risk per date results, cleaned tests * detekt & klint clean * Added test for clearing aggregated risk per date results * avoid main thread * Performance up lift by avoiding string templates * missleading comment * adjusted filter method * We dislike flaky tests * Added testability for migration * Adjusted day count for journal * fixed test * ktlint & detekt * adjusten retention * ktlint, detekt * adjusted ContactDiaryCleanTaskTest * Add tests for aggregated risk per date result table Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Mohamed Metwalli authored
-
- Jan 21, 2021
-
-
Mohamed Metwalli authored
* Remove unknown risk item from overview screen * Use date instead of days * Introduce a new string Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Jan 20, 2021
-
-
Mohamed Metwalli authored
-
Matthias Urhahn authored
CircleCI config overhaul, instrumentation tests & screenshot automation (EXPOSUREAPP-4480,DEV) (#2160) * CircleCI overhaul and execution of instrumentation tests. * Screenshots work, now run for release builds only. * Tweak emulator to possibly improve performance. * Compress results. * Don't upload test xml files if circle CI already shows them. Zip and upload test html reports instead of xml files. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Mohamed Metwalli authored
-
- Jan 18, 2021
-
-
Chilja Gossow authored
* do not schedule reminders when test result has been viewed * clean up * renaming to make clear which notification is meant * refactor worker * rename * DI issues * DI test code * add else branch test code * test code * refactoring * comment
-
- Jan 15, 2021
-
-
Juraj Kusnier authored
* Make Screenshots from Submission Tests * Fix test crash after language change * Implement missing submission flow screenshot tests * Hide keyboard in SubmissionTanFragmentTest * remove SubmissionQrCodeScanFragmentTest implementation * fix TestApplication implementation * introduce SCREENSHOT_DELAY_TIME * Code refactoring * fix merge error * Implement SubmissionYourConsentFragment screenshots * Implement SubmissionSymptomCalendarFragment screenshots * Implement SubmissionConsentFragmentTest screenshots
-
- Jan 14, 2021
-
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
- Jan 13, 2021
-
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
* Add screenshot test for risk calculation * Update Todo * Add name suffix Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Katharina Seiz authored
* use Reuse Tool for Copyright and Licenses * adapt README * add chnaged open source libraries * NOTICE and THIRD-PARTY-NOTICE not needed anymore with reuse tool * add new file to dep5 file for reuse tool * fix badge info link and add Licensing chapter again * fix link to license within repo * fix badge info link * fix link to license within repo * add info about the reuse tool and the info link about the repo compliance * change wording * adapt year of copyright and add modification staements q * add license file again to root folder * adapt copyrights and add gradlew files to dep5 file * add link to chapter licensing again * fix links to LICENSE Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Mohamed Metwalli authored
-