Skip to content
Snippets Groups Projects
  1. Sep 18, 2020
    • Jakob Möller's avatar
      Interoperability to 1.5.X (#1173) · 6054bf57
      Jakob Möller authored
      
      * Added first set of country flags
      
      Signed-off-by: default avatarKolya 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: default avatarKolya 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: default avatarMert Safter <mert.safter@sap.com>
      Co-authored-by: default avatarMatthias 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: default avatarMatthias 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: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Fail tests on unexpected null.
      
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      
      Co-authored-by: default avatarKolya Opahle <k.opahle@sap.com>
      Co-authored-by: default avatarapopovsap <66370584+apopovsap@users.noreply.github.com>
      Co-authored-by: default avatarMert Safter <69803294+MertSafter@users.noreply.github.com>
      Co-authored-by: default avatarMert Safter <mert.safter@sap.com>
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      Co-authored-by: default avatarMatthias Urhahn <darken@darken.eu>
      Unverified
      6054bf57
  2. Sep 15, 2020
  3. Sep 14, 2020
  4. Sep 08, 2020
  5. Sep 02, 2020
  6. Sep 01, 2020
  7. Aug 27, 2020
  8. Aug 26, 2020
  9. Aug 19, 2020
  10. Aug 18, 2020
  11. Aug 17, 2020
  12. Aug 12, 2020
  13. Aug 11, 2020
  14. Aug 07, 2020
  15. Aug 04, 2020
  16. Aug 03, 2020
  17. Jul 31, 2020
  18. Jul 30, 2020
    • Kolya Opahle's avatar
      Fix looping background restricition notification in onboarding (EXPOSUREAPP-1962) (#950) · 22c9702a
      Kolya Opahle authored
      
      * added call to navigateToMain before opening the app settings
      
      * Moved checks for background job notification to main activity
      
      * refined background dialogs
      
      Co-authored-by: default avatarPhilipp Woessner <philipp.woessner@sap.com>
      Unverified
      22c9702a
    • Philipp Woessner's avatar
      Added key retrieval logic in app's onCreate to include Googles WakeUpService (#947) · d43b9f99
      Philipp Woessner authored
      
      * Background jobs debug notifications
      
      * added 1.5 ENF SDK and start one time work in application onCreate
      
      * schedule one time worker in onCreate
      
      * added alternative with wakelock and execution in onCreate directly
      
      * refined wakelock and debug notifications
      
      * ktlint fixes
      
      Co-authored-by: default avatarAlexander Alferov <a.alferov@sap.com>
      Co-authored-by: default avatard067928 <jakob.moeller@sap.com>
      Unverified
      d43b9f99
    • Oliver Zimmerman's avatar
      Energy optimized and manual check warning dialogs (EXPOSUREAPP-1853) (#944) · a5505ba8
      Oliver Zimmerman authored
      
      * Check for battery saver mode
      
      added a check for battery saver mode in connectivity helper
      created sample dialog to appear if battery saver is enabled - string values to be confirmed.
      
      * Implemented the energy saving warning dialog in main screen
      
      - Created a Dialog in MainFragment that shows once (shared pref boolean check), and if energy saver mode is enabled
      - Created a shared pref in local data to store if the energy saving warning has been shown
      - Added strings required for dialog (Only DE confirmed)
      - Added a method in ExternalActionHelper that will open energy saver settings
      - Adjusted existing dialog in onboarding process
      
      * Change from battery saver check to battery optimized check
      
      - Change from battery saver check to battery optimized check
      - Added second dialog explaining manual checks
      
      * Update strings.xml
      
      Text changes as provided on JIRA ticket
      
      * Dialog will now only appear once in tracing settings.
      
      * removed unused imports
      
      * Update SettingsTracingFragment.kt
      
      * Update SettingsTracingFragment.kt
      
      * code formatting
      
      * formatting
      
      * Update ConnectivityHelper.kt
      
      * Update SettingsTracingFragment.kt
      
      * Lint and string file changes
      
      1. Small corrections of brackets and lines
      2. Keeping order of the elements in string files uniform across languages
      
      * Update strings.xml
      
      * Update strings.xml
      
      Co-authored-by: default avatarRituraj Sambherao <git.rituraj.sambherao@gmail.com>
      Unverified
      a5505ba8
  19. Jul 27, 2020
  20. Jul 23, 2020
  21. Jul 22, 2020
  22. Jul 21, 2020
  23. Jul 17, 2020
  24. Jul 15, 2020
    • Philipp Woessner's avatar
      Hotfix into dev (#877) · f8c4157d
      Philipp Woessner authored
      
      * remove all files from the cache if they are no longer present in the server date index
      
      * version bump to 1.0.5 for hotfix
      
      * changed version to 1.0.41 for hotfix
      
      * Set version to 1.0.5 for hotfix release
      
      * added text change in risk card activeTracingDaysInRetentionPeriod and added turkish language tag to information hotline
      
      * fixed build issues, magic number removed
      
      * risk details string resource updated
      
      * added onetime dialog explaining the risk calculation
      
      * ktlint fixes
      
      * initila commit
      
      * ui adjustment and pipeline fixes
      
      * pipeline fix
      
      * logic simplified
      
      * Version bump to 1.0.6
      
      Co-authored-by: default avatarMuschko <marc.muschko@sap.com>
      Co-authored-by: default avatarRituraj Sambherao <git.rituraj.sambherao@gmail.com>
      Unverified
      f8c4157d
Loading