Commit Graph

10151 Commits

Author SHA1 Message Date
Nextcloud bot
aac1fea357
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-25 03:21:24 +00:00
Nextcloud bot
e64b71a063
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-24 03:02:57 +00:00
Nextcloud bot
edc5041c0a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 13:39:48 +00:00
Nextcloud bot
17e25c561c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 03:04:57 +00:00
Nextcloud bot
47c2b11278
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-22 03:06:07 +00:00
Nextcloud bot
30f9357de7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-21 03:04:15 +00:00
Nextcloud bot
4a8dd03939
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-20 02:58:59 +00:00
Nextcloud bot
a6e967e30b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-18 03:03:06 +00:00
Nextcloud bot
9a4fb3d4df
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-17 03:02:48 +00:00
Marcel Hibbe
7c3b01ef05
bump version to 20.1.1
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-16 16:37:55 +01:00
Marcel Hibbe
2e52eab7bf
Merge pull request #4622 from nextcloud/backport/4598/manualBackportTooManyRequestsException
manual backport of PR #4598 (TooManyRequestsException)
2025-01-16 15:33:32 +00:00
Marcel Hibbe
36f4c4f497
manual backport of PR #4598 (TooManyRequestsException)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-16 16:06:17 +01:00
Marcel Hibbe
237b6fafac
Merge pull request #4612 from nextcloud/backport/4611/stable-20.1
[stable-20.1] hopefully fix NPE for currentUser in addToConversationItems
2025-01-16 13:26:19 +00:00
Marcel Hibbe
64d3cdcb54 hopefully fix NPE for currentUser
It seems there could have been a race condition because currentUser was initialized too late.
 I was not able to reproduce but hopefully this fixes it:
 - initialize currentUser earlier (moved from onResume to onCreate)
 - use currentUserProvider instead userManager

NPEs were reported via gplay:

1)
Exception java.lang.NullPointerException:
  at com.nextcloud.talk.conversationlist.ConversationsListActivity.addToConversationItems (ConversationsListActivity.kt:851)
  at com.nextcloud.talk.conversationlist.ConversationsListActivity.access$addToConversationItems (ConversationsListActivity.kt:151)
  at com.nextcloud.talk.conversationlist.ConversationsListActivity$initObservers$5$1.invokeSuspend (ConversationsListActivity.kt:394)
  at com.nextcloud.talk.conversationlist.ConversationsListActivity$initObservers$5$1.invoke (Unknown Source:8)
  at com.nextcloud.talk.conversationlist.ConversationsListActivity$initObservers$5$1.invoke (Unknown Source:4)

2)
Exception java.lang.RuntimeException:
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:5427)
  at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:5508)
  ...
Caused by java.lang.NullPointerException:
  at com.nextcloud.talk.conversationlist.ConversationsListActivity.shouldShowNotificationWarning (ConversationsListActivity.kt:1557)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-16 12:49:02 +00:00
Nextcloud bot
1557db875a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-16 03:03:02 +00:00
Marcel Hibbe
5419b03184
Merge pull request #4606 from nextcloud/backport/4603/stable-20.1
[stable-20.1] fix to not cut off unread mentions bubble
2025-01-15 10:06:11 +00:00
Marcel Hibbe
cefaa203fc fix to not cut off unread mentions bubble
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-15 09:50:02 +00:00
Nextcloud bot
6eb8d1f5d0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-15 03:03:47 +00:00
Nextcloud bot
c155d19773
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-14 01:44:06 +00:00
Nextcloud bot
0ef607f1bd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-13 03:01:58 +00:00
Nextcloud bot
aae4d58221
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-12 03:13:41 +00:00
Nextcloud bot
a27e459e61
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-11 03:02:00 +00:00
Marcel Hibbe
28528aaae0
bump version to 20.1.1 RC1
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-10 14:05:07 +01:00
Marcel Hibbe
7d5fec3bf4
Merge pull request #4583 from nextcloud/backport/4474/stable-20.1
[stable-20.1] Replace Popup bubble with Material Button
2025-01-10 11:53:36 +01:00
Marcel Hibbe
27d2cbd2f3
add animation to "unread mentions" button + change design
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-10 11:44:53 +01:00
github-actions
8f64664b74
Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <github-actions@github.com>
2025-01-10 11:44:53 +01:00
sowjanyakch
9b19423ada
remove popup bubble dependency
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-10 10:55:10 +01:00
sowjanyakch
1dd56c0a5b
hide button when scrolling to unread mention
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-10 10:55:10 +01:00
sowjanyakch
c287f1f2fd
Changes to ConversationsListActivity
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-10 10:55:10 +01:00
sowjanyakch
3ab4fb39a5
replace popup button with material button
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-10 10:55:09 +01:00
Nextcloud bot
b4153c4dce
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-10 09:53:44 +00:00
Marcel Hibbe
83cba7197e
Merge pull request #4592 from nextcloud/backport/4591/stable-20.1
[stable-20.1] fix translation for polls_option_delete
2025-01-10 10:51:30 +01:00
Marcel Hibbe
448e81679b fix translation for polls_option_delete
$s -> $d

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-10 09:51:12 +00:00
Nextcloud bot
ab5fe4977d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-10 03:02:00 +00:00
Nextcloud bot
9b90692354
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-09 16:44:24 +00:00
Marcel Hibbe
c1fe29dbee
Merge pull request #4585 from nextcloud/backport/4584/stable-20.1
[stable-20.1] $s -> $d
2025-01-09 17:41:34 +01:00
tobiasKaminsky
2180ae7993 $s -> $d
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2025-01-09 15:59:46 +00:00
Nextcloud bot
c821fc6a96
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-09 14:34:01 +00:00
Nextcloud bot
83fdb1cdba
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-09 14:10:00 +00:00
Marcel Hibbe
dd37c7e08c
Merge pull request #4582 from nextcloud/backport/4551/stable-20.1
[stable-20.1] show message send button when there is text in input message field
2025-01-08 17:47:59 +01:00
sowjanyakch
f19cb6c1e1 show send button when there is text in input message field
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-08 15:59:04 +00:00
Marcel Hibbe
41d2535d51
Merge pull request #4581 from nextcloud/backport/4558/stable-20.1
[stable-20.1] Fix sending local state to other participants
2025-01-08 14:09:16 +01:00
Daniel Calviño Sánchez
e3d274252e Send state also through signaling messages
The speaking state is still sent only through data channels, as it is
not currently handled by other clients when sent through signaling
messages.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-08 12:50:53 +00:00
Daniel Calviño Sánchez
eb35a2ed9a Rename variable
This will be used to have separate counts for data channel and signaling
messages.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-08 12:50:53 +00:00
Daniel Calviño Sánchez
57ed4340f8 Add support for sending signaling messages in the MessageSender
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-08 12:50:53 +00:00
Daniel Calviño Sánchez
0e258e91e0 Move attributes to local variables
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-08 12:50:53 +00:00
Daniel Calviño Sánchez
a5bbff7e92 Send current state to remote participants when they join
Note that this implicitly send the current state to remote participants
when the local participant joins, as in that case all the remote
participants already in the call join from the point of view of the
local participant

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-08 12:50:53 +00:00
Daniel Calviño Sánchez
0443bff9ca Add support for sending data channel messages to a single participant
This is not possible when Janus is used, as Janus only allows
broadcasting data channel messages to all the subscribers of the
publisher connection.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-08 12:50:53 +00:00
Daniel Calviño Sánchez
036e4b4403 Add helper class to broadcast the local participant state
The LocalStateBroadcaster observes changes in the
LocalCallParticipantModel and notifies other participants in the call as
needed. Although it is created right before joining the call there is a
slim chance of the state changing before the local participant is
actually in the call, but even in that case other participants would not
be notified about the state due to the MessageSender depending on the
list of call participants / peer connections passed to it, which should
not be initialized before the local participant is actually in the call.

There is, however, a race condition that could cause participants to not
be added to the participant list if they join at the same time as the
local participant and a signaling message listing them but not the local
participant as in the call is received once the CallParticipantList was
created, but that is unrelated to the broadcaster and will be fixed
in another commit.

Currently only changes in the audio, speaking and video state are
notified, although in the future it should also notify about the nick,
the raised hand or any other state (but not one-time events, like
reactions). The notifications right now are sent only through data
channels, but at a later point they will be sent also through signaling
messages as needed.

Similarly, although right now it only notifies of changes in the state
it will also take care of notifying other participants about the current
state when they join the call (or the local participant joins).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-08 12:50:53 +00:00
Daniel Calviño Sánchez
2b98a994ff Add data model for local call participants
This is the counterpart of CallParticipantModel for the local
participant. For now it just stores whether audio and video are enabled
or not, and whether the local participant is speaking or not, but it
will be eventually extended with further properties.

It is also expected that the views, like the button with the microphone
state, will update themselves based on the model. Similarly the model
should be moved from the CallActivity to a class similar to
CallParticipant but for the local participant. In any case, all that is
something for the future; the immediate use of the model will be to know
when the local state changes to notify other participants.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-08 12:50:53 +00:00