Commit graph

12054 commits

Author SHA1 Message Date
SpiritCroc
30cd55d260 Allow changing readmarker HasNoUnread -> HasUnread
When loading chats at the last read position, it can very well happen
that we load the event referenced by the unread marker at position 0
first, until more messages load after it. Accordingly, we can not assume
we are done here.

Change-Id: If4208315d50f4bd036b0b0638e9364a49b68561a
2021-11-04 19:51:31 +01:00
SpiritCroc
d2a6360a7a Rageshake: include local time of bug report
Yes, we can get it from the logs... but this could speed things up.

Change-Id: If85c3add2437838f7a0327e97a51dbad6c93712f
2021-11-04 19:30:19 +01:00
SpiritCroc
ca7a019266 [TMP] Again more readmarker debug
Change-Id: I76bd94ff44308a252c4355fc5d7418191b307370
2021-11-02 09:35:11 +01:00
SpiritCroc
37d0b5098f Revert "[TEST] Initial force scroll only once"
Keep in mind that the position can change while we insert events, so we
want to keep it up-to-date.

This reverts commit 22cdb6544d.

Change-Id: I43f391c14aeb087c7d3cc71c5c6af3fbabe0f835
2021-11-02 09:09:53 +01:00
SpiritCroc
6c99527ab8 Fix fastlane
I messed up with an unclean 1.3.3 merge

Change-Id: I2e1b140e165a8c8ca03728bfb1497db4f523e3a2
2021-11-01 10:43:45 +01:00
SpiritCroc
6f58df75f3 [TMP] BetterLinearLayoutManager: debug initial anchor
Change-Id: I81e5df345c14ab345a2fd1f7494e7f680d6889d4
2021-11-01 10:40:28 +01:00
SpiritCroc
e6a7e05a92 [TMP] Debug read marker placement
Change-Id: Ib7a400bf4c5e1357f5b8f2e0cc8333bcf1306d50
2021-10-31 11:18:10 +01:00
SpiritCroc
6a96b50b84 Improve room previews for RTL/LTR mixes of name and message
Change-Id: Ic8634ca41cef1c052e8f5769cf40f08e7e4e140c
2021-10-31 11:02:54 +01:00
SpiritCroc
983b71dc4b Some small public room and presence icon theme fixes
Change-Id: I188fc5943755dc10db55701415d03b84c34e5ffe
2021-10-31 10:13:11 +01:00
SpiritCroc
9b88c608c2 Show all rooms of spaces in home by default
Change-Id: I59beb29283e90665a4128193edc407146ecf5672
2021-10-30 14:21:21 +02:00
SpiritCroc
998018032a BetterLinearLayoutManager: Fix anchor view to preferred position
Change-Id: Ib6b960603a25ffc4920067227a821debdb04973e
2021-10-29 18:37:00 +02:00
SpiritCroc
57d3f3bc68 Avoid race condition with TextFuture when setting message text
Change-Id: I7de99faf565b73a67aceeaf646fec6e6d56123c8
2021-10-29 18:36:41 +02:00
SpiritCroc
bbb2a631cf [TMP] Debug read marker calculation
Change-Id: Id50e0731d12fc861acab990be0d5fed6d456658e
2021-10-29 10:22:58 +02: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
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
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
042e91ee1c Set version to 1.3.6 2021-10-26 18:28:47 +02:00
Benoit Marty
5279993995 Merge branch 'hotfix/1.3.6' into main 2021-10-26 17:31:11 +02:00
Benoit Marty
edd29ec4ef fastlane change 2021-10-26 16:51:59 +02:00
Benoit Marty
093b5c76ab towncrier 2021-10-26 16:51:08 +02:00
Benoit Marty
f2330903ae Add named parameter for boolean 2021-10-26 16:49:38 +02:00
Benoit Marty
9f1efab18d Correctly handle url of type https://mobile.element.io/?hs_url=…&is_url=
Skip the choose server screen when such URL are open when Element
2021-10-26 16:49:21 +02:00
Benoit Marty
dc5739c11d Format 2021-10-26 16:46:20 +02:00
SpiritCroc
3d238d52d9 Fix broken video compression
Library issue: https://github.com/natario1/Transcoder/issues/154

Change-Id: I4491e7e3fc541922ddc0fd3e407d608cd46a23f0
2021-10-26 13:02:38 +02:00
SpiritCroc
9cb746d509 Open room at bottom action if open at unread
Change-Id: Ia933c5a9f31c4025a34912a82f699e5c5abe8dd3
2021-10-25 20:17:49 +02:00
SpiritCroc
61140f3698 Merge remote-tracking branch 'weblate/sc' into sc
Change-Id: I1de6baa5fb75862ad0a9a62ec5ac20612c8750b8
2021-10-25 19:30:25 +02:00
SpiritCroc
2426cdfb06 Automatic SchildiChat string correction
Change-Id: Ife8129a743dff016e37df51a8a560a043f2bf58a
2021-10-25 19:30:05 +02:00
SpiritCroc
af489701a8 Automatic upstream merge postprocessing
Change-Id: I0fa90d77fe47074d677355b0025e1611e598d565
2021-10-25 19:30:04 +02:00
SpiritCroc
65bc997acc Merge tag 'v1.3.5' into sc
Change-Id: I3e9f85a6228649c1d8a2e886a2b234c59331c619
2021-10-25 19:29:59 +02:00
SpiritCroc
d1468a50d2 [TMP] Automatic upstream merge preparation
Change-Id: I52165397a64804cfc00893eb6484e73cf648f3bb
2021-10-25 19:29:51 +02:00
SpiritCroc
c2f524b7b3 Automatic revert to unchanged upstream strings, pt.1
Change-Id: I3c9e368fe3c46cca14ed47d7ae19bee206aa20ba
2021-10-25 19:29:50 +02:00
Benoit Marty
cabdec166f Merge branch 'release/1.3.5' into main 2021-10-25 12:39:11 +02:00
Benoit Marty
f877965550 Fastlane files 2021-10-25 12:38:53 +02:00
Benoit Marty
201d558925 Update previous Changelog (the file was not in the correct folder) 2021-10-25 12:37:41 +02:00
Benoit Marty
b892331e42 Towncrier 2021-10-25 12:35:11 +02:00
Benoit Marty
8b6e0187d6
Merge pull request #4320 from vector-im/feature/adm/malformed-group-link
Fixing grouped notification causing malformed url
2021-10-25 12:20:04 +02:00
Adam Brown
55c00a0975 adding changelog entry 2021-10-25 10:56:15 +01:00
Adam Brown
325e78106e
fixing strange ide extract 2021-10-25 10:51:40 +01:00
waclaw66
fa01e7257e Translated using Weblate (Czech)
Currently translated at 100.0% (117 of 117 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2021-10-23 12:06:31 +02:00
Adam Brown
06b3cc3f4b filters the unique notification uris from the link handling
- fixes malformed url errors appearing for uri we only create to force uniqueness in the notifications
2021-10-22 18:29:53 +01:00
SpiritCroc
5182c2760e Merge remote-tracking branch 'upstream/develop' into sc
Change-Id: Ie246642fb6346f4a8838878a18135add6786a9b5
2021-10-22 16:18:34 +02:00
Benoit Marty
09fbd5fcf5
Merge pull request #4316 from vector-im/feature/fga/fix_4313
Fix unread marker not showing
2021-10-22 15:42:22 +02:00