- Sep 18, 2020
-
-
Matthias Urhahn authored
This reverts commit 6054bf57.
-
Jakob Möller authored
* Added first set of country flags Signed-off-by:
Kolya 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:
Kolya 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:
Mert Safter <mert.safter@sap.com> Co-authored-by:
Matthias 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:
Matthias 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:
Kolya Opahle <k.opahle@sap.com> * Fail tests on unexpected null. Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
apopovsap <66370584+apopovsap@users.noreply.github.com> Co-authored-by:
Mert Safter <69803294+MertSafter@users.noreply.github.com> Co-authored-by:
Mert Safter <mert.safter@sap.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
Matthias Urhahn <darken@darken.eu>
-
- Sep 17, 2020
-
-
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:
Luka Harambasic <luka.harambasic@sap.com> Co-authored-by:
chris-cwa <chris.cwa.sap@gmail.com> Co-authored-by:
Alexander Alferov <a.alferov@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Matthias Urhahn <darken@darken.eu> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
- Sep 01, 2020
-
-
Kolya Opahle authored
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:
Kolya Opahle <k.opahle@sap.com>
-
- Jun 12, 2020
-
-
Fabian-K authored
* TAN Input size * Submission Dispatcher - fix text alignment with small text settings - remove unnecessary bottom constraint * TAN Input: improve layout on variable screen sizes * TAN Input: adjust to users font size
Co-authored-by:Hee Tatt Ooi <hee.tatt.ooi@sap.com> Co-authored-by:
marcmuschko <marc.muschko@sap.com>
-
marcmuschko authored
-
- Jun 11, 2020
-
-
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:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
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
-
- Jun 10, 2020
-
-
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:
Muschko <marc.muschko@sap.com>
-
- Jun 09, 2020
-
-
harambasicluka authored
* added new guidelines * fixed card * removed onboarding webview * design polish & translations Co-authored-by:
marcmuschko <marc.muschko@sap.com>
-
Fabian-K authored
* added further info section to negative test result * bullet points as custom view with proper styling * moved BulletPointList.kt to proper package Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Jakob Möller <jakob.moeller@sap.com>
-
harambasicluka authored
* reintroduced our old headers everywhere :) * fixed onboarding header icon alignment * removed empty row on risk details bottom * removed unused formatter * introduced stable dividers for risk card * risk identification is not possible: primary icon color to neutral * adapted circle sizing and alignment * circleColor: added stable Color * icon alignments: top right * fixed spacings * changed light header logo * moved row * larger header logos * ktlintformat
-
- Jun 08, 2020
-
-
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 * use ROOT locale and specific charset for string operations * extend tests for submissionTanViewModel * override synced translations Co-authored-by:
Jakob Möller <jakob.moeller@sap.com>
-
Fabian-K authored
* Submission Status Cards - fix interaction behavior (expand clickable target) - unify inclusion into fragment_main.xml - fix alignment of icons including hands - fix spacing between text and icon - simplify layout (remove unnecessary ConstraintLayout) - remove unused string - fixed unregistered text style * Submission Styling - increase spacing before "Info zum Ablauf" - replace step icons used in submission contact - fix wrong illustration for negative test result - added rounded corners to test result card - fixed spacing between text and illustration - removed unused icon ic_icon_drilldowncard_dark.xml - fixed button padding on test result screen Main Fragment - simplified using merge_guidelines_side * Submission Styling - replace illustration for positive tests on homescreen (different background) - add pressed state to submission dispatcher cards - fix missing spacing adjustment between text and icons
-
Jakob Möller authored
* date formatter crash due to translation merging fixed (#271) Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> * Improved UI on the QR Code scan screen (#272) * Tests/others (#204) * transaction tests * transaction test fixes Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> Co-authored-by:
Hee Tatt Ooi <hee.tatt.ooi@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> * version bumped to 0.8.8 (#275) Co-authored-by:
Fabian-K <fabian.kajzar@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
ksergeevit <64887317+ksergeevit@users.noreply.github.com> Co-authored-by:
Hee Tatt Ooi <hee.tatt.ooi@sap.com> Co-authored-by:
oemerb <66002424+oemerb@users.noreply.github.com>
-
Kolya Opahle authored
-
Thomas Klingbeil authored
This reverts commit 8577f8d4.
-
- Jun 07, 2020
-
-
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:
Jakob Möller <jakob.moeller@sap.com>
-
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
-
- Jun 06, 2020
-
-
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
-
harambasicluka authored
-
- Jun 05, 2020
-
-
Thomas Klingbeil authored
This reverts commit b31fd1d8. Co-authored-by:
Jakob Möller <jakob.moeller@sap.com>
-
Thomas Klingbeil authored
-
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:
Oliver Zimmerman <oezimmerman@gmail.com>
-
- Jun 02, 2020
-
-
Kolya Opahle authored
* Made submission status card style more cross device friendly Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added the positive result submission status card Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * lint fix * Updated main fragment documentation * Added icon for sharing risk status Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Updated positive result home screen card text and icons Signed-off-by:
Kolya Opahle <k.opahle@sap.com>
-
- May 30, 2020
-
-
Kolya Opahle authored
-
Sebastian Wolf authored
-