Commit graph

12538 commits

Author SHA1 Message Date
ganfra
da47bfde2b Flow migration: remove Shortcuts process from main thread 2021-10-27 19:26:51 +02:00
Adam Brown
8525925732 lazily creating the voice directory references, avoid eagerly reading the file on the main thread 2021-10-27 18:23:39 +01:00
Adam Brown
c2ce10f89c delaying working dir creation to when its needed, lazy is sychronised by default 2021-10-27 18:23:25 +01:00
Adam Brown
8d668cc118 avoiding redundant session id filesDir opening, this provision is called multiple times each time we open a room 2021-10-27 18:23:16 +01:00
SpiritCroc
22cdb6544d [TEST] Initial force scroll only once
Change-Id: I6f5580be02fbdb13b56c5a180c124076bddcd52a
2021-10-27 18:24:45 +02:00
SpiritCroc
1fdb6923f5 Set preferred anchor position from force scroll
Change-Id: I36c071c9caf8aa0ac913aea6211fd278690dd330
2021-10-27 18:21:39 +02:00
Adam Brown
d344be5088 adding changelog entry 2021-10-27 16:44:39 +01:00
Adam Brown
63e9e07d5e using correct license for matrix-sdk test 2021-10-27 16:42:35 +01:00
SpiritCroc
395b146500 Set preferred anchor placement in chat view
Change-Id: Ie0af62d196e88f7728b3e82e79366940afd84ff2
2021-10-27 17:33:46 +02:00
SpiritCroc
eddd0a185e Allow to better control anchors in BetterLinearLayoutManager
Change-Id: Ic91a2cfbf53e5f59f395467bd020b970626d2a55
2021-10-27 17:30:55 +02:00
SpiritCroc
2d63dbbf12 Use BetterLinearLayoutManager for room detail view
Epoxy wants this to be an androidx LinearLayoutManager, or it will crash
on scroll with:

E AndroidRuntime: java.lang.ClassCastException: im.vector.app.features.home.room.detail.RoomDetailFragment$setupRecyclerView$1 cannot be cast to androidx.recyclerview.widget.LinearLayoutManager
E AndroidRuntime: 	at com.airbnb.epoxy.preload.EpoxyPreloader.onScrolled(EpoxyPreloader.kt:107)
E AndroidRuntime: 	at androidx.recyclerview.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:5347)
E AndroidRuntime: 	at androidx.recyclerview.widget.RecyclerView.scrollByInternal(RecyclerView.java:2102)
E AndroidRuntime: 	at androidx.recyclerview.widget.RecyclerView.onTouchEvent(RecyclerView.java:3531)
E AndroidRuntime: 	at android.view.View.dispatchTouchEvent(View.java:14309)
[...]

Change-Id: Iaf75f07d4309eb5bf0e58eecd6797ef33522acdd
2021-10-27 17:29:10 +02:00
SpiritCroc
a321d6a79a Import androidx LinearLayoutManager as BetterLinearLayoutManager
At version 1.2.1:
From https://android.googlesource.com/platform/frameworks/support
revision aaeb4835903077a52ade9c4b561ff34efa96a155

With changed package name, and modified to build outside of the androidx
package.

Change-Id: Id055880b3513305637f170df350611d20783931d
2021-10-27 17:21:04 +02:00
Adam Brown
611bf29ebe extending the room name resolved to create a dedicated room name data class which contains a normalized version of the room name 2021-10-27 15:25:05 +01:00
Benoit Marty
6691edb59d Remove shortcut as soon as a PIN code is set 2021-10-27 16:17:53 +02:00
ganfra
b93e67ed11 Flow migration: clean up 2021-10-27 16:12:01 +02:00
ganfra
635ca8e276 Merge branch 'develop' into feature/fga/rx_flow_migration 2021-10-27 16:05:43 +02:00
Adam Brown
9949779b62 ensuring the store migration class is always equal to other store migration instances
- is needed as realm will throw if multiple migration instances are created and they don't match
2021-10-27 15:01:26 +01:00
Adam Brown
540036f83c removing extra query definition by chaining the query creation with modifiers 2021-10-27 14:36:26 +01:00
Adam Brown
7b356484ae removing noisy log which duplicates a type clause and fixing when casing formatting to have a case per line 2021-10-27 14:34:40 +01:00
Adam Brown
e7a0a4d4ae documenting the different query cases 2021-10-27 14:33:01 +01:00
Adam Brown
dbb4a87784 making the isNormalized function an extension and internal to the sdk 2021-10-27 14:26:51 +01:00
Benoit Marty
3a48e33c81 Cache immutable value 2021-10-27 15:26:31 +02:00
SpiritCroc
e7264de893 Automatic SchildiChat string correction
Change-Id: I2fa4463aca9be72be6f1c393892be9147020a19d
2021-10-27 15:25:09 +02:00
SpiritCroc
e4f36f17a2 Automatic upstream merge postprocessing
Change-Id: I54c9b9df50bd6fb4b8cde241701c4f3e3ecb92cb
2021-10-27 15:25:08 +02:00
SpiritCroc
72a7e0677e Merge tag 'v1.3.6' into sc
Change-Id: I6fb1ef7b45ef67915a8d5bd17bf36cab90e9bf02
2021-10-27 15:25:05 +02:00
SpiritCroc
28e1c6d272 [TMP] Automatic upstream merge preparation
Change-Id: I1d67b75cd2ada1deba3008ccc75cac72881a7e1a
2021-10-27 15:24:57 +02:00
SpiritCroc
961adadbc8 Automatic revert to unchanged upstream strings, pt.1
Change-Id: I07fb96aea925e57f95d16ea92fc92dc1c672c079
2021-10-27 15:24:57 +02:00
Benoit Marty
6f577d8232 Do not show shortcuts if a PIN code is set 2021-10-27 15:24:24 +02:00
SpiritCroc
076820bb10 Fix broken video compression due to NPE in library
Library issue: https://github.com/natario1/Transcoder/issues/154

Possibly fixes
https://github.com/vector-im/element-android/issues/4337

Also add some logging for failures.
2021-10-27 15:24:17 +02:00
Benoit Marty
3a81c10062 Remove (disable) shortcut if a room is left 2021-10-27 15:13:07 +02:00
Benoit Marty
f166348a68 Ensure ShortcutsHandler get all the joined rooms #4168 2021-10-27 15:00:14 +02:00
Benoit Marty
76314b9d87 Add sortOrder: RoomSortOrder parameter, with no API break 2021-10-27 15:00:14 +02:00
Benoit Marty
9b75da5d4d Clean code 2021-10-27 15:00:14 +02:00
Adam Brown
4ae04fc297 adding normalised room display name field and making use of it when filtering rooms by name
- fixes non latin-1 character set room names from being ignored when searching with inexact casing
2021-10-27 13:09:53 +01:00
Adam Brown
d5ed95988d adding normalisation to the query string cases 2021-10-27 12:46:17 +01:00
Adam Brown
2681601d35 making value processing an injectable class, it will need to have its own dependencies to support normalisation 2021-10-27 12:30:23 +01:00
Adam Brown
72508c61d9 porting QueryStringValue to sealed interface with a sub category for the content based values
- allows for handling those cases separately for normalisation
2021-10-27 12:19:49 +01:00
ganfra
34cb99e8ae Flow migration: remove Rx completely (rxbinding) 2021-10-27 12:13:49 +02:00
Onuray Sahin
6cee266a95 Create poll UI implementation. 2021-10-27 13:10:01 +03:00
Benoit Marty
54daee2798
Merge pull request #4347 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.36
Bump libphonenumber from 8.12.35 to 8.12.36
2021-10-27 10:07:24 +02:00
Danial Behzadi
ede8933059 Translated using Weblate (Persian)
Currently translated at 100.0% (2672 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-10-26 23:25:49 +00:00
Ihor Hordiichuk
5c4ac897c1 Translated using Weblate (Ukrainian)
Currently translated at 91.6% (2448 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-10-26 23:25:49 +00:00
libexus
abd83f3d7c Translated using Weblate (German)
Currently translated at 100.0% (35 of 35 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/
2021-10-26 23:25:48 +00:00
Danial Behzadi
86d651be60 Translated using Weblate (Persian)
Currently translated at 100.0% (35 of 35 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fa/
2021-10-26 23:25:47 +00:00
Jeff Huang
d969549ce6 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (35 of 35 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hant/
2021-10-26 23:25:46 +00:00
random
188e0dbec7 Translated using Weblate (Italian)
Currently translated at 99.8% (2669 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-10-26 23:25:45 +00:00
random
f6f4cec947 Translated using Weblate (Italian)
Currently translated at 100.0% (35 of 35 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/it/
2021-10-26 23:25:45 +00:00
libexus
93ed2dcbbf Translated using Weblate (German)
Currently translated at 97.8% (2615 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-10-26 23:25:44 +00:00
DUCKCHI
66198805ca Translated using Weblate (Korean)
Currently translated at 49.6% (1326 of 2672 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ko/
2021-10-26 23:25:43 +00:00
dependabot[bot]
82b3d17db6
Bump libphonenumber from 8.12.35 to 8.12.36
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.35 to 8.12.36.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.35...v8.12.36)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-26 23:08:52 +00:00