Commit graph

6699 commits

Author SHA1 Message Date
renovate[bot]
a511903c98 Update dependency com.squareup.retrofit2:retrofit to v2.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-29 11:40:02 +01:00
Marcel Hibbe
4c5ffdbae7
replace roomToken with token
roomToken was added unnecessarily as it already exists as "token"

By using the duplicated roomToken, this also introduced a bug when that it could be empty.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-26 16:54:39 +01:00
Marcel Hibbe
4a72735a57
open federated chat after accepting the invite
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-26 16:34:58 +01:00
Marcel Hibbe
03d33731fd
fix to handle invitation panel when userId is the same
with same userId on both servers, the invitation panel could get shown also there were no invitations for the current account

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-26 15:32:18 +01:00
Marcel Hibbe
0e64cd56f7
adapt models to changed federation invitations API
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-26 15:18:48 +01:00
sowjanyakch
ade3182d34
Add string message_last_edited_by
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-26 11:38:38 +01:00
Valdnet
018ede1bd7
Unified spelling and remove space
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2024-03-26 11:38:38 +01:00
Valdnet
a458afa521
Change to capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2024-03-26 11:38:38 +01:00
Nextcloud bot
8191996121
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-26 02:44:54 +00:00
Marcel Hibbe
32f4b59161
fix to show all participants in conversation info
In general it's a bad idea to use recyclerview inside scrollviews because of poor performance! So this is only a fix until everything is replaced with jetpack compose.

setHasFixedSize and isNestedScrollingEnabled were set to false. This might not be necessary for the current implementation, but it's recommended when using NestedScrollView.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-25 11:55:33 +01:00
renovate[bot]
0aa863966c
Update dependency io.gitlab.arturbosch.detekt:detekt-formatting to v1.23.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 01:30:01 +00:00
Andy Scherzinger
ed216bca85
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-24 20:08:43 +01:00
Andy Scherzinger
ddc7ebb814
Fix naming of app in header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-24 20:06:56 +01:00
Andy Scherzinger
fd470d6186
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-24 20:02:41 +01:00
Andy Scherzinger
9f5ea81442
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-24 19:44:44 +01:00
Andy Scherzinger
bbdb269793
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-24 15:19:21 +01:00
Andy Scherzinger
d1a8669f11
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-24 14:24:57 +01:00
Andy Scherzinger
c2683e0ed0
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-23 17:18:18 +01:00
Marcel Hibbe
a2a2760c9b
Merge pull request #3753 from nextcloud/bumpMasterTo19.1.0alpha1
bump version to 19.1.0 Alpha01
2024-03-22 15:36:14 +01:00
Nextcloud bot
f3c7d83889
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-22 13:10:37 +00:00
Marcel Hibbe
59b706fff8
bump version to 19.1.0 Alpha01
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-22 14:03:37 +01:00
Julius Linus
20378ae89c
formatting
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-22 12:56:30 +01:00
Parneet Singh
6c52e73b9c
use DialogFragment to retain state
Signed-off-by: Parneet Singh <gurayaparneet@gmail.com>
2024-03-22 12:56:30 +01:00
Andy Scherzinger
6aafbcb3ec
Merge pull request #3749 from nextcloud/renovate/com.github.nextcloud.android-common-ui-0.x
Update dependency com.github.nextcloud.android-common:ui to v0.19.0
2024-03-22 10:20:43 +01:00
Andy Scherzinger
e6b8b5bd86
Merge pull request #3748 from nextcloud/chore/noid/spdxHeader5
Add SPDX header
2024-03-22 08:58:54 +01:00
Nextcloud bot
f5941a1327
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-22 02:42:52 +00:00
renovate[bot]
714f30e1d4
Update dependency com.github.nextcloud.android-common:ui to v0.19.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-22 02:35:07 +00:00
Andy Scherzinger
bfcc6e9f86
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-22 01:05:20 +01:00
Andy Scherzinger
c85312b715
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-22 00:14:35 +01:00
Andy Scherzinger
3c4c3bbdad
SPDX headers added
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-21 18:57:27 +01:00
Andy Scherzinger
c005d93f8c
remove magic numbers
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-21 18:42:28 +01:00
Andy Scherzinger
ff23ced3ac
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-21 18:39:30 +01:00
Marcel Hibbe
22b93b2186
Merge pull request #3740 from nextcloud/issue_remove_animation_conversationlist_appbar
Remove flickering background on the app bar
2024-03-21 17:29:24 +01:00
sowjanyakch
1d3c792bbf
Remove flickering background on the app bar
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-21 16:58:56 +01:00
Marcel Hibbe
cc19157867 convert DisplayUtils to kt
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +01:00
Marcel Hibbe
bb6af562cc convert MentionAutocompleteItem to kt
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +01:00
Marcel Hibbe
4a75108557 reformat code
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +01:00
Marcel Hibbe
c55403c023 modify log statement
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +01:00
Marcel Hibbe
c0c671bccf fix to use correct cloudId.
Without this fix, the avatars for "normal" messages were not able to show avatars.
Only the messages that contained messageParameters with actor were able to show avatars(for example "userX invited userY")

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +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
Marcel Hibbe
e76166987f
Merge pull request #3736 from nextcloud/feature/noid/hideItemsForFederatedRooms
Feature/noid/hide items for federated rooms
2024-03-21 16:07:21 +01:00
Andy Scherzinger
7f29955f3d
Update text mimetype color
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-20 19:51:08 +01:00
Andy Scherzinger
5f57d6b58c
Merge pull request #3731 from nextcloud/renovate/retrofit2version
Update retrofit2Version to v2.10.0
2024-03-20 17:54:19 +01:00
Marcel Hibbe
2cec1637e8
hide call notification setting for federated rooms
because right now it's response is http 406 as calls are not implemented for federation

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-20 17:38:43 +01:00
Marcel Hibbe
7e57ecaf79
hide shared items for federated rooms.
because right now it's response is http 406

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-20 15:57:32 +01:00
Marcel Hibbe
611dcb7911
fix error handling for shared items.
Before this with http 406 it threw a NPE and UI was shown as loading state.
With this commit an empty list is returned when there is a http error.

http 406 happens for federated rooms for now. So it might be that Shared items screen will be hidden by additional commits.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-20 15:53:39 +01:00
Marcel Hibbe
5fead79743
hide actions for federated rooms
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-20 15:22:24 +01:00
renovate[bot]
b9f32800aa
Update retrofit2Version to v2.10.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 14:03:08 +01:00
Marcel Hibbe
d15d8d29e6
fix to mark federated rooms as read
As lastMessageId is not available for federatedRooms, the API on server side now allows the messageID to be optional. This is done by this commit: messageId is null when it's a federated room.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-20 13:27:48 +01:00
Marcel Hibbe
b6ab3cde9a
manually bump to 19.0.0 Alpha 03
manual bump because alpha automation failed to bump version because of
"Commits must have verified signatures".
See https://github.com/nextcloud/talk-android/pull/3733#issuecomment-2007183957

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-19 14:42:46 +01:00