Commit Graph

10183 Commits

Author SHA1 Message Date
SeedPuller f1fe9055c4 Added translation using Weblate (Persian) 2021-07-15 11:27:06 +02:00
Weblate aeb830d639 Added translation using Weblate (Polish) 2021-07-15 11:27:06 +02:00
SpiritCroc b7d0ce7857 Deleted translation using Weblate (English (United States)) 2021-07-15 11:27:06 +02:00
Weblate f59f75a1ee Added translation using Weblate (English (United States)) 2021-07-15 11:27:06 +02:00
J. Lavoie 5b20f53c9f Translated using Weblate (French)
Currently translated at 100.0% (54 of 54 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/fr/
2021-07-15 11:27:06 +02:00
SpiritCroc dc34334e3c Fix RTL language reply rendering issues
Fixes https://github.com/SchildiChat/SchildiChat-android/issues/74

Change-Id: I2c24950506158fdde11f5d13b177e11fe894bde9
2021-07-15 11:17:39 +02:00
Benoit Marty 039ebdac7e Fix top row of emoji reaction picker on small displays v2
Change-Id: I4294cd48000503f83748deb0dd41a73d05fafc8e
2021-07-12 17:53:24 +02:00
SpiritCroc 15249ebe1b Some RTL/LTR mixture alignment improvements
Change-Id: I2174b75f378cd09290d9d32bd39ebf15e577ab23
2021-07-11 12:24:29 +02:00
SpiritCroc 62a8865dbc Fix top row of emoji reaction picker on small displays
Emojis were not showing if not enough space, so allow scrolling there.

Change-Id: I75c73132ff4479782953f5401db2ca8037f751e9
2021-07-11 11:13:02 +02:00
SpiritCroc bcb7ff01bb Avoid incomplete downloads in cache
Previously, when a download was aborted (e.g. due to a bad internet
connection), a partly downloaded file was remaining in cache, which
would then be delivered upon later requests.
This can lead e.g. to chats where images aren't loading.

To avoid this, first download files to a temporary file that is not the
final cache file, and only rename/move it on finish.

Note that if you already have broken downloads, you still need to clear
cache once to get rid of them after this commit, but it should not
occur anymore afterwards.

Change-Id: Ic4fb58853f04f8239c639814031e9ef00c091995
2021-07-10 10:52:02 +02:00
SpiritCroc 00c2f271b3 Fix unread messages marker being hidden in collapsed membership item
Scenario: the last read event in a chat is a membership change. After
that, at least two new membership changes were added, followed by normal
messages. Due to the membership changes being collapsed by default, in
this scenario the read marker would not show, since in the loop, we
would overwrite the appendReadMarker with the value for the last eventId
of the merged item, instead of showing it if any of the items matched.

Change-Id: I791627df6776ebf791310eb082b648701936d565
2021-07-10 10:45:37 +02:00
SpiritCroc 7d377ea418 Change power level username colors
Change-Id: If49dbc83268f04bba923838eda1fb7aa461c23cd
2021-07-08 20:11:45 +02:00
SpiritCroc b0206cbc6e Scroll to the real bottom
the element at the bottom might be larger than the display...

Change-Id: I52ac882b1b192f9d55c12549c82de46db025c12e
2021-07-08 18:22:57 +02:00
SpiritCroc 566feaecc1 Make jump to unread better visible for SC dark theme
Change-Id: I9c95ab4348f4b4c2c77056b81a0e3de585d56cb0
2021-07-06 10:14:47 +02:00
SpiritCroc 0b8b9d3cad Fix jump-to-unread style for non-Element themes
Change-Id: If203eb8af60542eff57269dfe318b754b1e83b10
2021-07-05 18:00:51 +02:00
SpiritCroc 37b729c1d1 Remove freshly added corner radius from Element
Change-Id: I966aeb01b0fdfd30f03b601beefa049d92a6b3ac
2021-07-05 16:59:52 +02:00
SpiritCroc e0e17e8996 Automatic SchildiChat string correction
Change-Id: I07253ef1a3be8dc753c734eb93fe50f6899d03e5
2021-07-05 16:58:50 +02:00
SpiritCroc 0cb876485d Automatic upstream merge postprocessing
Change-Id: Ie2b3c8142cf8fd3fe9a042b686c8f8ba57fac7dd
2021-07-05 16:58:49 +02:00
SpiritCroc e5c9c33a0f Merge tag 'v1.1.12' into sc
Change-Id: I224f427a0d65bfea7ed0b1e19a95e1f03d0d5236

Conflicts:
	library/ui-styles/src/main/res/values/text_appearances.xml
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
	vector/src/main/java/im/vector/app/features/home/HomeDetailViewModel.kt
	vector/src/main/java/im/vector/app/features/home/UnreadMessagesSharedViewModel.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/TimelineEventController.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/helper/MessageInformationDataFactory.kt
	vector/src/main/java/im/vector/app/features/home/room/list/GroupRoomListSectionBuilder.kt
	vector/src/main/java/im/vector/app/features/home/room/list/RoomListFragment.kt
	vector/src/main/java/im/vector/app/features/home/room/list/RoomListViewModel.kt
	vector/src/main/java/im/vector/app/features/home/room/list/RoomListViewModelFactory.kt
	vector/src/main/java/im/vector/app/features/home/room/list/RoomSummaryItemFactory.kt
	vector/src/main/java/im/vector/app/features/home/room/list/SpaceRoomListSectionBuilder.kt
	vector/src/main/java/im/vector/app/features/notifications/NotificationDrawerManager.kt
	vector/src/main/java/im/vector/app/features/spaces/SpacesListViewModel.kt
	vector/src/main/res/layout/dialog_export_e2e_keys.xml
	vector/src/main/res/layout/dialog_import_e2e_keys.xml
2021-07-05 16:58:45 +02:00
SpiritCroc f8084dc2e2 [TMP] Automatic upstream merge preparation
Change-Id: If4581aa8e4f43b4963a3ed44313f7dd1d00d7581
2021-07-05 10:32:08 +02:00
SpiritCroc a4ba5998e1 Automatic revert to unchanged upstream strings, pt.1
Change-Id: I145b127da93a119944cdd13879644787c875a52e
2021-07-05 10:32:08 +02:00
Benoit Marty 2da0379505 Merge branch 'release/1.1.12' into main 2021-07-05 09:57:57 +02:00
Benoit Marty 9673b3b15b Release: fastlane 2021-07-05 09:56:27 +02:00
Benoit Marty 09e362ec6b Release: towncrier 2021-07-05 09:55:22 +02:00
Benoit Marty 76f4c81d2d Hide password... Oups 2021-07-05 09:50:20 +02:00
SpiritCroc 24a61ee0ff Display-name coloring setting
Based on whether a chat is
- DM
- Room
- Public room

allow to select whether to color usernames
- Uniformly (as previously done in SC themes)
- Based on Matrix ID (as previously seen in Element themes)
- Based on the user's power level in that room (new!)

The setting concerning rooms that are neither DM nor public is also used
for deciding whether to use mxid-based avatar coloring or uniform
coloring.

Change-Id: Ic68a24f4818a193f776a3b14232f887cd229929a
2021-07-04 17:01:27 +02:00
SpiritCroc a0adb8c9bd Update README
Change-Id: If26d9ac0adea3202e2322801fb7a45f75f680ac5
2021-07-04 14:35:42 +02:00
SpiritCroc 1eee4f3dca Delete empty video.txt fastlane files
These show up as untranslated on weblate

Change-Id: I13860a93b5b2d2dc8bae1b9b7322a517809ae99d
2021-07-04 12:42:03 +02:00
SpiritCroc eb051f1b29 Small update to the store description
Upstream now can follow system dark/light theme as well, but we have
more settings!

Change-Id: If4a18e48302ddfeeabbb4e96795a611809c3dba0
2021-07-04 12:15:04 +02:00
SpiritCroc 1ba30d4bdb Increment version
Change-Id: I01966a3e4b177a2a19f7c50322bb3e601cf1bb24
2021-07-04 11:52:31 +02:00
Benoit Marty 2d860eaa2a
Merge pull request #3622 from vector-im/feature/bma/crash_realm
CryptoStore migration has to be object to avoid crash
2021-07-03 20:08:57 +02:00
SpiritCroc ba6fd96623 Fix some corner case where a wrong display name would show
Scenario: Scroll to a message in dual side bubble layout that:
- Is an image, i.e. has a time footer overlay
- Was sent by the user
- Was sent in a group chat, i.e. other messages show sender display
  names

This scenario could lead to the non-bubble name view not being cleared
nor hidden correctly.

Change-Id: I033d3070612d219dea9f2181c5029e17460c3ee6
2021-07-03 15:34:34 +02:00
SpiritCroc fe1fc098c8 Disable "long click on room" "help"
Change-Id: I851092f89131b531e5e0e94e405bb2769f84dbb0
2021-07-02 18:35:15 +02:00
SpiritCroc 1c32fcad35 Profile screen theme tweaks
Change-Id: I0dfeea8284ae597b03c6e9fd8c1f2f1e4f45332f
2021-07-02 18:33:42 +02:00
Benoit Marty 2513be744c CryptoStore migration has to be object to avoid crash
Thread: main, Exception: java.lang.IllegalArgumentException: Configurations cannot be different if used to open the same file. The most likely cause is that equals() and hashCode() are not overridden in the migration class: org.matrix.android.sdk.internal.database.RealmSessionStoreMigration
2021-07-02 17:29:44 +02:00
Benoit Marty 2a0230633d
Merge pull request #3620 from vector-im/feature/bma/fix_wl
Fix compilation issue
2021-07-02 17:29:04 +02:00
Benoit Marty 2c7b947d27 Fix compilation issue
A bit weird, I did not figure out was was the original problem.
Editiing the line, for instance adding any char fixes the issue, so I decided to put all on one line.
2021-07-02 15:32:01 +02:00
SpiritCroc 4b472f041b Merge remote-tracking branch 'weblate/sc' into sc
Change-Id: If195307eec194931f2ec1980dbf23d0b45d18a32
2021-07-02 15:23:09 +02:00
SpiritCroc b808d8b464 Avoid chat position jumps during message loading
Sometimes, the chat list would jump without the user scrolling:
- During intial loading of a room content, i.e. when it is expected
  that the list stays scrolled to bottom
- During loading of messages after jumping to a linked message

With this commit, the target event is repeatedly scrolled to upon list
changes until the users scroll themselves, to avoid above scenarios.

Change-Id: Iabbe76832e7e68686431b0baed9356c88eb50901
2021-07-02 15:19:20 +02:00
Benoit Marty f06d2b1734 Fix typo 2021-07-02 14:55:30 +02:00
Benoit Marty 1eea734a4c Fix compilation issue
A bit weird, I did not figure out was was the original problem.
Editiing the line, for instance adding any char fixes the issue, so I decided to put all on one line.
2021-07-02 12:53:00 +02:00
Benoit Marty dc50246ec4
Merge pull request #3618 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2021-07-02 10:25:45 +02:00
Weblate 64b6779cfa Merge branch 'origin/develop' into Weblate. 2021-07-02 07:52:44 +00:00
Benoit Marty b0f7268d13
Merge pull request #3553 from vector-im/feature/fga/fix_timeline_visibility
Fix some issues with timeline cache invalidation and visibility.
2021-07-02 09:40:37 +02:00
Benoit Marty d4009476f9 Cleanup 2021-07-02 09:39:32 +02:00
Benoit Marty 7dc5d8490f
Merge pull request #3584 from vector-im/feature/bca/fix_oom_spacechild
Fix / dm flattenParents always growing
2021-07-02 09:35:51 +02:00
lvre 1906fbdeaa Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2490 of 2490 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-07-02 01:04:01 +00:00
Valere adcd1a64df empty migration to fix big flattenParentIds for DM 2021-07-01 15:28:26 +02:00
Benoit Marty 69c399a229
Merge pull request #3529 from erikhuizinga/erikhuizinga-3527-fix-google-play-service-application
Apply Google Services Gradle plugin more robustly
2021-07-01 10:16:00 +02:00
Benoit Marty a8bef415b7
Merge pull request #3587 from vector-im/feature/fga/fix_video_call_crash
Fix crash after video call
2021-06-30 17:22:09 +02:00