Commit Graph

10319 Commits

Author SHA1 Message Date
rapterjet2004
a8f1d37236
oops
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-01-10 11:37:07 +01:00
rapterjet2004
73ed4cbf8f
linter
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-01-10 11:37:07 +01:00
rapterjet2004
63cb98ece7
Deleted old fragment + xml
Added string res
Fixed bug with embedded date picker boundaries, animated size change

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-01-10 11:14:35 +01:00
rapterjet2004
eae4e43ab2
Small fixes - new theming
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-01-10 11:14:35 +01:00
rapterjet2004
d114142d09
Migrating away from java.util.Date to java.time
- Also converted dialog fragment to compose

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-01-10 11:14:34 +01:00
Nextcloud bot
6d1ffbdb14
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-10 09:53:29 +00:00
Marcel Hibbe
5e72621469
Merge pull request #4591 from nextcloud/correctTranslationPollsDelete
fix translation for polls_option_delete
2025-01-10 10:51:06 +01:00
Marcel Hibbe
8218616b99
fix translation for polls_option_delete
$s -> $d

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-10 10:33:15 +01:00
renovate[bot]
2956ca9d38
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 08:41:57 +00:00
Andy Scherzinger
cf2a5979f3
Merge pull request #4588 from nextcloud/renovate/com.android.tools.build-gradle-8.x
Update dependency com.android.tools.build:gradle to v8.8.0
2025-01-10 07:04:49 +01:00
Andy Scherzinger
0b80573596
Merge pull request #4589 from nextcloud/renovate/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.x
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.28
2025-01-10 07:02:45 +01:00
renovate[bot]
46c5b47c94
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.28
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 03:21:10 +00:00
Nextcloud bot
5887835169
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-10 03:01:46 +00:00
renovate[bot]
47afa10ebf
Update dependency com.android.tools.build:gradle to v8.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 23:31:13 +00:00
Nextcloud bot
d89393c66e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-09 16:44:09 +00:00
Marcel Hibbe
45477170ab
Merge pull request #4584 from nextcloud/correctTranslation
$s -> $d
2025-01-09 16:55:35 +01:00
Nextcloud bot
744280af41
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-09 14:33:32 +00:00
tobiasKaminsky
5fd966fc57
$s -> $d
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2025-01-09 15:28:33 +01:00
Nextcloud bot
e5c443c787
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-09 14:09:30 +00:00
Marcel Hibbe
d8bc113c28
Merge pull request #4474 from nextcloud/popup_bubble
Replace Popup bubble with Material Button
2025-01-08 17:55:12 +01:00
Marcel Hibbe
8d0c94834a
add animation to "unread mentions" button + change design
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-08 17:22:04 +01:00
github-actions
9f5fa4aac2
Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <github-actions@github.com>
2025-01-08 17:22:04 +01:00
sowjanyakch
4c7d105d2f
remove popup bubble dependency
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-08 17:22:04 +01:00
sowjanyakch
d5968100dc
hide button when scrolling to unread mention
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-08 17:22:03 +01:00
sowjanyakch
b6320287d5
Changes to ConversationsListActivity
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-08 17:22:03 +01:00
sowjanyakch
4d6726d9cd
replace popup button with material button
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-08 17:22:03 +01:00
Marcel Hibbe
585f66d8ab
Merge pull request #4551 from nextcloud/show_send_button
show message send button when there is text in input message field
2025-01-08 16:58:58 +01:00
sowjanyakch
d36f3c92c6
show send button when there is text in input message field
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-08 16:38:32 +01:00
Marcel Hibbe
1f908f8bae
Merge pull request #4559 from nextcloud/search_open_conversations
Improvise search in open conversations
2025-01-08 16:24:06 +01:00
sowjanyakch
006cfae6f1
sort conversations only if text is present
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-08 16:02:28 +01:00
sowjanyakch
298cf3a249
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-08 16:02:28 +01:00
sowjanyakch
9068a42f10
configured editText to occupy single line
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-08 16:02:28 +01:00
sowjanyakch
0035e03cd2
remove unused code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-08 16:02:28 +01:00
sowjanyakch
e2dc525bf1
implement search in open conversations
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-08 16:02:27 +01:00
sowjanyakch
38135f845e
use field parameter "searchTerm"
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-08 16:02:26 +01:00
Marcel Hibbe
993dfe4db7
Merge pull request #4558 from nextcloud/fix-sending-local-state-to-other-participants
Fix sending local state to other participants
2025-01-08 13:50:46 +01:00
Daniel Calviño Sánchez
512b320015
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:35:17 +01:00
Daniel Calviño Sánchez
73105515bd
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:35:16 +01:00
Daniel Calviño Sánchez
ea2bebe3b0
Add support for sending signaling messages in the MessageSender
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-08 12:35:16 +01:00
Daniel Calviño Sánchez
8644d05636
Move attributes to local variables
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-08 12:35:16 +01:00
Daniel Calviño Sánchez
0ec5175c61
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:35:16 +01:00
Daniel Calviño Sánchez
ea4bccdaf7
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:35:16 +01:00
Daniel Calviño Sánchez
fe32bc1628
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:35:15 +01:00
Daniel Calviño Sánchez
cb52fb349f
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:35:15 +01:00
Daniel Calviño Sánchez
36a29ed36e
Send data channel messages only to "video" peer connections
Data channel messages are expected to be sent only to peer connections
with "video" type, which provide the audio and video tracks of the
participant (and, in fact, peer connections for screen shares do not
even have data channels enabled in the WebUI).

Note that this could change if at some point several audio/video tracks
are sent in the same peer connection, or if "speaking" messages are
added to screen shares, but that will be addressed if/when that happens.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-08 12:35:15 +01:00
Daniel Calviño Sánchez
3e36c85015
Add helper class to send messages to call participants
For now it just provides support for sending a data channel message to
all participants, so notifying all participants when the media is
toggled or the speaking status change can be directly refactored to use
it.

While it would have been fine to use a single class for both MCU and no
MCU they were split for easier and cleaner unit testing in future
stages.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-08 12:35:15 +01:00
Daniel Calviño Sánchez
8fa3224879
Set "hasMCU" once its value is known
"hasMCU" (which has always been the wrong name, because it is an SFU
rather than an MCU, but it is wrong even in the signaling server so for
now the legacy name is kept) was set again and again whenever the call
participant list changed. Now it is set instead once its value is known,
that is, when it is known that the internal signaling server is used (as
no "MCU" is used in that case), or when the connection with the external
signaling server is established, as its supported features are not known
until then.

This change should have no effect in the usages of "hasMCU", as it is
used when the call participant list change, which will happen only after
joining the call in the signaling server, or when sending "isSpeaking"
and toggling media, in both cases guarded by "isConnectionEstablished",
which will be true only once "performCall" was called or if the call is
active with other participants.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-08 12:35:14 +01:00
github-actions[bot]
d0d1597577
Merge pull request #4580 from nextcloud/renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.8.0
2025-01-08 10:14:11 +00:00
renovate[bot]
c3b0358acf
fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 09:57:44 +00:00
Marcel Hibbe
79230badc4
Merge pull request #4553 from nextcloud/use_internal_player
open .webm video files with internal player
2025-01-07 19:59:48 +01:00