Skip to content
Snippets Groups Projects
  1. Jan 07, 2021
    • Matthias Urhahn's avatar
      Change LINT check for "LongMethod" from 60 to 120 lines. (#2047) · 0e5e9fc5
      Matthias Urhahn authored
      Long methods are not generally bad and should be decided on a case by case basis in PR reviews.
      Unverified
      0e5e9fc5
    • Philipp Nowak's avatar
      Small build.gradle adjustment (EXPOSUREAPP-4517) #2041 · e6a05201
      Philipp Nowak authored
      
      - Get rid of windows backslash path warning for ENF aar dependency
      
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      Unverified
      e6a05201
    • Matthias Urhahn's avatar
      Add debug log feature for non-tester builds (EXPOSUREAPP-4451) (#2029) · 54ddd11e
      Matthias Urhahn authored
      
      * Initial draft for user accessible debug logs in production.
      
      TODO: Sharing, Tests, Cleanup FileLoggerTree?
      
      * Ready strings for translation.
      
      * Log file compression for sharing (zip).
      
      * Add log sharing
      
      * Change how DebugLogger is initialized to make sure we can record issues that happen very early in the apps lifecycle.
      
      * Add missing toolbar back arrow navigation.
      
      * Fix initial delay for ui state emissions.
      
      * Censor registration token.
      
      * Adjust warning regarding sensitive data in debug logs.
      
      * Use property injection instead of component getters.
      
      * Hide option until greenlit.
      
      * Add test for RegistrationTokenCensor
      
      * Unit tests.
      
      * Make unit test without triggerfile more specific.
      
      * LINTs
      
      * Fix missing injection provider in release mode.
      
      * Fix regtoken censor if condition.
      
      * Fix typos.
      
      * Remove empty manifest specific to deviceForTesters build.
      
      * Wait until log job is canceled before deleting log files.
      Otherwise a race condition could lead to file creation after job cancellation.
      
      * Replace runBlockingTest with runBlocking we don't need scheduler control and runBlockingTest is sometimes unreliable.
      
      * Refactor FileSharing to use compat builder from androidx.
      
      * Handle exceptions on debug log start()
      
      * Print device infos when log is started.
      
      * Text changes requested by UA
      
      Co-authored-by: default avatarralfgehrer <mail@ralfgehrer.com>
      Unverified
      54ddd11e
  2. Jan 06, 2021
  3. Jan 05, 2021
    • Mohamed Metwalli's avatar
      Create Instrumentation tests & screenshots for the Onboarding flow (EXPOSUREAPP-4478) #2015 · e2eb813b
      Mohamed Metwalli authored
      
      * Add tooling layout tag for better overview
      
      * Ignore error for ProtectedPermissions
      
      * Add instrumentation tests to capture screenshots in Onboarding flow
      
      * Specify java version to avoid assembling APK failure
      
      * Define custom annotation for tests
      
      * Use fastlane Screengrab
      
      * ignore screenshots folder
      
      * Remove redundant imports and rules
      
      * Add View assertion to make sure Fragment is already displaying its views to avoid capturing blank screenshots
      
      * List some configurations for fastlane
      
      * Add TODO for locale change
      
      * Allow timestamp suffix to have different screenshots names
      
      * Scroll and grab another screenshot in OnboardingFragment
      
      * Delete import
      
      * Filter tests using Screenshot annotation
      
      * Add locale change rule in UI tests
      
      * Limit screenshots only for DE locale
      
      * Enable screenshots for all locales
      
      * Enable screenshot test
      
      * lint cleaning
      
      * Use JavaVersion to specify java version
      
      * Add an inline function that defaults to AppTheme
      
      * Update dcos for launchFragmentInContainer2
      
      * lint
      
      * Define generic apk_path
      
      * Support cleaning device status bar before taking screenshot
      
      * Correct docs
      
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      Unverified
      e2eb813b
    • Mohamed Metwalli's avatar
      Add fastlane Gemfile (DEV) #2028 · 6da1c841
      Mohamed Metwalli authored
      
      * Setup fastlane
      
      * Correct todo statment
      
      * Delete fastlane files
      
      * Add Gemfile lock
      
      * Change bundler version to v2.
      
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      Unverified
      6da1c841
    • Philipp Nowak's avatar
      Localize dates in contact diary (EXPOSUREAPP-4485) (closes #2009) #2021 · 5f327de1
      Philipp Nowak authored
      
      * Localize dates in contact diary (EXPOSUREAPP-4485) (#2009)
      
      * Add additional unit test to cover US and UK for english date formatting (EXPOSUREAPP-4485) (#2009)
      
      * Adjust expected date strings (EXPOSUREAPP-4485) (#2009)
      
      * Correct the suffix for "year" for bulgarian dates in unit tests (EXPOSUREAPP-4485) (#2009)
      
      * Use SystemInfoProvider implementation instead of static Locale.getDefault (EXPOSUREAPP-4485) (#2009)
      
      * - Revert usage of SystemInfoProvider
      - Introduce Context.getLocale() extension function
      - Adjust unit tests to use kotest matchers
      
      (EXPOSUREAPP-4485) (#2009)
      
      * (Add accidentally missing files of the previous commit)
      
      - Revert usage of SystemInfoProvider
      - Introduce Context.getLocale() extension function
      - Adjust unit tests to use kotest matchers
      
      (EXPOSUREAPP-4485) (#2009)
      
      Co-authored-by: default avatarI502720 <axel.herbstreith@sap.com>
      Unverified
      5f327de1
    • Matthias Urhahn's avatar
      Background/Async TEK submission (EXPOSUREAPP-3620) #2008 · 5c7ec06d
      Matthias Urhahn authored
      * Introduce lastSubmissionUserActivityUTC settings and use it as "skip condition" for the SubmissionTask
      
      * Introduce background submission.
      
      * Fix worker not being canceled.
      
      * Disable auto submission is consent is not given.
      
      * Cancel worker by tag.
      
      * Introduce per TaskRequest error-handling.
      Set SubmissionWorker deployed task requests to SILENT.
      
      * Fix test regressions due to api change.
      
      * Add SubmissionWorker test.
      
      * Add AutoSubmissionTest.kt
      
      * Don't reset retry attempt count and date when enabling MONITOR or SUBMIT_ASAP.
      Otherwise would loose that data when the app is restarted despite it still "trying".
      Only reset the data on DISABLED, i.e. when the task finishes or give sup.
      
      * Add additional SubmissionTaskTest.kt related to automatic submission behavior.
      
      * Remove unused value.
      
      * Fix typo
      
      * Return Result.retry() on exceptions.
      We retry until we are successful, any abort conditions will be handled by the task.
      
      * LINTs
      
      * Fix test regression.
      Unverified
      5c7ec06d
    • Chilja Gossow's avatar
      Announce type for location and person - accessibility (EXPOSUREAPP-4459-4458-4456) (#1994) · 349c7072
      Chilja Gossow authored
      
      * accessibilty announcement for list items person and location
      
      * Merge branch 'release/1.11.x' into feature/4459-accessibility-loc-person
      
      # Conflicts:
      #	Corona-Warn-App/src/main/res/layout/contact_diary_location_list_item.xml
      #	Corona-Warn-App/src/main/res/layout/contact_diary_person_list_item.xml
      
      * Merge branch 'release/1.11.x' into feature/4459-accessibility-loc-person
      
      # Conflicts:
      #	Corona-Warn-App/src/main/res/layout/contact_diary_location_list_item.xml
      #	Corona-Warn-App/src/main/res/layout/contact_diary_person_list_item.xml
      
      * add selection announcements
      
      * lint
      
      * lint
      
      * screen announcement
      
      * screen announcement
      
      * klint
      
      * klint
      
      * strings correction
      
      * strings
      
      * refactoring string access
      
      * allow spread operator
      
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      Unverified
      349c7072
    • Philipp Nowak's avatar
  4. Jan 04, 2021
  5. Dec 29, 2020
  6. Dec 28, 2020
  7. Dec 23, 2020
  8. Dec 22, 2020
Loading