Commit graph

13741 commits

Author SHA1 Message Date
Adam Brown
343b8bf08d
Incrementing schema version - fixes pre-release launch crash (#5245)
* updating the schema version to 25 to reflect the latest migration
* adding changelog entry
2022-02-16 12:29:08 +00:00
NIkita Fedrunov
29088acdb3 Code review fixes 2022-02-16 13:04:28 +01:00
Adam Brown
3c226002a0 adding changelog entry 2022-02-15 16:24:22 +00:00
Adam Brown
d99a2f8d14 creating and passing stored user properties on post hog initialisation
- this allows information captured during the onboarding to be sent once the user has opt'd in
2022-02-15 16:03:21 +00:00
Adam Brown
3236d87323 inlining posthog creation and removing eager optout and identify calls as the backing values are null which means they aren't actually being called 2022-02-15 15:39:05 +00:00
Adam Brown
e36e67c54c adding unit tests around the analytics impl 2022-02-15 15:16:24 +00:00
Adam Brown
837caabcec providing the posthog creation and analytics config via hilt in order to make the analytics impl testable 2022-02-15 12:51:21 +00:00
Adam Brown
f1f8f51805 lifting the global scope to a provide to allow for unit testing the analytics impl 2022-02-15 12:30:55 +00:00
Adam Brown
580ecc9c44 adding lateinit user property factory for use when calling the initial identify tracking
- this will allow us send the pending onboarding properties once consent is given
2022-02-15 12:19:39 +00:00
Benoit Marty
6c4f389342
Merge pull request #5203 from vector-im/feature/dla/fix_consult_transfer
Call transfer with consult fails to make outgoing consultation call.
2022-02-14 19:54:09 +01:00
Adam Brown
5b851f1cb7 suppressing deprecated warning on an unused method 2022-02-14 16:33:35 +00:00
Benoit Marty
ffd2a762af Let the Activity that created the result intent deserialize it. 2022-02-14 17:07:52 +01:00
Adam Brown
8e0f5802f9 Merge branch 'feature/adm/decouple-matrix-creation' of github.com:vector-im/element-android into feature/adm/decouple-matrix-creation 2022-02-14 16:05:00 +00:00
Adam Brown
95df3e7e2b deprecating the Matrix.initialize and Matrix.getInstance entry points in favour of clients controlling their own instances 2022-02-14 16:04:47 +00:00
Adam Brown
d05af1cb04 providing more alternatives when Matrix.getInstance fails 2022-02-14 15:54:05 +00:00
Benoit Marty
88ecfa3678 Fix compilation issue, Screen has been renamed to MobileScreen
Also manually delete WebScreen, which does not compile. Will have to fix that upstream.
2022-02-14 16:40:11 +01:00
Benoit Marty
b18a873cf7
Merge pull request #5228 from vector-im/feature/adm/robot-documentation
Adding UI test docs section for contributing to the sanity tests
2022-02-14 14:48:31 +01:00
Adam Brown
2eb417ab05
Update matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/Matrix.kt
Co-authored-by: Benoit Marty <benoitm@matrix.org>
2022-02-14 13:41:40 +00:00
Adam Brown
2f7f86b8bb
Update matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/Matrix.kt
Co-authored-by: Benoit Marty <benoitm@matrix.org>
2022-02-14 13:41:27 +00:00
Benoit Marty
43d6a29ff3
Merge pull request #5208 from vector-im/feature/adm/personalisation-capabilities
MSC3283 - Supporting additional homeserver capabilities
2022-02-14 14:27:26 +01:00
Adam Brown
fd2d9287e7 creating separate creator for the matrix instance to avoid ambiguous non singleton/duplicated singleton usages
- also documents the static methods
2022-02-14 12:46:16 +00:00
Adam Brown
674aea97a8 injecting the room name provider as we're within hilts scope 2022-02-14 12:30:47 +00:00
Adam Brown
fed549f647 reusing refresh extension 2022-02-14 12:05:57 +00:00
Adam Brown
4519dec7eb scheduling a refresh of the homeserver capabilities on introduction of new fields 2022-02-14 12:05:44 +00:00
Adam Brown
62d9c81420 adding UI docs section for contributing to the sanity tests
- explaining the robot pattern and giving examples
2022-02-14 11:58:57 +00:00
Benoit Marty
3547926c25
Merge pull request #5172 from vector-im/sync-emojis
Sync Emojis
2022-02-14 11:43:21 +01:00
Benoit Marty
13f78831f0
Merge pull request #5216 from TheLastProject/patch-1
Increase max heap size for build
2022-02-14 11:23:03 +01:00
Benoit Marty
36d841b884
Merge pull request #5196 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.43
Bump libphonenumber from 8.12.42 to 8.12.43
2022-02-14 11:19:41 +01:00
bmarty
c89a107ca6 Sync analytics plan 2022-02-14 00:05:49 +00:00
bmarty
ff1c307ca0 Sync Emojis 2022-02-14 00:03:37 +00:00
Sylvia van Os
91a4195537 Increase max heap size for build
The F-Droid build ran OOM during R8 shrinking with 3GB, but worked fine with 4GB

Signed-off-by: Sylvia van Os <sylvia@hackerchick.me>
2022-02-12 15:18:53 +01:00
Adam Brown
d6a08a9249
Merge pull request #5210 from vector-im/michaelk/standardise_emulator_usage
Standardise configuration options for emulators in GHA integration tests
2022-02-11 17:11:58 +00:00
Adam Brown
d19e6d290f
Merge pull request #5209 from vector-im/michaelk/reduce_debug_logging_loop
Reduce verbosity of CleanupSession debug logs.
2022-02-11 16:28:26 +00:00
Adam Brown
e6415a47ea
Merge pull request #5188 from vector-im/gradlew-update-7.4
Update Gradle Wrapper from 7.3.3 to 7.4
2022-02-11 16:28:00 +00:00
Michael Kaye
d173a8d15f changelog.d 2022-02-11 15:32:33 +00:00
Michael Kaye
c224a4b813 Make sanity_test.yml use same configuration as integration_test.yml
This makes it easier to reason about emulator failures.
2022-02-11 15:28:16 +00:00
Michael Kaye
edd95464ea changelog.d 2022-02-11 14:31:28 +00:00
Adam Brown
ea13f1c879
Merge pull request #5189 from vector-im/arb/issues/4640
#4640 : The notification badge jumps around
2022-02-11 14:18:41 +00:00
ganfra
f1376eac82
Merge pull request #5204 from vector-im/feature/fga/reactions_ui_improvements
Feature/fga/reactions UI improvements
2022-02-11 15:17:44 +01:00
Adam Brown
83cc88060a adding changelog entry 2022-02-11 12:48:42 +00:00
Adam Brown
d8d6358d15 adding support for the homeserver display name and avatar capabilities
- MSC3283 https://github.com/matrix-org/synapse/pull/11933
- includes session database migration
2022-02-11 12:48:42 +00:00
ganfra
0a52651e40 Reactions: update after remarks 2022-02-11 13:01:34 +01:00
Adam Brown
a5f4413f6c using a generic boolean capability model for booleans 2022-02-11 11:52:41 +00:00
Adam Brown
5af56f6b5d
Merge pull request #5134 from vector-im/feature/bma/realmMigrations
Refactor realm migrations
2022-02-11 11:50:50 +00:00
David Langley
6fd47594d4 formatting 2022-02-11 11:15:16 +00:00
Ahmed Radhouane Belkilani
85414fa92e #4640
- update changelog file.

Signed-off-by: Ahmed Radhouane Belkilani <arbelkilani@gmail.com>
2022-02-11 11:45:39 +01:00
Ahmed Radhouane Belkilani
a9a1532e01 #4640
- change unread counter badge view in item_room to be in consistent place on the screen, to left of date/time.
 - change unread badge color state for dark and light theme to align with iOS.
 - add changelog file related to the issue.

Signed-off-by: Ahmed Radhouane Belkilani <arbelkilani@gmail.com>
2022-02-11 11:45:39 +01:00
Michael Kaye
f44f37629a Reduce verbosity of CleanupSession debug logs.
Currently we wait up to 10s for this operation to complete.

Replacing the two log lines with three, lets us halve the number of logs printed every 10ms,
but always print exactly one log line each iteration of the loop. Rather than:

```
02-10 19:58:48.880  3140  3140 D CleanupSession: Wait for all Realm instance to be closed (29 - 0)
02-10 19:58:48.880  3140  3140 D CleanupSession: Waiting 10ms
02-10 19:58:48.890  3140  3140 D CleanupSession: Wait for all Realm instance to be closed (29 - 0)
02-10 19:58:48.890  3140  3140 D CleanupSession: Waiting 10ms
02-10 19:58:48.900  3140  3140 D CleanupSession: Wait for all Realm instance to be closed (29 - 0)
02-10 19:58:48.900  3140  3140 D CleanupSession: Waiting 10ms
02-10 19:58:48.910  3140  3140 D CleanupSession: Wait for all Realm instance to be closed (29 - 0)
02-10 19:58:48.910  3140  3140 D CleanupSession: Waiting 10ms
02-10 19:58:48.920  3140  3140 D CleanupSession: Wait for all Realm instance to be closed (0 - 0)
```

We'll print:

```
02-10 19:58:48.880  3140  3140 D CleanupSession: Waiting 10ms for all Realm instance to be closed (29 - 0)
02-10 19:58:48.890  3140  3140 D CleanupSession: Waiting 10ms for all Realm instance to be closed (29 - 0)
02-10 19:58:48.900  3140  3140 D CleanupSession: Waiting 10ms for all Realm instance to be closed (29 - 0)
02-10 19:58:48.910  3140  3140 D CleanupSession: Waiting 10ms for all Realm instance to be closed (29 - 0)
02-10 19:58:48.920  3140  3140 D CleanupSession: Finished waiting for all Realm instance to be closed (0 - 0)
```

The above example took 40ms to finish and saved 4 log lines; you can see how it adds up if you take 10000ms to finish.
2022-02-11 09:06:47 +00:00
noantiq
7c2800f47f Translated using Weblate (German)
Currently translated at 100.0% (49 of 49 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/
2022-02-10 23:27:23 +00:00
random
617a03abf6 Translated using Weblate (Italian)
Currently translated at 100.0% (2785 of 2785 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-02-10 23:27:22 +00:00