Commit graph

11829 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
7c4460b812
Merge pull request #4615 from vector-im/gradlew-update-7.3.1
Update Gradle Wrapper from 7.3 to 7.3.1
2021-12-02 11:10:05 +01:00
gradle-update-robot
11d5ea71e2 Update Gradle Wrapper from 7.3 to 7.3.1.
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2021-12-02 00:12:54 +00:00
Benoit Marty
2fbb85d9e6
Merge pull request #4613 from vector-im/dependabot/gradle/org.robolectric-robolectric-4.7.3
Bump robolectric from 4.7.2 to 4.7.3
2021-12-02 00:42:04 +01:00
dependabot[bot]
6b7f9cb688
Bump robolectric from 4.7.2 to 4.7.3
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.7.2 to 4.7.3.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.7.2...robolectric-4.7.3)

---
updated-dependencies:
- dependency-name: org.robolectric:robolectric
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 23:07:55 +00: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
14f61e37d0 Merge branch 'release/1.3.9' into develop 2021-12-01 17:01:29 +01:00
Benoit Marty
67ec4ffd1b fastlane 2021-12-01 17:01:21 +01:00
Benoit Marty
d57240e3f5 towncrier 2021-12-01 16:58:42 +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
Benoit Marty
17245dc7ae
Merge pull request #4608 from vector-im/feature/adm/converting-vm-on-send
Fixed voice messages on Android 28 and below
2021-12-01 16:46:26 +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
Benoit Marty
2e52f429fb
Merge pull request #4598 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2021-12-01 12:10:14 +01: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
Benoit Marty
3f39c5dae1
Merge pull request #4587 from vector-im/feature/bma/is_consent
Iterate on user consent dialog for identity server
2021-11-30 18:22:21 +01:00
ariskotsomitopoulos
ff0cf9b394 Add changelog file 2021-11-30 17:16:53 +00: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
8fd5e426bb
Merge pull request #4572 from vector-im/dependabot/gradle/dagger-2.40.3
Bump dagger from 2.40.2 to 2.40.3
2021-11-30 10:20:48 +01:00
dependabot[bot]
7c41d3cacb
Bump dagger from 2.40.2 to 2.40.3
Bumps `dagger` from 2.40.2 to 2.40.3.

Updates `hilt-android-gradle-plugin` from 2.40.2 to 2.40.3
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.2...dagger-2.40.3)

Updates `dagger` from 2.40.2 to 2.40.3
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.2...dagger-2.40.3)

Updates `dagger-compiler` from 2.40.2 to 2.40.3
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.2...dagger-2.40.3)

Updates `hilt-android` from 2.40.2 to 2.40.3
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.2...dagger-2.40.3)

Updates `hilt-compiler` from 2.40.2 to 2.40.3
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.2...dagger-2.40.3)

---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-android-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:hilt-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:hilt-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 23:08:54 +00:00