Commit graph

7443 commits

Author SHA1 Message Date
Benoit Marty
eeeab1dd0e Give analytics to Activities and Fragments 2021-12-02 14:10:03 +01:00
Benoit Marty
42d987f8ef Analytics: Fix a crash, cannot create several time a PostHog client 2021-12-02 14:10:03 +01:00
Benoit Marty
2968be2233 Analytics: Fix a race condition 2021-12-02 14:10:03 +01:00
Benoit Marty
24a6080090 Analytics: Improve logs 2021-12-02 14:10:03 +01:00
Benoit Marty
55c7270ef2 Analytics: Create PostHog client only when user has given their consent 2021-12-02 14:10:03 +01:00
Benoit Marty
be2637c426 Analytics: enable some logs 2021-12-02 14:10:03 +01:00
Benoit Marty
805fcb6bd3 Analytics: explicitly optOut, maybe useful for stats captured automatically. 2021-12-02 14:10:03 +01:00
Benoit Marty
622483cf9f Analytics: cleanup 2021-12-02 14:10:03 +01:00
Benoit Marty
a8108f2e17 Analytics: simpler API 2021-12-02 14:10:03 +01:00
Benoit Marty
869b5ad55b Analytics: add setting section 2021-12-02 14:10:03 +01:00
Benoit Marty
4c7ccfb438 Analytics: fix a swap in URL and add API keys 2021-12-02 14:10:03 +01:00
Benoit Marty
530f4a8851 Analytics: sign out 2021-12-02 14:10:03 +01:00
Benoit Marty
a3173d89e5 Analytics: manage account data 2021-12-02 14:10:03 +01:00
Benoit Marty
8752fe1e69 Analytics: observe the store and react 2021-12-02 14:10:03 +01:00
Benoit Marty
995e1e3d49 Analytics: add screen API 2021-12-02 14:10:03 +01:00
Benoit Marty
5c5a547aeb Analytics: add capture API 2021-12-02 14:10:03 +01:00
Benoit Marty
b33cddf0e3 Analytics: add PostHog library 2021-12-02 14:10:03 +01:00
Benoit Marty
8608230fa0 Analytics: add config to build.gradle 2021-12-02 14:10:03 +01:00
Benoit Marty
5606a5bfe7 Analytics: ask user consent at startup (we may iterate later) 2021-12-02 14:10:03 +01:00
Benoit Marty
b68e9e1f7f Analytics: setup the first classes 2021-12-02 14:10:03 +01:00
Benoit Marty
fa256cca25
Merge pull request #4603 from vector-im/feature/aris/remove_not_needed_job_cancel_4602
There is no need to call job.cancel() when we are using viewModelScope()
2021-12-01 18:24:06 +01:00
ariskotsomitopoulos
578a012f93 Remove unused onCleared() from viewModels 2021-12-01 16:04:56 +00:00
Benoit Marty
f80069604c Version++ 2021-12-01 17:03:00 +01:00
Benoit Marty
9253a3664b
Merge pull request #4607 from vector-im/feature/bma/cursor_crash
Add robustness when getting data from cursors.
2021-12-01 16:48:50 +01:00
Adam Brown
81ee141330 only converting the voice messages when we're sending them
- stops us from eagerly converting to .ogg on android L and below devices whilst the draft phase/playback phase is ongoing, fixes unexpected .ogg when playing drafts
2021-12-01 15:18:24 +00:00
Benoit Marty
84f7eb29e0 Add robustness when getting data from cursors.
Use androidx.core.database extension for better nullability check, and ignore uncomplete data.
2021-12-01 16:09:12 +01:00
ariskotsomitopoulos
9f1e327fa5 There is no need to call job.cancel() when we are using viewModelScope() 2021-12-01 13:15:03 +00:00
Weblate
9726e258b5 Merge branch 'origin/develop' into Weblate. 2021-12-01 10:38:05 +00:00
Fjoerfoks
c855465e62 Translated using Weblate (Frisian)
Currently translated at 49.7% (1339 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-30 20:25:58 +00:00
Benoit Marty
3a8fd42513
Merge pull request #4558 from vector-im/feature/adm/voice-draft
Adding support for voice drafts
2021-11-30 20:44:49 +01:00
Benoit Marty
02a609164c
Merge pull request #4592 from vector-im/feature/aris/epoxy_controller_init_improvement
Feature/aris/epoxy controller init improvement
2021-11-30 18:50:32 +01:00
ariskotsomitopoulos
3f29130332 Remove requestModelBuild() from epoxy Controllers init block 2021-11-30 17:06:47 +00:00
Benoit Marty
9d6ac08a18 Move to their own file since those class are used at different places now 2021-11-30 17:46:20 +01:00
Benoit Marty
b66aff457a Iterate on the consent dialog of the identity server - handle the other places. 2021-11-30 16:34:16 +01:00
Benoit Marty
3d5d9ad154 Iterate on the consent dialog of the identity server. 2021-11-30 15:46:27 +01:00
Adam Brown
aaba62813c removing unused import 2021-11-30 10:22:25 +00:00
Adam Brown
cdb5376a19 Adding support for voice drafts
- introduces a new Voice draft and sender mode type
- initializes the voice recorder with a previously recorded file (the draft)
- renames RecordingUiStates to map to their actual UI states
2021-11-30 10:22:25 +00:00
Benoit Marty
df23cc4e09
Merge pull request #4567 from vector-im/feature/adm/stuck-voip
Always showing hang up button in VOIP calls
2021-11-29 16:24:16 +01:00
Benoit Marty
7beec1c726
Merge pull request #4557 from vector-im/feature/adm/voice-keep-screen-on
Keep device screen on during voice message playback and recording
2021-11-29 14:29:30 +01:00
Benoit Marty
b59ae53805
Merge pull request #4556 from vector-im/feature/adm/voice-rotation
Supporting rotation during voice recordings
2021-11-29 11:40:55 +01:00
Benoit Marty
b889641f2b
Merge pull request #4565 from vector-im/feature/adm/dismissing-listening-for-notification-on-signout
Dismissing Fdroid variant `Listening for notifications` on sign out
2021-11-29 11:33:53 +01:00
Benoit Marty
173ccc6bd4
Merge pull request #4566 from vector-im/feature/adm/typing-emoji-leftovers
Emoji insertion leftover characters
2021-11-29 11:32:22 +01:00
Ihor Hordiichuk
31b521e925 Translated using Weblate (Ukrainian)
Currently translated at 94.7% (2549 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-11-29 09:25:54 +00:00
Szimszon
8e807be7b0 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2690 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-11-29 09:25:53 +00:00
Zet
e0ba2a26d4 Translated using Weblate (Arabic)
Currently translated at 39.5% (1065 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-11-29 09:25:52 +00:00
Adam Brown
bcbfc13f0a allowing idle and create offer call states to hang up
- fixes the CallActivity looking stuck with no way to exit the call
2021-11-26 16:40:59 +00:00
Adam Brown
7b691cc433
updating comment to mention the cursor position 2021-11-26 16:21:57 +00:00
Adam Brown
20241f852a basing the emoji ':' search on the current edit text selection to avoid always replacing the last occurrence 2021-11-26 12:05:54 +00:00
Adam Brown
dffed4445d fixing single character emoji searches retaining the original query
- not entirely sure why this works but replacing the replace with separate delete + insert commands allows the previous query to be fully removed
2021-11-26 11:57:47 +00:00
Adam Brown
4986e9713b stopping the guard service on sign out
- fixes the listening the notifications lingering around when it's not needed
2021-11-26 09:36:55 +00:00