- Feb 15, 2021
-
-
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:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Feb 03, 2021
-
-
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:
Sabine 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:
Sabine Loss <44154356+SabineLoss@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Jan 28, 2021
-
-
Mohamed Metwalli authored
-
- Jan 27, 2021
-
-
BMItter authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Jan 25, 2021
-
-
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
-
- Jan 22, 2021
-
-
Mohamed Metwalli authored
-
- Jan 20, 2021
-
-
Matthias Urhahn authored
CircleCI config overhaul, instrumentation tests & screenshot automation (EXPOSUREAPP-4480,DEV) (#2160) * CircleCI overhaul and execution of instrumentation tests. * Screenshots work, now run for release builds only. * Tweak emulator to possibly improve performance. * Compress results. * Don't upload test xml files if circle CI already shows them. Zip and upload test html reports instead of xml files. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Jan 18, 2021
-
-
Kolya Opahle authored
Signed-off-by:
Kolya Opahle <k.opahle@sap.com>
-
- Jan 13, 2021
-
-
Katharina Seiz authored
* use Reuse Tool for Copyright and Licenses * adapt README * add chnaged open source libraries * NOTICE and THIRD-PARTY-NOTICE not needed anymore with reuse tool * add new file to dep5 file for reuse tool * fix badge info link and add Licensing chapter again * fix link to license within repo * fix badge info link * fix link to license within repo * add info about the reuse tool and the info link about the repo compliance * change wording * adapt year of copyright and add modification staements q * add license file again to root folder * adapt copyrights and add gradlew files to dep5 file * add link to chapter licensing again * fix links to LICENSE Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Ralf Gehrer authored
* Bump Build Version * Fix Timber aar dependency for the internal pipeline
-
Mohamed Metwalli authored
-
- Jan 12, 2021
-
-
Mohamed Metwalli authored
* Pump dependencies versions * Traget Android 11 * Fix lint errors * Add method for failing binding * Fix lint errors * Fix more lint errors * Move away from deprecated Handler constructor with no specified looper * Use ResourcesCompat to retrieve drawables * Replace getDrawable with getDrawableCompat * Fix unit test * Fix content is not showing in Onboarding flow * lint * Fix lint failure Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Jan 08, 2021
-
-
Mohamed Metwalli authored
-
- Jan 07, 2021
-
-
Philipp Nowak authored
- Get rid of windows backslash path warning for ENF aar dependency Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Jan 06, 2021
-
-
Philipp Nowak authored
* - Removed Kotlin Android Extensions plugin - Replaced usages of Kotlin Synthetics by Jetpack view binding - Added Kotlin Parcelize standalone plugin (#2022) * Fix detekt issue (#2022) * Use view binding for TestResultSectionView (EXPOSUREAPP-4495) (#2022) * Use bind() instead of inflate() for view binding in TestResultSectionView (EXPOSUREAPP-4495) (#2022) Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
- Jan 04, 2021
-
-
Matthias Urhahn authored
* Change primary key for risk result database to a monotonic ID. This prevents time travel from breaking "get latest" as we will get the latest by monotonic ID, instead of "calculatedAt". * We don't need `fallbackToDestructiveMigrationFrom(3)` until we actually upgrade the schema to 3. * Fix database test (missing monotonicId) * Catch exceptions during migrations and recreate the table. * Add check for result size after recreating+insertion. Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Dec 15, 2020
-
-
Matthias Urhahn authored
* Update work manager to 2.5.0-beta02 to fix potential reliability issues. * Update work manager test dependency to 2.5.0-beta02.
-
- Nov 30, 2020
-
-
Matthias Urhahn authored
Co-authored-by:
BMItter <46747780+BMItter@users.noreply.github.com>
-
Chilja Gossow authored
* Extract native libs set to true for both builds (DEV) (#1689) * Fix sporadic worker crash on older android versions (EXPOSUREAPP-3987) (#1727) * Fix notification issues by introducing IDs (EXPOSUREAPP-3971) (#1732) * Reduce redundant code in notifications and introduce notification IDs * Clean up unused constants * Cancel risk score level notification once new test result is available * Add more logging Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> * Versionbump for 1.7.1/RC1 (DEV) (#1733) Co-authored-by:
Katharina Seiz <Katharina.Seiz@sap.com> Co-authored-by:
AlexanderAlferov <64849422+AlexanderAlferov@users.noreply.github.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Matthias Urhahn authored
-
- Nov 26, 2020
-
-
Matthias Urhahn authored
* Update to latest stable coroutines. * Fix flaky test. Depending how how fast items emitted, some intermediate values might never be emitted.
-
- Nov 23, 2020
-
-
AlexanderAlferov authored
-
- Nov 12, 2020
-
-
Matthias Urhahn authored
* Don't rename the APK on `device` flavor builds. It breaks internal pipelines. * Better log output.
-
Matthias Urhahn authored
-
- Nov 10, 2020
-
-
Matthias Urhahn authored
* Add default app config as last resort fallback. * Change config type names and improve logging for HotDataFlow.kt * Run the app config retrieval on the app scope, otherwise UI unsubscription could cancel the app config retrieval. * Offer "identifier" property that can identify app configs such that subscribers know when it is considered changed. * Behavior change AppConfigProvider.kt, there is no caching/replay grace period, once the last subscription is gone, it's last value is cleared. * Klint ;) * Add a unit test specifically for checking the default configs checkum and parsability. * Fix test breaking on CI. * Don't check the checksum for the config loaded from assets. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Ralf Gehrer authored
* Update EN SDK to 1.7.2 (EXPOSUREAPP-3662) * Upgrade Work Manager dependencies Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Nov 03, 2020
-
-
AlexanderAlferov authored
* Test run * Test run * Test run * Clean up * Property fix * Quotes fix * merge conflict solved Co-authored-by:
BMItter <46747780+BMItter@users.noreply.github.com> Co-authored-by:
BMItter <Berndus@gmx.de>
-
BMItter authored
* moved getHash call to DeviceForTesters Flavor to satisfy CircleCI * added variant prefix
-
- Oct 30, 2020
-
-
Matthias Urhahn authored
* Initial refactoring on the Submission flow. Trimming down SubmissionViewModel.kt * Refactored submission tan, and began instrumentation tests. Intro, Dispatcher and Tan complete * Adapted instrumentation tests after merge - added ToDos * Completed boilerplate submission instrumentation tests. Verification and screenshots to follow * Fix lints * More lint issues. * Fix instrumentation test dependency missmatch. * Move screenshot related permissions into a debug AndroidManifest.xml, such that they don't get included in production builds. * Added missing new line to manifest Co-authored-by:
Oliver Zimmerman <oezimmerman@gmail.com> Co-authored-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Matthias Urhahn authored
* Allow WorkerManager's workers to be injected. * Remove static access for Playbook * Add mock for playbook so dagger can create the worker factory map.
-
- Oct 29, 2020
-
-
Alexander Alferov authored
Test pipeline config
-
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:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Oct 23, 2020
-
-
BMItter authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Oct 22, 2020
-
-
AlexanderAlferov authored
* Build.gradle signing fix * Test config.yml * Clean up Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Oct 21, 2020
-
-
AlexanderAlferov authored
Version bump
-
- Oct 20, 2020
-
-
AlexanderAlferov authored
* Added conditions for apk signing * Update testers flavour * Config fix * Disable assemble job skip * Create separate workflow * Fix config.yml * Clean up
-
- Oct 19, 2020
-
-
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:
ralfgehrer <mail@ralfgehrer.com>
-
- Oct 13, 2020
-
-
Matthias Urhahn authored
This reverts commit 86406397
-
Matthias Urhahn authored
-
Matthias Urhahn authored
* Remove URLs from gradle.properties they are now read via `prod_environment.json` * Calculate app versionName and versionCode from gradle major/minor/patch/build variables.
-