Commit Graph

26 Commits

Author SHA1 Message Date
Andy Scherzinger
3eabf9bb83
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-29 12:55:12 +01:00
Julius Linus
870ef03d61 Federated Mentions
- Federated mention chip
- Federated message avatars
- Helper functions

Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2024-03-21 16:39:16 +01:00
Andy Scherzinger
08936279b6
codacy: inefficient use of StringBuffer.toString using call StringBuffer.length instead
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-12-29 11:37:00 +01:00
Andy Scherzinger
946ec09315
Spotbug: don't access Array with constant index
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-12-29 11:36:58 +01:00
Andy Scherzinger
698ebdfd1c
remove unneeded toString() call
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-12-29 11:36:56 +01:00
Tim Krüger
49da463971
Replace Fresco with Coil
Fresco is replaced with Coil everywhere to make it possible to set 'minSdkVersion'
to 23. But Coil is not used directly to avoid splintering the dependency
everywhere in the code. Coil is wrapped by extension functions for 'ImageView'.

Some shared functionality is moved from 'DisplayUtils' into the
'ImageViewExtensions'.

The exisiting initialization of Coil has also be changed. The usage of the self
initialized OKHttp client is removed. If this one is added the
caching of the http client is used by Coil additionally to memory and
disk cache.

Resolves: #2227, #2376

Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-12-07 13:45:42 +01:00
Andy Scherzinger
3632b58eb1
bump kotlin to 17.0.20 and mark declaration usage as opt-in
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-05 22:10:48 +02:00
Andy Scherzinger
9eb3cbc280
proper chip theming for you-mentions
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-08-11 09:50:52 +02:00
Andy Scherzinger
7230f81cf5
Migrate conversations list and next hop controllers to use the room user entity
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-07-13 00:22:03 +02:00
Andy Scherzinger
b33a4d1265
Upgrade code to latest API changes for Emojis
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-20 16:01:49 +02:00
Andy Scherzinger
0bc3be1b6e
codacy: Avoid unused imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:35:34 +02:00
Mario Danic
ecfe91f36f Significant improvements to the dark theme
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 10:39:07 +02:00
Mario Danic
4697e4f340 Fix up guest mentions and autocomplete callback
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-05 11:17:20 +02:00
Mario Danic
aca1f9a13d Fix various issues with emojis
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-07-22 12:41:54 +02:00
Mario Danic
cc96878d52 Fix #527
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-03 09:55:21 +02:00
Mario Danic
c52d08410d Update chips colors
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-18 01:33:45 +02:00
Mario Danic
06992b400f Update chips
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-10 14:16:26 +02:00
Mario Danic
bd3eae81d2 Fix call chips in edit text
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-10 12:15:46 +02:00
Mario Danic
4feb46f40a Improvements to call chip
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-10 11:21:06 +02:00
Mario Danic
ad3b440e88 Progress with setting chip avatars
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-10 09:41:13 +02:00
Mario Danic
f4f96bb7d9 First step towards mention chips
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-09 21:18:02 +02:00
Mario Danic
b35a1c0758 Improve coloring
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-05 21:06:16 +01:00
Mario Danic
dfae11f65c Fix mentions when in the middle of text
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-05 14:37:15 +01:00
Mario Danic
d6a7a2ff94 First batch of mention changes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-05 14:13:57 +01:00
Mario Danic
e3ad95da74 Fix bugs with autocomplete
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-02 01:26:00 +01:00
Mario Danic
fce49d717e Initial mention implementation
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-05-04 03:59:35 +02:00