Commit Graph

10178 Commits

Author SHA1 Message Date
Benoit Marty 20f86a30e8 Upgrade Realm to version 10.4.0
Migration with isEmbedded tested OK
2021-05-10 13:31:38 +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
Valere 5e2c3239ea Code review 2021-05-10 10:21:43 +02:00
LinAGKar d42a4bb5ee Translated using Weblate (Swedish)
Currently translated at 100.0% (2438 of 2438 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-05-09 19:34:31 +00:00
Marek e951b2097d Translated using Weblate (German)
Currently translated at 97.4% (2376 of 2438 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-05-09 19:34:29 +00:00
SpiritCroc ed8aada390 alternative_package.sh: Allow replacing the name
Change-Id: I4a1345ac800a7825410a484eb3a0d7c26cbcd959
2021-05-09 16:06:16 +02:00
Philipp Neumann 1db2d05ee4 linter corrections and added line to changes 2021-05-08 14:53:54 +02:00
Philipp Neumann f1ba8b96c9 added import 2021-05-08 14:12:20 +02:00
Benoit Marty 53b20a89ca Change with Android Studio 4.2 2021-05-07 16:41:51 +02:00
Benoit Marty 87b12b7e11 Add the public icon on the rooms in the room list (#3292) 2021-05-07 16:41:30 +02:00
SpiritCroc 5a8f637e58 Don't stretch image to sender name
Change-Id: I805e0359aedce07253cde1b84dc225f079efba1e
2021-05-07 14:58:00 +02:00
LinAGKar 3d613c003d Translated using Weblate (Swedish)
Currently translated at 99.3% (2421 of 2438 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-05-07 12:34:29 +00:00
Benoit Marty bbabfdabd0 Handle database migration 2021-05-07 13:22:55 +02:00
Benoit Marty e969d663a5 Code review 2021-05-07 12:33:01 +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
yostyle 64f1834913 Add joinRules to RoomSummary 2021-05-06 18:41:26 +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
Benoit Marty fb0205e903 Exchange fun name :) 2021-05-06 14:28:27 +02:00
Quang Trung e2682b6082 Translated using Weblate (Vietnamese)
Currently translated at 18.7% (456 of 2438 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-05-06 11:34:30 +00:00
Ange des ténèbres 610c25b67c Translated using Weblate (French)
Currently translated at 88.8% (16 of 18 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fr/
2021-05-06 11:34:29 +00:00
LinAGKar 728356fdeb Translated using Weblate (Swedish)
Currently translated at 99.1% (2418 of 2438 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-05-06 11:34:28 +00:00
Valere 19223826fe Various fixes on spaces explore
+ MxTo bottom sheet Fix regression when using state button
2021-05-06 11:54:26 +02:00
Benoit Marty f704539c89
Merge pull request #3284 from vector-im/feature/bca/spaces_stable_prefixes
stable prefix for msc1772
2021-05-06 11:09:21 +02:00
Benoit Marty 096e95f9da
Merge pull request #3279 from vector-im/feature/bca/space_beta_people
Spaces | beta Browsing Member Directory In Space
2021-05-06 10:38:40 +02:00
Benoit Marty 89d71ceedc
Merge pull request #3283 from vector-im/feature/bca/spaces_fix_notif_filter
Fix unread badges and invite filtering
2021-05-06 10:36:09 +02:00
Benoit Marty c88fb3a940
Merge pull request #3285 from vector-im/feature/bma/developer_error
Properly clean the back stack if the user cancel registration when waiting for email/msisdn validation
2021-05-06 10:03:29 +02:00
dependabot[bot] 711dfe41b7
Bump media from 1.3.0 to 1.3.1
Bumps media from 1.3.0 to 1.3.1.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 07:11:17 +00:00
Benoit Marty 4864137fa1 Properly clean the back stack if the user cancel registration when waiting for email/msisdn validation 2021-05-05 23:13:56 +02:00
Valere efe5176286 rename activeSpaceId to activeSpaceFilter 2021-05-05 22:36:27 +02:00
Valere 3cbdf4ad5c stable prefix for msc1772 2021-05-05 22:30:38 +02:00
Valere 506870302e Fix unread badges and invite filtering 2021-05-05 22:12:29 +02:00
Benoit Marty 6220e35221
Merge pull request #3281 from vector-im/feature/bca/fix_space_tests
Fix space test + room history visibility bug
2021-05-05 18:55:18 +02:00
Benoit Marty ea93261b83 Fix close icon color in dark theme 2021-05-05 18:51:43 +02:00
Benoit Marty 908e7be2ba Create a GenericIdArgs instead of using unrelated GenericIdArgs - fix crash 2021-05-05 18:36:33 +02:00
Benoit Marty cdb3d7c308 Create a GenericIdArgs instead of using unrelated GenericIdArgs 2021-05-05 18:22:16 +02:00
Benoit Marty ea3abee63a Format 2021-05-05 18:12:45 +02:00
Benoit Marty 961f3bcd19 More cleanup and split into several files 2021-05-05 18:09:29 +02:00
Benoit Marty 2acfb29416 Some cleanup 2021-05-05 17:54:56 +02:00
Valere 99d4471799 space beta people screen 2021-05-05 17:54:56 +02:00
Valere 4abfc1fd2b Fix space test + room history visibility bug 2021-05-05 17:46:58 +02:00
Benoit Marty b09e509db7
Merge pull request #3259 from vector-im/feature/bca/spaces_advertise_beta
Invite bottom sheet + fixes + beta tag
2021-05-05 16:26:54 +02:00
Benoit Marty 17e57fe86c Fix small issue 2021-05-05 16:24:47 +02:00
Benoit Marty 64a37c251d
Merge pull request #3264 from vector-im/feature/bma/fix_3245
Compress video and improve file too big error detection
2021-05-05 15:50:21 +02:00
Benoit Marty 080bdf1495 Fix long line 2021-05-05 15:48:11 +02:00
Valere 168633b466 Code review 2021-05-05 14:55:02 +02:00
SpiritCroc 709f8b0b05 Ensure proper grouping for notifications tab query
Change-Id: I58e8a85fd5e2c938d55189825daf7820f826da1e
2021-05-05 12:35:04 +02:00
SpiritCroc 2f4e9e3017 Ensure proper grouping for notifications tab query
Change-Id: I58e8a85fd5e2c938d55189825daf7820f826da1e
2021-05-05 12:31:20 +02:00
Valere ecceb0fb03 code review 2021-05-05 11:33:28 +02:00