Skip to content
Snippets Groups Projects
  1. Sep 03, 2020
    • Mert Safter's avatar
      Test Menu options for Country selection and Measurement (EXPOSUREAPP-2229) (#1086) · b8d0ed35
      Mert Safter authored
      
      * 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>
      Unverified
      b8d0ed35
  2. Aug 07, 2020
    • 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>
      Unverified
      f98ac2dd
  3. Jul 14, 2020
  4. Jun 09, 2020
  5. Jun 04, 2020
    • Philipp Woessner's avatar
      Implement risk level calculation changes (#136) · 26c4cb50
      Philipp Woessner authored
      * changed local config that a high match can be generated via QR code, integrated it with the UI
      
      * added the minRiskScore parameter to the ExposureConfiguration
      
      * moved the persistence of the exposure summary in a dedicated worker to ensure execution
      
      * added new backend app config and custom risk score calculation
      
      * fixed static code checks and refactoring
      
      * deleted possibility to customise app config in the tests
      
      * added test fragment for risk level calculation
      
      * static code check fixes
      
      * refactored risk level calculation and added tests
      
      * added exception if calculated risk score is above the max of the high risk score class
      Unverified
      26c4cb50
  6. May 30, 2020
Loading