Skip to content
Snippets Groups Projects
  1. Dec 23, 2020
    • Matthias Urhahn's avatar
      Check device time (EXPOSUREAPP-2998) (#1985) · 6e7d89e2
      Matthias Urhahn authored
      * Let the AppConfig validity check use absolute values, to support device time check behavior.
      
      * Add mapping for "disable-device-time-check" to app config.
      
      * Show popup dialog if the device time is invalid.
      * Remove extra retrofit cache (use only LocalAppConfigSource.kt)
      * Exposure device time check
      * Reset user acknowledgement
      
      * LINTs
      
      * Add test menu option to disable device time check via affecting the config mapping.
      
      * Download, but don't submit keys if device time is incorrect.
      Abort risk level calculation if time is incorrect.
      
      * Due to multiple properties in ConfigData affecting `isDeviceTimeCorrect`, make it a body property and don't allow overriding via constructor.
      
      * Add unit test for test settings affecting the device config only in tester builds.
      
      * Show notification regarding incorrect time when device is in the background.
      
      * Fix test regressions and add additional test cases for download and risk task abort conditions on incorrect device time.
      
      * Fix merge regressions.
      
      * Add time unit to log statement.
      
      * Fix incorrect time dialog showing in a loop when entering leaving the home screen.
      
      * Remove unused code path for clear().
      
      * Print additional timestamps to help debugging efforts in the future.
      6e7d89e2
  2. Dec 17, 2020
  3. Dec 16, 2020
  4. Dec 15, 2020
    • axelherbstreith's avatar
      Contact Diary - Onboarding screen (EXPOSUREAPP-4154) (#1868) · a387257d
      axelherbstreith authored
      
      * Added basic layout
      
      * Added translation support
      
      * Added darkmode images
      
      * Included dimens in layout
      
      * Added navigation to onboarding fragment
      
      * Changed AndroidManifest to support new contact diary activity
      
      * Updated translation files
      
      * Added missing image
      Updated text styling
      Changed layout naming
      
      * Added back navigation
      
      * Updated layout
      
      * Added direct link to privacy information
      
      * repair PR commit
      
      * Changed back navigation
      
      * repair
      
      * Changed information text
      
      * Fixed typo in module
      
      * updated strings
      
      * Aligned back navigation
      
      * Changed margins
      Remove unused back navigation functionality
      
      * Added missing dimens
      
      * Added missing dimens
      Added updated icons
      Added final layout
      Updated strings
      Updated viewmodel
      removed unused code
      
      * Moved contact diary strings
      
      * Moved strings
      Added line breaks
      added dimens to dividers
      
      Co-authored-by: default avatarBMItter <berndus@gmx.de>
      a387257d
  5. Dec 10, 2020
  6. Dec 09, 2020
  7. Dec 08, 2020
  8. Dec 07, 2020
    • chris-cwa's avatar
      Fixed: fields without values are visible (EXPOSUREAPP-3988) (#1808) · 20baacc9
      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: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      20baacc9
  9. Dec 04, 2020
  10. Dec 03, 2020
  11. Dec 02, 2020
  12. Nov 30, 2020
  13. Nov 29, 2020
  14. Nov 26, 2020
  15. Nov 25, 2020
    • Alex Paulescu's avatar
      Removed traces of grey risk card (EXPOSUREAPP-3051) (#1699) · 86b29f73
      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: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
    • janetback's avatar
    • Matthias Urhahn's avatar
      Persist ExposureWindow based risk level calculation results and update the UI... · 2547e10a
      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: default avatarchris-cwa <chris.cwa.sap@gmail.com>
      2547e10a
  16. Nov 24, 2020
Loading