Skip to content
Snippets Groups Projects
  1. Aug 19, 2020
  2. Aug 18, 2020
  3. Aug 17, 2020
  4. Aug 12, 2020
  5. Aug 11, 2020
  6. Aug 07, 2020
    • Philipp Woessner's avatar
    • Kolya Opahle's avatar
      Added support for new TestResult and DeviceUIState based on EXPOSUREAPP-1743 (#989) · 04a579c1
      Kolya Opahle authored
      
      * Added support for new TestResult and DeviceUIState based on EXPOSUREAPP-1743
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Removed empty strings from other translations and added English
      
      Co-authored-by: default avatarJakob Möller <jakob.moeller@sap.com>
      04a579c1
    • Philipp Woessner's avatar
    • Fabian-K's avatar
      plausible deniability (#946) · f98ac2dd
      Fabian-K authored
      * Added requestPadding property to all VerficationService requests
      
      * Added fake calls to the WebReqeustBuilder
      
      * :construction:
      
       initial draft to enable plausible deniability
      
      * Switched from SubmissionConstants to KeyType enum everywhere
      
      * basic playbook implementation with fake and real requests
      
      * Playbook
      - ensure request pattern for playbooks is always the same
      
      VerificationService
      - apply padding to ensure equal request size (header & body)
      
      SecurityHelper
      - extract hash256 to HashHelper. This simplifies tests that use only the hash function (and therefore don´t need to initialize SecurityHelper and its dependencies)
      
      * Implemented random chance of dummy playbook execution on app open
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Playbook
      - ignore exceptions for fake requests
      
      SubmissionService
      - add padding header to fake request for same header size
      
      WebRequestBuilder
      - include fake keys in upload (:construction_site:
      
      )
      
      * DiagnosisKeyService: removed (low value & difficult to test)
      
      SubmissionService & SubmitDiagnosisKeysTransaction
      - inline playbook & backgroundNoise property to prevent issues during testing
      
      DiagnosisKeyConstantsTest, SubmissionServiceTest, SubmitDiagnosisKeysTransactionTest & SubmissionViewModelTest
      - adjusted to changes
      
      * Dummy playbook will now be repeated and delayed randomly
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Linting
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Initial Code for background noise worker
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * First implementation of noise background worker
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Linting
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * PlaybookImpl
      - ensure that fake requests are executed when real requests fail
      
      SubmissionService & VerificationService
      - adjust header name for padding
      
      WebRequestBuilder
      - add padding to dummy submission
      
      * BackgroundNoise is now trigger-only
      
      PlaybookImpl
      - include follow-up executions after every playbook
      - logging
      
      SubmissionViewModel.kt, SubmissionService.kt, SubmitDiagnosisKeysTransaction.kt, MainActivity.kt, BackgroundNoisePeriodicWorker.kt, DiagnosisTestResultRetrievalPeriodicWorker.kt
      - propagate context for coroutine
      
      VerificationService
      - ensure body size of 1000
      
      * WebRequestBuilder.kt
      - adjust fake key generation
      
      PlaybookImplTest.kt
      - remove unused server.enqueue
      
      SubmissionService.kt 6 SubmitDiagnosisKeysTransaction.kt
      - remove commented out code
      
      * revert temporary changes to SubmissionResultPositiveOtherWarningFragment.kt
      
      * Background job scheduling implemented
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * - adjust fake key size
      - remove temporary comment
      
      * Moved build work calls to own file to fix linting
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * - initialize coroutine scope within the playbook, revert passing it from outside
      - remove experimental test dependency for coroutines
      
      * - use single endpoint per server for fake requests
      - reduce request size from 1000 to 250 for the verification server
      - include dummy registration token in fake request to fulfill verification on server side
      - prepare for randomized count of submitted keys
      - always include headers cwa-authorization & cwa-header-padding for submission server
      
      * - simplify empty header using constant
      
      Co-authored-by: default avatarKolya Opahle <k.opahle@sap.com>
      f98ac2dd
  7. Aug 04, 2020
  8. Aug 03, 2020
  9. Jul 31, 2020
  10. 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>
      22c9702a
    • Oliver Zimmerman's avatar
      Fix - Adjusted isBackgroundJobEnabled to consider battery optimization (#951) · 4f75b386
      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
      
      * Update ConnectivityHelper.kt
      
      Co-authored-by: default avatarRituraj Sambherao <git.rituraj.sambherao@gmail.com>
      4f75b386
Loading