- May 27, 2021
-
-
Lukas Lechner authored
* Catch IndexOutOfBoundsExceptions in the DebugLogger and log out information * Fix IndexOutOfBoundsException due to censored string bounds exceeding original log message. * Fix missing censoring if log lines contain the same value multiple times. * Remove unused code. * Adjust CensoredString.censor(...) to determine the bounds always on the original. * Add test for incorrectly censored message due to changed bounds (working with bounds on the censored message, instead of original message). * Implement internal censoring collision handling within each censoring module. * Remove superfluous factory method. * Move the final censor compilation step to the DebugLogger, in case of collisions we don't need to do all the work. Re-use censor container for "per module" censoring and the "top-level" combination of all modules. * Adjust censoring for values that need to be censored, but do not overlap, each other, just touch: "<ABC><DEF>". * LINTs * Don't pass all meta data to censoring, we only need to censor the line, the metadata can be added later. No unnecessary string work. * Fix typos and docs. * Remove coerce as we work only the original. * Implement equals/hashcode for replacement actions and changed collection from LIST to SET, to prevent collisions due to duplicate replacement actions. * If a censor throws an exception, censor everything as precaution. * Fix flaky test. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
BMItter <Berndus@gmx.de> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
Kolya Opahle authored
Rapid Antigen Tests: Retrieve Test Result Timestamp from Verification Server (EXPOSUREAPP-6865) (#3287) * Added polling of sampleCollectedAt to Rat test exchange * Fixed linting unit tests and formatting * Switched from result, instant pair to CoronaTestResultResponse data class for clarity * using .copy where appropriate * Fixed unittests * Looks weird to me but ktlint wants it Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Mohamed Metwalli <mohamed.metwalli@sap.com>
-
Lukas Lechner authored
* Change Max Mustermann to Andrea Schneider in VaccinationList Screenshots * Fix Screenshot images in SubmissionDispatcherFragment * Add new screenshot for the Home Screen with 2 negative tests PCR and RAT Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Matthias Urhahn authored
* Add tests for valueset storage format. * Remove extra case and add check for reloading.
-
SAP LX Lab Service Account authored
Change-Id: I7bcf8306d7ee17b065530afd3d30345a918305f9
-
- May 26, 2021
-
-
Mohamed Metwalli authored
-
harambasicluka authored
* default strings * ignore missing translations Co-authored-by:
I502720 <axel.herbstreith@sap.com>
-
Mohamed Metwalli authored
* Parameterise correction level * Fix test * Fix instrumentation test * Update QrCodeGenerator.kt * Current config * Lint * Fix tests Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Matthias Urhahn authored
* Use last successful diagnosis key download as time reference for the deadman notification. * Use last successful diagnosis key download as time reference for the deadman notification. * Reuse mocking function. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Alex Paulescu <alex.paulescu@gmail.com>
-
Alex Paulescu authored
* OSD back button does same thing as cancel button. * Make solution isolated * Fix linting * Simplified condition. * Cancel function now works consistently with all invalid QR codes. * Renamed function. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Alexander Alferov <a.alferov@sap.com> Co-authored-by:
Juraj Kusnier <jurajkusnier@users.noreply.github.com> Co-authored-by:
Mohamed Metwalli <mohamed.metwalli@sap.com>
-
SAP LX Lab Service Account authored
Change-Id: I5d9a9846d9ff3231208570ad6d30ab2b379c60a1
-
Natalia Lemmerth authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
BMItter authored
* Change to HotDataFlow * Created test data for value sets, Adjusted storage tests, Also save null values * Adjusted repo test * Only emit when content changed * ktlint & sourcecheck * Thread safety * Return empty value set as default * detekt and sourceclean Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- May 25, 2021
-
-
Matthias Urhahn authored
Was off by 1 day to `toDateTimeAtStartOfDay` not being used on nowUTC. Reuse `getTimeUntilImmunity` in `getVaccinationStatus` Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Matthias Urhahn authored
Co-authored-by:
Mohamed Metwalli <mohamed.metwalli@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Mike McCready authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Mohamed Metwalli <mohamed.metwalli@sap.com>
-
Matthias Urhahn authored
* On low storage, the system may clean caches without asking, if the parent dir of the debuglog is deleted, writing will fail with an exception. Catch that exception, and try to recreate the path+file, otherwise fail silently. * Update logsize after retry as log could have been deleted. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
AlexanderAlferov <64849422+AlexanderAlferov@users.noreply.github.com>
-
Lukas Lechner authored
Contact Diary data is written in clear text into error log on data deletion (EXPOSUREAPP-7408) (#3261) * Censor people even after they got deleted in the contact diary * Censor people encounters even after they got deleted in the contact diary * Fix thread-safety * Censor contact diary locations even when they got deleted previously * Censor contact diary visits even when they got deleted previously * Fix lint * Censor checkIns even if they already got deleted * Censor TraceLocations even if they already got deleted * Censor RACoronaTests even if they already got deleted * Adjust RatProfileCensorTest.kt * Improve Thread-Safety of some censors * Refactor CoronaTestCensor.kt * Fix lint * Fix DiaryEncounterCensor.kt * Fix CheckInsCensorTest * Fix CensorInjectionTest.kt * Add mutex lock Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
harambasicluka authored
-
Natalia Lemmerth authored
-
- May 24, 2021
-
-
Alex Paulescu authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- May 21, 2021
-
-
axelherbstreith authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
axelherbstreith authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Matthias Urhahn authored
* Reduce config check timeout for the update checker by 50% to reduce app blocking on launch due to bad internet or firewalls. * LINT Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
harambasicluka authored
* default strings * fix missing strings * fixed german strings * ignore missing translations
-
axelherbstreith authored
Co-authored-by:
Mohamed Metwalli <mohamed.metwalli@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
SAP LX Lab Service Account authored
Change-Id: I4865b32300e40d08552407a1ee1fa18ebdc0d7fb Co-authored-by:
Mohamed Metwalli <mohamed.metwalli@sap.com>
-
harambasicluka authored
Co-authored-by:
I502720 <axel.herbstreith@sap.com>
-
Matthias Urhahn authored
* Detect censoring collision and replace whole line with placeholder. Give the debug logger an additional thread to parallelize censoring. * Smart censoring collision handling. * Tweak logging performance. * Adjusted unit tests to censoring changes. * Print stacktraces to debug log too! * Make KLINT happy * Adjust tests to changed log formatting. * Add tests for throwable formatting in debuglogger lines. * Re-enable debug tree. * Fix incorrect censoring range. We need the range of the original match, not it's replacement. * Fix duplicate new line if exceptions are logged. Co-authored-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Mohamed Metwalli <mohamed.metwalli@sap.com>
-
axelherbstreith authored
-
- May 20, 2021
-
-
Matthias Urhahn authored
* Reverse swipe-responsibility (opt-out -> opt-in) Call setupSwipe() on a RecyclerView, then any ViewHolder that implements `Swipeable` can be swiped. Previously other unrelated items were swipeable too and had to be explicitly excluded. * Remove unused extensions. Co-authored-by:
chris-cwa <69595386+chris-cwa@users.noreply.github.com> Co-authored-by:
Mohamed Metwalli <mohamed.metwalli@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
chris-cwa authored
* unit tests for vaccination server * renamed resources Co-authored-by:
BMItter <Berndus@gmx.de> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Mohamed Metwalli authored
* Tweak view binding lazy * Update VaccinationListFragment.kt Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Mike McCready authored
* Make snapshot log filename Windows compatible (replace : with _) * Modify LogSnapshotterTest for changed filename timezone and colon replacement Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Natalia Lemmerth authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
axelherbstreith authored
* aligned margins between cards * fixed image positioning * fixed image corner radius Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Mohamed Metwalli <mohamed.metwalli@sap.com>
-
Chilja Gossow authored
* align behavior of progress indicator for qr code * hide on error
-
Mohamed Metwalli authored
-
Alex Paulescu authored
Co-authored-by:
Mohamed Metwalli <mohamed.metwalli@sap.com>
-
Natalia Lemmerth authored
* UA Bugfix Privacy Policy (EXPOSUREAPP-7274) * Update privacy_en.html * Update privacy_en.html Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Mohamed Metwalli <mohamed.metwalli@sap.com>
-