Skip to content
Snippets Groups Projects
  1. Sep 18, 2020
    • Matthias Urhahn's avatar
      Revert "Interoperability to 1.5.X (#1173)" · c419ae66
      Matthias Urhahn authored
      This reverts commit 6054bf57.
      c419ae66
    • Jakob Möller's avatar
      Interoperability to 1.5.X (#1173) · 6054bf57
      Jakob Möller authored
      
      * Added first set of country flags
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Added first implementation of Submission Country Selection Screen. (Currently not part of nav graph).
      Moved stuff inside of submission package into subpackages
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Added missing changes to nav_graph file
      
      * Test Menu options for Country selection and Measurement (EXPOSUREAPP-2229) (#1086)
      
      * 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>
      
      * Overhaul of DiagnosisKey related Download and Caching Mechanisms (EXPOSUREAPP-2469) (#1136)
      
      * Rework of keyfile download and caching.
      * Supports interop
      * More modular for better testing and build flavour based behavior adjustments
      * More resilient handling of failed downloads
      * Preperations for future hourly download and serverside checksums
      
      TODO: Finish unit tests, keycache migration and cache health check
      
      * First batch of unit tests and some fixes for incorrect behavior that the tests surfaced.
      
      * Added unit tests for the KeyCacheRepository
      
      TODO: Tests for downloader and migration.
      
      * Implemented POC for migration old key files.
      
      * Fixed legacy file migration and cleanup, improved logging.
      
      * Added unit tests for legacy key file migration.
      
      * Add fallback for different file hashes in the header.
      
      * Yes kLint, we know it's a long method,
      but for this it's better to read it in one block vs jumping to extra methods.
      
      * More linting issues, adjusting project code style prevent a few of these in the future.
      
      * Added missing unit tests for `KeyFileDownloader` and fixed faulty behavior that was noticed during testing.
      
      * CRUD (instrumentation) test for `KeyCacheDatabase`
      
      * Remove unused `FileStorageHelper` and related constants+tests.
      
      * Fix last3Hours unit test in deviceRelease mode, we need to explicitly enable debug for these tests.
      
      * Until we have more information about the hashsum's format in the header, default to `ETag
      
      * Split app config server API from diagnosis key download API,
      and reintroduce caching for the app config download.
      
      * Add test to check that the cache is used on flaky connections.
      
      * Code changes based on PR comment, part #1.
      
      * Code fluff, formatting.
      
      * Handle download errors correctly.
      
      * Refactoring:
      * Remove unnecessary `currentDate` we always start with the newest date from the servers index.
      * Make a specialised class for header validation
      
      * Let legacy cache migration abort early, depending on whether the key dir exists.
      
      * If we can't create the base directory for the key repo, throw an exception.
      
      * Delete cache entry if a download fails.
      
      * Fixed test regression due to refactoring.
      
      * Consolidate staleness check into `getStale`
      
      * Consolidate clean up for failed downloads into the download method.
      Added tests to check that we delete the keycache entry if the download fails (which we didn't for hours :O!)
      
      * Because the hour-mode uses caching too, we add an explicit button to the test menu that clears the cache.
      
      * Add comment with reference to ticket regarding follow up on the other headers.
      
      * Move expected storage size per country into a named constant.
      
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      
      * Implementation of tests for the interoperability countries selection screen (EXPOSUREAPP-2439) (#1140)
      
      * Added initial set of viewModel tests
      
      Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
      
      * Fail tests on unexpected null.
      
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      
      Co-authored-by: default avatarKolya Opahle <k.opahle@sap.com>
      Co-authored-by: default avatarapopovsap <66370584+apopovsap@users.noreply.github.com>
      Co-authored-by: default avatarMert Safter <69803294+MertSafter@users.noreply.github.com>
      Co-authored-by: default avatarMert Safter <mert.safter@sap.com>
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      Co-authored-by: default avatarMatthias Urhahn <darken@darken.eu>
      Unverified
      6054bf57
  2. Sep 17, 2020
    • Oliver Zimmerman's avatar
      Provide onset of symptoms before upload (EXPOSUREAPP-1605) (#1170) · 8c7e0501
      Oliver Zimmerman authored
      
      * initial commit of new fragment for symptom screen
      
      * Added relevant strings for symptom screen. Started editing xml of initial symptom screen
      
      * Addded 3 selection options within symptom screen
      
      * button id name change to something more relevant
      
      * ID changes to be something more relevant to symptom scenerio.
      
      * Implemented symptom initial screen logic. Temporary nav for testing.
      
      * CircleCI formatting
      
      * Adapted interoperability test provided by apopov
      
      * Added accessibilty announcement on resume, fixed navigation for main page
      
      * circleCI indentation fix
      
      * removed ar & ru and updated default strings
      
      * Adaption to ViewModel logic. Not yet complete
      
      Adaption to ViewModel logic, attempting to align with implementation done with some interoporibility tasks: reusable layout files, etc.
      
      * More ViewModel transformation additions
      
      * revert nav from test. Circle CI formatting changes
      
      * Update SubmissionSymptomIntroductionFragment.kt
      
      * Removed old fragment based test
      
      * Will implement navigation during marry session.
      
      * Update SubmissionViewModel.kt
      
      * Calendar button selection screen + required strings
      
      * Custom calendar view
      
      * Accessibility improved
      
      * introduced data types for symptoms
      
      * represent date by long in millis
      
      * new TransmissionRiskVector
      
      * Constants and formatting
      
      * Naming changes requested
      
      * Better event naming
      
      * Update fragment_submission_symptom_intro.xml
      
      * Finishing calendar implementation - still need to implement calendar widget
      
      Surrounding calendar submission UI - minus calednar widget
      Necessary strings
      
      * Merged introduction and calendar screen.
      
      Created calendar fragment screen,
      Finished calendar XML view
      Added required entries for choices in SubmissionViewModel
      Adjusted Formatters for button selection.
      Changed nav graph.
      
      * + todo
      
      * CircleCI code style changes
      
      * EXPERT STUFF
      
      * Latest push for marry session
      
      * replaced transaction risk vector
      
      * update textcolor on symptom indication change
      
      * update buttons by code
      
      * code formatting
      
      * Added logic for Negative and No Information buttons and adjusted xml view to be more aligned with design
      
      Added logic for Negative and No Information buttons and adjusted xml view to be more aligned with design
      
      * disable next button when state is null.
      
      * + readability
      
      * Calendar screen logic adapted for button selection
      
      * extracted domain logic from prototype and from transaction
      
      * - not used events
      
      * joint improvements
      
      * removed unused events
      
      * Calendar unsetSelection added
      
      * detekt rules changed and formatting
      
      * - calendar view refactor: CalendarCalculator singleton introduced for batter testing capacity
      - unit tests added
      
      * detekt issues
      
      * Colors and styles cleared
      
      * fixed strings
      
      * maintained unit tests
      
      * adopted changes from main nav graph to device for testers nav graph
      
      * reverted comment
      
      * made start of symptoms nullable
      
      * tests
      
      * Adjusted navigation, fixed dark theme
      
      * Update Project.xml
      
      * use of postValue() in SubmissionViewModel.kt
      
      * Added direction in tester nav graph
      
      * improvements required by review
      
      * moving companion
      
      * moving companion
      
      * moving companion
      
      * fixed issues from partner review
      
      * fixed issues from partner review
      
      * fixed issues from partner review
      
      * fixed issues from partner review
      
      * fixed issues from partner review
      
      * using utc
      
      * edge case tests
      
      * made inner class
      
      * Refactored Symptoms Class Name (+data class)
      
      * Change SubmissionViewModel scope to ensure that the same viewmodel is used to store submission data.
      
      * extracted null check + log
      
      Co-authored-by: default avatarLuka Harambasic <luka.harambasic@sap.com>
      Co-authored-by: default avatarchris-cwa <chris.cwa.sap@gmail.com>
      Co-authored-by: default avatarAlexander Alferov <a.alferov@sap.com>
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      Co-authored-by: default avatarMatthias Urhahn <darken@darken.eu>
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      Unverified
      8c7e0501
  3. Sep 01, 2020
  4. Jun 12, 2020
  5. Jun 11, 2020
    • marcmuschko's avatar
      UI Adjustments, External Navigation Issues (#380) · e8812ca4
      marcmuschko authored
      
      * adjusted icon size on main about, adjusted text spacing
      
      * design adjustments and spacings
      
      * changed onboarding flow; user does not get navigated to screen 4 after declining tracing permission; explicit denial required
      
      * catch exception when no browser or phone app installed
      
      * fixed main overview a18n contrast issue
      
      * merged external navigation helpers into single helper object
      
      * adjusted bluetooth settings navigatioN
      
      * added custom exception for external actions; added external action helper
      
      * fixed build issues
      
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      Unverified
      e8812ca4
    • Fabian-K's avatar
      Tan Input Update (#378) · 886e16d1
      Fabian-K authored
      * TAN Input
      - adjust stroke width to match design
      - increase spacing before tan input
      - wrap blocks to next line if not enough space
      - include errors in TalkBack
      
      * - properly format styles.xml
      - move custom control to view package
      Unverified
      886e16d1
  6. Jun 10, 2020
    • harambasicluka's avatar
      Fix: Design polish (#346) · b49a465b
      harambasicluka authored
      
      * settings reset navigation removed
      
      * risk card button background to colorBackground
      
      * notification settings when os notifications are turned off
      
      * fixed neutral night mode color
      
      * fixed version alignment
      
      * fixed formatter issue
      
      * updated logos
      
      * app information and main overview design small adjustment
      
      * settings row overview icon placement
      
      * increased grey box padding top
      
      * illustration updated, some still todo after designer patch
      
      * illustration test and untested fixed
      
      * settings try catch fix
      
      * bugfix tracing state during exception crash
      
      * submission illustration hotline
      
      * updated submission illustration warn others
      
      * design polishing
      
      * fixed tests
      
      Co-authored-by: default avatarMuschko <marc.muschko@sap.com>
      Unverified
      b49a465b
  7. Jun 09, 2020
  8. Jun 08, 2020
  9. Jun 07, 2020
    • Thomas Klingbeil's avatar
      Extend teleTAN to 10 characters + input validation (#252) · 8577f8d4
      Thomas Klingbeil authored
      
      * Change teleTAN from 7 to 10 characters
      
      # Conflicts:
      #	Corona-Warn-App/src/main/res/values/dimens.xml
      
      * adjust TAN input to updated design
      
      # Conflicts:
      #	Corona-Warn-App/src/main/res/values/dimens.xml
      
      * move TAN to upper case centrally
      
      * styling of filled/empty TAN input spaces
      
      * replace gradient at TAN entry with solid shape
      
      * fix TAN input dash style
      
      * add teleTAN input validation
      
      * ensure valid characters are entered
      * block further input if character is invalid
      * mark invalid characters accordingly
      * show error message if character is invalid
      * calculate checksum
      * show error and prevent the user from clicking „next“ if checksum is invalid
      
      * code formatting
      
      * Add include to TAN fragment
      
      * Update teleTAN entry info text
      
      * remove code smells
      
      * Change detection of valid characters in TAN to whitelist
      
      * add tests for TanHelper
      
      * add tests for SubmissionTanViewModel
      
      Co-authored-by: default avatarJakob Möller <jakob.moeller@sap.com>
      Unverified
      8577f8d4
    • harambasicluka's avatar
      Feature: Toolbar (#254) · 6c118de4
      harambasicluka authored
      * replaced custom header with toolbar
      
      * removed fadingScrollView
      
      * toolbar
      
      * excluded translation from lint for dev
      
      * main header
      
      * fixed id
      
      * icon fix
      
      * added navigation to risk details
      Unverified
      6c118de4
  10. Jun 06, 2020
    • Fabian-K's avatar
      Text Styles and others (#223) · e6d0b4b5
      Fabian-K authored
      * - unused SubmissionSuccessDialogFragment.kt removed
      
      * - remove merge_guidelines_common.xml
      - fragment_submission_test_result.xml scrolling behavior
      
      * - submission flow text styles replaced
      - submission positive result card updated
      
      * - submission status cards updated
      
      * - remove old text styles
      - lint error fixed
      Unverified
      e6d0b4b5
    • harambasicluka's avatar
      behavior icon update (#211) · 823f7f3e
      harambasicluka authored
      Unverified
      823f7f3e
  11. Jun 05, 2020
    • Thomas Klingbeil's avatar
      Unverified
      73592510
    • Thomas Klingbeil's avatar
    • Fabian-K's avatar
      Submission style (#181) · 49735830
      Fabian-K authored
      
      * color definitions from design spec added (day & night)
      
      * common:
      - adjust style of button & buttonPrimary
      - adjust style of textTitle
      - adjust style of textMultiline
      
      submission intro:
      - simplify the layout
      - change headline style
      
      * Changes to TAN contact page
      
      Added operating hours and changed style/string values slightly.
      
      * submission dispatcher fragment
      - style update
      - text typo fixed
      
      * updated test result illustrations
      
      updated test result illustrations, changed button colour
      
      * Update strings.xml
      
      slight text change to match style
      
      * submission warn others:
      - scrolling behavior fixed
      - style updated
      - illustration replaced
      
      * submission done fragment:
      - style updated
      - first behavior row exchanged
      
      * submission done fragment: illustration content description
      
      * submission tan fragment: style updated
      
      * replace colorGreen & colorRed with semantic colors
      
      * - unused color removed
      - colorRiskCardIncreasedRisk and colorRiskCardLowRisk referencing semantic colors
      
      * submission status cards style update
      
      * emphasized button text color in dark mode adjusted
      
      Co-authored-by: default avatarOliver Zimmerman <oezimmerman@gmail.com>
      Unverified
      49735830
  12. Jun 02, 2020
  13. May 30, 2020
Loading