- Oct 21, 2020
-
-
chris-cwa authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Oct 20, 2020
-
-
AlexanderAlferov authored
* Added conditions for apk signing * Update testers flavour * Config fix * Disable assemble job skip * Create separate workflow * Fix config.yml * Clean up
-
- 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 16, 2020
-
-
janetback authored
* Update legal_strings.xml * Update Corona-Warn-App/src/main/res/values-de/legal_strings.xml Co-authored-by:
Sabine Loss <44154356+SabineLoss@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
Sabine Loss <44154356+SabineLoss@users.noreply.github.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>
-
Matthias Urhahn authored
* + timeout field * updated the example * Add support for Timeout logic to the TaskController (+tests ofc). Co-authored-by:
chris-cwa <chris.cwa.sap@gmail.com>
-
janetback authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Oct 14, 2020
-
-
AlexanderAlferov authored
Version bump
-
Matthias Urhahn authored
* Increase transaction timeout to 8 minutes. * Fix timeout variable test. * Adjust code comment to mention the 10min limit. Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Alex Paulescu authored
* Added MVVM and DI to OnboardingFragment * Refactored OnboardingFragment to work with MVVM and DI * Refactored OnboardingPrivacyFragment to work with MVVM and DI * Moved navigation functions from OnboardingTracingFragment to VM * Refactored OnboardingTestFragment to work with MVVM and DI * Refactored OnboardingNotificationsFragment to work with MVVM and DI * Added ktlintFormat changes * Added intstrumentation tests skeleton for each fragment in Onboarding flow * Removed unused import * Changed Onboarding fragment top constraint * Removed unnecessary VM declaration from layouts * Added requested changes * Added new lineat end of files Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Alex Paulescu authored
* Disabled dates which exceed 21 days in the past * Fixed issue with detekt * Fixed codesmell Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Oliver Zimmerman authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Ralf Gehrer authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Oliver Zimmerman authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
SAP LX Lab Service Account authored
Change-Id: I8b57bb84aec201da9e8436a4b8a14f3641841834
-
janetback authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
janetback authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
janetback authored
-
- Oct 13, 2020
-
-
Matthias Urhahn authored
This reverts commit 86406397
-
Matthias Urhahn authored
-
Matthias Urhahn authored
* Remove URLs from gradle.properties they are now read via `prod_environment.json` * Calculate app versionName and versionCode from gradle major/minor/patch/build variables.
-
Matthias Urhahn authored
* tasks wip * Additional work on task controller skeleton code. * Further refactoring iterations on the new task system interfaces. * Further refactoring iterations on the new task system interfaces. * Remove enum key type and replace with TaskRequest class * Move the config interface into the factory show make clear what the relation here is. * * Remove the task ID from the public interface, there is currently no need to expose it. Interested parties use the request's ID to find their task data. * Throw a defined exception (early) if we submit a task for which there is no factory hooked up. * Finished unit tests for TaskController * Small adjustments to the public TaskController interface * Task typing should not be based on the request types, this allows TaskRequests to be subclassed without shooting yourself in the foot by unexpectedly breaking the type checks. * Lints * Verify factory call order. * Lints * Add test menu entry for the TaskController * Address PR comments. * Fix flaky tests. * Address PR comments. * Fix dagger graph in deviceRelease mode, wrong file name ending. Co-authored-by:
chris-cwa <chris.cwa.sap@gmail.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Ralf Gehrer authored
-
SAP LX Lab Service Account authored
Change-Id: I23a6da75a253551a0dca44e170d30c706ff6ddad Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
Katharina Seiz authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
Matthias Urhahn authored
1.5.x into 1.6.x (DEV)
-
Matthias Urhahn authored
# Conflicts: # Corona-Warn-App/src/test/java/de/rki/coronawarnapp/diagnosiskeys/download/KeyFileDownloaderTest.kt
-
Rituraj Sambherao authored
* button introduced to test menu for sharing random ids * removing the dedicated "Share Random IDs" button
-
Matthias Urhahn authored
1.4.x into 1.5.x (DEV)
-
Matthias Urhahn authored
-
Matthias Urhahn authored
Master into 1.4.x (DEV)
-
Matthias Urhahn authored
-
Matthias Urhahn authored
Update CONTRIBUTING.md
-
Matthias Urhahn authored
Closes #1378 Fixes corona-warn-app/cwa-documentation#439
-
- Oct 12, 2020
-
-
AlexanderAlferov authored
Version bump
-
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>
-
Oliver Zimmerman authored
* make use of isNetworkEnabled instead * indentation fix * Update InteroperabilityConfigurationFragment.kt * Combined original solution with new enhancement * lint issues * Added onResume that reregisters the callback after settings are changed via button Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Matthias Urhahn authored
* Improve test readability, create helper methods for locations,days,hours. * Prepare better test data that allow for future 3+hours tests. * Fix last 3 hours mode downloading key package files from yesterday instead of today, due to being based of the latest server index day files. We need to get them for the latest day index file, plus 1 day. * Fix hour formatting, server uses hour format without leading zeros Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
janetback authored
-