Commit graph

13124 commits

Author SHA1 Message Date
Benoit Marty
d82743eeab
Merge pull request #4995 from vector-im/feature/fre/fix_retry_delay_on_429
Do not auto-retry on 429 in case of too long retry delay
2022-01-20 14:31:29 +01:00
Benoit Marty
a01f002b04
Merge pull request #5007 from kittykat/delight
Fix conditional for Delight issue automation
2022-01-20 14:29:48 +01:00
SpiritCroc
af34399135 Speed up event match regex evaluation for big messages
`regex.containsMatchIn()` for `.*@room.*` can take significantly longer
than checking for `@room` (some real-world events I was getting took
around 15 seconds with this, significantly slowing down the sync
parsing).

Checking `containsMatchIn()` does not lead to different results when
having leading and trailing stars however, it will match in the same
cases as when these are omitted.

For testing purposes, I sent myself some Lorem Ipsum with 5000 words
(not containing any @room).
Without this change, the regex evaluation takes about 16 seconds.
With this change, the regex evaluation now takes significantly less then
a second.
2022-01-20 12:16:34 +01:00
ariskotsomitopoulos
e0630ceac0 Fix mentions UI within threads 2022-01-20 13:02:35 +02:00
Ekaterina Gerasimova
eebb7003ca Fix conditional for Delight issue automation
Changelog entry 4949.misc
2022-01-20 10:48:45 +00:00
Florian Renaud
b8fa6f9ec8 Add missing import in kdoc 2022-01-20 10:50:07 +01:00
Florian Renaud
879d5eb5f6 Update kdoc 2022-01-20 10:49:02 +01:00
Benoit Marty
c40fc52ef5
Merge pull request #4999 from vector-im/feature/bma/zero_vote
Fix an error in string resource (#4997)
2022-01-20 10:38:33 +01:00
Benoit Marty
01ff85d0ea
Merge pull request #4998 from vector-im/feature/bma/command_parser
Small iteration on command parser
2022-01-20 10:30:04 +01:00
ariskotsomitopoulos
35ee72aac0 Add typealias for TimelineEvent 2022-01-20 00:50:44 +02:00
Ekaterina Gerasimova
d7b919a8a1 Enable Delight issue automation
With the new board, we can filter well enough that we can get issues
ready for a future Android developer!

Changelog entry 4949.misc
2022-01-19 21:54:38 +00:00
Benoit Marty
953f34f5e3 Fix an error in string resource (#4997) 2022-01-19 21:40:26 +01:00
Benoit Marty
e9f9c7e739 Changelog 2022-01-19 21:13:00 +01:00
Benoit Marty
6710f9320b Add some unit test for the command parser.
Not all commands are covered, could add more tests later.
2022-01-19 20:52:31 +01:00
Benoit Marty
c7dc08ef5d data class. 2022-01-19 20:40:40 +01:00
Benoit Marty
87adaee549 use sealed interface 2022-01-19 19:05:05 +01:00
Benoit Marty
4f1de34d4c Small cleanup 2022-01-19 19:03:25 +01:00
Benoit Marty
eb4475b4d9 Command parser is not a static object anymore 2022-01-19 18:43:48 +01:00
ariskotsomitopoulos
38f193fbd5 Add LightweightSettingsStorage in sdk
Enable thread awareness when threads are disabled
Enhance enable/disable thread messages to app & sdk
Add Shared PReferences to sdk
2022-01-19 18:52:02 +02:00
Florian Renaud
9ebcb3ed52 Add changelog 2022-01-19 17:04:00 +01:00
Florian Renaud
83c961e255 Use Throwable.isLimitExceededError extension 2022-01-19 16:56:00 +01:00
Florian Renaud
fd61f07373 Do not automatically retry 429 with a too long delay 2022-01-19 16:56:00 +01:00
Adam Brown
491044b0c5
Merge pull request #4964 from vector-im/feature/adm/splash-carousel-review
Enabling FTUE splash carousel
2022-01-19 15:52:25 +00:00
Benoit Marty
73fba6a7b4
Merge pull request #4994 from tgloureiro/fix_4991
Fix EmojiPopupDismissListener not being triggered after dismissing the EmojiPopup
2022-01-19 16:12:31 +01:00
Tiago Loureiro
3c4fbce440 Add changelog 2022-01-19 12:02:47 -03:00
Tiago Loureiro
6d4a88df9d Merge branch 'fix_4991' of github.com:tgloureiro/element-android into fix_4991 2022-01-19 11:58:10 -03:00
Tiago Loureiro
4dea7131b1 Fix #4991: lifecycle should be at least started 2022-01-19 11:57:12 -03:00
Tiago Loureiro
4ad46ed4a6 Fix: lifecycle should be at least started 2022-01-19 11:56:14 -03:00
Benoit Marty
b7587d7e2d
Merge pull request #4993 from vector-im/revert-4982-dependabot/gradle/io.realm-realm-gradle-plugin-10.10.0
Revert "Bump realm-gradle-plugin from 10.9.0 to 10.10.0"
2022-01-19 15:52:07 +01:00
Benoit Marty
b71ac4d8fa
Revert "Bump realm-gradle-plugin from 10.9.0 to 10.10.0" 2022-01-19 15:51:51 +01:00
Benoit Marty
9e57263fb6 Changelog 2022-01-19 15:45:59 +01:00
Benoit Marty
c0aa0cef62 Analytics: inject analyticsTracker, it has a better scope 2022-01-19 15:24:25 +01:00
Benoit Marty
880b97cc5c Analytics: import latest plan 2022-01-19 15:21:25 +01:00
Benoit Marty
c4046990f0 Analytics: track call start and call end 2022-01-19 15:19:19 +01:00
Benoit Marty
69a9643894 Analytics: forgot password screen 2022-01-19 15:19:19 +01:00
Benoit Marty
e3c70d1bb1 Analytics: splashscreen 2022-01-19 15:19:19 +01:00
Benoit Marty
1e3733fe8e Analytics: login/register screens 2022-01-19 15:19:19 +01:00
Benoit Marty
54108b8f8d Analytics: Track some screen (#4715) 2022-01-19 15:19:19 +01:00
Benoit Marty
db3353feb5 Analytics: Track some screen (#4715) 2022-01-19 15:19:19 +01:00
Benoit Marty
13b4a58eaf Analytics: Add more screen
https://github.com/matrix-org/matrix-analytics-events/pull/11
2022-01-19 15:19:19 +01:00
Benoit Marty
67f43550ac Analytics: Fix issue with the drawer 2022-01-19 15:19:19 +01:00
Benoit Marty
f307c48dd4 Analytics: Track some screen (#4715) 2022-01-19 15:19:19 +01:00
Benoit Marty
ebd4dc0c5e Analytics: Import the plan again 2022-01-19 15:19:19 +01:00
Benoit Marty
dfb807506b Analytics: Track some screen (#4715) 2022-01-19 15:19:19 +01:00
Benoit Marty
0a08a50e11 Analytics: Framework to send screen event 2022-01-19 15:19:19 +01:00
Benoit Marty
a8c29f55f5 Analytics: Send JoinedRoom event - room preview (#4716) 2022-01-19 15:19:19 +01:00
Benoit Marty
55a6257cee Analytics: Send JoinedRoom event (#4716) 2022-01-19 15:17:54 +01:00
Benoit Marty
11f176e079 Analytics: Create extension to compute JoinedRoom.RoomSize (#4716) 2022-01-19 15:16:08 +01:00
Benoit Marty
3e125bcccf Analytics: Send the Event CreatedRoom() (#4716) 2022-01-19 15:16:08 +01:00
Benoit Marty
7a6f3cbcf7 Analytics: Send the Event Click(name = Click.Name.SendMessageButton) (#4717) 2022-01-19 15:12:41 +01:00