Commit graph

22095 commits

Author SHA1 Message Date
Benoit Marty
c7928c2228
Merge pull request #8168 from SpiritCroc/chunk-roomids
matrix-sdk: Ensure correct room for events loaded by chunks
2023-03-02 13:57:59 +01:00
Benoit Marty
14cbc96e58
Merge pull request #8194 from vector-im/dependabot/gradle/flipper-0.183.0
Bump flipper from 0.182.0 to 0.183.0
2023-03-02 13:54:56 +01:00
Benoit Marty
6a56b54fdf
Merge pull request #8173 from vector-im/dependabot/gradle/glide-4.15.0
Bump glide from 4.14.2 to 4.15.0
2023-03-02 13:50:29 +01:00
Benoit Marty
2ee2afe6bd
Merge pull request #8189 from vector-im/dependabot/gradle/org.owasp-dependency-check-gradle-8.1.2
Bump org.owasp:dependency-check-gradle from 8.1.1 to 8.1.2
2023-03-02 12:36:43 +01:00
dependabot[bot]
c4a540722b
Bump org.owasp:dependency-check-gradle from 8.1.1 to 8.1.2
Bumps org.owasp:dependency-check-gradle from 8.1.1 to 8.1.2.

---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 11:14:05 +00:00
Benoit Marty
7597b85110
Merge pull request #8174 from vector-im/dependabot/gradle/androidx.transition-transition-1.4.1
Bump androidx.transition:transition from 1.2.0 to 1.4.1
2023-03-02 12:12:42 +01:00
Benoit Marty
8c495d98f1
Merge pull request #8148 from vector-im/dependabot/gradle/org.sonarsource.scanner.gradle-sonarqube-gradle-plugin-4.0.0.2929
Bump org.sonarsource.scanner.gradle:sonarqube-gradle-plugin from 3.5.0.2730 to 4.0.0.2929
2023-03-02 12:12:22 +01:00
dependabot[bot]
7388279eb7
Bump flipper from 0.182.0 to 0.183.0
Bumps `flipper` from 0.182.0 to 0.183.0.

Updates `com.facebook.flipper:flipper` from 0.182.0 to 0.183.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.182.0...v0.183.0)

Updates `com.facebook.flipper:flipper-network-plugin` from 0.182.0 to 0.183.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.182.0...v0.183.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 00:00:34 +00:00
Maxime NATUREL
0df8d54de6
Merge pull request #8190 from vector-im/fix/mna/poll-ux-review
[Poll history] Fixing small issue about font style (PSG-1178)
2023-03-01 13:42:10 +01:00
Maxime NATUREL
b0c8008fe0 Adding changelog entry 2023-03-01 10:40:53 +01:00
Maxime NATUREL
c54de67e03 Increase line spacing of the empty title in poll list screen 2023-03-01 10:29:14 +01:00
Maxime NATUREL
05c16dd09a Reducing size of the empty title in poll list screen 2023-03-01 10:08:22 +01:00
Yoan Pintas
09ad11df7f
Merge pull request #8175 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.13.7
Bump com.googlecode.libphonenumber:libphonenumber from 8.13.6 to 8.13.7
2023-02-28 15:44:33 +01:00
dependabot[bot]
8e14579886
Bump org.sonarsource.scanner.gradle:sonarqube-gradle-plugin
Bumps org.sonarsource.scanner.gradle:sonarqube-gradle-plugin from 3.5.0.2730 to 4.0.0.2929.

---
updated-dependencies:
- dependency-name: org.sonarsource.scanner.gradle:sonarqube-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 09:35:39 +00:00
dependabot[bot]
69f8715d03
Bump org.owasp:dependency-check-gradle from 8.1.0 to 8.1.1 (#8184)
Bumps org.owasp:dependency-check-gradle from 8.1.0 to 8.1.1.

---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 09:34:53 +00:00
Maxime NATUREL
fadab52ba3
Merge pull request #8182 from vector-im/dependabot/gradle/org.json-json-20230227
Bump org.json:json from 20220924 to 20230227
2023-02-28 10:31:11 +01:00
dependabot[bot]
67d25dfcd8
Bump org.json:json from 20220924 to 20230227
Bumps [org.json:json](https://github.com/douglascrockford/JSON-java) from 20220924 to 20230227.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 00:01:45 +00:00
jonnyandrew
39d9591b26
[Rich text editor] Fix code appearance (#8171)
Code does not use the correct theme colour when the theme is manually
selected in the app settings.

https://github.com/vector-im/verticals-internal/issues/23
2023-02-27 09:24:56 +00:00
dependabot[bot]
62ee6c8033
Bump com.googlecode.libphonenumber:libphonenumber from 8.13.6 to 8.13.7
Bumps [com.googlecode.libphonenumber:libphonenumber](https://github.com/google/libphonenumber) from 8.13.6 to 8.13.7.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.13.6...v8.13.7)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-24 23:59:47 +00:00
dependabot[bot]
a30e4a9d86
Bump androidx.transition:transition from 1.2.0 to 1.4.1
Bumps androidx.transition:transition from 1.2.0 to 1.4.1.

---
updated-dependencies:
- dependency-name: androidx.transition:transition
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-24 23:58:26 +00:00
dependabot[bot]
370d58e876
Bump glide from 4.14.2 to 4.15.0
Bumps `glide` from 4.14.2 to 4.15.0.

Updates `com.github.bumptech.glide:glide` from 4.14.2 to 4.15.0
- [Release notes](https://github.com/bumptech/glide/releases)
- [Commits](https://github.com/bumptech/glide/compare/v4.14.2...v4.15.0)

Updates `com.github.bumptech.glide:compiler` from 4.14.2 to 4.15.0
- [Release notes](https://github.com/bumptech/glide/releases)
- [Commits](https://github.com/bumptech/glide/compare/v4.14.2...v4.15.0)

---
updated-dependencies:
- dependency-name: com.github.bumptech.glide:glide
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.github.bumptech.glide:compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-24 23:58:00 +00:00
Maxime NATUREL
a6f7302350
Merge pull request #8159 from vector-im/feature/mna/aggregated-unread-indicator
Add aggregated unread indicator for spaces in the new layout
2023-02-24 09:56:54 +01:00
Maxime NATUREL
ef38ba033f
Merge pull request #8169 from vector-im/dependabot/gradle/com.posthog.android-posthog-2.0.3
Bump com.posthog.android:posthog from 2.0.2 to 2.0.3
2023-02-24 09:12:57 +01:00
Florian Renaud
ea635976a5
Merge pull request #8141 from vector-im/feature/fre/poll_sync_error_handling
[Poll] Error handling for push rules synchronization
2023-02-24 09:11:38 +01:00
dependabot[bot]
a331d907ce
Bump com.posthog.android:posthog from 2.0.2 to 2.0.3
Bumps [com.posthog.android:posthog](https://github.com/PostHog/posthog-android) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/PostHog/posthog-android/releases)
- [Changelog](https://github.com/PostHog/posthog-android/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-android/compare/2.0.2...2.0.3)

---
updated-dependencies:
- dependency-name: com.posthog.android:posthog
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 23:58:26 +00:00
SpiritCroc
8192bb5442 matrix-sdk: Ensure correct room for events loaded by chunks
Chunks should not load events from other rooms if they happen to be
requested for one eventId that already exists in a different room.

Motivation from a client that renders rich replies (although the
broken scenario can appear in other cases as well):

If somebody links an invalid eventId in a room, which however is valid
in a different room, this can mess up our timelines badly.
This can be reproduced by replying to an event in a room, then forward
the reply to a different room with a client that also forwards the
replied-to information (such as FluffyChat). Then click on the rich
reply to open the eventId. Previously, Android could find the event from
the other room and thus replace the correct timeline with the wrong one.

Compare e.g. https://matrix.to/#/!bfebJVBOZMnORmkVdO:matrix.org/$wUyRiMQEjaWOpJ-XpdBJzuXkh95N7bce2pVT4IMXW50?via=schildi.chat&via=matrix.org&via=envs.net
linking to an event that exists here
https://matrix.to/#/!SDwMepdfgrmExhyxYZ:schildi.chat/$MO2G4MZZ1zg0Ymc9gTfekIyw7QFkNn4OvYQKK1PAGlE

Change-Id: I4dcee94353d954fb6ed57c3970686a620b831c6f
2023-02-23 20:12:33 +01:00
Maxime NATUREL
53d03335ab Remove unused import 2023-02-23 14:18:21 +01:00
Florian Renaud
6649297ea0 restore onSessionStarted method call 2023-02-23 14:01:49 +01:00
Maxime NATUREL
2bd0126523 Extracting logic to compute the badge state into a usecase 2023-02-23 13:59:32 +01:00
Florian Renaud
85734c05aa
Merge pull request #8147 from vector-im/dependabot/gradle/flipper-0.182.0
Bump flipper from 0.178.1 to 0.182.0
2023-02-23 13:56:42 +01:00
Maxime NATUREL
f782a31592 Fix unit tests 2023-02-23 10:15:34 +01:00
ganfra
60ebc0dccb
Update build.yml to fix checkout on main 2023-02-23 10:05:45 +01:00
Florian Renaud
021babc9b1 Fix notification in encrypted room for poll end event 2023-02-23 09:24:14 +01:00
Florian Renaud
cd648a0b50 Fix unit tests 2023-02-23 09:24:14 +01:00
Florian Renaud
13866c62bf Refresh push rules settings on account data changes 2023-02-23 09:24:14 +01:00
Florian Renaud
8f56f9de46 update doc 2023-02-23 09:24:14 +01:00
Florian Renaud
84ccd30ab7 Fix wrong import 2023-02-23 09:24:13 +01:00
Florian Renaud
552c6fbbd3 Changelog 2023-02-23 09:24:13 +01:00
Florian Renaud
0d28b3a860 Handle errors when updating push rules 2023-02-23 09:24:13 +01:00
Maxime NATUREL
664fa7f952
Merge pull request #8160 from vector-im/fix/mna/pref-space-setting-visibility
Space setting category doesn't show up
2023-02-22 17:59:43 +01:00
ganfra
2aa5e6f7a0 Apply changes 2023-02-22 17:55:50 +01:00
ganfra
a98dc86e34 version++ 2023-02-22 17:51:12 +01:00
Maxime NATUREL
8861b36aba Make the setting visible when using old app layout 2023-02-22 16:09:37 +01:00
Maxime NATUREL
7062e0737c Add changelog entry 2023-02-22 16:08:59 +01:00
Maxime NATUREL
af4ab41851 Highlight the badge when there is pending space invite 2023-02-22 15:04:14 +01:00
Maxime NATUREL
1b0265662d Adding changelog entry 2023-02-22 14:50:01 +01:00
Maxime NATUREL
18c7f0d894 Remove unused import 2023-02-22 14:39:44 +01:00
Maxime NATUREL
b78da9824d Adding unit tests for NewHomeDetailViewModel 2023-02-22 14:38:35 +01:00
Maxime NATUREL
e8c95551c1 Adding unit tests for GetNotificationCountForSpacesUseCase 2023-02-22 14:19:21 +01:00
Maxime NATUREL
a509da54e8 Adding unit tests for GetSpacesUseCase 2023-02-22 11:58:26 +01:00