Skip to content
Snippets Groups Projects
  1. Feb 15, 2021
    • Mohamed's avatar
      New consent Google API (EXPOSUREAPP-4635) (#2325) · 97f376a5
      Mohamed authored
      
      * Add new google apis aar
      
      * show error
      
      * lint
      
      * Remove comma
      
      * Use kotlinx await
      
      * Handle ApiException
      
      * Remvoe line
      
      * Handle user consent selection
      
      * Add consent version
      
      * Move logic into provider
      
      * Handle result in presentation layer
      
      * Fix tests
      
      * Handle exception
      
      * Request keys release
      
      * Refactor key retrieval
      
      * Adjust docs
      
      * Handle exceptions for different cases
      
      * Add mock context
      
      * Fis comment
      
      * Revert
      
      * Use Cached keys
      
      * lint
      
      * Create separate internal methods for different apis
      
      * Add timeout for receiver
      
      * Fix unit tests
      
      * lint
      
      * Add some logs
      
      * Revert "Add some logs"
      
      This reverts commit de8f83c0ef90eaf80682bbc6674f51c74c3be834.
      
      * Add logs
      
      * Prevent creating multiple instances.
      
      New exposure notification launches new instance when it is clicked
      
      * Add more unit tests
      
      * Fix typo
      
      * Add tests for consent viewmodel
      
      * Add unit tests for TEKHistoryUpdater changed behaviour
      
      * Register receiver before hitting  Google Api
      
      * Code formatting, typo and VisibleForTesting.
      
      * Add space
      
      * Additional unit tests for edge cases.
      
      * Static import
      
      * Infer type
      
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      97f376a5
  2. Feb 03, 2021
    • Mohamed Metwalli's avatar
      Adjust Screenshots tests to reflect latest UI changes(EXPOSUREAPP-4878) (#2247) · c7982aac
      Mohamed Metwalli authored
      
      * Add bottom bar
      
      * Fix di
      
      * Adjust theme
      
      * Align content on top of bottom bar
      
      * Enhance findNavController
      
      * Adjust Bottom Bar
      
      * Remove diary card
      
      * Remove up button
      
      * lint
      
      * Adapt MD theme
      
      * Fix ui tests
      
      * Delete contact diary , handle onboarding
      
      * Remove x button
      
      * Show bottom nav only for Home and contact diary destinations
      
      * Only contact diary overview screen
      
      * Adjust alert dialog theme
      
      * update docs
      
      * Fix close button issue
      
      * Revert close button changes
      
      * Rename text resources
      
      * Make visibility logic flexible for future additions
      
      * Fix typo
      
      * Setup main activity tests
      
      * Add diary overview screenshot test
      
      * lint
      
      * Disable unmocking
      
      * Update Gemfile.lock
      
      * Contact diary onboarding's bottom bar behaviour
      
      * Update ContactDiaryOnboardingFragmentTest.kt
      
      * Refactor screenshots tests
      
      * Update Corona-Warn-App/src/main/res/values/strings.xml
      
      Co-authored-by: default avatarSabine Loss <44154356+SabineLoss@users.noreply.github.com>
      
      * Update contact_diary_overview_fragment.xml
      
      * Small refactoring
      
      * Remove un required gravity
      
      * Use accent colour
      
      * Move diary settings into vm
      
      * Update tests
      
      * Update MainActivityViewModelTest.kt
      
      * Fix styling in bottom sheet dialog
      
      * Keep default delay
      
      * klint
      
      * Keep default delay
      
      Co-authored-by: default avatarSabine Loss <44154356+SabineLoss@users.noreply.github.com>
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      c7982aac
  3. Jan 28, 2021
  4. Jan 27, 2021
  5. Jan 25, 2021
    • Mohamed Metwalli's avatar
      Dagger2 Assisted Inject (Dev) #2181 · 82d322da
      Mohamed Metwalli authored
      * Migrate to dagger2 assisted injection
      
      * bump version
      
      * Fix Worker test
      
      * Fix failing test
      
      * Remove Square AssistedInject from Technical file
      
      * Set nav-graph in Ui Thread to prevent crashing
      
      * bump dagger to 2.31.2
      82d322da
  6. Jan 22, 2021
  7. Jan 20, 2021
  8. Jan 18, 2021
  9. Jan 13, 2021
  10. Jan 12, 2021
  11. Jan 08, 2021
  12. Jan 07, 2021
  13. Jan 06, 2021
  14. Jan 04, 2021
  15. Dec 15, 2020
  16. Nov 30, 2020
  17. Nov 26, 2020
  18. Nov 23, 2020
  19. Nov 12, 2020
  20. Nov 10, 2020
  21. Nov 03, 2020
  22. Oct 30, 2020
  23. Oct 29, 2020
    • Alexander Alferov's avatar
      Test flavour build with extract native libs flag set to true · 6f036b05
      Alexander Alferov authored
      Test pipeline config
      6f036b05
    • BMItter's avatar
      Improved crash logging & handling (EXPOSUREAPP-2572) (#1475) · be4c773d
      BMItter authored
      
      * FileLoggerPlus - RX added - preparation
      
      * Buffer config as constants
      
      * avoid empty lines
      
      * Reworked logging to file - wip
      
      * Collecting errors to dao - wip
      
      * Added crash report to app db and created module
      
      * do it
      
      * inject crashReportTree - wip
      
      * use dagger injection
      
      * retrieve short hash via gradle
      
      * removed todo
      
      * Updated database to version 2 for new ReportEntity - old base
      
      * deprecated old engagement - RX not allowed anymore
      
      * use global scope for coroutines in crash report tree - ktlint clean
      
      * added menu item - error reporter (replace later to new structure)
      
      * basic recylcerview and fragment added to menu - wip
      
      * deprecated data class
      
      * Delete CrashModel.kt
      
      * crash report list item to use data binding
      
      * separated Reporteradapter - klint clean
      
      * use separated Adapter in ReporterFragment - cleanup
      
      * Added ErrorReporterViewModel - connected data to list
      
      * dependency injection for crash report, better structure, todo cleanup
      
      * some refactoring, cleanup, ktlint
      
      * adjustments for 1.6.x
      
      * temp action to open crash report fragment
      
      * removed testcode
      
      * updated layout - wip
      
      * connected view & data
      
      * satisfy circle ci checks
      
      * plant reportingTree, testbutton, klint clean
      
      * updated layout for reporter - wip
      
      * better format and layout
      
      * better message handling
      
      * missing icons for errors on debug
      
      * Adjusted error report index
      
      * Removed ugly show button, report clickable
      
      * Added SettingsCrashReportDetailsFragment & corresponding files
      
      * fixed merge inconsistence
      
      * fixed injection overall
      
      * use livedata
      
      * details added to report - wip
      
      * beauty
      
      * share & layout root preparation
      
      * make error report shareable
      
      * removed Dispatcher.IO for example
      
      * Introduce skeleton classes for bugreporting
      
      * Refactoring, adjustments to be able to build again
      
      * Created BugEventEntity, Changed id to Long for more efficiency,  Removed unused events
      
      * refactored ui to deviceForTesters, testmenu etc
      
      * adjusted interfaces & related, better structure
      
      * uses own db, added converter, adjusted modules
      
      * adjusted bugrepo, defaultbugrepo
      
      * shared report, better visualisation
      
      * changed crash db name
      
      * Implemented DefaultBugRepository
      
      * Added device info to BugEvent, BugReporter collects Tag, Added default impl of BugEvent etc
      
      * corrected bug in RollingLogHistory
      
      * removed deprecated crash package
      
      * quickfix - wip
      
      * cleanup
      
      * cleanUp, adjusted simulation button to new structure
      
      * moved bug related layouts to deviceForTesters package
      
      * removed old RX dependenies and related context
      
      * fix build for deviceDebug
      
      * lint clean
      
      * current set of relevant exceptions as before
      
      * attach log to output
      
      * improved output
      
      * Delete obsolet ic_bug in main
      
      * Delete ic_coffee.xml
      
      * changed shortID to shortCommitHash for better transparency
      
      * companion to bottom
      
      * removed string encapsulation
      
      * cleanup unused import and blank line - PR Comment
      
      * typo fixed
      
      * rm empty line
      
      * removed relict module
      
      * layout fix
      
      * adjusted unrelated method call
      
      * fixed package inkonsistence
      
      * Use flow instead of livedata in non-ui
      
      * better fun naming
      
      * Replaced interface with inline listener
      
      * Improved SettingsCrashReportDetailsFragment and SettingsCrashReportViewModel, formatting adjusted
      
      * cleaned converter
      
      * Delete Project.xml
      
      * added log statement to DefaultBugRepository
      
      * adjusted magical number
      
      * Use CommonConverters instead of unique Converters in BugDatabase
      
      * Extension function for the resuce -defaultBugRepository
      
      * removed FormatterCrashReport completly
      
      * changed long to UUID
      
      * satisfy buggy ktlint checks
      
      * Update SettingsCrashReportViewModel.kt
      
      use postvalue
      
      * avoid passing viewmodel
      
      * store appVersionCode as Long for beeing futuresave
      
      * Update SettingsCrashReportViewModel.kt
      
      removed lazy init
      
      * Changed BugDatabase to factory pattern
      
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      be4c773d
  24. Oct 23, 2020
  25. Oct 22, 2020
  26. Oct 21, 2020
  27. Oct 20, 2020
  28. Oct 19, 2020
    • Matthias Urhahn's avatar
      Refactor missused ViewModels, support automated UI tests and screenshots (EXPOSUREAPP-2946) (#1415) · cec56fdb
      Matthias Urhahn authored
      
      * Introduced `TracingCardState` and `TracingDetailsState`.
      Removed all direct viewmodel/livedata access from all nested layouts for `TracingViewModel`.
      Removed `FormatterRiskHelper`.
      Introduced logic to reactively update the UI state if bluetooth, location or tracing state changes.
      
      TODO:
      * Finish tests in TracingCardStateTest.kt and TracingDetailsStateTest.kt
      * Finish TracingDetailsViewModel.kt and TracingCardViewModel.kt
      * Remove obsolete dependencies on TracingViewModel.kt and singletons RiskLevelRepository.kt, TracingRepository.kt
      
      * Breakthrough, cards update again.
      
      * Further cleanup of TracingViewModel.kt, TracingRepository.kt
      Still not quite there yet, too many calls going into every direction, back and forth, instead of just top->down, but we are getting there.
      We want data flow from business logic code to the UI, keep the UI KISS.
      
      * Update TracingCardState tests to account for changes
      
      * More refactoring, TracingViewModel.kt is now finally gone.
      
      * Fix risk details card, we reuse the cardviewmodel but need to overwrite the `showDetails` flag depending from where it's used.
      
      * Refactored several properties (notification related) out of SettingsViewModel/Repository
      
      * Fix injection
      
      * Refactoring submission related databinding code on the home fragment
      
      * Make TracingRepository.kt injectable and change viewmodel scoping for refresh calls to app scope.
      
      * Remove additional formatter calls from submission cards on home screen.
      
      * Refactored additional SubmissionViewModel logic into SubmissionRepository on the Homescreen.
      First UI Test is now passing.
      
      Simplified ViewModel instantiation related code.
      Prepared HomeFragment for smoother UI state changes, less reloading.
      
      * Improved home,tracing-details and tracing-settings loading behavior, less flickering.
      Fixed LiveData value assignment on background-thread.
      
      * New reactive provider for Bluetooth and Location status.
      Cleaned up ConnectivityHelper.kt partially.
      
      * Implement remaining tests, batch 1.
      
      * Implement remaining tests, batch 2.
      
      * Fix lint issues.
      
      * Removed a few codesmells and code duplication.
      Introduced Flow.shareLatest(...)
      
      * Removed unused parameters.
      
      * LINT fixes.
      
      * Fix unit test failing due to missing mocks.
      
      * Address PR comments.
      
      * Improve UI loading states, remove flickering.
      
      * Remove log spam due to polling values, add extra abort condition that checks for cancellation.
      
      Co-authored-by: default avatarralfgehrer <mail@ralfgehrer.com>
      cec56fdb
  29. Oct 13, 2020
Loading