Commit graph

5535 commits

Author SHA1 Message Date
SpiritCroc
e9e522603d Message footer: handle small width/height pictures
Change-Id: Ib8554c5057f09277cb9ef2a29a57d3a85cf35417
2021-05-11 12:21:41 +02:00
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
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
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
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
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
baa5cd7d26 Automatic SchildiChat string correction
Change-Id: Ie304dcf9324d543819431ccc762d549120ef7231
2021-04-16 15:32:23 +02:00
SpiritCroc
2ae0fb8886 Merge tag 'v1.1.6' into sc
Change-Id: I80d2ce9bdcb22c2fcc9795d3a5c727cb5ba772a6
2021-04-16 15:32:18 +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
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
28c5f036c8 Merge tag 'v1.1.5' into sc
Change-Id: I263852c42cfa21935890bee435f063d7fa43edfa
2021-04-15 12:29:59 +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
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
20e185ef48 Restore setting functionality for unimportant unread type and count
Change-Id: Ied403f8fad4a7fa4e9dd1422c9ca08690183c1b1
2021-04-14 13:58:37 +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
SpiritCroc
d6fb89492a Automatic revert to unchanged upstream strings, pt.1
Change-Id: I82ed105a407d79a9faa756b523e89dbfe5e14246
2021-04-12 15:58:22 +02:00
SpiritCroc
d329f08162 Increment version
Change-Id: Ieeae5d0355183e5fadd8a0303514d8af9d7301a5
2021-04-12 10:57:35 +02:00
SpiritCroc
0320bf2d05 SC dark themes: less bright bottom sheet / day separator
Change-Id: I806f21c85ead59870d2a11bd1c5d3f101ac39325
2021-04-11 10:28:33 +02:00
SpiritCroc
6a8cd9a329 Fix sometimes overlapping URL preview text with timestamp
Change-Id: Ib441c2d0a447051b4dde2990111f748f1f3f2d66
2021-04-09 12:54:40 +02:00
Marcus Hoffmann
1f37da276e propagate jitsi LIBRE_BUILD exclusion rules to not pull in gms libs
Previously jitsi only had optional dependencies being disabled by the
LIBRE build flag but a while ago they introduced optional exclusion
rules which don't transitively propagate to consumers of the library, so
instead we need to mirror the exclusion rules from the jitsi gradle file:
See: 7a64bf006e/android/sdk/build.gradle (L53)

Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
Change-Id: Ifadfef30a6b3f3040e98713fa21dbc4e2ee94a9b
2021-04-09 12:25:47 +02:00
SpiritCroc
16c06f5f62 Automatic SchildiChat string correction
Change-Id: If21ffd3164e94d6d668f4057ecd4afbeb36dd83d
2021-04-09 11:57:24 +02:00
SpiritCroc
6aa6f3e01b Merge tag 'v1.1.3' into sc
Change-Id: I50f78eeec11fc4d606ddabb68d08a5ff97bbad13

Conflicts:
	vector/src/main/res/layout/item_bottom_sheet_message_preview.xml
2021-04-09 11:57:11 +02:00
SpiritCroc
2407c905fe Automatic revert to unchanged upstream strings, pt.1
Change-Id: I0a3b0614e9533b7c572205eb571c21afa325cc7e
2021-04-09 11:55:41 +02:00
Benoit Marty
93bc5abcb5 Update the Emoji source file 2021-04-09 10:32:11 +02:00
Benoit Marty
5311bacfff ktlint 2021-04-09 10:26:28 +02:00
Benoit Marty
da7c2e38f6
Merge pull request #3140 from vector-im/feature/bca/verification_as_per_web
Fix EW-EA compatibility for verification
2021-04-09 10:24:01 +02:00
Benoit Marty
2d6fca9214
Merge pull request #3143 from vector-im/feature/bma/discovery_filtering
Filter some other words when navigating into the room directory
2021-04-09 08:52:32 +02:00
Benoit Marty
f1e280827d Ensure there is no dup and cleanup 2021-04-08 19:39:49 +02:00
Matthew Hodgson
1233fde261
Update forbidden_terms.txt 2021-04-08 18:26:55 +01:00