Skip to content
Snippets Groups Projects
  1. Apr 07, 2021
  2. Apr 06, 2021
  3. Apr 01, 2021
  4. Mar 31, 2021
    • harambasicluka's avatar
    • 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>
      69fc0b6d
    • Kolya Opahle's avatar
      Event Checkin and Event Edit Fragments (EXPOSUREAPP-5743/5953) (#2692) · 883bab15
      Kolya Opahle authored
      
      * Added white cwa logo drawable
      Initial changes to fragment_confirm_check_in to align with figma design
      Removed old binding references from ConfirmCheckInFragment
      
      * Added logic for checkin handling and trace location info display to the ConfirmCheckInFragment
      
      * Added card for too late or too early check in to check in fragment
      
      * Added layouts and texts for the checkin edit functionality
      (no fragment and viewmodel code yet)
      
      * Separated ConfirmCheckInFragment and EditCheckInFragment
      Implemented CheckIn Editing in EditCheckInFragment
      
      * Fixed linting
      
      * Fixed tests in ConfirmCheckInViewModelTest
      
      * Added mocks for default unit tests in ConfirmCheckInViewModelTest
      
      * cleaned up the checkin and edit strings
      
      * First round of pr comments
      
      * Added check to EditCheckInFragment that disables save button if checkInDate is after checkOutDate
      
      * added StringRes annotation to getter
      
      * updated layout
      
      * changed switch styling
      
      * refactored checkIn layout
      
      * updated layout of edit checkIn screen
      
      * updated strings
      
      * added new style for cards without elevation and applied it to card on event info screens
      
      * Switched confirm card row to ConstraintLayout to fix issues with varying screen sizes
      
      * Made checkin time and label top aligned
      
      * Fixed issues created by merge
      
      Co-authored-by: default avatarI502720 <axel.herbstreith@sap.com>
      Co-authored-by: default avatarMohamed <mohamed.metwalli@sap.com>
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      883bab15
    • Juraj Kusnier's avatar
      8bba2ef2
    • Lukas Lechner's avatar
      Basic poster template download and caching (EXPOSUREAPP-5842) (#2709) · b1220b10
      Lukas Lechner 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
      
      * Changed error message
      
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      Co-authored-by: default avatarMohamed <mohamed.metwalli@sap.com>
      b1220b10
    • BMItter's avatar
      Contact Journal Event/Risk extension (EXPOSUREAPP-5413) #2696 · bc2764a2
      BMItter authored
      
      * string preparation
      
      * Use modular recycler view for dairy days, adapter, items, layouts
      
      * Use modular recycler view for dairy days - next
      
      * improved item handling
      
      * Added dividers, diff util
      
      * adjusted header logic
      
      * Added final risk event for diary, refactored ENFitem and ENFvh, cleanup
      
      * final logic for risk event diary
      
      * Adjusted baselne - diary extension
      
      * diary db migration and new attributes for event extension
      
      * cleanup, sourceCheck
      
      * clean code
      
      * Added migration tests, updated ContactDiaryDatabaseTest to utilize new attributes
      
      * Replaced recyclerview with Flow, some layout improvements
      
      * Removed unused viewholders
      
      * Fixed contact diary test
      
      * Removed debug code
      
      * Fixed broken tests
      
      * Added test for risk by event
      
      * Adjusted spacing
      
      * cleanup, missing itemDecoration
      
      * cleanup, detekt, reduced complexity
      
      * named params
      
      * Use srcCompat
      
      * replaced event with trace location
      
      * Respecting the tech spec
      
      * conflicts resolved for OverviewViewModel
      
      * source clean
      
      * fix conflicts to newest 2.0 merge
      
      * resolve merged migration test conflict
      
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      Co-authored-by: default avatarMohamed <mohamed.metwalli@sap.com>
      bc2764a2
    • Lukas Lechner's avatar
      Create trace locations locally (EXPOSUREAPP-6015) (#2717) · 3c86de75
      Lukas Lechner authored
      
      * Remove Server Communication during for event creation
      
      * Fix EventRegistrationTestFragmentViewModel.kt
      
      * Make compiler happy after TraceLocation model changes
      
      * Adapt tests for TraceLocation model changes
      
      * Fix instrumentation tests
      
      * Add test for TracelocationUserInput -> TraceLocation mapper
      
      * Remove Create TraceLocation Url from Environment and Debug Options
      
      * Remove TRACE_LOCATION_VERSION constant
      
      * Do the encoding samba dance
      
      * Update room schema for event registration
      
      * Fix layout issue in debug options
      
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      3c86de75
    • Juraj Kusnier's avatar
      Event duplication (EXPOSUREAPP-5985) (#2714) · 1f01836c
      Juraj Kusnier authored
      
      * TraceLocation duplication
      
      * Implement event duplication to list fragment
      
      * Update nav_graph
      
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      Co-authored-by: default avatarKolya Opahle <k.opahle@sap.com>
      1f01836c
    • Alex Paulescu's avatar
      Trace Location QR Info screen (EXPOSUREAPP-5411) (#2708) · 60488d70
      Alex Paulescu authored
      
      * Added drawables.
      
      * Updated Strings.
      
      * Added QR info screen.
      
      * Accounted for all navigation possibilities.
      
      * Ktlin fix.
      
      * Fixed instrumentation test.
      
      * Update legal strings
      
      * BE to AE English fix
      
      * Addressed PR comments.
      
      * Now using MoreInformationView for DataPrivacy.
      
      * Removed duplicate code.
      
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      Co-authored-by: default avatarralfgehrer <mail@ralfgehrer.com>
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      60488d70
Loading