Commit Graph

16849 Commits

Author SHA1 Message Date
fedrunov
9f520d4e8a
track room open and room join analytics events (#5696) 2022-05-03 16:11:40 +02:00
Maxime NATUREL
3b022eee83 Adding return type description in doc of StateService 2022-05-03 15:20:06 +02:00
Maxime NATUREL
e5bb7ae5cd Return the created eventId in methods to send state events 2022-05-03 15:06:04 +02:00
Benoit Marty
2f0e4e4f3d changelog 2022-05-03 15:02:34 +02:00
Benoit Marty
cdcaf93fc7 Fix F-Droid build 2022-05-03 15:02:34 +02:00
Benoit Marty
32bc93c87d Ensure the Clock interface is used. 2022-05-03 15:02:34 +02:00
Benoit Marty
40d3203297 Use Clock interface app side 2022-05-03 15:02:34 +02:00
Benoit Marty
45526c0e3a Use Clock (SDK API change) 2022-05-03 15:02:34 +02:00
Benoit Marty
6a61e639e0 SDK: Replace usage of System.currentTimeMillis() by a Clock interface (#4562)
Sometimes move to UUID or Random numbers instead.
2022-05-03 15:02:34 +02:00
Benoit Marty
40e26900b0 Create a Clock SDK side (#4562) 2022-05-03 15:02:34 +02:00
Benoit Marty
8dd87321da
Merge pull request #5866 from vector-im/feature/bma/fix_sanity_test
Fix sanity test
2022-05-03 15:02:04 +02:00
Maxime NATUREL
d79a9c5b8b Adding changelog entry 2022-05-03 14:31:01 +02:00
Adam Brown
c09a93c171 fixes crash when accepting calls
- the event insert logic is designed to be single threaded however the scope will allow coroutine continuation which leads to unintended multiple thread access for processing and post processing
- the fix is to convert the launching to a flow which will sequentially process the launch logic on the single threaded scope
2022-05-03 12:26:13 +01:00
Adam Brown
0325754d12
Merge pull request #5884 from vector-im/sync-analytics-plan
Sync analytics plan
2022-05-03 09:18:29 +01:00
anoloth
38e652de8d Translated using Weblate (Lao)
Currently translated at 26.9% (597 of 2217 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lo/
2022-05-02 15:53:23 +00:00
chanthajohn keoviengkhone
837f49cebf Translated using Weblate (Lao)
Currently translated at 26.9% (597 of 2217 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lo/
2022-05-02 15:53:22 +00:00
Valere
2da109cb74
Merge pull request #5886 from vector-im/feature/bca/fix_graceperiod_autorageshake
Fix UISIDetector grace period bug
2022-05-02 17:50:55 +02:00
Valere
f57e20c73c make grace period configurable and reduce test duration 2022-05-02 17:19:08 +02:00
Benoit Marty
e36c57ff29 changelog 2022-05-02 15:07:35 +02:00
Maxime NATUREL
a971b19f5c Removing location info from log 2022-05-02 15:06:13 +02:00
Benoit Marty
672023e94b This is not necessary to map the EventId, it does not bring any new information. 2022-05-02 15:01:02 +02:00
Maxime NATUREL
1720dc1fac Removing non necessary fields when mapping from DB model 2022-05-02 14:23:24 +02:00
Maxime NATUREL
3201308125 Renaming other timestamps with shorter names 2022-05-02 14:05:05 +02:00
Maxime NATUREL
11ebab094b Fixing aggregation and adding debug logs 2022-05-02 12:24:30 +02:00
Maxime NATUREL
0f415a56dd Using .wip extension for changelog entry 2022-05-02 12:20:17 +02:00
Maxime NATUREL
0fc2352c07 Adding docs to describe message contents 2022-05-02 11:21:41 +02:00
Maxime NATUREL
a27569770b Renaming timestamp fields 2022-05-02 11:10:36 +02:00
Valere
d0bff5000c Fix UISIDetector grace period bug 2022-05-02 10:10:29 +02:00
chagai95
ac7dd2cef3
Create 5885.bugfix 2022-05-02 09:13:46 +02:00
chagai95
5f1aad76e6
don't pause timer when call is held
This is also the way it is implemented in web and the correct way
2022-05-02 09:11:47 +02:00
anoloth
99765bbcfd Added translation using Weblate (Lao) 2022-05-02 06:14:27 +00:00
bmarty
cd6807d9b2 Sync analytics plan 2022-05-02 00:03:56 +00:00
John Doe
5fecb1cb97 Translated using Weblate (Spanish)
Currently translated at 95.2% (2111 of 2217 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2022-05-01 21:10:37 +00:00
Kominak Halalu
6e984ef68b Translated using Weblate (Bengali)
Currently translated at 0.1% (1 of 2217 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/bn/
2022-04-30 14:59:41 +00:00
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
Maxime NATUREL
61b1e84e61 Making eventId as primary key 2022-04-29 13:10:37 +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