Skip to content
Snippets Groups Projects
  1. May 18, 2021
  2. May 17, 2021
    • Mohamed Metwalli's avatar
      Vaccination details (EXPOSUREAPP-7242) (#3171) · 13839b90
      Mohamed Metwalli authored
      * Typo
      
      * Remove obsolete design
      
      * lint
      
      * Remove navigation logic
      
      * Qrcode
      
      * Qrcode views
      
      * Use common style
      
      * Navigate to full screen
      
      * Adjust navigation
      
      * Common vaccination qr code card
      
      * Update build.gradle
      
      * Update VaccinationDetailsViewModel.kt
      
      * Add medical product name
      
      * Update tests
      
      * Lint
      
      * Add TODO
      
      * Review comments and resolve TODO
      
      * Update VaccinationDetailsFragment.kt
      13839b90
  3. May 14, 2021
  4. May 12, 2021
    • Juraj Kusnier's avatar
      Vaccination legal text consent screen (EXPOSUREAPP-6725) (#3092) · a819180c
      Juraj Kusnier authored
      
      * Vaccination Certificate Register Home Card
      
      * Lint format
      
      * Update CreateVaccinationHomeCard
      
      * dummy VaccinationConsentFragment
      
      * update VaccinationConsentFragment
      
      * rename ids
      
      * update navigation
      
      * lint format
      
      * Implement design changes
      
      * FAQ text in blue
      
      * clickable FAQ link
      
      * fix consent button text
      
      * save consent state
      
      * fix test
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * update navigation flow
      
      * make navigation id shorter
      
      Co-authored-by: default avatarMohamed <mohamed.metwalli@sap.com>
      a819180c
  5. May 11, 2021
  6. May 10, 2021
  7. May 07, 2021
  8. Apr 28, 2021
    • Matthias Urhahn's avatar
      Incompatibility warning card on main screen (EXPOSUREAPP-5464)(COMMUNITY) (#2873) · 45130941
      Matthias Urhahn authored
      
      * Incompatibility warning card on main screen
      
      * Fix lint
      
      * Fix lint further
      
      * Really fix lint
      
      * Refactor BluetoothSupport.kt to be injectable, to allow mocking.
      
      * Unit test draft.
      
      * adapt tests
      
      * tests and refactoring
      
      * tests and refactoring
      
      * screenshots
      
      * add icon
      
      * add dimen again
      
      * change text
      
      * klint
      
      Co-authored-by: default avatarFynn Godau <fynngodau@mailbox.org>
      Co-authored-by: default avatarchilja <chiljamgossow@gmail.com>
      45130941
    • Mohamed's avatar
      RAT profile cards (EXPOSUREAPP-6025, 6026, 6028) (#2839) · b9e86146
      Mohamed authored
      * Create rat profile nav graph skeleton
      
      * Rename ids
      
      * Wire card logic
      
      * Adjust strings
      
      * Open profile card
      
      * Create Profile settings
      
      * Navigation skeleton
      
      * Wire navigation
      
      * Adjust navigation
      
      * Fix test
      
      * Create Profile screen
      
      * do navigate
      
      * Set dummy profile
      
      * Profile validation
      
      * Update SubmissionDispatcherViewModel.kt
      
      * Extract strings
      
      * Navigation
      
      * Extra lines
      
      * Adjust navigation
      
      * lint
      
      * Add new fields
      
      * rename to zip code
      
      * Update strings.xml
      
      * fix layout
      
      * Bind new fields
      
      * Show date picker
      
      * Create RATProfileCreateFragmentViewModelTest.kt
      
      * Move strings to antigen strings
      
      * Refactoring
      
      * Align naming
      
      * Different prefs  model and some tests
      
      * Use LocalDate directly
      
      * Update tests
      b9e86146
  9. Apr 27, 2021
  10. Apr 26, 2021
    • Matthias Urhahn's avatar
      Fix RA test state mapping when submission is done (EXPOSUREAPP-6004) (#2965) · 3f2a21a3
      Matthias Urhahn authored
      * Fix RA test state mapping when submission is done.
      
      * Add placeholder callbacks to navigate by clicking submission done cards.
      
      * Fix failing instrumentation test.
      
      * Fix merge regression.
      3f2a21a3
    • Matthias Urhahn's avatar
      Refactor worker scheduling (EXPOSUREAPP-6007) (#2960) · b874f89c
      Matthias Urhahn authored
      
      * Refactor EW&PT RiskWorker scheduling (WIP).
      * PresenceTracingRiskWorkScheduler.kt and ExposureWindowRiskWorkScheduler.kt subscribe to different flows and make the decision of when to schedule the workers by themselves.
      
      * Removed BackgroundWorkScheduler.kt
      
      * Refactor RA&PCR test result polling scheduling (WIP)
      
      * Add TODOs
      
      * LINTs
      
      * Add check for RA redeemed state after 60 days.
      
      * Bandaid unittests
      
      * Fix test regressions in CoronaTestStorageTest.kt
      
      * Fix test regressions in RATestResultAvailableNotificationServiceTest.kt and PCRTestResultAvailableNotificationServiceTest.kt
      
      * removed tests for code that was moved
      
      * Implement failing test processor tests.
      
      * LINTs
      
      * updated pcr worker test
      
      * Tweak logging.
      
      * unit tests for pcr scheduler
      
      * 'fixed' ktlint
      
      Co-authored-by: default avatarchris-cwa <69595386+chris-cwa@users.noreply.github.com>
      Co-authored-by: default avatarchris-cwa <chris.cwa.sap@gmail.com>
    • Lukas Lechner's avatar
      PPA should only collect data for PCA tests (EXPOSUREAPP-6598) (#2935) · 6337ca60
      Lukas Lechner authored
      * Not collect PPA submission data for RAT tests
      
      * Improve LogMessage in SubmissionTask.kt
      
      * Align SubmissionTestResultConsentGivenViewModel.kt regarding PPA
      
      * Align SubmissionTestResultNoConsentViewModel.kt regarding PPA
      
      * Align SubmissionResultPositiveOtherWarningNoConsentViewModel.kt regarding PPA
      
      * Fix some test function names
      
      * Align PPA for SubmissionTestResultAvailableViewModel.kt
      
      * Add testType Navigation Argument to SubmissionResultReadyFragment.kt, SubmissionSymptomCalendarFragment.kt and SubmissionSymptomIntroductionFragment.kt
      
      * Align PPA for SubmissionSymptomIntroductionViewModel.kt
      
      * Align PPA for SubmissionSymptomCalendarViewModel.kt
      
      * Fix SubmissionTaskTest.kt
      
      * Fix InstrumentationTests
      
      * Add call to reportAdvancedConsentGiven
      6337ca60
  11. Apr 23, 2021
    • Kolya Opahle's avatar
      Rapid Antigen Test: Change state to Outdated (EXPOSUREAPP-6010) (#2889) · d40ba276
      Kolya Opahle authored
      
      * Enabled Test Outdated card for RA Tests on homescreen
      added check for outdatedness to RA getState
      Deletion button currently shows no warining dialog
      
      * isOutdated now checks based on a AppConfig instance that is passed in
      fixed unit tests
      
      * Fixed instrumentation tests
      
      * Fixed logic for RACoronaTest outdated ui state calculation
      
      * Moved coronaTestConfig resolution to homeItems Flow combiner (now uses currentConfig instead of resolving a new config each time)
      
      * HomeFragmentViewModel app config flow is now mapped down to distinct coronaTestParameters
      
      * Added small test to guarantee that we can call distinctUntilChanged on CoronaRapidAntigenTestParametersContainer
      
      * Fixed wrong CoronaTestResult constants in getState (also added additional pending state check)
      
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      Co-authored-by: default avatarBMItter <Berndus@gmx.de>
      d40ba276
    • Alex Paulescu's avatar
      Test result screens polishing (DEV) (#2923) · d8d4855d
      Alex Paulescu authored
      * Positive tests polishing.
      
      * Persisted test type throughout the app.
      
      * Fixed tests.
      
      * Fixed more tests.
      
      * More UI test fixes.
      
      * ¥ou've guessed it, more test fixes.
      
      * Lint
      
      * Fixed issue where schnelltest result title would extend on a second line.
      d8d4855d
  12. Apr 22, 2021
  13. Apr 21, 2021
    • Chilja Gossow's avatar
      RAT registration via link (EXPOSUREAPP-6313) (#2886) · 944958fd
      Chilja Gossow authored
      
      * add intent filter
      
      * deep linking
      
      * refactor qr code registration flow
      
      * merge 2.1
      
      * klint
      
      * state adaptation
      
      * fix tests
      
      * add new test results
      
      * disable button
      
      * add state
      
      * adapt how registration states are resolved
      
      * review comments
      
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      944958fd
    • Matthias Urhahn's avatar
      Test registration polish (EXPOSUREAPP-6007) (#2882) · fd53b7f4
      Matthias Urhahn authored
      * Improve HotDataFlow error handling
      * Make behavior more obvious to caller
      * Remove footguns in error handling
      * Allow blocking calls to receive their specific error
      * Allow async calls to provide an error handler
      
      * Simplify mapping.
      
      * Change update call to blocking, to prevent executing multiple actions, if one runs late.
      
      * Add missing test registration dates to PCR/RAT cards on homescreen.
      
      * Update testResultReceivedAt timestamp when receiving a final test result.
      
      * Only prevent test refresh if we have submitted, in other cases, still allow polling.
      
      * Remove unnecessary refresh call on test removal, removal includes refresh.
      
      * Reverse dependencies for `ShareTestResultNotificationService` listen to CoronaTestRepository instead of being called active from various places.
      
      * Negate `CoronaTest.isSubmissionAllowed` if `CoronaTest.IsSubmitted==true`
      
      * Fix merge regressions.
      
      * Fix instrumentation test.
    • Alex Paulescu's avatar
      Submission flow result screens routing (EXPOSUREAPP-6034) (#2877) · ec2115a1
      Alex Paulescu authored
      
      * Started schnelltest result screen.
      
      * Adapting current result screens to new design.
      
      * Adjusted string and id names.
      
      * Removed separate result screen.
      
      * Added time counter layout.
      
      * Started schnelltest result screen.
      
      * Finished styling the negative rapid test result screen.
      
      * Added routing for Negative PCR result.
      
      * Submission states for RAT cards.
      
      * Supporting classes for negative antigen result fragment.
      
      * Routing for result screens.
      
      * New logic for displaying test cards on the homescreen.
      
      * Added negative result screen to SubmissionModules.
      
      * Fixed errors caused by merge and fixed binding issue.
      
      * Fixed tests and merge conflicts.
      
      * Addressed PR comments and fixed instrumentation test.
      
      * Lint check
      
      * Added navargs to instrumentation test.
      
      * Lint
      
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      ec2115a1
  14. Apr 20, 2021
  15. Apr 19, 2021
  16. Apr 16, 2021
    • Matthias Urhahn's avatar
      Corona test result fetching, storage & wiring (EXPOSUREAPP-6007) (#2824) · 8abd1754
      Matthias Urhahn authored
      * Refactoring. Move VerificationServer to `coronatest` package. Rename `TestResult` to `CoronaTestResult` and add new states.
      
      * CoronaTestRepository, draft2. More structure, modularise creation. Wire up HotDataFlow.
      
      * CoronaTestRepository, draft3. Test specific logic delegation to processor modules. Wire up legacy migration.
      
      * CoronaTestRepository, draft4. Test result polling & DataReset.
      
      * CoronaTestRepository, draft5. More migration logic.
      
      * Revert default env change.
      
      * Flesh out test storage further.
      
      * Extend test data with additional attributes, further move migration along.
      
      * Handle setting items as "being processed" when polling for test results.
      
      * Make SubmissionState test specific and remove SubmissionStateProvider.kt in favor of a state mapper for PCRCoronaTest.kt via extension function.
      
      * Make the refresh call blocking, so workers don't need extra logic to keep running.
      
      * Catch polling exceptions on processor level and store the exception.
      
      * Address PR comments and refactor legacy test data migration.
      
      * Adjust property visibility.
      
      * Make registerTest return the new test to allow the UI to navigate based on the return value.
      
      * Refactor test registration to support creating `CoronaTest` instances via TANs.
      
      * More specific key preference key.
      
      * CoronaTestRepository, draft6. Wire up SubmissionRepository.kt with all related UI elements.
      Fix dagger injection issues (loop) related to worker scheduling.
      
      * Resolve merge conflicts. Wire up HomeFragmentViewModel.kt
      
      * Fix test display behavior, only one unregistered card needs to be visible?
      
      * Fix unit tests, Pass1.
      
      * Lints
      
      * Fix unit tests, Pass2.
      
      * Fix unit tests, Pass3.
      
      * Fix unit tests, Pass4.
      
      * LINTs
      
      * Fix instrumentation tests.
      
      * Workaround for submission flow until more PRs are merged., grant consent change.
      
      * Fix processing state not being set according to parameter.
      
      * Fix/Adjust corona test storage.
      
      * Fix stableID collision between coronatest home screen cards.
      
      * Bandage unit tests that were affected by moving consent.
      8abd1754
  17. Apr 15, 2021
  18. Apr 14, 2021
  19. Apr 12, 2021
  20. Apr 09, 2021
  21. Apr 07, 2021
    • Chilja Gossow's avatar
      Warning package download & scheduling (EXPOSUREAPP-5695,EXPOSUREAPP-5696) (#2707) · 63050aca
      Chilja Gossow authored
      
      * download and repo
      
      * download warning packages
      
      * download warning packages
      
      * TraceTimeWarning Download, Draft2
      
      * TraceTimeWarning Download, Draft3
      
      * Offer only new warning packages via API.
      
      * Remove duplicate test menu entry.
      
      * TraceTimeWarning Download, Draft5
      
      * Adapt CheckInWarningMatcher to mark processed packages.
      
      * Fix failing unit tests.
      
      * Unit Test Skeletons
      
      * Back BackgroundScheduler non-static and injected.
      
      * Refactored and combined diagnosis and tracing periodic workers.
      
      * Fix unit test.
      
      * LINTs
      
      * Adapt marking packages as processed to upstream CheckInWarningMatcher changes.
      
      * Copy .await() from worker library to project due to being scope restricted.
      
      * unit tests
      
      * klint
      
      * klint
      
      * add TODO for matching comparison
      
      * refactor combination of results
      
      * rename
      
      * add test for combine
      
      * revert unnecessary changes
      
      * change initial result to failed
      
      * using low risk as default for lastCalculated to maintain the old behavior when no results are available
      
      * klint
      
      * Resolve merge regressions.
      
      * Fix fake check-in generation.
      
      * Handle worker refactoring gracefully, catch ClassNotFoundException.
      
      * Refactoring packages.
      
      * Refactor CheckInWarningMatcher.kt and PresenceTracingWarningTask.kt
      Move repository/database update calls to task, let the matcher only be responsible for matching.
      
      * Adjust test fragment to allow retriggering the download + matching task.
      
      * Fix refactoring regression.
      
      * Fix flaky time label test.
      
      * Fix package import.
      
      * Fix another timezone based flaky test.
      
      * Reduce nesting level to make the linter happy.
      
      * Update ROOM schema files.
      
      * Update ROOM schema files.
      
      * Refactoring.
      
      * Small naming fixes
      
      * Shorten worker IDs.
      
      * Collect BerndStylePoints™
      
      * Set tableName explicitly.
      
      * * Adjust id comparison within CheckInWarningMatcher.kt
      * Add tests for traceLocationIdHash calculation.
      * Calculate traceLocationIdHash on-demand, don't store it.
      
      * Improve trace warning task test menu output.
      
      * Remove spammy log output.
      
      * Remove unused function
      
      * Add additional TraceLocation test cases that match mock server.
      
      * Improve check-in matching log messages.
      
      * Fix duplicate overlaps and check for overlap distinctness.
      
      * Add test for config timeout value.
      
      * Remove unused test.
      
      * Use time measuring function.
      
      * Simplify error case handling for revoked metadata packages.
      
      * Turn createMatchingLaunchers into runMatchingLaunchers
      
      * Use TimeUnit.MINUTES
      
      * Remove extra deletion call.
      If there are no CheckIns, the SyncTool will have deleted all matches already.
      
      * Use flatMap instead of flatten.
      
      * Use more specific names (toCheckInWarningOverlap/toTraceTimeIntervalMatchEntity)
      
      * Revert "Remove extra deletion call. If there are no CheckIns, the SyncTool will have deleted all matches already."
      
      This reverts commit 3b0acf3d
      
      * Fix merge conflict regressions.
      
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      Co-authored-by: default avatarAlexander Alferov <a.alferov@sap.com>
      63050aca
    • BMItter's avatar
      Risk representation for the contact journal according to the newest tech spec... · 1fbf873e
      BMItter authored
      Risk representation for the contact journal according to the newest tech spec (EXPOSUREAPP-5413) (#2754)
      
      * Sort events by trace location description
      
      * Get trace location description from CheckInRepository
      
      * Adjusted test to changes in view model, Use hardcoded date
      
      * Adjusted test
      
      * sourceCheck CleanUp
      
      * LongParameterList handling
      
      * Also check if description was mapped from check in
      
      * avoid suppressing LongParameterLister
      
      * ups
      
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      1fbf873e
    • Mohamed's avatar
      QR Code Poster (EXPOSUREAPP-5962) (#2727) · 53cf44c2
      Mohamed authored
      * Move CreateTraceLocationApiV1.kt and TraceLocationServer.kt into new sub-package
      
      * Move CreateTraceLocation DI logic into sub-package
      
      * Create infrastructure code for new Qr-Code Poster Template Endpoint
      
      * Add new url to environment
      
      * Show new URL in the Test Menu
      
      * Implement unzipping, signature verification and parsing
      
      * Add possibility to download poster template from TestMenu
      
      * Show Android Vector Drawable in TestMenu
      
      * Create QrCodePosterTemplateApiV1Test.kt
      
      * Remove non-used ProtoConverter from retrofit
      
      * Change button position in Test Fragment
      
      * Show error if something goes wrong
      
      * Improve QrCodePosterTemplateApiV1Test.kt
      
      * Create QrCodePosterTemplateServerTest.kt
      
      * Initial setup
      
      * Connect flow to poster
      
      * Fix flow connection
      
      * Nice transition
      
      * Lint
      
      * Allow nullable extras
      
      * Adjust icon tint
      
      * rename file
      
      * Use MutableLive Data to keep the bitmap on back navigation
      
      * Fix merge issues
      
      * Change title
      
      * Display poster
      
      * lint
      
      * Adjust QR Code margin
      
      * Adjust position
      
      * Show progress
      
      * Print PDF
      
      * lint
      
      * Update QrCodePosterFragment.kt
      
      * Refactoring
      
      * Renaming
      
      * Position QR Code image
      
      * Specify size as A3
      
      * Fix merge issues
      
      * Pass location id
      
      * lint
      
      * Avoid nullable
      
      * Avoid creating blank file
      
      * Use config to position poster and QR Code
      
      * lint
      
      * Refactoring
      
      * Add info text
      
      * Scale info text
      
      * Enhancement
      
      * Defensive color parsing
      
      * typo
      
      * Delete testing screens
      
      * Revert
      
      * :soap:
      
      
      
      * Rename
      
      * Linear progress
      
      * Update QrCodePosterViewModel.kt
      
      * unify folders
      
      * Update QrCodePosterViewModel.kt
      
      * Show progress
      
      * Use server values
      
      * Generate QR Code from location url
      
      * Update TraceLocation.kt
      
      * Use location data
      
      * Remove old views and update layout preview
      
      * lint
      
      * Extend testing by adding access to qrCode
      
      * Add qrcode screen to test graph
      
      * Update fragment_test_eventregistration.xml
      
      * Rename PDF file
      
      * Polishing
      
      * Create QrCodePosterViewModelTest.kt
      
      * Update QrCodePosterViewModelTest.kt
      
      * lint
      
      * Use weak reference
      
      * Switch context
      
      * Updated strings
      
      Co-authored-by: default avatarLukas Lechner <office@lukaslechner.com>
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      Co-authored-by: default avatarLukas Lechner <lukas.lechner@sap.com>
      Co-authored-by: default avatarI502720 <axel.herbstreith@sap.com>
      53cf44c2
  22. Apr 06, 2021
  23. Apr 01, 2021
Loading