Skip to content
Snippets Groups Projects
  1. Apr 21, 2021
  2. Apr 20, 2021
  3. Apr 19, 2021
  4. Apr 08, 2021
  5. Apr 07, 2021
    • 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>
      Unverified
      53cf44c2
  6. Apr 06, 2021
  7. Apr 01, 2021
  8. Mar 31, 2021
    • Matthias Urhahn's avatar
      Automatic checkout for check-ins (EXPOSUREAPP-5410) (#2694) · 69fc0b6d
      Matthias Urhahn authored
      * Add checkout behavior, 1st draft.
      
      * Add checkin edit navigation.
      
      * Add tests.
      
      * LINTs
      
      * Basic error handling
      
      * Fix stopship TODO
      
      * Automatic check-out notifications, first draft.
      WIP
      
      * Update notification channel title and description.
      
      * Refactor notification creation code to align private/public visibility.
      
      * AutoCheckout, 2nd draft.
      
      * Automatic AutoCheckOut refresh D:
      
      * Process overdue checkouts before risk calculation.
      
      * Process overdue checkouts before risk calculation.
      
      * Fix list refresh blinking and add automatic time refresh.
      
      * LINTs
      
      * Fix pending intent for autocheckout receiver.
      
      * Add test cases.
      
      * Refactor package names.
      
      * Remove unused strings in non-default locales to satisfy linter (instead of waiting for translations delivery).
      
      * Adjust sort order of check-ins.
      For active check-ins we want the one that expires next, first,
      For completed check-ins we want the most recent event first.
      
      * Fix typos.
      
      * Solve merge regression.
      
      * Fix merge conflict regression, missing argument.
      
      * Fix unit test.
      
      * Disabled broken lint rule
      see https://issuetracker.google.com/issues/169249668
      
      
      
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      Co-authored-by: default avatarKolya Opahle <k.opahle@sap.com>
      Co-authored-by: default avatarMohamed <mohamed.metwalli@sap.com>
      Unverified
      69fc0b6d
    • Mohamed's avatar
      Camera permission card (EXPOSUREAPP-5786) (#2713) · 932b7144
      Mohamed authored
      
      * Implement swipe to delete
      
      * Swipe to delete in CheckIns screen
      
      * Reduce parameters and consider non swiping items
      
      * lint
      
      * lint
      
      * Update docs
      
      * Add TODO
      
      * Update ic_delete.xml
      
      * Create camera card
      
      * Add card strings
      
      * use strings in layout
      
      * Rounded background
      
      * Increase icon size proportionally
      
      * Implemente Swipe contract
      
      * Handle dismiss for swipe
      
      * Animate FAB onScroll
      
      * Create flow of permission status
      
      * Avoid drawing out of screen when view is completely swiped
      
      * klint
      
      * Pass flag from fragment
      
      * Rearrange code
      
      * Rename color
      
      * Fix qr-code icon
      
      * Nav bar icon
      
      * Notify item when  dialog is canceled
      
      * Reduce lines
      
      * Small refactoring
      
      * Rely on settings
      
      * Unit tests
      
      * Fix text
      
      * lint
      
      * clean
      
      * Renaming
      
      * Smaller functions
      
      * Add test
      
      * Shrink lines
      
      * revert strings changes
      
      * Rename to CameraSettings
      
      * renaming
      
      * Handle exception
      
      * Reset flag if rationale can be shown again
      
      * create Movable interface
      
      * lint
      
      * extra line
      
      * Tests
      
      * More tests
      
      * More tests
      
      * Check camera settings onResume
      
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      Unverified
      932b7144
  9. Mar 30, 2021
  10. Mar 29, 2021
  11. Mar 17, 2021
  12. Mar 16, 2021
  13. Mar 15, 2021
  14. Mar 11, 2021
    • Juraj Kusnier's avatar
      Refactor LocalData (EXPOSUREAPP-2850) (#2569) · f9f22f3a
      Juraj Kusnier authored
      
      * Shared preferences migration: SETTINGS DATA (EXPOSUREAPP-5378) (#2468)
      
      * Migrate Shared Preferences (SETTINGS)
      
      * Code refactoring
      
      * Fix tests
      
      * Migrate Shared Preferences (SETTINGS)
      
      * Cleaning code
      
      * Cleaning code
      
      * LocalData Migration skeleton (EXPOSUREAPP-5295) (#2509)
      
      * EncryptedPreferencesMigration skeleton class
      
      * SecurityHelper return nullable SharedPreferences not an exception
      
      * Remove Onboarding related Properties from LocalData (EXPOSUREAPP-5375) #2470
      
      * Removed Onboarding related Properties from LocalData
      Added OnboardingData which provides the FlowPreferences that were defined in LocalData beforehand
      Currently no migration for these values is implemented
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Turns out MockFlowPreference and MockSharedPreferences were not usable in the device test flavour
      moved them into testShared
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * OnboardingData -> OnboardingSettings
      OnboardingSettings:
      moved to get / set instead of FlowPreferences when subscribing is not needed
      isOnboarded is now based on onboardingCompletedTimestamp != null instead of set seperately
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Removed Onboarding Preference key strings from all languages
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Added Singleton annotation to OnboardingSettings
      Added migration code for OnboardingSettings to EncryptedPreferencesMigration
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Migrate Interoperability settings
      
      * Remove tracing local data (EXPOSUREAPP-5377) (#2568)
      
      * migrate LocalData tracing preferences to TracingSettings
      
      * update tests
      
      * Remove old code
      
      * Update tests
      
      * Remove submission local data (EXPOSUREAPP-5379) (#2505)
      
      * Moved submission related settings from LocalData to SubmissionSettings
      Made BackgroundNoise injectable
      Refactored some of the SubmissionSettings
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Replaced isBeforeNow in BackgroundNoisePeriodicWorker with timeStamper.nowUTC to help with testing
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Fixed MainActivityTest by providing SubmissionSettings as a mockk
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Removed all Preference keys removed from LocalData
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Added migration code for SubmissionSettings to EncryptedPreferencesMigration
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Moved Instant conversion to extension function to satisfy detekt
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Removed lazy from dagger injection in BackgroundWorkSchedulerBase
      
      * Cleaned up TestResultDonorTest (Removed Instant.now() calls, fixed shouldBe case where Instant.now() would break the calculation)
      
      * Moved toInstantOrNull into TimeAndDateExtensions and used it in a few more places
      
      * Fixed a unit test that was added by the merge
      and fixed a merge diff that was resolved wrongly
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Format on commit got rid of these imports for some reason
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * EncryptedPreferencesMigration refactoring
      
      * DataReset implementation
      
      * Drop storage of active tracing time
      
      * Cleaning code
      
      * Remove TODO
      
      * Call migration earlier
      
      * Update tests
      
      * Delete PreferencesModule
      
      * Update EncryptedPreferencesMigration
      
      * Fix lint issue
      
      * Update EncryptedPreferencesHelper
      
      Co-authored-by: default avatarKolya Opahle <k.opahle@sap.com>
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
    • Ralf Gehrer's avatar
      Fix grammatical error in legal string (EXPOSUREAPP-5576) (#2576) · 7848cd9c
      Ralf Gehrer authored
      * Fix grammatical error in legal string (EXPOSUREAPP-5576)
      
      * remove trailing dot
      Unverified
      7848cd9c
    • Mohamed's avatar
      Create Check-in confirmation screen (EXPOSUREAPP-5424) (#2536) · b8617990
      Mohamed authored
      * Refactoring
      
      - Add basic setup for attendee and organizer
      - Renaming and re-packing for already implemented screens
      
      * Rename
      
      * Add check in tab
      
      * lint
      
      * Connect scan fragment
      
      * Navigate to confirm event
      
      * Fix import
      
      * lint
      
      * Add FAB text
      
      * Update MDC version
      
      * Catch error
      
      * Animate transition
      
      * Add space
      
      * Connect check-in flow
      
      * Parse signed event
      
      * Import SingleLiveData
      
      * Add test
      
      * Clean-up
      
      * Delete ConfirmCheckInViewModel.kt
      
      * Support new deeplink host and requirements
      
      * Validate uri
      
      * Update LauncherActivityTest.kt
      
      * Renaming
      
      * Trace location times are in seconds
      
      * Delete redundants
      
      * Remove destinations from main graph
      
      those destinations are part of attendee graph now
      
      * Use hard coded string
      
      * Verify uri
      
      * Pass QRCodeVerifyResult directly
      
      * lint
      Unverified
      b8617990
  15. Mar 10, 2021
  16. Mar 09, 2021
  17. Mar 08, 2021
  18. Mar 05, 2021
  19. Mar 04, 2021
  20. Mar 03, 2021
  21. Mar 02, 2021
Loading