Commit graph

18018 commits

Author SHA1 Message Date
Benoit Marty
40f8d94954 Detekt: Use require() instead of throwing an IllegalArgumentException. [UseRequire] 2022-07-19 15:02:21 +02:00
Benoit Marty
b4f833cb0d Detekt: disable rule InstanceOfCheckForException 2022-07-19 15:02:21 +02:00
Benoit Marty
50b7f3ef2c Ad group io.github.davidburstrom.contester for detekt 1.21.0 2022-07-19 15:02:21 +02:00
dependabot[bot]
6ed36e804b Bump io.gitlab.arturbosch.detekt from 1.20.0 to 1.21.0
Bumps io.gitlab.arturbosch.detekt from 1.20.0 to 1.21.0.

---
updated-dependencies:
- dependency-name: io.gitlab.arturbosch.detekt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-19 15:02:21 +02:00
ericdecanini
cc1e1fe8eb Enables trailing comma editor config 2022-07-19 14:51:07 +02:00
Benoit Marty
70c62233d0
Merge pull request #6569 from vector-im/feature/adm/ftue-copy-review
FTUE - Copy review
2022-07-19 14:49:28 +02:00
Benoit Marty
70c8703b2b
Merge pull request #6545 from vector-im/feature/adm/ftue-combined-register-copy-review
FTUE - Combined register copy review
2022-07-19 14:44:29 +02:00
Maxime NATUREL
ecbd2d48a7 Replacing callback by a SharedFlow to notify of roomIds updates 2022-07-19 14:43:33 +02:00
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