Commit graph

22048 commits

Author SHA1 Message Date
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
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
ganfra
60ebc0dccb
Update build.yml to fix checkout on main 2023-02-23 10:05:45 +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
24e1740a8a
Merge pull request #8151 from vector-im/fix/mna/edited-reply-parsing
[Timeline]: Editing a reply from iOS breaks the "in reply to" rendering (PSG-1168)
2023-02-22 10:48:25 +01:00
Maxime NATUREL
7938eac490
Merge pull request #8154 from vector-im/dependabot/gradle/com.otaliastudios-transcoder-0.10.5
Bump com.otaliastudios:transcoder from 0.10.4 to 0.10.5
2023-02-22 10:42:46 +01:00
dependabot[bot]
e9a2cf4834
Bump com.posthog.android:posthog from 2.0.1 to 2.0.2 (#8155)
Bumps [com.posthog.android:posthog](https://github.com/PostHog/posthog-android) from 2.0.1 to 2.0.2.
- [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.1...2.0.2)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-22 08:44:53 +01:00
dependabot[bot]
77807de811
Bump com.otaliastudios:transcoder from 0.10.4 to 0.10.5
Bumps [com.otaliastudios:transcoder](https://github.com/natario1/Transcoder) from 0.10.4 to 0.10.5.
- [Release notes](https://github.com/natario1/Transcoder/releases)
- [Commits](https://github.com/natario1/Transcoder/compare/v0.10.4...v0.10.5)

---
updated-dependencies:
- dependency-name: com.otaliastudios:transcoder
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-21 23:57:25 +00:00
ganfra
9541d75d3f
Merge pull request #8152 from vector-im/feature/fga/fix_timeline_position_loss
Fix always jumps to the bottom of the timeline #8090
2023-02-21 14:51:21 +01:00
ganfra
84cb6e74f2 Fix always jumps to the bottom of the timeline #8090 2023-02-21 11:47:09 +01:00
Maxime NATUREL
6bd150d4cd
Merge pull request #8144 from vector-im/feature/mna/user-location-in-loc-sharing
[Location sharing] Show own location in map views
2023-02-20 16:34:37 +01:00
Maxime NATUREL
ac0bdb7dfe Ensure edited text reply contains a formatted body 2023-02-20 15:55:49 +01:00
Maxime NATUREL
db512d63df Adding changelog entry 2023-02-20 15:55:17 +01:00
Maxime NATUREL
a0bab98af9 Use dispatcher provider instead of hardcoded dispatcher 2023-02-20 10:22:10 +01:00
Maxime NATUREL
27046ed1a6 Fixing code style issue 2023-02-20 09:23:09 +01:00
dependabot[bot]
1861ab1fba
Bump flipper from 0.178.1 to 0.182.0
Bumps `flipper` from 0.178.1 to 0.182.0.

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

Updates `com.facebook.flipper:flipper-network-plugin` from 0.178.1 to 0.182.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.178.1...v0.182.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-02-17 23:58:27 +00:00
Maxime NATUREL
aa805dceca Mutualizing some code 2023-02-17 17:15:56 +01:00
Maxime NATUREL
df2c3e7c07 Check if location tracking is started before starting it 2023-02-17 17:02:05 +01:00
Maxime NATUREL
25ca598414 Adding some unit tests 2023-02-17 16:41:03 +01:00
Benoit Marty
4080f1c8b8
Merge pull request #8117 from vector-im/dependabot/gradle/dagger-2.45
Bump dagger from 2.44.2 to 2.45
2023-02-17 16:07:29 +01:00
Benoit Marty
386814eac4
Merge pull request #8142 from vector-im/yostyle/fix_sendbutton_color
Remove hardcoded color on send button
2023-02-17 15:53:11 +01:00
Maxime NATUREL
b5af6f5a0f Render user location pin on the live location sharing map preview 2023-02-17 15:31:30 +01:00
Maxime NATUREL
de50577ac3
Merge pull request #8136 from vector-im/fix/mna/poll-end-while-no-poll-start
[Poll] Improve rendering of poll end message when poll start event isn't available (PSG-1157)
2023-02-17 13:51:50 +01:00
Florian Renaud
7d16c86f37
Merge pull request #8130 from vector-im/feature/fre/poll_sync_push_rules_after_creation
[Poll] Synchronize polls and message push rules after creation (PSG-1137)
2023-02-17 13:46:13 +01:00
Florian Renaud
8bf46b136a Fix broken test 2023-02-17 12:12:55 +01:00
yostyle
4c12c0dd1f Add changelog 2023-02-17 11:32:51 +01:00
yostyle
835e1f5a4b Remove hardcoded color on send button 2023-02-17 11:17:49 +01:00
Florian Renaud
dcd43d6e7f Move push rule ids extensions to vector module 2023-02-17 10:14:33 +01:00
Florian Renaud
f887acd854
Merge pull request #8114 from vector-im/feature/fre/poll_new_push_rules
[Poll] Synchronize polls push rules with message push rules (PSG-954)
2023-02-17 10:03:53 +01:00
Kat Gerasimova
3bb19838a4 Don't run tests on changes to .github/*
If a PR is only touching files in the .github directory, there's no need to run tests on the app
2023-02-16 18:22:08 +00:00
Maxime NATUREL
f676a65544 Show locate button only when current user is not sharing live location 2023-02-16 17:51:54 +01:00
jonnyandrew
a8ba3aa9c1
Build unmerged APKs on pull request (#8044) 2023-02-16 16:49:52 +00:00
Maxime NATUREL
8eff831382 Adding locate button view on the map for live location preview 2023-02-16 17:34:47 +01:00
Maxime NATUREL
2ae6cd40c7
Merge pull request #8126 from vector-im/fix/mna/poll-votes-aggregation
[Poll] Fix votes aggregation process (PSG-1153)
2023-02-16 17:29:45 +01:00
Maxime NATUREL
81cb0d40c6 Updating the pin for user location 2023-02-16 16:47:02 +01:00
Maxime NATUREL
a4211d8482 Rendering the user location pin 2023-02-16 16:12:28 +01:00
Maxime NATUREL
d23636900f Adding button to get user current location in static location sharing preview 2023-02-16 15:32:02 +01:00
dependabot[bot]
2dd90aa07f
Bump io.sentry:sentry-android from 6.13.0 to 6.14.0 (#8138)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.13.0 to 6.14.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.13.0...6.14.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-16 13:56:19 +01:00
Jorge Martin Espinosa
a358644354
Fix ktlint issue that was accidentally merged (#8139) 2023-02-16 11:14:15 +00:00
Maxime NATUREL
a3a616d8df Adding changelog entry 2023-02-16 12:02:19 +01:00
Benoit Marty
2453f2cee0
Merge pull request #8115 from luixxiul/localization-3
Replace 'Use Bots' with 'Use bots' for localization experience on Weblate
2023-02-16 10:16:23 +01:00
Benoit Marty
e8ea5388b9
Merge pull request #8123 from vector-im/hughns/msc3903-v2
Support for v2 of MSC3903
2023-02-16 09:36:40 +01:00
Benoit Marty
ad7e466fb8
Merge pull request #8133 from vector-im/dependabot/gradle/org.jlleitschuh.gradle.ktlint-11.2.0
Bump org.jlleitschuh.gradle.ktlint from 11.1.0 to 11.2.0
2023-02-15 16:59:33 +01:00
Benoit Marty
067e316969 Merge branch 'hotfix/1.5.25' into develop 2023-02-15 15:26:02 +01:00
Benoit Marty
3a25743ded Merge hotfix 1.5.25 2023-02-15 15:25:40 +01:00
Benoit Marty
4cf78795bd Add extra cases. 2023-02-15 15:06:34 +01:00