Commit graph

5753 commits

Author SHA1 Message Date
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
parneet-guraya
1dce0ca7a0
use id to retain scroll state
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-19 13:41:05 +01:00
Andy Scherzinger
8280479aa5
Update mimetype icons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-19 13:37:28 +01:00
sowjanyakch
d80200906d
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-19 13:19:55 +01:00
sowjanyakch
2b1a16415c
Implemented delete-messages-unlimited feature
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-19 13:19:55 +01:00
Marcel Hibbe
2e317b134c
use X-Chat-Last-Common-Read to fix read status
Without this commit, the read status was broken as X-Chat-Last-Common-Read was not used. It was removed by
https://github.com/nextcloud/talk-android/pull/3630

As a result all messages were marked as unread after waiting for 30 seconds.

With this commit the X-Chat-Last-Common-Read is used again.
Messages are marked as read again also after 30 seconds.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-19 13:18:09 +01:00
Nextcloud bot
986773e0b4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-18 02:45:04 +00:00
Andy Scherzinger
df38cfccdc
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-17 18:33:33 +01:00
Andy Scherzinger
65662e90c8
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-17 18:19:19 +01:00
Andy Scherzinger
4b0daa6978
Fix kotlin fomatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-17 14:41:36 +01:00
Giacomo Pacini
ee6722bc6f
Merge branch 'master' into master 2024-03-14 15:25:22 +01:00
Sowjanya Kota
a8d9009106
Merge pull request #3712 from nextcloud/bugfix/noid/fixConversationListItemsAfterSearch
fix to hide open conversations after returning from search
2024-03-14 15:23:46 +01:00
Nextcloud bot
bad323280a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-14 02:44:51 +00:00
Giacomo Pacini
2deefb3c0a
Merge remote-tracking branch 'upstream/master' 2024-03-13 18:50:32 +01:00
Giacomo Pacini
064c3809b0
removed some comments, modified indentation, moved some strings to companion object
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-03-13 18:47:51 +01:00
Giacomo Pacini
ca5a379883
save audio message id and position when activity is destroyed,
also restores view position to that message and then resumes audio playback if was playing.
it allows to continue playing audio on screen rotation.

Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-03-13 18:47:51 +01:00
Giacomo Pacini
b44641c0c7
removed stopMediaPlayer method call in onStop(),
so that audio continues playing when activity in background.
if backpressed, stops mediaplayer

Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-03-13 18:47:50 +01:00
Marcel Hibbe
415349e267
Merge pull request #3716 from nextcloud/fix_recents_screen
Fix Recents Screen
2024-03-13 17:50:37 +01:00
sowjanyakch
353cabc442 Fix Recents Screen
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-13 17:37:56 +01:00
Marcel Hibbe
5d0c409d7b
fix to hide open conversations after returning from search
How to test:

pre-requirement:
There are open conversations

without this commit:
1. go to search screen
2. go back to conversation list
-> all open conversations are listed below own conversations

with this commit:
1. go to search screen
2. go back to conversation list
-> only own conversations are listed

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-13 13:07:42 +01:00
Marcel Hibbe
306ac18732
fix placement of contacts header items
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-13 12:45:09 +01:00
Marcel Hibbe
445721487e
dont hide message reactions in MessageActionsDialog for federated rooms
works out of the box after server implemented federated reactions. no client changes needed

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-13 10:25:17 +01:00
Nextcloud bot
a067692662
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-13 04:36:28 +00:00
Andy Scherzinger
13a5c9444f
Migrate to latest bottom sheet theming implementation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-12 20:21:17 +01:00
Marcel Hibbe
625de657d4
hide features if federation is not available
+ add capability queries (not yet used)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-12 10:52:58 +01:00
Nextcloud bot
11a7764bad
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-12 02:44:05 +00:00
parneet-guraya
3866beed92
fix remind me later dialog
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-11 15:28:38 +01:00
parneet-guraya
e7ef618119
fix filter dialog
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-11 15:28:38 +01:00
rakekniven
7dc7c9c99c
fix(i18n): Fixed case of word
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-03-09 15:19:06 +01:00
Nextcloud bot
da0dc5f6ef
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-09 03:11:52 +00:00
Nextcloud bot
57ec680d41
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-08 02:44:28 +00:00
Nextcloud bot
fb6b070273
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-07 02:54:08 +00:00
Nextcloud bot
c3df939382
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-06 07:02:59 +00:00
Julius Linus
a74c8c552d Popup bubbles now show up + Fixed bugs with images + added new string resource
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2024-03-05 09:25:56 -06:00
Marcel Hibbe
ba812cabdc
add rest of SpreedFeatures to Enums
delete method hasSpreedFeatureCapability that accepts capability name as string

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-05 13:31:23 +01:00
parneet-guraya
a483fb7017
add shimmer on top of list & refactoring
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-05 13:26:11 +01:00
sowjanyakch
8ff4771e60
Renaming strings from circles to teams.
Signed-off-by: Sowjanya Kota<sowjanya.kch@gmail.com>
2024-03-05 13:20:17 +01:00
parneet-guraya
82a46572d9
wrap inside scroll view
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-05 10:48:57 +01:00
parneet-guraya
1881676538
use default constructor for fragment
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-05 10:48:56 +01:00
Nextcloud bot
b70b6dfba9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-05 02:44:37 +00:00
Marcel Hibbe
fcf6c845a7
add compatibility for janus 1.x
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-04 12:59:35 +01:00
Marcel Hibbe
abe9a9d5fb
fix ShareUtilsTest
fix to not assume baseUrl can't be null for mockito 'when' condition

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-04 12:58:40 +01:00
Nextcloud bot
1612639b2e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-02 02:48:15 +00:00
Andy Scherzinger
a9cbb657ee
fix comment
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-01 18:05:32 +01:00
Nextcloud bot
688b54efa0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-01 11:10:57 +00:00
Marcel Hibbe
754b825096
pass spreedCapabilities instead user to CapabilitiesUtil
To support federated rooms, capabilities have to be checked from the room which now also has capabilities.
If room is not federated, capabilities fromuser are still checked.
This is why CapabilitiesUtil had to be refactored to accept SpreedCapabilities which can come from room or user.

Other than that, many other changes were made as a result of this change.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-01 11:25:11 +01:00
Nextcloud bot
bdd8e534d7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-29 02:43:47 +00:00
Nextcloud bot
c79def1855
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-28 02:53:22 +00:00
Julius Linus
dcc8fc6954
Major refactoring, implements ChatActivity in MVVM to prepare for federation and offline chatting.
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2024-02-27 17:52:30 +01:00
Marcel Hibbe
a3ecd82d13
rename MagicWebRTCUtils to WebRTCUtils
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-27 15:23:11 +01:00