- Dec 07, 2020
-
-
chris-cwa authored
* fixed: fields without values are visible; + logs * detect version update, force recalc on 1.7 -> 1.8 * detect version update in diagnosis keys task only * no connection type ignoring * Add test to ensure that parsing old configs from 1.7.x fails and the default fallback for 1.8.x is used. * Fix logging typo. * no wasLastDetectionPerformedRecently abort on app update * Fix lint issues * fixed condition * used shared settings * get last encounter at from enf v1 to display second line after app update while risk level calc is not finished * fixed di * fixed tests * fixed tests * fixed tests * Add unit tests for DownloadDiagnosisKeysTask.kt * fixed tests * Add tests for DownloadDiagnosisKeysSettingsTest Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
- Nov 25, 2020
-
-
Alex Paulescu authored
* Removed traces of grey risk card. * Removed UNKNOWN_RISK_INITIAL constant. * Removed unused method. * Removed old comments. * Introduce risklevel calculation failure state to get consistent card states. * Cleaned up the risk card states. Refactored "RiskLevel" to be calculated based on either result or failure reasons. Added the new "no internet" error card. * Updated color states. * Fixed card color issues. * Fixed detekt issues. * Remove test for deleted file. * Fix test regressions. * Fixed tests and LINTs. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
Matthias Urhahn authored
Persist ExposureWindow based risk level calculation results and update the UI (EXPOSUREAPP-3910,EXPOSUREAPP-3855) (#1705) * First draft to refactor `RiskRepository` away and persist risk level results produced by ExposureWindow calculations. TODO: Tests, Legacy data migration, Persist ExposureWindow's in tester builds. * Unit tests for refactored classes. * LINTs * First draft for legacy risk data migration. TODO: Tests. * Store exposure windows on device for tester builds and perform clean on them too after risk result deletions. Split RiskResultStorage such that the exposure window storage code is only available in deviceForTesters flavor builds. * simplification * no preference should return no value * Remove TODOs, singletons are refactored away ;) * Simplify RiskLevelTask interface * Split risk level storage implementations to let production (device flavor) have a NOOP for storing/deleting exposure windows. * Remove unused storage function. Add test skeletons. * unit test * unit test * Update risk card to show new window mode based information. * Fix test regressions. * Address PR comments. * LINTs * Everybody get's LINT for XMAS. * Finish unit tests and remove unused classes. Co-authored-by:
chris-cwa <chris.cwa.sap@gmail.com>
-
- Nov 24, 2020
-
-
janetback authored
-
- Nov 23, 2020
-
-
janetback authored
* Update strings.xml * Update strings.xml Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Matthias Urhahn authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Nov 20, 2020
-
-
chris-cwa authored
* updated test api fragment to display exposure windows * do not show dummy text on device * removed it
-
- Nov 19, 2020
-
-
janetback authored
-
Matthias Urhahn authored
-
- Nov 18, 2020
-
-
chris-cwa authored
* activate WindowExposure mode * extirpated tokens! * detekt, ktlint * fixed tests * - v1 methods * - get v1 exposure summary * - fixme * updated exposure summary repo * Adding mock dependencies that are required to instantiate the worker factories in our binding test. * Added numberOfDaysWithHighRisk and numberOfDaysWithLowRisk according to new tech spec * Transformed minimumDistinctEncountersForRisk and mostRecentDateForRisk into extension fun * make sure list of windows and aggregated result belong together * sending values for current UI * fixed ktlint * renamed ExposureResultStore * fixed tests Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
BMItter <berndus@gmx.de>
-
- Nov 17, 2020
-
-
janetback authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
- Nov 11, 2020
-
-
Matthias Urhahn authored
* Show more specific error message when quota limit is reached and remove "Update ever 24h text". * Show custom title in error dialog and make stack trace selectable. * LINTs * Add a log statement so that in all cases the the base error reporting is made visible. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Nov 09, 2020
-
-
janetback authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Nov 06, 2020
-
-
janetback authored
-
- Nov 05, 2020
-
-
Rituraj Sambherao authored
* Harmonization of the expired QR-Code * implmentation and refactoring of the asyncRegisterDevice method * fix detekt pipeline issue * test failing pipeline fix * QRCode Exceotion, observevent and timestamp improvements as per code reviews * removed deregistration logic from Fragment to viewModel UI Thread protection as this is important logic and should run on ViewModel * Code conflict resolution * ktlint fixes * changin the method deregisterTestFromDevice() to private * scanStatus SingleLIveEvent and relevant test cases added Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
janetback authored
-
- Nov 04, 2020
-
-
Alex Paulescu authored
* Added required strings. * Updated strings according to ticket description. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Nov 02, 2020
-
-
Ralf Gehrer authored
-
- Oct 28, 2020
-
-
Alex Paulescu authored
* Added logic for showing notification on risk level change * Got rid of magic number * Fixed ktlint issue * Notification only shows up when risk card goes from red to green * Showing dialog onResume * Added static string for preference key and renamed method to better reflect usage * Whether not weather * Showing dialog is handled by the VM * Fixed ktlint error * Fixed an issue where the dialog would be shown only after navigating back to the home fragment. * Move decision logic for showing the lowered risk into the viewmodel. * Make the lowered risk level score event observable. * Fix wrong init value used for testing. * Update strings.xml * Fix test regressions due to static LocalData access. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
- Oct 27, 2020
-
-
Matthias Urhahn authored
* Two new progress states for the risk card+details. * Add unit tests for new card states. * Flatten UI of risk card to improve layouting performance on slow devices. * Remove stale strings from other translations. * UX wants the ... ¯\_(ツ)_/¯ Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
janetback authored
-
- Oct 26, 2020
-
-
Kolya Opahle authored
Cannot delete tests older than 21 days - DE: Tests die älter als 21 Tage sind, können nicht gelöscht werden (EXPOSUREAPP-2398) (#1481) * Added new card to show redeemed tests on the home screen Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed linting and unit tests Signed-off-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Ralf Gehrer authored
-
janetback authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
AlexanderAlferov authored
* Deadman notification text for translation * Fixed typo
-
Kolya Opahle authored
* Removed background priority settings from the settings ui * Revert "Removed background priority settings from the settings ui" This reverts commit c0447a1a52da6a4bc33aac01ceb28afce049cf98. * Removed background priority switch from settings ui and replaced with intent to open settings, also replaced in notification on first launch Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Card is now always visible and changed text Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Revert "Card is now always visible and changed text" This reverts commit cae7c0fcc4575c67fb1a3d12b8a304a2416543f0. * Added new german strings to status card and made it permanently visible * Removed unnecessary constraint layout from xml file Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Removed additional unneeded constraint layout Signed-off-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Ralf Gehrer authored
* Fix text issues for low risk with 0/1+ encounters (EXPOSUREAPP-3193) * revert deletion of default string Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Ralf Gehrer authored
-
janetback authored
-
- Oct 23, 2020
-
-
harambasicluka authored
* move strings * added default strings * fixed comment indention
-
- Oct 22, 2020
-
-
janetback authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- 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 15, 2020
-
-
Matthias Urhahn authored
* Switch 3 to 24 hour mode * Fix incorrect toast message. * Create `TestSettings` class. * Adjust test to handle 24 hour mode. * Adjust test to check for day rollover in hourly keypkg mode. Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Oct 14, 2020
-
-
janetback authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
janetback authored
-
- 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>
-
Ralf Gehrer authored
-
- Oct 09, 2020
-
-
Ralf Gehrer authored
Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
- Oct 08, 2020
-
-
Rituraj Sambherao authored
-
- Oct 07, 2020
-
-
Oliver Zimmerman authored
* removed required text * Removed unused string * removed unused heading text * re-added all strings except german for translation process, as requested Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-