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
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
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
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
Marcel Hibbe
dd6991e39e
remove hardcoded devices for webrtc audio setup
...
android-talk-webrtc in version 121.6167.0 doesn't allow access to
WebRtcAudioManager
WebRtcAudioUtils
anymore.
These classes were used for
HARDWARE_AEC_EXCLUDE_SET
and
OPEN_SL_ES_INCLUDE_SET
lists, which were not updated for years.
For these reasons the checks for HARDWARE_AEC_EXCLUDE_SET and OPEN_SL_ES_INCLUDE_SET are removed.
If people are complaining about different behaviour of audio performance/echoes, it's worth to have a closer look at the changes again.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-27 15:23:11 +01:00
Marcel Hibbe
8c47b89ce5
fix ktlint warnings
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-27 15:15:56 +01:00
Nextcloud bot
1c8d2b0dce
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-27 02:43:36 +00:00
Marcel Hibbe
fde635d61b
show test notification + modify doc
...
show test notification from
occ notification:test-push --talk username
This will directly show the push notification without to fetch any data from nextcloud instance.
Additionally some additions to documentation were made
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-26 16:52:41 +01:00
Marcel Hibbe
c13f2589ff
handle federation invitations
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-26 16:45:55 +01:00
Nextcloud bot
2c911d998a
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-25 02:44:43 +00:00
Nextcloud bot
18e0ae31bc
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-21 02:41:28 +00:00
Nextcloud bot
094ecea457
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-20 02:40:30 +00:00
Marcel Hibbe
f64bd87d84
Merge remote-tracking branch 'origin/master' into feature/edit_messages
2024-02-19 09:27:20 +01:00
Nextcloud bot
a8aa3e42a4
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-19 02:43:20 +00:00
Nextcloud bot
8768a901cd
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-18 02:43:10 +00:00
Marcel Hibbe
9a4bf14e09
Merge remote-tracking branch 'origin/master' into feature/edit_messages
2024-02-16 17:09:03 +01:00
Marcel Hibbe
2a856bc77a
avoid to send "speaking" data channel message when mic is muted
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-16 13:06:56 +01:00
parneet-guraya
d63fc58a62
remove class level notification property
...
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-02-16 11:30:03 +01:00
parneet-guraya
d6201cf796
use new builder for failure notification
...
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-02-16 11:30:03 +01:00
parneet-guraya
94a1238f28
create notification group using summary notification
...
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-02-16 11:30:03 +01:00
sowjanyakch
4e9f62e400
Added content description for ImageView.
...
Signed-off-by: Sowjanya Kota<sowjanya.kch@gmail.com>
2024-02-14 17:30:33 +01:00
sowjanyakch
861b565c01
Added date to editor details and changes related to design.
...
Signed-off-by: Sowjanya Kota<sowjanya.kch@gmail.com>
2024-02-14 16:08:13 +01:00
sowjanyakch
8d4c0fb57c
Minor UI improvements
...
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-02-13 11:47:39 +01:00
Nextcloud bot
d71c73bfe3
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-12 02:41:48 +00:00
Nextcloud bot
740cf529c8
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-10 02:53:53 +00:00
Marcel Hibbe
6708aeebad
fix to show message as edited after editing on own device
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-09 11:16:21 +01:00
Marcel Hibbe
4e4cb26862
fix to update adapter for "edited messages" by system message
...
This will update the message when an edit was made on other devices.
So the system message will trigger that you are informed about a change. But instead to show the system message, you use it's information to immediately update the adapter.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-09 11:14:00 +01:00
sowjanyakch
683f924556
Add editor name and message timestamp to MessageActionsDialog
...
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-02-09 10:05:54 +01:00
Nextcloud bot
8c3713e4fc
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-09 02:42:04 +00:00
Nextcloud bot
fed671380c
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-08 02:42:26 +00:00
parneet-guraya
86cd617c6a
handle becoming noisy manually
...
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-02-07 15:35:44 +05:30
parneet-guraya
91d5217b1e
handle audio focus and becoming noisy
...
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-02-07 15:35:42 +05:30
Sowjanya Kota
716a1f900d
Merge branch 'master' into feature/edit_messages
2024-02-06 10:04:37 +01:00
sowjanyakch
6a0f23c39b
Merge remote-tracking branch 'origin/feature/edit_messages' into feature/edit_messages
...
# Conflicts:
# app/src/main/java/com/nextcloud/talk/api/NcApi.java
# app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt
# app/src/main/java/com/nextcloud/talk/ui/MessageInput.kt
# app/src/main/java/com/nextcloud/talk/ui/dialog/MessageActionsDialog.kt
# app/src/main/res/drawable/ic_check_24.xml
# app/src/main/res/values/strings.xml
2024-02-05 23:01:25 +01:00
sowjanyakch
d27c7a6212
UI improvements
2024-02-05 22:46:30 +01:00
sowjanyakch
426c8823c5
add (edited) tag in incoming and outgoing messages layout
2024-02-05 22:46:30 +01:00
sowjanyakch
eb27b7039f
Update Edit Message
2024-02-05 22:46:30 +01:00
sowjanyakch
7d4abf19a1
layout - edit message view
2024-02-05 22:46:30 +01:00
sowjanyakch
80c843227e
System Messages and Error handling
2024-02-05 22:46:30 +01:00
sowjanyakch
718369d80e
Edit inputText view refactoring
2024-02-05 22:46:30 +01:00
sowjanyakch
5ecfd3cd3b
Basic Edit feature
2024-02-05 22:46:30 +01:00
Sowjanya Kota
96a244408e
Checking Edit Capability
2024-02-05 22:46:29 +01:00
Nextcloud bot
a0a044815e
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-05 02:41:32 +00:00
Nextcloud bot
ec2c1fbc9a
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-04 02:45:56 +00:00