Commit graph

12075 commits

Author SHA1 Message Date
SpiritCroc
4248ec163f Fix detection of some emojis for emoji-only messages
Change-Id: Ie22d90c39091a85736260672db7413fdfd45f7c4
2021-11-15 18:04:55 +01:00
SpiritCroc
1bd59e3c1c When scrolled to the bottom, stick there
Change-Id: I0c788368afef04d7541f633cd830f5bdbf665049
2021-11-15 18:03:22 +01:00
SpiritCroc
3f448b48c7 Prefer staying scrolled to the bottom while composer is open
Change-Id: I962ce6850c0bb7e62b81f5620d56442afb7245f4
2021-11-15 18:02:58 +01:00
Lynn Nakanishi Lin
ebd1592131 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (118 of 118 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/zh_Hans/
2021-11-14 15:47:56 +01:00
Linerly
02e10aca69 Translated using Weblate (Indonesian)
Currently translated at 100.0% (118 of 118 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/id/
2021-11-14 15:47:56 +01:00
Weblate
4e1d759910 Added translation using Weblate (Chinese (Traditional)) 2021-11-14 15:47:56 +01:00
Weblate
c67b7c0c37 Added translation using Weblate (Chinese (Simplified)) 2021-11-14 15:47:56 +01:00
SpiritCroc
cd16168516 Hide "member made no changes" events in the timeline
Change-Id: Ia7016d46e5b6aebb94fe32d2602af829b37c9201
2021-11-14 15:44:24 +01:00
SpiritCroc
d309d0e396 Remove unused function
Change-Id: Ie0985d061297d5ad364c71ae82539b3b10ee809e
2021-11-12 12:17:07 +01:00
SpiritCroc
69d90fc8dd Color preference: fix crash on Android < N
Change-Id: Id14a76c1933028a97c1da43dbcce61bd92547d65
2021-11-12 12:17:03 +01:00
SpiritCroc
6bca1bf18b Change presence color to green for some accents
Closes https://github.com/SchildiChat/SchildiChat-android/issues/97

Change-Id: I31095c9677a5c00162d8cb2416a12c31ad77f372
2021-11-12 12:16:47 +01:00
SpiritCroc
bd767a82dd Verification shield should be green, independent of accent color
https://github.com/SchildiChat/SchildiChat-android/issues/97

Change-Id: I650beda71b9f06f1c40a06a128972ffa70185d25
2021-11-12 12:16:31 +01:00
SpiritCroc
c3a6e3bd9b Rework counting of unread chats
Avoid counting chats twice that are actually unread and additionally
manually marked as unread.
Also fix some corner cases.

Change-Id: I0bc8a3bcdb8b658618b627648eec34305e66082b
2021-11-09 12:34:54 +01:00
SpiritCroc
19e065cbea Prefer sorting subspaces alphabetically over roomId
Change-Id: I75217ca1cc27a30d5c4d62da0e4bc277e963073e
2021-11-09 12:34:46 +01:00
SpiritCroc
30fec15c20 Fix a case where a space could show one unread, but all chats are read
Change-Id: I8a0cd85ebd994c22914d3e9a3708ce835c5c7a11
2021-11-09 12:34:28 +01:00
SpiritCroc
bd6814325b Increment version
Change-Id: Ibbb95ad01f2fbc96d1941de8db57c754c059ea7f
2021-11-06 09:24:27 +01:00
joshua
aa8a91d6fb Translated using Weblate (Swedish)
Currently translated at 92.3% (109 of 118 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/sv/
2021-11-05 09:11:17 +01:00
inkhorn
5a07b2ad0d Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (118 of 118 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/pt_BR/
2021-11-05 09:11:17 +01:00
waclaw66
c947c6c85a Translated using Weblate (Czech)
Currently translated at 100.0% (118 of 118 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2021-11-05 09:11:17 +01:00
inkhorn
fa00388807 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (117 of 117 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/pt_BR/
2021-11-05 09:11:17 +01:00
SpiritCroc
4cd19ed7e8 Always mark chats as unread if they have an unread count > 0
Fixes chats not being marked as unread that have a high non-message
event amount.

Change-Id: I441fd21c3719109db4f61bc88ef81c6db54be55c
2021-11-05 08:38:45 +01:00
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