Commit graph

17818 commits

Author SHA1 Message Date
huangguiniab
9e4278a893 Translated using Weblate (Chinese (Simplified))
Currently translated at 93.2% (2068 of 2217 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-04-30 14:59:41 +00:00
Johan Smits
aa3c1bdefd Translated using Weblate (Dutch)
Currently translated at 100.0% (2217 of 2217 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-04-30 14:59:41 +00:00
SpiritCroc
099bf5a016 Fix stuck timeline for new messages
Change-Id: Id560898844438d88194a7211cac6d4db9853bceb
2022-04-29 15:30:14 +02:00
SpiritCroc
afe9c47086 Do not link in pagination direction for events at start of chunk
If we link chunks in pagination direction, and discard all events after
that, we assume that we reached a point in the chunk that is already
covered by a different chunk.
If we however haven't seen any new events in that chunk yet, chances are
this is the wrong direction we are linking. So in this case, better just
skip related events and continue processing later events - making sure
we don't lose new events and don't link in the wrong direction.

Note we could also enforce links into the opposite direction in this case.
Since in the cases I observed so far, such link already existed, so I
think this is probably not necessary.

Change-Id: Ia4d2fd87188b9757ed68416e883c3fb489cdfa6e
2022-04-29 15:29:36 +02:00
SpiritCroc
bda09aa03f Do not delete events from the last forward chunk
We get end up with missing messages by the combination of
- deleting the last forward chunk when receiving a new one
- not adding events to a chunk that are already found in another chunk

Accordingly, when using chunk tokens to load more messages, those
messages that were not added to a chunk due to a /sync chunk will get
lost. More thorough steps to reproduce:

- Receive e.g. 30 new messages while offline
- Use /sync in the room overview, this will fetch the latest 10 events
- Open a chat in the past before the latest unread messages
- Scroll down a little, in order to fill the message gap and load all
  unread messages
- Close the chat
- Receive another e.g. 60 messages while offline
- Re-open the chat at some time in the past, before the latest 70
  messages
  => messages from the old /sync chunk will be missing

Change-Id: Ia3f2d2715a3edfd0b3fe5c3d48a02ade4ea49c4d
2022-04-29 15:29:03 +02:00
SpiritCroc
99053e8467 Support inline images in the timeline
Change-Id: I4af76058b400e9a0bf7c10e4ad98b7c7fb5015c1
2022-04-29 15:28:02 +02:00
Maxime NATUREL
e82e79d7e2 Fixing code quality issues 2022-04-29 14:21:44 +02:00
Maxime NATUREL
e8556ec830 Renaming aggregated summary model 2022-04-29 14:17:35 +02:00
Maxime NATUREL
1db0e71796 Moving beacon info structure into message package 2022-04-29 14:01:01 +02:00
Maxime NATUREL
444d2c6491 Renaming message contents 2022-04-29 13:59:47 +02:00
Maxime NATUREL
3460df7ac8 Rename isLive field to isActive 2022-04-29 13:47:12 +02:00
Maxime NATUREL
f9220e4185 Adding helper method to avoid adding comment 2022-04-29 13:37:14 +02:00
ericdecanini
f70a24d257 Changes IncomingShareController display mode to FILTERED 2022-04-29 13:18:46 +02:00
Maxime NATUREL
61b1e84e61 Making eventId as primary key 2022-04-29 13:10:37 +02:00
ericdecanini
a355b625e9 Adds displayMode to RoomSummaryListController 2022-04-29 13:05:08 +02:00
ericdecanini
7cc79fef0f Refactors RoomSummaryItem 2022-04-29 12:37:19 +02:00
Benoit Marty
cbc29d0699
Merge pull request #5872 from vector-im/feature/bca/crypto_olm_faster_decrypt
olm try to decrypt with recent session first
2022-04-29 11:49:22 +02:00
Benoit Marty
271eb31162
Merge pull request #5871 from vector-im/feature/bca/fix_freeze_setup_recovery
fix doing password stretching on main thread
2022-04-29 11:21:30 +02:00
Valere
50a4d2ba0a olm try to decrypt with recent session first 2022-04-29 11:01:45 +02:00
Valere
a1e980d103 fix doing password stretching on main thread 2022-04-29 10:41:14 +02:00
Benoit Marty
7fa1af3819 Looks like ktlint and Android Studio does not order imports with the same rules :/. Let's please ktlint for the CI :/ 2022-04-29 10:05:51 +02:00
SpiritCroc
9a8efb0ef8 Increment version
Change-Id: I3a73a0e2d2956d2e7bdc8efa5a308e89f6411bb7
2022-04-29 09:50:04 +02:00
Valere
de580cc997 Fix make verif scope as a child of crypto scope 2022-04-29 09:42:56 +02:00
Olivér Falvai
042ec3628f Extract text size to style 2022-04-28 19:02:48 +02:00
Maxime NATUREL
a2aafb9b6b Fixing code quality issues 2022-04-28 17:16:13 +02:00
Maxime NATUREL
4f1596d105 Removing TODOs 2022-04-28 17:03:17 +02:00
Benoit Marty
2a8134af89 Ensure voice call menu item is visible to the user when there is only one room member. The video call menu item is already visible (for other previous reason). 2022-04-28 16:55:46 +02:00
Maxime NATUREL
779cbc8c08 Realm migration 2022-04-28 16:43:47 +02:00
Benoit Marty
f48be229c8 Fix issue with ignored users. Preference Category and Preference title have the same value. 2022-04-28 16:39:59 +02:00
Maxime NATUREL
ec2525a8fa Adding changelog entry 2022-04-28 15:02:28 +02:00
Maxime NATUREL
6e68a5187e Fixing wrong timestamp unit for location event 2022-04-28 14:51:02 +02:00
Benoit Marty
f6fa794a18 Restore voice call test (was fixed in #5847) 2022-04-28 14:40:11 +02:00
Maxime NATUREL
65724fbdd4 Mapping between entity/model 2022-04-28 14:36:23 +02:00
Maxime NATUREL
f283a95c03 Implementing aggregation processor methods 2022-04-28 14:24:17 +02:00
ericdecanini
7e415e82b0 Fixes lint error 2022-04-28 12:37:54 +02:00
Maxime NATUREL
b788a82d0d Adding live summary entity into annotation entity 2022-04-28 12:10:39 +02:00
ericdecanini
962e9abc6b Fixes lint error 2022-04-28 12:04:54 +02:00
ericdecanini
4784717b0c Fixes lint error 2022-04-28 12:02:04 +02:00
Maxime NATUREL
25ca50c7bd Fix final members in Entity 2022-04-28 11:58:49 +02:00
ericdecanini
b280358077 Adds more named arguments to RoomSummaryUpdater 2022-04-28 11:55:44 +02:00
ericdecanini
33475602f8 Adds canonical named argument to RoomSummaryUpdater 2022-04-28 11:54:51 +02:00
ericdecanini
87ad35dca6 Disables typing indicator in filtered search 2022-04-28 11:46:02 +02:00
ericdecanini
70cded2733 Adds user id and canonical alias to search result subtitles 2022-04-28 11:12:47 +02:00
Benoit Marty
3bcfd7c103 Fix tests 2022-04-28 11:03:46 +02:00
Benoit Marty
c2993a2a04 Fix long line 2022-04-28 10:52:11 +02:00
Benoit Marty
2ce92f0d41 Fix wrong copyright 2022-04-28 10:50:47 +02:00
ericdecanini
9e53e6cc8f Adds space name to rooms in filtered search 2022-04-28 10:41:40 +02:00
Adam Brown
cd52df5d2e
Merge pull request #5785 from vector-im/feature/adm/ftue-step-ordering
FTUE - Registration step ordering
2022-04-28 09:33:08 +01:00
Benoit Marty
97bee949e1 Changelog 2022-04-28 10:25:14 +02:00
Benoit Marty
246480eaed Changelog 2022-04-28 10:17:29 +02:00