- Oct 19, 2020
-
-
Matthias Urhahn authored
* Introduced `TracingCardState` and `TracingDetailsState`. Removed all direct viewmodel/livedata access from all nested layouts for `TracingViewModel`. Removed `FormatterRiskHelper`. Introduced logic to reactively update the UI state if bluetooth, location or tracing state changes. TODO: * Finish tests in TracingCardStateTest.kt and TracingDetailsStateTest.kt * Finish TracingDetailsViewModel.kt and TracingCardViewModel.kt * Remove obsolete dependencies on TracingViewModel.kt and singletons RiskLevelRepository.kt, TracingRepository.kt * Breakthrough, cards update again. * Further cleanup of TracingViewModel.kt, TracingRepository.kt Still not quite there yet, too many calls going into every direction, back and forth, instead of just top->down, but we are getting there. We want data flow from business logic code to the UI, keep the UI KISS. * Update TracingCardState tests to account for changes * More refactoring, TracingViewModel.kt is now finally gone. * Fix risk details card, we reuse the cardviewmodel but need to overwrite the `showDetails` flag depending from where it's used. * Refactored several properties (notification related) out of SettingsViewModel/Repository * Fix injection * Refactoring submission related databinding code on the home fragment * Make TracingRepository.kt injectable and change viewmodel scoping for refresh calls to app scope. * Remove additional formatter calls from submission cards on home screen. * Refactored additional SubmissionViewModel logic into SubmissionRepository on the Homescreen. First UI Test is now passing. Simplified ViewModel instantiation related code. Prepared HomeFragment for smoother UI state changes, less reloading. * Improved home,tracing-details and tracing-settings loading behavior, less flickering. Fixed LiveData value assignment on background-thread. * New reactive provider for Bluetooth and Location status. Cleaned up ConnectivityHelper.kt partially. * Implement remaining tests, batch 1. * Implement remaining tests, batch 2. * Fix lint issues. * Removed a few codesmells and code duplication. Introduced Flow.shareLatest(...) * Removed unused parameters. * LINT fixes. * Fix unit test failing due to missing mocks. * Address PR comments. * Improve UI loading states, remove flickering. * Remove log spam due to polling values, add extra abort condition that checks for cancellation. Co-authored-by:
ralfgehrer <mail@ralfgehrer.com>
-
- Oct 18, 2020
-
-
Oliver Zimmerman authored
* converted SubmissionTanFragment to assisted inject * removed unused import * Refactored submission dispatcher * lint fixes * removed unnecessary companion object * Submission Test Result refactored * Submission Contact refactored * Submission Done Refactored and lint fixes * more lint fixes * Submission Intro refactored * interface fix * Submission QR Codde Scan refactored * SubmissionResultPositiveOtherWarning refactored * Adapted Navigation style to use SubmissionNavigationEvent - aligns with Onboarding refactoring. * Submission Symptom Introduction refactored and fragment restructure * SymptomCalendar refactor and ktlint * ktlint * deleted unnecessary extra line * ktlint * removed directions declaration that was causing issues * navigation fix * Move companion object to end of class * Migrated submission modules to SubmissionActivityModule, and included in MainActivityModule * Use nav util instead of findNavController + ktlint fixes * more lint fixes * refactor name of SubmissionActivityModule to SubmissionFragmentModule Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
- Oct 12, 2020
-
-
Oliver Zimmerman authored
* QR info screen changes, but with 1.6 as base * Review changes, tests still to come * Test implementation for new view model * Removed unneccessary binding and viewmodel in view * Now injecting view model * lowercase fix * removed unused imports * removed blank line Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Oct 07, 2020
-
-
Matthias Urhahn authored
Introduce VM injection for home screen and enable screen testing (EXPOSUREAPP-2946, EXPOSUREAPP-2948) (#1320) * Rename "MainFragment" to "HomeFragment" Add VM injection. Move initial logic into VM. TODO: Move more code, write more tests. * Additional refactoring, moving logic out of the Fragment. Moving code into their own encapsulated routines/components. Use composition to reuse TracingViewModel, SettingsViewModel and SubmissionViewModel * Introduce @AppContext annotation to prevent anyone mistaking it for something else. * Add VM to RiskDetailsFragment * Simplify nested viewmodels, here: TracingViewModel.kt * Add skeletons instrumentation test skeleton for single fragments with injection and mocking. * Address PR comments. * Introduce sealed events class, + some refactoring. * Make the linter happy.
-
- Oct 06, 2020
-
-
Oliver Zimmerman authored
* Added button in layout for continuing without symptoms. Adjusted existing button text * Added new button, tweaked navigation and logic * Changed symptom indication to no indication appropriately * code style changes * added navigation related boolean to method rather than predefined * code style Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Oct 02, 2020
-
-
Matthias Urhahn authored
* Remove code duplication between different flavors. Remove extra MainFragment and NavGraph. Introduce TestMenu indirection Add logic for splitting test code up into extra fragments. * Style list items a bit :) * fix lints * Detekt *hug* * We can only show the menu entry if we are actually on the right flavor, otherwise, in deviceDebug, we would not have access to the right resources. * Address PR comments * Fix wrong XML namespace.
-
chris-cwa authored
Legal Texts (EXPOSUREAPP-2954 , EXPOSUREAPP-2951, EXPOSUREAPP-2942, EXPOSUREAPP-2938, EXPOSUREAPP-2931, EXPOSUREAPP-2925, EXPOSUREAPP-2924, EXPOSUREAPP-2923, EXPOSUREAPP-2922, EXPOSUREAPP-2920, EXPOSUREAPP-2919, EXPOSUREAPP-2918, EXPOSUREAPP-2917) (#1270) * text body from EXPOSURE_APP 2740 * line breaks * - duplicate values * Interoperability: Make Changes to User Consent Text (Initial Onboarding) (EXPOSUREAPP-2938) (#1276) * 2938 updated legal strings in defaults, de & tr * added translatable false * updated german strings (#1278) * nex text for EXPOSUREAPP-2942 * Legal Textchange: Exposure Logging Screen (EXPOSUREAPP-2923) (#1280) * Legal Textchange: Home Screen - FAQ Section (EXPOSUREAPP-2922) (#1281) * Legal Textchange: Initial Onboarding (EXPOSUREAPP-2920) (#1282) * Legal Textchange: Test Result Screen (EXPOSUREAPP-2918) (#1283) * Legal Textchange: Info Screen (EXPOSUREAPP-2917) (#1284) * update string (#1288) * kEA-2942 * Legal Textchange: New Eula (Nutzungsbedingungen) (EXPOSUREAPP-2951) (#1285) * updated eula * updated tr & en eula with german * Interoperability: Changes to Data Privacy (EXPOSUREAPP-2954) (#1287) * Interoperability: Make Changes to User Consent Text (Key Upload) (EXPOSUREAPP-2942) (#1275) * 2942 - strings updated and added to new legal string file * removed tr strings, to fix circle ci error. * added translatable false * Follow up: Initital onboarding 3rd & 6th paragraph (EXPOSUREAPP-2920) (#1289) * updated & added strings * updated 6th paragraph * Legal Textchange: Cross Country Exposure Logging Screen (EXPOSUREAPP-2924) (#1279) * updated & added strings * text under countries added Co-authored-by:
Rituraj Sambherao <git.rituraj.sambherao@gmail.com> * Interoperability: Delta Onboarding (EXPOSUREAPP-2931, EXPOSUREAPP-2919) (#1277) * 2931 text update * move to legal text & update 2919 * delta onboarding text changes for initial text Co-authored-by:
Oliver Zimmerman <oezimmerman@gmail.com> * Legal Textchange: Delta Interop Screen (EXPOSUREAPP-2919) (#1294) * 2931 text update * delta onboarding text changes for initial text * Added new legal texts and navigation to terms. - adjused xml layout - added required strings - created navigation to legal terms in both nav graphs - created navigation in fragment * Update OnboardingDeltaInteroperabilityFragment.kt * Update OnboardingDeltaInteroperabilityFragment.kt Co-authored-by:
Luka Harambasic <luka.harambasic@sap.com> * fixed wrong implementation regrading user consent in warn others Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Rituraj Sambherao <git.rituraj.sambherao@gmail.com> Co-authored-by:
Oliver Zimmerman <oezimmerman@gmail.com> Co-authored-by:
Luka Harambasic <luka.harambasic@sap.com>
-
- Sep 23, 2020
-
-
Mert Safter authored
* Import flag assets. Create init CountrySelectionList and Fragment * Implement missing components. Create ViewModel and Repository for Interop * fix wrong property usage * Implement storage of selected countries * Implement warn dialog * Added navigation from country selection to tracing fragment * Fixed lint errors * Fix typo and build error * Move navigation out of onResume * Implement Warning dialog and do some code cleanup * Begin of onboarding for Interoperability. Fix linting issues * Implement onboarding for Interoperability (#1976) * Implement skip path of interop screen in onboarding (#1976) * Implement navigation logic for onBoarding (#1976) * Fix linting issues * Adjust country list and view to new UI (#2667) * Merge OnboardingTracingFragment with country list (#2665) * UI adjustments (#2665) * Fix linting issues * Implement Delta Onboarding logic (#2665) * Adjust interoperability screens to new UI (#2730, #2733) * Added navigation from country selection to tracing fragment * Fix merge issues with interoperability branch * Fix merge issues with interoperability branch * Fix merge changes with 1.5.x branch * Remove unused Formatter * Remove import of unused Formatter * Remove import of unused Formatter * Fix linting issue * Adjust UI to mock changes (#2730) * Adjust fragment binding to new solution and code cleanup * Adjust layout ids to guidelines. Comment strings.xml * Moved back navigation event to ViewModel * Move to DI and ViewModel navigation * Improve accessibility * Improve accessibility * Adjusted UI to updated mockups. Clean-Up of InteroperabilityRepository and LocalData * Refactoring and ViewModel use. * Make detekt happy. * Fix PR comments, typos, inline getString. * Fix refactoring typo Co-authored-by:
Alexandru.Paulescu <alexandru.paulescu@sap.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
Matthias Urhahn <darken@darken.eu>
-
- Sep 18, 2020
-
-
Matthias Urhahn authored
This reverts commit 6054bf57.
-
Jakob Möller authored
* Added first set of country flags Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added first implementation of Submission Country Selection Screen. (Currently not part of nav graph). Moved stuff inside of submission package into subpackages Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added missing changes to nav_graph file * Test Menu options for Country selection and Measurement (EXPOSUREAPP-2229) (#1086) * Implement country filter (#2229) * Implement measure for Risk calculation and Key Retrieval (#2229) * Some code cleanup for measureRiskLevelAndKeyRetrieval * Some code cleanup (#2229) * Implement usage of AppConfig usage for country codes (#2229) * change CURRENT_COUNTRY val to var * Suppress "LongMethod" warning (#2229) * Adjust unit tests to respect new country filter * Align with backend for app config country property name * Display total file size of keys in results (#2229) * Fix linting issue * Update strings.xml files * Do refactoring and some code clean up * Move RiskLevel and Key retrieval measurement in own class * Move code in logical classes. Remove translation in test fragment * Fix linting and Unit tests * Remove 3hour boolean check from debug class. * Refactor CountryWrapper and missing dates check. * Fix linting and Unit tests * Add Unit test for getMissingDates * Code cleanup * Hide keyboard on action * Extend statistics for api submission * Set callback to null after invoked Co-authored-by:
Mert Safter <mert.safter@sap.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> * Overhaul of DiagnosisKey related Download and Caching Mechanisms (EXPOSUREAPP-2469) (#1136) * Rework of keyfile download and caching. * Supports interop * More modular for better testing and build flavour based behavior adjustments * More resilient handling of failed downloads * Preperations for future hourly download and serverside checksums TODO: Finish unit tests, keycache migration and cache health check * First batch of unit tests and some fixes for incorrect behavior that the tests surfaced. * Added unit tests for the KeyCacheRepository TODO: Tests for downloader and migration. * Implemented POC for migration old key files. * Fixed legacy file migration and cleanup, improved logging. * Added unit tests for legacy key file migration. * Add fallback for different file hashes in the header. * Yes kLint, we know it's a long method, but for this it's better to read it in one block vs jumping to extra methods. * More linting issues, adjusting project code style prevent a few of these in the future. * Added missing unit tests for `KeyFileDownloader` and fixed faulty behavior that was noticed during testing. * CRUD (instrumentation) test for `KeyCacheDatabase` * Remove unused `FileStorageHelper` and related constants+tests. * Fix last3Hours unit test in deviceRelease mode, we need to explicitly enable debug for these tests. * Until we have more information about the hashsum's format in the header, default to `ETag * Split app config server API from diagnosis key download API, and reintroduce caching for the app config download. * Add test to check that the cache is used on flaky connections. * Code changes based on PR comment, part #1. * Code fluff, formatting. * Handle download errors correctly. * Refactoring: * Remove unnecessary `currentDate` we always start with the newest date from the servers index. * Make a specialised class for header validation * Let legacy cache migration abort early, depending on whether the key dir exists. * If we can't create the base directory for the key repo, throw an exception. * Delete cache entry if a download fails. * Fixed test regression due to refactoring. * Consolidate staleness check into `getStale` * Consolidate clean up for failed downloads into the download method. Added tests to check that we delete the keycache entry if the download fails (which we didn't for hours :O!) * Because the hour-mode uses caching too, we add an explicit button to the test menu that clears the cache. * Add comment with reference to ticket regarding follow up on the other headers. * Move expected storage size per country into a named constant. Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> * Implementation of tests for the interoperability countries selection screen (EXPOSUREAPP-2439) (#1140) * Added initial set of viewModel tests Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fail tests on unexpected null. Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
apopovsap <66370584+apopovsap@users.noreply.github.com> Co-authored-by:
Mert Safter <69803294+MertSafter@users.noreply.github.com> Co-authored-by:
Mert Safter <mert.safter@sap.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
Matthias Urhahn <darken@darken.eu>
-
- Sep 17, 2020
-
-
Matthias Urhahn authored
* New Scan Confirmation Texts Change (EXPOSUREAPP-2427) (#1097) Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> * New Strings for Risikobegegnung mit niedrigem Risiko (EXPOSUREAPP-2462) (#1106) * + new strings * let the app not crash on other languages than DE * values for lint and tests * made bad test a comment * removed unnecessary strings * more string fixes Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> Co-authored-by:
Luka Harambasic <luka.harambasic@sap.com> * Remove Cache Clearing to reduce CDN load on failing devices (EXPOSUREAPP-2405) (#1108) * Remove Cache Clearing to reduce CDN load on failing devices. This ideally needs to be accompanied by a way to clear the cache manually and a way to identify more root causes of Transaction Failures. Signed-off-by:
d067928 <jakob.moeller@sap.com> * Remove Files that failed for Key Retrieval Only Remove Files from Cache that failed to download, instead of every file. This is accompanied ideally by no rollback in the Key Retrieval. We only delete the cache ref, the file will not be deleted as it is considered not present Signed-off-by:
d067928 <jakob.moeller@sap.com> * Introduce dedicated QuotaCalculator for Unit Testing Signed-off-by:
d067928 <jakob.moeller@sap.com> * Refactor QuotaCalculator for LocalData Property Access and Write Tests Signed-off-by:
d067928 <jakob.moeller@sap.com> * Use Instant on the Device Read since this is not timezone specific Signed-off-by:
d067928 <jakob.moeller@sap.com> * Add specific state for the quota calculation and dedicated rollback Signed-off-by:
d067928 <jakob.moeller@sap.com> * PR Comments Signed-off-by:
d067928 <jakob.moeller@sap.com> * Feature: Update low risk string (EXPOSUREAPP-1971) (#1125) * Improve Explanation for "Risikobegegnung mit niedrigem Risiko" (EXPOSUREAPP-1971) (#1112) * Adapt QuotaCalculatorTest to old JUnit4 API Signed-off-by:
d067928 <jakob.moeller@sap.com> * [INTERNAL] Translation delivery: commit by LX Lab (#1132) Change-Id: Ib76a9ea2b03163a05dd8b6acf2179262f9bcf5bf * Removed ar & ru and updated defaults (#1133) * Throw Exception in case we have a failed entry to ensure Abortion of the Transaction (EXPOSUREAPP-2405) (#1134) * Throw Exception in case we have a failed entry to ensure Abortion of the Transaction. Signed-off-by:
d067928 <jakob.moeller@sap.com> * Adjust test to not expect call to clear cache files Signed-off-by:
d067928 <jakob.moeller@sap.com> * version bump to 1.3.1 * Reverted replaced wording (EXPOSUREAPP-2638) (#1153) * Fix: No exposure with low risk so far * Fixed klint issues (#1144) * restored reverted replaced wording for lint * https://github.com/corona-warn-app/cwa-app-android/pull/1153#discussion_r487801724 * fixed term * Align TestFragment Crash behavior with background transaction crash behavior. * Add logging mechanism to debug hotfix issue. * Lint Resolvement, Nav Graph Issue clean, Enable Log for deviceForTesters, Correct Quota Tests due to now lacking exception Signed-off-by:
d067928 <jakob.moeller@sap.com> Co-authored-by:
Philipp Woessner <64482866+pwoessner@users.noreply.github.com> Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> Co-authored-by:
Rituraj Sambherao <54317407+ritsam@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
chris-cwa <69595386+chris-cwa@users.noreply.github.com> Co-authored-by:
Luka Harambasic <luka.harambasic@sap.com> Co-authored-by:
SAP LX Lab Service Account <tmsatsls+github.com_service-tip-git@sap.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
Oliver Zimmerman authored
* initial commit of new fragment for symptom screen * Added relevant strings for symptom screen. Started editing xml of initial symptom screen * Addded 3 selection options within symptom screen * button id name change to something more relevant * ID changes to be something more relevant to symptom scenerio. * Implemented symptom initial screen logic. Temporary nav for testing. * CircleCI formatting * Adapted interoperability test provided by apopov * Added accessibilty announcement on resume, fixed navigation for main page * circleCI indentation fix * removed ar & ru and updated default strings * Adaption to ViewModel logic. Not yet complete Adaption to ViewModel logic, attempting to align with implementation done with some interoporibility tasks: reusable layout files, etc. * More ViewModel transformation additions * revert nav from test. Circle CI formatting changes * Update SubmissionSymptomIntroductionFragment.kt * Removed old fragment based test * Will implement navigation during marry session. * Update SubmissionViewModel.kt * Calendar button selection screen + required strings * Custom calendar view * Accessibility improved * introduced data types for symptoms * represent date by long in millis * new TransmissionRiskVector * Constants and formatting * Naming changes requested * Better event naming * Update fragment_submission_symptom_intro.xml * Finishing calendar implementation - still need to implement calendar widget Surrounding calendar submission UI - minus calednar widget Necessary strings * Merged introduction and calendar screen. Created calendar fragment screen, Finished calendar XML view Added required entries for choices in SubmissionViewModel Adjusted Formatters for button selection. Changed nav graph. * + todo * CircleCI code style changes * EXPERT STUFF * Latest push for marry session * replaced transaction risk vector * update textcolor on symptom indication change * update buttons by code * code formatting * Added logic for Negative and No Information buttons and adjusted xml view to be more aligned with design Added logic for Negative and No Information buttons and adjusted xml view to be more aligned with design * disable next button when state is null. * + readability * Calendar screen logic adapted for button selection * extracted domain logic from prototype and from transaction * - not used events * joint improvements * removed unused events * Calendar unsetSelection added * detekt rules changed and formatting * - calendar view refactor: CalendarCalculator singleton introduced for batter testing capacity - unit tests added * detekt issues * Colors and styles cleared * fixed strings * maintained unit tests * adopted changes from main nav graph to device for testers nav graph * reverted comment * made start of symptoms nullable * tests * Adjusted navigation, fixed dark theme * Update Project.xml * use of postValue() in SubmissionViewModel.kt * Added direction in tester nav graph * improvements required by review * moving companion * moving companion * moving companion * fixed issues from partner review * fixed issues from partner review * fixed issues from partner review * fixed issues from partner review * fixed issues from partner review * using utc * edge case tests * made inner class * Refactored Symptoms Class Name (+data class) * Change SubmissionViewModel scope to ensure that the same viewmodel is used to store submission data. * extracted null check + log Co-authored-by:
Luka Harambasic <luka.harambasic@sap.com> Co-authored-by:
chris-cwa <chris.cwa.sap@gmail.com> Co-authored-by:
Alexander Alferov <a.alferov@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Matthias Urhahn <darken@darken.eu> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
Matthias Urhahn authored
* Align TestFragment Crash behavior with background transaction crash behavior. * Add logging mechanism to debug hotfix issue. * Lint Resolvement, Nav Graph Issue clean, Enable Log for deviceForTesters, Correct Quota Tests due to now lacking exception Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
d067928 <jakob.moeller@sap.com>
-
- Sep 11, 2020
-
-
Matthias Urhahn authored
Remove unavailable test fragment from release navgraph and fix incorrect package/folder structure. (#1146) Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
- Sep 01, 2020
-
-
Kolya Opahle authored
-
- Aug 27, 2020
-
-
Fabian-K authored
For plausible deniability, the test result retrieval after the initial registration (via QR or TeleTAN) needs to be part of the same playbook and not two playbooks executed sequentially. For this, this commit: - updates the initial registration playbook to fetch the test result instead of a dummy request and returns the registration token as well as the test result - adds an argument "skipInitialTestResultRefresh" to the SubmissionTestResultFragment to optionally skip the initial test result refresh - includes the argument "skipInitialTestResultRefresh" when navigating from the QR Code scan or the TeleTAN input screen to the SubmissionTestResultFragment - adds "updateTestResult" to the SubmissionRepository to be able to set the test result without having to refresh it every time from the server - updates the SubmissionService to set the test result coming from the initial registration playbook Co-authored-by:
Jakob Möller <jakob.moeller@sap.com>
-
- Jul 02, 2020
-
-
Fabian-K authored
* [INTERNAL] Translation delivery: commit by LX Lab Change-Id: Ic0905f66e03544c549ee6bf0edde3707c528215c * Translation branch update (#127) * Implement submission done fragment (#20) * Added submission done fragment (currently dangling in nav graph) * fixed leftover javadoc * Moved QR code scan and registration fragment to submission package (#21) * Dependency Updates and Gradle Fixes (#34) * Bump up Gradle to 4.0.0 / 6.1.1 * Bump up NDK * Bump Up SQLite * adapt circle config * Fix #23: Typo in onboarding screen (#31) Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> * Submission UI Additions (#25) * Moved camera permission check to dispatcher fragment * Added illustrations for test result screen * Updated result fragment to match new design * Added constraints to status card * Integrated submission result positive other warning fragment in ui flow * Added submission done fragment to nav graph Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added ability to dialog helper to create dialog without negative button * Switched from AlertDialog.Builder to DIalogHelper * Enable diagnosis key upload to backend (#35) * Moved camera permission check to dispatcher fragment * Added illustrations for test result screen * Updated result fragment to match new design * Added constraints to status card * Integrated submission result positive other warning fragment in ui flow * add TAN fetching to the key submission transaction * remove unneeded function * Fix log message for fetching TAN * Added submission done fragment to nav graph Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added ability to dialog helper to create dialog without negative button * Switched from AlertDialog.Builder to DIalogHelper * use actual TAN (authCode) for key submission set the TAN in the corresponding header field fixes #8 * request permission to retrieve diagnosis keys * permission needs to be requested again after dialog has been presented to the users * trigger transaction to retrieve TAN and upload keys Co-authored-by:
Kolya Opahle <k.opahle@sap.com> * Removed ExposureNotificationIntentService, the functionality is handled by NotificationHelper (#40) * Fixing tele tan registration (#45) * Fixed teleTAN based device registration Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * allowed excluded tan chars for testing Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Revert "allowed excluded tan chars for testing" This reverts commit 253ede4ea9c8ba2b5e6dd324680eed0f8f7e74c1. * Release/0.5.5 (#48) * Release/0.5.5 * Hotfix for resetting Gradle Version (internal pipeline confirmation) (#52) * Gradle Reset to 0.5.4 (#53) * Release/0.5.5 (#48) * Hotfix for resetting Gradle Version (internal pipeline confirmation) (#52) * Minify and Shrink Disabled (#56) * Release/0.5.5 * Gradle Reset to 0.5.4 (#53) * Release/0.5.5 (#48) * Hotfix for resetting Gradle Version (internal pipeline confirmation) (#52) * Disable minify / shrink * Dont obfuscate * 0.5.6 * Update known issues and fixing typo in readme (#44) * added strings wip to known issues * updated readme Co-authored-by:
Muschko <marc.muschko@sap.com> * Updated strings, introduced more details on app-information screens (#88) * updated strings for risk card and risk card details; plural strings are todo when finalized * updated more strings on main / details * added comments * added strings for information about, information technical hotline; changed technical hotline layout * removed hotline test icon * fixed build issues * Cleanup pull_request_template.md (#54) * Update pull_request_template.md * Removed Link to Contribution Guidelines (added by Github on the right hand side, anyhow) * Removed Link to issue #41 from title example (this has been linked quite a lot...) * 0.5.6 * Fix typo Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
marcmuschko <marc.muschko@sap.com> * Add Support for lower case characters in the teleTAN screen (#66) * added support for lower case input in teleTan fragment Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Removed notice of case insensitivity from temporary strings.xml Signed-off-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> * Correct typos in architecture overview (#67) Co-authored-by:
marcmuschko <marc.muschko@sap.com> * Bluetooth & connection card (#97) * introduced settings navigation helper * added connection and bluetooth stati to main and tracing settings * moved strings * removed unnecessary backgroundTint Co-authored-by:
marcmuschko <marc.muschko@sap.com> * Fix typo in class documentation (#71) * 0.5.6 * fix typo Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> Co-authored-by:
marcmuschko <marc.muschko@sap.com> * spelling fixes (#87) * 0.5.6 * spelling fixes Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> Co-authored-by:
klemens <ka7@github.com> Co-authored-by:
marcmuschko <marc.muschko@sap.com> * Moves creation of notification channel to app startup (#32) Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> * Tracing start/stop fix due to missing handling inside tracing (#99) Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> * Switch the DB Password to use the KeyStore MasterKey (#98) Signed-off-by:
d067928 <jakob.moeller@sap.com> * Shared prefs ktx shorthand (#38) * closes #33 * Add Commit Flag to ensure synchronous consistent Updates to Disk Signed-off-by:
d067928 <jakob.moeller@sap.com> * Add persistance of timestamp and whether user is allowed to submit keys (#74) * Store timestamp of receiving registration token * also reset this timestamp when deleting the registration token * use correct timestamp for display of test time * replace tracing activation time by test result reception time * rename TAN request to match context * set isAllowedToSubmitDiagnosisKeys properly Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> * set "enabled" for include_settings_switch_row in notifications settings, fixes wrong binding and removed clickable rows (#101) Co-authored-by:
marcmuschko <marc.muschko@sap.com> * fix #82 (#94) * fix #82 Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> * Add ShareHelper (#85) * Add ShareHelper * Use ShareHelper in MainShareFragment * Replace the current exposure status with a positive result card when test result is positive (#79) * Made submission status card style more cross device friendly Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added the positive result submission status card Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * lint fix * Updated main fragment documentation * Added icon for sharing risk status Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Updated positive result home screen card text and icons Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added loading indicator to test result fragment (#100) Co-authored-by:
marcmuschko <marc.muschko@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> * Adjusted onboarding flow, adjusted contribution file, small fixes in settings (#106) * changed permission dialog logic for onboarding tracing fragment and onboarding notification fragment * adjusted contributing file * added settings notification handling to display value in settings overview * fixed app crash during bluetooth settings navigation * corrected wrong value from view model in tracing settings text * Submission Contact Fragment & StepView Custom View (#102) * - submission-contact fragment added - StepEntry custom view added to unify various step entry views - SimpleStepEntry as a simple implementation of a StepEntry with title and text added * - apply naming conventions for ids - use CallHelper to trigger a call - access views using kotlinx.android.synthetic Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> * Notifications when risk value has changed between low and high. (#76) * Notifications when risk value has changed between low and high. * Notifications when risk value has changed between low and high. Fixed wildcard imports. * Fixed formatting, ktlint issue. * app foreground/background checking. Notifications are not sent when app is in background * update comments * initialize foreground flag as false(valid for background threads before ui starts) * comments * included UNDERTERMINED as a low, for initialisation * fixed icon * fixed tests Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> * added onboarding strings (#109) * disable colored output for ktlint (#105) Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> * Limit number of keys to be uploaded to server (#107) * limit the number of keys to be uploaded to 14 * fix spaces Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> * Fix white space, informal language and spelling of Docker in Readme (#78) * 0.5.6 * Fix spelling gonna and docker * Add missing "to" Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> Co-authored-by:
marcmuschko <marc.muschko@sap.com> * Update build.gradle (#111) * Build.Gradle Conflict Resolving (0.8.0) (#112) * Minify and proguard fix (#113) Commented out -dontobfuscate * Circle progress bar (#96) * circle progress bar impl * ktlint format * added new ui * added circle to contact tracing without binding * added binding and final icon * added circle progress to risk card * added comments * changed default value for disableText * adapted views order to designs * removed testing value Co-authored-by:
Kirill <kirill.sergeev@sap.com> * TracingStatusHelper unit test (#114) * TracingStatusHelper unit test * removed duplicate * Prevent screenshot of the app for all activities (#108) * Prevent screenshot of the app for all activities * fix ktlint * code smell fix Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> * Feature: Bluetooth callback (#115) * bluetooth callback added * bound bluetooth callback to the ui Co-authored-by:
Kirill <kirill.sergeev@sap.com> * Added main overview page to main menu (#120) * added overview fragment baseline * main overview draft version completed with build fixes * checked some final strings again * Fixed screen orientation to portrait (#121) * added restriction to portrait and reversed portrait orientation only * suppress SourceLockedOrientationActivity lint error * changed local config that a high match can be generated via QR code, integrated it with the UI (#125) * Feature: Translation preparation (#126) * renamed old strings and reordered * app information strings translation tags * updated translation tags for long texts * added translation comments to strings * fixed naming error * removed empty comment Co-authored-by:
Muschko <marc.muschko@sap.com> Co-authored-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> Co-authored-by:
Michael Keppler <bananeweizen@gmx.de> Co-authored-by:
Thomas Klingbeil <64434904+tklingbeil@users.noreply.github.com> Co-authored-by:
Hee Tatt Ooi <64406309+HeeTattSap@users.noreply.github.com> Co-authored-by:
Muschko <marc.muschko@sap.com> Co-authored-by:
Thomas Kowark <thomas.kowark@sap.com> Co-authored-by:
Robert Scheck <robert-scheck@users.noreply.github.com> Co-authored-by:
Volkmar Vogel <volkmar@vogel.app> Co-authored-by:
ka7 <ka7@la-evento.com> Co-authored-by:
klemens <ka7@github.com> Co-authored-by:
Tim Brüggenthies <tim.brueggenthies@outlook.de> Co-authored-by:
mseele <mseele@gmail.com> Co-authored-by:
Janik Steegmüller <janik.steegmueller@gmail.com> Co-authored-by:
Fabian-K <fabian.kajzar@sap.com> Co-authored-by:
Hee Tatt Ooi <hee.tatt.ooi@sap.com> Co-authored-by:
Matthias Küch <mail@matthias-kuech.de> Co-authored-by:
oemerb <66002424+oemerb@users.noreply.github.com> Co-authored-by:
AlexanderAlferov <64849422+AlexanderAlferov@users.noreply.github.com> Co-authored-by:
Kirill <kirill.sergeev@sap.com> Co-authored-by:
Philipp Woessner <64482866+pwoessner@users.noreply.github.com> * [INTERNAL] Translation delivery: commit by LX Lab Change-Id: Ic0905f66e03544c549ee6bf0edde3707c528215c * Remove values-2Q Signed-off-by:
d067928 <jakob.moeller@sap.com> * [INTERNAL] Translation delivery: commit by LX Lab Change-Id: Idf52dece137fdc6e314ed752a8ef6b79b08683b0 * deleted 2Q * [INTERNAL] Translation delivery: commit by LX Lab Change-Id: I63afce1d7307c912b034728d8b78d437974f818d * excluded translation from lint for dev * fixed quickBuild errors * [INTERNAL] Translation delivery: commit by LX Lab Change-Id: I0b2e12f977b0a4bf37716d85e527d8d05168120f * fixed local issues * [INTERNAL] Translation delivery: commit by LX Lab Change-Id: Ied4c086215e1392cb4ac061c9e82760f4757d5b2 * fixes * resolved merge conflicts * [INTERNAL] Translation delivery: commit by LX Lab Change-Id: I0dbb47c30c1f19b7533e953e349a3145694db366 * [INTERNAL] Translation delivery: commit by LX Lab Change-Id: If73a3358a2939902b8df4e491fb7b3beb626f8fc * [INTERNAL] Translation delivery: commit by LX Lab Change-Id: I101e87820c63ecb7c40b044ac0bc2e05331b352b * changed default value for strings * added https to english faq links * fixed error during merge * [INTERNAL] Translation delivery: commit by LX Lab Change-Id: I8b27c238c3387741363b0dc353711994217801b6 * [INTERNAL] Translation delivery: commit by LX Lab Change-Id: I9bc5d20688a11bfd5fd4a481b3c36143d4caba64 * [INTERNAL] Translation delivery: commit by LX Lab Change-Id: Ib3f20898335ded0101af92c452c766c329946611 * [INTERNAL] Translation delivery: commit by LX Lab Change-Id: I9b5bbd9b5b5d44029f694b7afca8f7251b48e86a * added privacy, technical and terms html file with english content * include Turkish translation (#792) I added Turkish to resConfigs for properly including the new translation into the build. * replaced NOTR tag with XTXT to make "main_about_link" translatable * [INTERNAL] Translation delivery: commit by LX Lab Change-Id: I01f4b04ec61a334e0b25815b03e2953e5031e0d9 * [INTERNAL] Translation delivery: commit by LX Lab Change-Id: I71fcec61630c5d99e009eeb1341fd37bdd0c55e9 * string placeholders required for background priority added (#797) * additional strings for explanatory card added (#798) * add turkish privacy & terms * [INTERNAL] Translation delivery: commit by LX Lab Change-Id: I3708d2af77b48642eee7a6562cffd935327ed875 * Implementation of "Background Priority Service (1592)" - new permission REQUEST_IGNORE_BATTERY_OPTIMIZATIONS added - settings entry to enable background priority * replaced turkish faq link with the old one * extract PowerManagementHelper.kt from Repository * update style for static code analysis... * ktlint format Co-authored-by:
service-tip-git <tmsatsls@gmail.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> Co-authored-by:
Michael Keppler <bananeweizen@gmx.de> Co-authored-by:
Thomas Klingbeil <64434904+tklingbeil@users.noreply.github.com> Co-authored-by:
Hee Tatt Ooi <64406309+HeeTattSap@users.noreply.github.com> Co-authored-by:
Muschko <marc.muschko@sap.com> Co-authored-by:
Thomas Kowark <thomas.kowark@sap.com> Co-authored-by:
Robert Scheck <robert-scheck@users.noreply.github.com> Co-authored-by:
Volkmar Vogel <volkmar@vogel.app> Co-authored-by:
ka7 <ka7@la-evento.com> Co-authored-by:
klemens <ka7@github.com> Co-authored-by:
Tim Brüggenthies <tim.brueggenthies@outlook.de> Co-authored-by:
mseele <mseele@gmail.com> Co-authored-by:
Janik Steegmüller <janik.steegmueller@gmail.com> Co-authored-by:
Hee Tatt Ooi <hee.tatt.ooi@sap.com> Co-authored-by:
Matthias Küch <mail@matthias-kuech.de> Co-authored-by:
oemerb <66002424+oemerb@users.noreply.github.com> Co-authored-by:
AlexanderAlferov <64849422+AlexanderAlferov@users.noreply.github.com> Co-authored-by:
Kirill <kirill.sergeev@sap.com> Co-authored-by:
Philipp Woessner <64482866+pwoessner@users.noreply.github.com> Co-authored-by:
Luka Harambasic <luka.harambasic@sap.com> Co-authored-by:
Karina Jung <66269900+kaluju@users.noreply.github.com> Co-authored-by:
service-tip-git <tmsatsls+github.com_service-tip-git@sap.com> Co-authored-by:
duchampdev <duchampdev@outlook.com>
-
- Jun 11, 2020
-
-
Jakob Möller authored
* First Setup of Compile Strip Signed-off-by:
d067928 <jakob.moeller@sap.com> * First Setup of Compile Strip Signed-off-by:
d067928 <jakob.moeller@sap.com> * First Setup of Compile Strip Signed-off-by:
d067928 <jakob.moeller@sap.com> * First Setup of Compile Strip Signed-off-by:
d067928 <jakob.moeller@sap.com> * First Setup of Compile Strip Signed-off-by:
d067928 <jakob.moeller@sap.com> * remove notification Signed-off-by:
d067928 <jakob.moeller@sap.com> * fixed risk level test fragment * Log to Timber Signed-off-by:
d067928 <jakob.moeller@sap.com> * Log to Timber Signed-off-by:
d067928 <jakob.moeller@sap.com> * Environment Variables only drawn for TestRelease Signed-off-by:
d067928 <jakob.moeller@sap.com> * remove toasts from productive code * fix wildcard import * Adjust Fragment Signed-off-by:
d067928 <jakob.moeller@sap.com> * Adaptions to Test Coding Signed-off-by:
d067928 <jakob.moeller@sap.com> * added exception handling for Test Risk Level fragment Co-authored-by:
Philipp Woessner <philipp.woessner@sap.com> Co-authored-by:
Ooi, Hee Tatt <hee.tatt.ooi@sap.com>
-
Fabian-K authored
* FAQ Card: - simplify include_main_card.xml as this is only used once - increase icon size - add spacing after description * - fixed tint color for dispatcher icon (matching now the text color) * submission dispatch - fix spacing after last card - fix spacing between text and illustration * submission contact: re-add text-styling for step 2 * submission tan: replace explicit navigation with "go back" * submission test result - line break between SARS-CoV-2 and test result - bottom align "Registriert am" * warn others: increase spacing above data privacy card * submission negative test result: decrease spacing before further info card * - update FormatterSubmissionHelperTest to result of design review (new line instead of space) * - test result spacing adjusted Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Jakob Möller <jakob.moeller@sap.com>
-
- Jun 09, 2020
-
-
Jakob Möller authored
Signed-off-by:
d067928 <jakob.moeller@sap.com>
-
- Jun 08, 2020
-
-
Fabian-K authored
* Submission Status Cards - fix interaction behavior (expand clickable target) - unify inclusion into fragment_main.xml - fix alignment of icons including hands - fix spacing between text and icon - simplify layout (remove unnecessary ConstraintLayout) - remove unused string - fixed unregistered text style * Submission Styling - increase spacing before "Info zum Ablauf" - replace step icons used in submission contact - fix wrong illustration for negative test result - added rounded corners to test result card - fixed spacing between text and illustration - removed unused icon ic_icon_drilldowncard_dark.xml - fixed button padding on test result screen Main Fragment - simplified using merge_guidelines_side * Submission Styling - replace illustration for positive tests on homescreen (different background) - add pressed state to submission dispatcher cards - fix missing spacing adjustment between text and icons
-
- Jun 06, 2020
-
-
Fabian-K authored
* - unused SubmissionSuccessDialogFragment.kt removed * - remove merge_guidelines_common.xml - fragment_submission_test_result.xml scrolling behavior * - submission flow text styles replaced - submission positive result card updated * - submission status cards updated * - remove old text styles - lint error fixed
-
- Jun 05, 2020
-
-
Kolya Opahle authored
* Added the TestAlreadyPairedException to the web request builder * Added specific exceptions to all submission web requests * Moved setting activity of DialogHelper to show call * Re added the requestIDS to all listeners for later use * Added Exception live data to view model * Added error dialogs to RegisterDeviceFragment screen * Added null check to networkResponse in VolleyError * Added error dialogs to SubmissionTestResultFragment screen * Fixed wrong view model call * Added error dialogs to SubmissionResultPositiveOtherWarningFragment * Added missing imports * Revert "Added specific exceptions to all submission web requests" This reverts commit 88d9027e24dd8b8c0baae7478c15cb23af403a0f. * Revert "Added the TestAlreadyPairedException to the web request builder" This reverts commit a4fb8272d89dd1e508a50002827fbc0dc7d86919. * added specific error handing to services * Switched error handlers to retrofit * Extracted status code numbers to constants * Added final strings for http error handling * Removed RegisterDeviceFragment from app and added a Event helper * Lint fixes * removed error report for networking exceptions * Added event wrapper to scan status to allow for rescanning of failed qrs * linting * Switched most view model LiveData to Event Co-authored-by:
marcmuschko <marc.muschko@sap.com>
-
Kolya Opahle authored
* Added the TestAlreadyPairedException to the web request builder * Added specific exceptions to all submission web requests * Moved setting activity of DialogHelper to show call * Re added the requestIDS to all listeners for later use * Added Exception live data to view model * Added error dialogs to RegisterDeviceFragment screen * Added null check to networkResponse in VolleyError * Added error dialogs to SubmissionTestResultFragment screen * Fixed wrong view model call * Added error dialogs to SubmissionResultPositiveOtherWarningFragment * Added missing imports * Revert "Added specific exceptions to all submission web requests" This reverts commit 88d9027e24dd8b8c0baae7478c15cb23af403a0f. * Revert "Added the TestAlreadyPairedException to the web request builder" This reverts commit a4fb8272d89dd1e508a50002827fbc0dc7d86919. * added specific error handing to services * Switched error handlers to retrofit * Extracted status code numbers to constants * Added final strings for http error handling
-
- Jun 04, 2020
-
-
Philipp Woessner authored
* changed local config that a high match can be generated via QR code, integrated it with the UI * added the minRiskScore parameter to the ExposureConfiguration * moved the persistence of the exposure summary in a dedicated worker to ensure execution * added new backend app config and custom risk score calculation * fixed static code checks and refactoring * deleted possibility to customise app config in the tests * added test fragment for risk level calculation * static code check fixes * refactored risk level calculation and added tests * added exception if calculated risk score is above the max of the high risk score class
-
- Jun 03, 2020
-
-
marcmuschko authored
* added overview fragment baseline * main overview draft version completed with build fixes * checked some final strings again
-
- Jun 02, 2020
-
-
Fabian-K authored
* - submission-contact fragment added - StepEntry custom view added to unify various step entry views - SimpleStepEntry as a simple implementation of a StepEntry with title and text added * - apply naming conventions for ids - use CallHelper to trigger a call - access views using kotlinx.android.synthetic Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- May 30, 2020
-
-
Kolya Opahle authored
* Moved camera permission check to dispatcher fragment * Added illustrations for test result screen * Updated result fragment to match new design * Added constraints to status card * Integrated submission result positive other warning fragment in ui flow * Added submission done fragment to nav graph Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added ability to dialog helper to create dialog without negative button * Switched from AlertDialog.Builder to DIalogHelper
-
Kolya Opahle authored
-
Kolya Opahle authored
* Added submission done fragment (currently dangling in nav graph) * fixed leftover javadoc
-
Sebastian Wolf authored
-