Commit graph

8877 commits

Author SHA1 Message Date
SpiritCroc
1481a3edd3 Improve handling of DM layout
Previously, it could happen that DM-layout and non-DM-layout were mixed
in the same chat for following reasons:
- on purpose, when it is a DM, but in the past had messages by a third
  party
- not on purpose, when the room member information wasn't loaded in time
  for some messages, and thus the fallback assumed showing DM layout
  wasn't safe

However, this leads to an inconsistent layout, which looks bad.
Accordingly, this patch changes the behaviour as following:
- always use the DM layout for chats marked as DM
- if it is not clear if the message was sent by the actual DM partner,
  show the name (as opposed to previously: show name and avatar).

While this makes it more difficult to tell apart messages from the DM
partner and a third person, it is still possible, since the third person
has a name shown, and the DM partner's messages start with a bubble with
tail but without name. This is prefered to the previous solution, which
looked rather buggy than anything else.

Change-Id: I7c3e5ca7b04acec6eede345a9abde833ce0714d3
2021-05-10 10:25:28 +02:00
SpiritCroc
ed8aada390 alternative_package.sh: Allow replacing the name
Change-Id: I4a1345ac800a7825410a484eb3a0d7c26cbcd959
2021-05-09 16:06:16 +02:00
SpiritCroc
5a8f637e58 Don't stretch image to sender name
Change-Id: I805e0359aedce07253cde1b84dc225f079efba1e
2021-05-07 14:58:00 +02:00
SpiritCroc
0c6e02b76d Properly adjust image view bounds when size not available before loading
Change-Id: I8283354afebb7cd427b96953fe9f90b1063d23b9
2021-05-07 09:30:48 +02:00
SpiritCroc
1afce468da Add some padding between message sender/date top line and content
Change-Id: I9a43c889e4177480252d525e310da0e488f7b2c3
2021-05-06 18:30:22 +02:00
SpiritCroc
12e7bb64fe Move footer overlay 1dp inside to not cut outline
Change-Id: I95e2e8e8e5605586a7891b3ef2bf4c002a04873c
2021-05-06 18:09:20 +02:00
SpiritCroc
42e6068ce2 Outline pictures
Closes https://github.com/SchildiChat/SchildiChat-android/issues/49

Change-Id: I3119db2d62e1c924870cd57f19bf21e3fa1bb72f
2021-05-06 17:53:33 +02:00
SpiritCroc
709f8b0b05 Ensure proper grouping for notifications tab query
Change-Id: I58e8a85fd5e2c938d55189825daf7820f826da1e
2021-05-05 12:35:04 +02:00
SpiritCroc
ca21a3fc43 Increment version
Change-Id: I046fe728801113e31b8590f7b18422d0f9f85fba
2021-05-02 10:03:17 +02:00
SpiritCroc
35a9c8a12f Fix updating read marker automatically
Change-Id: I84a51127dc7b434622ecdcab350c788ee3d623be
2021-05-01 11:56:03 +02:00
SpiritCroc
2605c6ac9b Properly sort rooms according to events previewed in summary
Change-Id: Id17385a4d17869b0356aa7242407581e2193845e
2021-05-01 11:56:03 +02:00
SpiritCroc
3ee98f3c94 Fix missing sender information after edits
Fixes https://github.com/vector-im/element-android/issues/3184

Change-Id: I27de01c29b31fbd49c8d2b0d4dacf13ba932d5b9
2021-05-01 11:56:03 +02:00
SpiritCroc
8cd5cb4b28 Change rageshake url
Change-Id: I7fc256303bbd69511d6105f3bc1f18755b181c39
2021-04-25 14:43:41 +02:00
SpiritCroc
66b05baf33 Privacy policy: moved to website
Change-Id: Iece1c4fa2144ffcba4d134b155de65dc2f32f149
2021-04-25 11:09:04 +02:00
SpiritCroc
1db1423ea2 Re-enable rageshake / bug reporting
Change-Id: I1803b5dab2348d22c626d920c4b7b820523f62c6
2021-04-25 11:09:04 +02:00
SpiritCroc
23e98eadd3 Revert "Completely hide rageshake settings"
This reverts commit 3380dd5169.

Change-Id: I78dc93766b8d2d3a93b734857d7636e122b9ff78
2021-04-25 11:09:04 +02:00
SpiritCroc
06a19c572a Allow selecting text in the message longpress popup
Allow to selectively copy text

Change-Id: I2e865d3ac13f5094addfd92a1316ff8a89610fce
2021-04-23 10:15:53 +02:00
SpiritCroc
94a9333774 Update third party license notice for notification icon
License has been updated in September 2020:
6d3df9c742

Change-Id: I8f575a6cd871a9ee0c99eb4f55e3414ab982a865
2021-04-20 14:33:03 +02:00
SpiritCroc
7de0406012 Automatic SchildiChat string correction
Change-Id: Ib9c8d90f324ed77b1824d8daf11a0125e3983123
2021-04-19 11:20:29 +02:00
SpiritCroc
7f9bbe3b9a Update string correction
Change-Id: I294a4029146480d4624f8f43e5410ff58464a32e
2021-04-19 11:20:29 +02:00
SpiritCroc
5fccd0fc06 Update correct_strings_de.sh
Change-Id: I9fffdcb13b63599332cc9df7aeff08cc0b8658a0
2021-04-19 11:19:23 +02:00
SpiritCroc
baa5cd7d26 Automatic SchildiChat string correction
Change-Id: Ie304dcf9324d543819431ccc762d549120ef7231
2021-04-16 15:32:23 +02:00
SpiritCroc
3b94ea72d3 Automatic upstream merge postprocessing
Change-Id: I18bd4c7615bc18926f0a5aafc0011d1b8d0f47eb
2021-04-16 15:32:21 +02:00
SpiritCroc
2ae0fb8886 Merge tag 'v1.1.6' into sc
Change-Id: I80d2ce9bdcb22c2fcc9795d3a5c727cb5ba772a6
2021-04-16 15:32:18 +02:00
SpiritCroc
7a7cad9bb6 [TMP] Automatic upstream merge preparation
Change-Id: I74d0a4cf0fdddf3339958b21f0ceefceaec0fd47
2021-04-16 15:29:14 +02:00
SpiritCroc
d1f6c607c7 Automatic revert to unchanged upstream strings, pt.1
Change-Id: Ib67d15a33fc151d59cf4b754dd6a4e057fe35f9d
2021-04-16 15:29:13 +02:00
Benoit Marty
e5bf87c09f Merge branch 'hotfix/v1.1.6' 2021-04-16 14:36:26 +02:00
Benoit Marty
72515ee635 Prepare corrective release 1.1.6 2021-04-16 14:33:00 +02:00
Benoit Marty
9fc00fe6ff App crashes on "troubleshoot notifications" button (#3187) 2021-04-16 14:33:00 +02:00
Benoit Marty
c08868bc3c Protect call to suspend fun 2021-04-16 13:22:16 +02:00
SpiritCroc
e6b3f01545 Automatic SchildiChat string correction
Change-Id: I4173e26d5fa2de9fc1ac9a8d08ce4cd50bd500dc
2021-04-15 12:30:04 +02:00
SpiritCroc
5757d1894c Automatic upstream merge postprocessing
Change-Id: Ia39d86869d7d2a16e2408838d5a3c5b0f80f3711
2021-04-15 12:30:02 +02:00
SpiritCroc
28c5f036c8 Merge tag 'v1.1.5' into sc
Change-Id: I263852c42cfa21935890bee435f063d7fa43edfa
2021-04-15 12:29:59 +02:00
SpiritCroc
ad8e9380b6 [TMP] Automatic upstream merge preparation
Change-Id: Ib8637486c2a7e77402e356605603e6577ecd88e6
2021-04-15 12:29:55 +02:00
SpiritCroc
537dd060b2 Automatic revert to unchanged upstream strings, pt.1
Change-Id: I777c5cd5991b46559184568cc4d27d6acdab8878
2021-04-15 12:29:55 +02:00
SpiritCroc
dd5fd4c128 More longclick actions for stickers
Allow
- Reactions
- Redactions
- Replies

Closes https://github.com/SchildiChat/SchildiChat-android/issues/57

Change-Id: I773cdcf84b2291494096debed38ba2342708290f
2021-04-15 12:28:12 +02:00
Benoit Marty
18cef243a1 Merge branch 'hotfix/1.1.4_fixes' 2021-04-15 11:10:24 +02:00
Benoit Marty
ccf7dd9583 Add changelog file 2021-04-14 22:41:57 +02:00
Benoit Marty
e4375522ff Fix crash when playing video (#3179) 2021-04-14 22:35:30 +02:00
Benoit Marty
59637c4a6b Revert to Realm 10.3.1 to fix issue with migration
Waiting for https://github.com/realm/realm-java/issues/7402
2021-04-14 21:54:07 +02:00
SpiritCroc
221be6947d Fix alignment of read receipts for dual-side bubbles
Change-Id: I60d6dde73071fa28d069cba87850cd85d6ddd36b
2021-04-14 17:22:34 +02:00
SpiritCroc
d568523b8b Add back low-priority section for DMs
Change-Id: I63871b90a8541d2d8f9c87374176f95f6278882e
2021-04-14 16:54:36 +02:00
SpiritCroc
3bfae2a28b Fix invalid expand status on tab switch
Change-Id: I8db822d61b93b0b6f12ecbe4c7270f42c204caa5
2021-04-14 16:43:54 +02:00
SpiritCroc
0aee3cf68c Remember expand status of sections in the overview again
Change-Id: I3648e959de8a12d525d73da642b6ce6ae6a5ba7a
2021-04-14 16:31:45 +02:00
SpiritCroc
2020765b77 Automatic SchildiChat string correction
Change-Id: I0b5bf7e0a8d39f9308dcd13c35fbbfd91a487322
2021-04-14 14:02:45 +02:00
SpiritCroc
5749e31508 Automatic upstream merge postprocessing
Change-Id: Ic88df521a426bfe12b6fbbbcbdca534722ce7a6c
2021-04-14 14:02:43 +02:00
SpiritCroc
20e185ef48 Restore setting functionality for unimportant unread type and count
Change-Id: Ied403f8fad4a7fa4e9dd1422c9ca08690183c1b1
2021-04-14 13:58:37 +02:00
SpiritCroc
04c0d7c121 Add back chats marked unread to notifications tab
Likely also required for the "mark all as read" feature to work properly
since v1.1.4

Change-Id: I375860e55e3f188526f90cf7ffdccf192871e745
2021-04-14 13:26:35 +02:00
SpiritCroc
811950cb18 Various fixes after merge
- Fix compile
- Fix counting chats marked unread
- Fix counting chats with unread messages

Change-Id: Ibf928c5380a1b7ec25f2c510b97ee4f726fe7c0d
2021-04-14 13:20:50 +02:00
SpiritCroc
0e601aa8f0 Merge tag 'v1.1.4' into sc
Note: this merge needs more work, since upstream changed implementations
affecting following features:
- Mark unread
- Notification count badges
- Overview list filtering / combined overview
- Remember expanded categories
- Read receipt layout

Change-Id: If728bb54dd7c423b57bd3f59d23d86a1a0e5e435

Conflicts:
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/model/RoomSummaryEntity.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/RoomAvatarResolver.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/read/DefaultReadService.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/user/accountdata/AccountDataAPI.kt
	vector/src/main/java/im/vector/app/core/resources/UserPreferencesProvider.kt
	vector/src/main/java/im/vector/app/core/utils/Emoji.kt
	vector/src/main/java/im/vector/app/features/home/HomeDetailViewModel.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailFragment.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/RoomListAction.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/RoomListViewState.kt
	vector/src/main/java/im/vector/app/features/home/room/list/RoomSummaryController.kt
	vector/src/main/res/layout/item_timeline_event_base.xml
	vector/src/main/res/layout/item_timeline_event_base_state.xml
2021-04-13 09:28:13 +02:00