Commit Graph

17703 Commits

Author SHA1 Message Date
Maxime NATUREL 33714b850f Make the status bar only visible in rooms where there is an active live 2022-07-19 14:43:33 +02:00
Maxime NATUREL d2d24cbcbe Adding a changelog entry 2022-07-19 14:43:33 +02:00
Maxime NATUREL 82391aa281 Replacing ViewEvent by a ViewState property 2022-07-19 14:43:33 +02:00
ericdecanini f9580e6cd5 Fixes error in RealmSessionStoreMigration 2022-07-19 14:12:56 +02:00
Maxime NATUREL b2d7ef9fbf Re-arranging imports 2022-07-19 14:06:19 +02:00
Maxime NATUREL 7961525869 Unit tests: adding verification that redaction does not happen when event id is empty 2022-07-19 14:06:19 +02:00
Maxime NATUREL 2121ec5739 Moving use case to check if event is redacted into a dedicated package 2022-07-19 14:06:19 +02:00
Maxime NATUREL 99fc4b4a21 Simplify logic of the use case to check if event can be redacted 2022-07-19 14:06:18 +02:00
Maxime NATUREL 667b30f145 Refactoring redact task unit tests 2022-07-19 14:06:18 +02:00
Maxime NATUREL 7b15193eff Renaming a method to reflect its implementation 2022-07-19 14:06:18 +02:00
Maxime NATUREL 17227f1ae6 DB migration 2022-07-19 14:06:16 +02:00
Maxime NATUREL 1277376496 Fix missing handling of redacted beacon location data events 2022-07-19 14:05:13 +02:00
Maxime NATUREL 8fb402ab10 Stop sharing live location if live is redacted 2022-07-19 14:05:13 +02:00
Maxime NATUREL 63626b79de Redact beacon info event first to refresh timeline faster 2022-07-19 14:05:13 +02:00
Maxime NATUREL f6415b0a5d Deleting summaries related to a redacted live location sharing 2022-07-19 14:05:13 +02:00
Maxime NATUREL d3ad8d8deb Prune event entity when redacted 2022-07-19 14:05:13 +02:00
Maxime NATUREL 391bf842b4 Calling usecase to redact live location share event 2022-07-19 14:05:13 +02:00
Maxime NATUREL 237a5a18f3 Adding new method in location sharing service to redact a live location share 2022-07-19 14:05:13 +02:00
Maxime NATUREL c9273dd067 Adding task to redact live location share related events 2022-07-19 14:05:13 +02:00
Maxime NATUREL c404454cd7 Adding related event ids of live in entity 2022-07-19 14:05:13 +02:00
Maxime NATUREL bad4eba153 Remove non necessary @MainThread annotations 2022-07-19 14:05:13 +02:00
Maxime NATUREL e26759fa89 Adding changelog entry 2022-07-19 14:05:13 +02:00
Maxime NATUREL c095cc73ce Introducing use case to check if an event can be redacted 2022-07-19 14:05:13 +02:00
Maxime NATUREL 9c619001a5 Updating string value for redacted event to be more consistent 2022-07-19 14:04:09 +02:00
Maxime NATUREL 4a5fe3c0f9 Fix the criteria to start merging redacted events 2022-07-19 14:04:09 +02:00
Maxime NATUREL fe4174f005 Small improvements in code 2022-07-19 14:04:08 +02:00
Maxime NATUREL c9794d8280 Small fixes in comments 2022-07-19 14:04:08 +02:00
Maxime NATUREL b412b9f4e9 Merging redacted events by reusing existing mechanism for same type events 2022-07-19 14:04:08 +02:00
Maxime NATUREL 8d8ee051eb Improve readability of merged Header factory code 2022-07-19 14:04:08 +02:00
Maxime NATUREL 578d90e463 Adding changelog entry 2022-07-19 14:04:08 +02:00
Onuray Sahin c408f824d3 Code review fixes. 2022-07-19 14:58:00 +03:00
ericdecanini 6f9b5c010d Deletes migration test 2022-07-19 13:49:21 +02:00
Eric Decanini 221cb24de8
Merge pull request #6584 from vector-im/task/eric/new_layout_feature_flag
Adds NewAppLayoutEnabled Feature Flag
2022-07-19 12:24:16 +01:00
Benoit Marty 246307ab98
Merge pull request #6592 from vector-im/feature/bma/fix_nightly
Fix error when building `./gradlew assembleGplayNightly`
2022-07-19 12:59:51 +02:00
Benoit Marty 758f0398bd Fix error when building ``./gradlew assembleGplayNightly`. Just reordering lines...
Error was `No matching client found for package name 'im.vector.app'`
2022-07-19 12:50:47 +02:00
Onuray Sahin 493dc57a29 Code review fixes. 2022-07-19 13:41:00 +03:00
Benoit Marty 4d4dbc958b
Merge pull request #6590 from vector-im/bugfix/nfe/missing_font_scale_setting
fixed crash when system font scale setting isn't set
2022-07-19 12:30:38 +02:00
Onuray Sahin 8b6e4dd4d4
Merge pull request #6579 from vector-im/feature/ons/fix_remove_live_location_logs
Do not log the live location of the user (PSG-63)
2022-07-19 12:18:58 +03:00
ericdecanini e926871570 Merge remote-tracking branch 'origin/develop' into task/eric/replace_flatten_with_direct_parent
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
2022-07-19 11:17:14 +02:00
ericdecanini 2f408656a7 Changes vector override to vector feature 2022-07-19 10:43:55 +02:00
NIkita Fedrunov f37e3b71eb fixed crash when system font scale setting isn't set 2022-07-19 10:40:14 +02:00
Benoit Marty ade1b7be8c Add some punctuation to please detekt. 2022-07-19 09:49:34 +02:00
Benoit Marty ba9c1dde32
Merge pull request #6551 from vector-im/dependabot/gradle/kotlinCoroutines-1.6.4
Bump kotlinCoroutines from 1.6.3 to 1.6.4
2022-07-18 18:27:54 +02:00
Onuray Sahin 5fb10ab287 Changelog added. 2022-07-18 18:52:37 +03:00
Onuray Sahin e2cd75284f Check user power level before sharing live location. 2022-07-18 18:46:03 +03:00
Benoit Marty b0237a4e22
Merge pull request #6538 from vector-im/feature/bma/more_migration_log
More DB migration log
2022-07-18 17:24:25 +02:00
Benoit Marty 428942d407 Changelog 2022-07-18 17:22:49 +02:00
Benoit Marty 3f8cbd1b9c Create a parent `MatrixRealmMigration` and improve the logs. 2022-07-18 17:22:49 +02:00
Benoit Marty ae8f977d6b Log the end of the migration and it's duration 2022-07-18 17:21:49 +02:00
ericdecanini b769eafcc3 Adds changelog file 2022-07-18 16:57:54 +02:00