Commit Graph

7961 Commits

Author SHA1 Message Date
rapterjet2004
490cd32c25
Impl changes, unable to replicate 1.)
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-01-10 11:37:07 +01:00
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
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
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
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
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
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
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
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
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
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
sowjanyakch
9d76a1e7ed
open .webm video files with internal player
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-07 19:42:55 +01:00
Nextcloud Android Bot
1d0ce26dcc Weekly 21.0.0 Alpha 08 2025-01-06 03:10:30 +00:00
Nextcloud bot
214623a7af
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-04 03:03:24 +00:00
Daniel Calviño Sánchez
f112e26d25
Fix SDP constraints used by PeerConnectionWrapper
The SDP constraints for publisher connections when the MCU is used were
set for all connections. Those constraints set "OfferToReceiveAudio" and
"OfferToReceiveVideo" to false, which disables receiving audio and video
when the local participant is the one sending the offer. Therefore,
audio and video was not received when the MCU was not used and the local
participant was the one initiating the connection.

The "OfferToReceiveXXX" configurations have no effect when set on an
answer (and thus are not even set, an empty MediaConstraints is used in
that case). However, when "OfferToReceiveVideo = false" is set the video
transceiver is explicitly stopped (which is used to avoid receiving
video when joining a call with audio only). Therefore, as
"OfferToReceiveVideo = false" was always set, video was never received
in subscriber connections when the MCU is used, or connections initiated
by the other peer when the MCU is not used.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 13:26:43 +01:00
Daniel Calviño Sánchez
94257da123
Rename attribute to a more accurate name
The SDP constraints should be set when the MCU is used, but only for
publisher connections; receiver connections should use the general SDP
constraints.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 13:26:42 +01:00
Marcel Hibbe
22efcd7e83
Merge pull request #4574 from nextcloud/convertLogClassToKotlin
Convert log class to kotlin
2025-01-03 13:14:00 +01:00
Marcel Hibbe
3874751fcb
convert Log class to kotlin
@JvmStatic is necessary to keep the static behavior of the method calls

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-03 12:44:56 +01:00
Marcel Hibbe
7680d51b09
Rename .java to .kt
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-03 12:44:53 +01:00
renovate[bot]
f21fe475a9
Update mockito monorepo to v5.15.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 11:37:28 +00:00
Daniel Calviño Sánchez
d63bb31595
Fix "send" not respecting order of pending messages
When the data channel is not open yet data channel messages are queued
and then sent once opened. "onStateChange" is called from the WebRTC
signaling thread, while "send" can be called potentially from any
thread, so to send the data channel messages in the same order that they
were added new messages need to be enqueued until all the pending
messages have been sent. Otherwise, even if there is synchronization
already, it could happen that "onStateChange" was called but, before
getting the lock, "send" gets it and sends the new message before the
pending messages were sent.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:43 +01:00
Daniel Calviño Sánchez
b6d6986b62
Fix "removePeerConnection" not being thread-safe
Adding and disposing remote data channels is done from different
threads; they are added from the WebRTC signaling thread when
"onDataChannel" is called, while they can be disposed potentially from
any thread when "removePeerConnection" is called. To prevent race
conditions between them now both operations are synchronized.

However, as "onDataChannel" belongs to an inner class it needs to use a
synchronized statement with the outer class lock. This could still cause
a race condition if the same data channel was added again; this should
not happen, but it is handled just in case.

Moreover, once a data channel is disposed it can be no longer used, and
trying to call any of its methods throws an "IllegalStateException". Due
to this, as sending can be also done potentially from any thread, it
needs to be synchronized too with removing the peer connection.

State changes on data channels as well as receiving messages are also
done in the WebRTC signaling thread. State changes needs synchronization
as well, although receiving messages should not, as it does not directly
use the data channel (and it is assumed that using the buffers of a
disposed data channel is safe). Nevertheless a little check (which in
this case requires synchronization) was added to ignore the received
messages if the peer connection was removed already.

Finally, the synchronization added to "send" and "onStateChange" had the
nice side effect of making the pending data channel messages thread-safe
too, as before it could happen that a message was enqueued when the
pending messages were being sent, which caused a
"ConcurrentModificationException".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:43 +01:00
Daniel Calviño Sánchez
a301bdeb76
Store data channel label
Getting the label is no longer possible once the data channel has been
disposed. This will help to make the observer thread-safe.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:43 +01:00
Daniel Calviño Sánchez
fae86910b8
Add logs for sending data channel messages
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:42 +01:00
Daniel Calviño Sánchez
ddd451dadb
Queue data channel messages sent when data channel is not open
Data channel messages can be sent only when the data channel is open.
Otherwise the message is simply lost. Clients of the
PeerConnectionWrapper do not need to be aware of that detail or keep
track of whether the data channel was open already or not, so now data
channel messages sent before the data channel is open are queued and
sent once the data channel is opened.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:42 +01:00
Daniel Calviño Sánchez
7cfee8f848
Split condition
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:42 +01:00
Daniel Calviño Sánchez
bcd3893e7d
Rewrite method to return early
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:42 +01:00
Daniel Calviño Sánchez
c222e01095
Move variable declaration into try block
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:41 +01:00
Daniel Calviño Sánchez
4d4b8832aa
Fix remote data channels not disposed when removing peer connection
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:41 +01:00
Daniel Calviño Sánchez
c940175453
Send data channel messages using "status" data channel
Data channel messages are expected to be sent using the "status" data
channel that is locally created. However, if another data channel was
opened by the remote peer the reference to the "status" data channel was
overwritten with the new data channel, and messages were sent instead on
the remote data channel.

In current Talk versions that was not a problem, and the change makes no
difference either, because since the support for Janus 1.x was added
data channel messages are listened on all data channels, independently
of their label or whether they were created by the local or remote peer.

However, in older Talk versions this fixes a regression introduced with
the support for Janus 1.x. In those versions only messages coming from
the "status" or "JanusDataChannel" data channels were taken into
account. When Janus is not used the WebUI opens the legacy
"simplewebrtc" data channel, so that data channel may be the one used to
send data channel messages (if it is open after the "status" data
channel), but the messages received on that data channel were ignored by
the WebUI. Nevertheless, at this point this is more an academic problem
than a real world problem, as it is unlikely that there are many
Nextcloud servers with Talk < 16 and without HPB being used.

Independently of all that, when the peer connection is removed only the
"status" data channel is disposed, but none of the remote data channels
are. This is just a variation of an already existing bug (the last open
data channel was the one disposed due to being the last saved reference,
but the rest were not) and it will be fixed in another commit.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:41 +01:00
Daniel Calviño Sánchez
a4cce0581c
Rename "sendChannelData" to "send"
The legacy name was a bit strange, so now it is renamed to just "send"
as the parameter type ("DataChannelMessage") gives enough context.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:41 +01:00
Daniel Calviño Sánchez
1f872553b9
Include data channel label in log message
This implicitly fixes trying to send the initial state on the latest
remote data channel found (which is the one stored in the "dataChannel"
attribute of the "PeerConnectionWrapper") when any other existing data
channel changes its status to open. Nevertheless, as all this will be
reworked, no unit test was added for it.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:40 +01:00
Daniel Calviño Sánchez
4daadc508c
Unify log messages for received data channel messages
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:40 +01:00
Daniel Calviño Sánchez
08630790b7
Add unit tests for receiving data channel messages
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:40 +01:00
Daniel Calviño Sánchez
ed69d96a43
Add dummy Log implementation to be used in tests
Log methods are static, so they can not be mocked using Mockito.
Although it might be possible to use PowerMockito a dummy implementation
was added instead, as Log uses are widespread and it is not something
worth mocking anyway.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:40 +01:00
Daniel Calviño Sánchez
d34fdfb1c5
Remove Dagger related code from PeerConnectionWrapper
The PeerConnectionWrapper does not need to be injected in the
application, nor the Context needs to be injected in the
PeerConnectionWrapper. This all seems to be leftovers from the past, and
removing them would ease adding unit tests for the
PeerConnectionWrapper.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-03 10:52:39 +01:00
Nextcloud bot
a65b52b0e5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-03 03:03:50 +00:00
Nextcloud Android Bot
e5d946d973 Weekly 21.0.0 Alpha 07 2024-12-30 03:10:49 +00:00
Nextcloud bot
b0658caea2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-28 03:04:16 +00:00
Nextcloud bot
9630fc130d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-27 03:04:12 +00:00
Nextcloud bot
d092f03c96
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-26 03:04:24 +00:00
Nextcloud bot
bc5a289ee5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-25 03:03:55 +00:00
Nextcloud bot
97e4e3aa90
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-24 03:02:01 +00:00
Nextcloud Android Bot
3a85f146b1 Weekly 21.0.0 Alpha 06 2024-12-23 03:12:34 +00:00
Nextcloud bot
e7e6e421b0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-23 03:01:48 +00:00
Nextcloud bot
127034fe33
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-22 03:18:49 +00:00
Andy Scherzinger
62d1eeafce
fix(ktlint): correct code formatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-21 16:50:40 +01:00
Nextcloud bot
144ccc4106
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-21 03:03:23 +00:00
renovate[bot]
85efdd5a7b
Update daggerVersion to v2.54
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-20 20:03:07 +00:00
github-actions[bot]
7e5755325d
Merge pull request #4561 from nextcloud/renovate/kotlinx-coroutines-monorepo
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-test to v1.10.1
2024-12-20 16:46:48 +00:00
renovate[bot]
153e2dcfb5
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-test to v1.10.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-20 16:31:35 +00:00
Marcel Hibbe
c86769d0e3
Merge branch 'master' into master
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-12-20 17:14:33 +01:00
Marcel Hibbe
74da67210d
resolve detekt warnings 2024-12-20 15:44:24 +01:00
Marcel Hibbe
cd50115e06
fix detekt warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-12-20 14:59:25 +01:00
sowjanyakch
74bf9f2e91
hide replacement view when there is no replacement set
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:53 +01:00
sowjanyakch
f7078990d9
use constants
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:53 +01:00
sowjanyakch
65cb31b1e7
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:53 +01:00
sowjanyakch
8ca769832d
use theming from server
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:53 +01:00
sowjanyakch
3eab18472f
format code and remove unused colors
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:53 +01:00
sowjanyakch
cadb12cd0f
join 1:1 conversation with replacement user
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:52 +01:00
sowjanyakch
9a481aefc8
create chip for avatar icon and name
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:52 +01:00
sowjanyakch
ca4ace687c
use proper color for out of office view
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:52 +01:00
sowjanyakch
a9168b3f9d
format code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:52 +01:00
sowjanyakch
27538a77ff
remove unused namespace declaration
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:52 +01:00
sowjanyakch
e7c540870b
ui changes to out_of_office_view
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:52 +01:00
sowjanyakch
4bdedfbc0d
show userAbsence period
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:51 +01:00
sowjanyakch
ecd5bfdf41
apply styling
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:51 +01:00
sowjanyakch
c9d5bc68a2
show replacement only if the user set a replacement
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:51 +01:00
sowjanyakch
083f0de063
use proper naming
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:51 +01:00
sowjanyakch
f7f73136d8
modify data class UserAbsenceData
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:51 +01:00
sowjanyakch
07accbb2b9
Use conversation name as userId in API call
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:51 +01:00
sowjanyakch
e6e294096b
call API only when status is in DND mode
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:50 +01:00
sowjanyakch
10e88f1e17
display out of office message in ChatActivity
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:50 +01:00
sowjanyakch
6bcd24bf56
add out_of_office_view.xml
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:50 +01:00
sowjanyakch
24ca0d6def
Modify ViewModel and Repository
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:50 +01:00
sowjanyakch
8fdd1478bf
add model
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-20 10:59:49 +01:00
renovate[bot]
f540510aaf
fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-coroutines-test to v1.10.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 21:00:33 +00:00
Giacomo Pacini
c3aef0286a
run ./gradlew ktlintFormat
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-12-19 15:26:11 +01:00
Giacomo Pacini
fce785c734
spacing
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-12-19 14:18:21 +01:00
Giacomo Pacini
20a94f0ef3
spacing
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-12-19 14:18:20 +01:00
Giacomo Pacini
4fa06520ea
actually allows to play in background consecutive voice messages
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-12-19 14:18:20 +01:00
Giacomo Pacini
169dac4045
spacing
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-12-19 14:18:20 +01:00
Giacomo Pacini
09925699b7
added a boolean backgroundPlayAllowed, so that startPlayback continues only when that parameter is true. It is set to true only when it is called to play a consecutive voice message.
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-12-19 14:18:20 +01:00
Giacomo Pacini
7542b310e0
use Log.error instead of e.printstacktrace()
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-12-19 14:18:20 +01:00
Giacomo Pacini
d4b02a4a89
minor fixes
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-12-19 14:18:19 +01:00
Giacomo Pacini
deab1d10e1
fetches both previous and next voice messages
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-12-19 14:18:19 +01:00
Giacomo Pacini
6a598357fc
when a voice message is played, starts the download of the next ones if any, computes their durations and starts playing the next one at the end of the current. Plays a doodle between them
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-12-19 14:18:19 +01:00
Giacomo Pacini
410b27b72c
when the voice message duration is known, always shows it when not playing
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-12-19 14:18:18 +01:00
Giacomo Pacini
053407f900
fixed a bug that cut the last part of every voice messages. i.e. An audio message whose duration is 5.9 seconds was played for 5 seconds
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-12-19 14:18:18 +01:00
Giacomo Pacini
c0948ba478
voice messages that are played for at least a threshold are coloured differently
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-12-19 14:18:04 +01:00
Nextcloud bot
c754ce48d4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-19 03:03:52 +00:00
Nextcloud bot
a627beec1a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-18 03:37:41 +00:00
renovate[bot]
2d8aa2dbe1
fix(deps): update dependency org.junit.vintage:junit-vintage-engine to v5.11.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-16 16:21:00 +00:00
Nextcloud Android Bot
d512eed803 Weekly 21.0.0 Alpha 05 2024-12-16 03:12:01 +00:00
renovate[bot]
e902b6f58e
fix(deps): update dependency com.mebigfatguy.fb-contrib:fb-contrib to v7.6.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-15 01:20:22 +00:00
Nextcloud bot
7b43438539
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-14 03:01:31 +00:00
Andy Scherzinger
d2778b2ce1
style: Fix formatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-13 18:31:38 +01:00
Andy Scherzinger
8d0c6b0ce3
style(detekt): Restrict the number of return statements in methods
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-13 18:24:30 +01:00
Andy Scherzinger
f549870d3b
style(detekt): Shorten methods
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-13 16:21:42 +01:00
Andy Scherzinger
279bd8ade7
fix(lint): Move suppressions due to refactoring
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-13 15:35:18 +01:00
Andy Scherzinger
44badccad2
style(ktlint): Fix formatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-13 15:35:18 +01:00
Andy Scherzinger
383bf2a728
style(detekt): Shorten methods
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-13 15:35:17 +01:00
Andy Scherzinger
b0c86cac6c
style(detekt): Move magic number to constant
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-13 15:35:17 +01:00
sowjanyakch
49c717c020
show set remainder in federated conversation
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-13 13:44:02 +01:00
Marcel Hibbe
f41efd9303
Merge pull request #4497 from nextcloud/add_clear_icon
Add clear icon for search view in open conversations
2024-12-13 13:04:56 +01:00
Nextcloud bot
55dc98b26d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-13 03:02:26 +00:00
github-actions[bot]
a2028d1f03
Merge pull request #4541 from nextcloud/renovate/androidx.compose-compose-bom-2024.x
fix(deps): update dependency androidx.compose:compose-bom to v2024.12.01
2024-12-11 23:29:56 +00:00
github-actions[bot]
fc5c3b1aba
Merge pull request #4540 from nextcloud/renovate/androidx.compose.ui-ui-test-junit4-1.x
fix(deps): update dependency androidx.compose.ui:ui-test-junit4 to v1.7.6
2024-12-11 23:25:35 +00:00
renovate[bot]
6f762f0636
fix(deps): update dependency androidx.compose:compose-bom to v2024.12.01
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-11 23:04:41 +00:00
renovate[bot]
b2ce3db09f
fix(deps): update dependency androidx.compose.ui:ui-test-junit4 to v1.7.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-11 23:03:56 +00:00
renovate[bot]
2dc1f38619
fix(deps): update androidxcameraversion to v1.4.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-11 23:02:41 +00:00
renovate[bot]
c9c983a10a
fix(deps): update dependency androidx.compose.runtime:runtime to v1.7.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-11 21:36:30 +00:00
sowjanyakch
bda0531362
use string resource
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-11 13:44:58 +01:00
sowjanyakch
a504f53b3a
use TextInputLayout
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-11 13:44:57 +01:00
rapterjet2004
1c108c94f7
Fixed overlay bug
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-12-10 10:05:56 +01:00
Marcel Hibbe
cbce4e9cd4
Merge pull request #4522 from nextcloud/remove_hilt_dependency
remove hilt dependency
2024-12-10 10:04:58 +01:00
sowjanyakch
46e8201ca2
remove hilt dependency
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-10 09:28:58 +01:00
sowjanyakch
c32d6a5bdf
remove unused models
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-10 09:22:26 +01:00
sowjanyakch
1d9f6e0e41
refactor code - remove comments
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-10 09:22:25 +01:00
sowjanyakch
3216318ccd
suppress lint warning for invalid string format
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-10 09:22:25 +01:00
sowjanyakch
0111e0f711
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-10 09:22:25 +01:00
sowjanyakch
5b8b3bb027
Modify Adapter and ListOpenConversationsActivity
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-10 09:22:25 +01:00
sowjanyakch
b769a024c4
Modify ViewModel
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-10 09:22:25 +01:00
sowjanyakch
5fd8541ddc
Use correct model
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-12-10 09:22:24 +01:00
Andy Scherzinger
12620a5c3e
style(detekt): shorten long methods
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-12-10 09:00:47 +01:00
Andy Scherzinger
751cd3f4ea
style(detekt): Shorten complex conditions
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-10 08:59:26 +01:00
Nextcloud bot
7e6b316df0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-10 03:01:50 +00:00
renovate[bot]
06cbb3e5bd
fix(deps): update daggerversion to v2.53.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 19:32:56 +00:00
Nextcloud Android Bot
c07bf67fb9 Weekly 21.0.0 Alpha 04 2024-12-09 03:12:10 +00:00
Nextcloud bot
495bdd188d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-08 03:31:48 +00:00
Nextcloud bot
4d8242a8ca
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-07 03:09:28 +00:00
Andy Scherzinger
abebe6fcad
style(detekt): Comment on all EmptyFunctionBlock cases
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-06 11:11:25 +01:00
Andy Scherzinger
f820277779
style(detekt): Accept current use of TooGenericExceptionCaught cases
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-06 11:11:24 +01:00
Andy Scherzinger
06f7597de0
style(detekt): Ignore TooGenericExceptionThrown on test stub implementation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-06 11:11:23 +01:00
Andy Scherzinger
eb890cfbd3
style(detekt): Replace MagicNumbers with constants
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-06 11:11:02 +01:00
Nextcloud bot
7221d8cc56
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-06 03:18:02 +00:00
Nextcloud bot
f692e77c8f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-05 03:37:18 +00:00
Nextcloud bot
813f3136df
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-04 03:35:48 +00:00
Marcel Hibbe
a0d6442205
fix Duplicate ids in xml
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-12-03 10:36:49 +01:00
rapterjet2004
cb01b1ffe6
Shows if no offline messages are saved
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-12-03 10:21:31 +01:00
github-actions[bot]
3bca62db3b
Merge pull request #4511 from nextcloud/renovate/daggerversion
fix(deps): update daggerversion to v2.53
2024-12-03 09:15:04 +00:00
Sowjanya Kota
97e2650392
Merge pull request #4506 from nextcloud/feat/noid/conversationPublicStatusBadge
Add public and federated room badge
2024-12-03 10:01:18 +01:00
renovate[bot]
95b331c858
fix(deps): update daggerversion to v2.53
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-03 08:58:01 +00:00
Nextcloud bot
a1a4ef0f16
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-03 03:00:54 +00:00
Andy Scherzinger
6771103869 feat(conversations): Add federation room badge
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-02 22:25:37 +01:00
Andy Scherzinger
b0c4f6d658 feat(conversations): Add public room badge
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-02 22:25:37 +01:00
Nextcloud bot
14cdca0a58
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-02 18:25:28 +00:00
Nextcloud bot
2566d19217
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-02 18:04:47 +00:00
Andy Scherzinger
5011649499
fix(detekt): shorten test method by extracting conversation object creation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-02 18:12:35 +01:00
Andy Scherzinger
720fdda005
fix(detekt): naming convention of variables
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-02 18:12:34 +01:00
Christian Reiner
20d36c1eb9
playback speed control button for voice messages
Signed-off-by: Christian Reiner <foss@christian-reiner.info>

Themed the PlaybackSpeedControl + Work around onBind bug

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-12-02 18:12:30 +01:00
Marcel Hibbe
366c2b5777
reformat code + fix lint warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-12-02 17:32:27 +01:00
Marcel Hibbe
22517c8ec9
new notification warner
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-12-02 17:32:27 +01:00
Andy Scherzinger
7eaf09844f
style(icon): Update Mail/Group avatar
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-02 16:15:03 +01:00
Andy Scherzinger
63e7134262
style(icon): Update Link avatar and general link icon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-02 16:15:03 +01:00
Andy Scherzinger
6de05d8fa4
style(lint): make use of ResourceCompat
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-02 10:40:00 +01:00
Andy Scherzinger
77d2632513
style(detekt): Improve score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-02 10:40:00 +01:00
Andy Scherzinger
26876c21d7
style(ktlint): Fix formatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-02 10:39:59 +01:00
Nextcloud Android Bot
68811b0ed3 Weekly 21.0.0 Alpha 03 2024-12-02 03:12:33 +00:00
Nextcloud bot
1e112b057b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-02 03:01:37 +00:00
Nextcloud bot
12fec18bb2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-30 03:00:51 +00:00
Andy Scherzinger
51fc617363
fix(kt): Update method call to kt 2.1
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-11-29 11:08:39 +01:00
renovate[bot]
2cbc217938
Update plugin com.google.devtools.ksp to v2.1.0-1.0.29
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-29 11:08:38 +01:00
Nextcloud bot
2d294e8bf5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-29 02:57:25 +00:00
Marcel Hibbe
6932ddff4b
fix guests without name for Mention autocomplete
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-28 14:31:40 +01:00
Marcel Hibbe
1b6d620915
fix guests without name in lastMessage view in conversation list
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-28 14:31:40 +01:00
Marcel Hibbe
b5a84b4a3f
fix empty guest names for chat viewholders
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-28 14:31:40 +01:00
Marcel Hibbe
41927d2593
fix empty guest names in conversation info list
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-28 14:31:40 +01:00
Marcel Hibbe
b3b525bbc2
fix to handle whitespaces for guest avatars
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-28 14:31:39 +01:00
Nextcloud bot
8162a73f7d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-28 11:14:29 +00:00
renovate[bot]
3ddcc62aa0
Update plugin org.jetbrains.kotlin.plugin.compose to v2.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-28 04:48:17 +00:00
Nextcloud bot
dc61ab49eb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-28 03:04:15 +00:00
Nextcloud bot
1065f1343e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-27 10:30:29 +00:00
Nextcloud Android Bot
7777a34d82 Weekly 21.0.0 Alpha 02 2024-11-27 10:24:18 +00:00
Marcel Hibbe
7cc857bdad
bump version to 21.0.0 Alpha 1
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-27 10:56:32 +01:00
Marcel Hibbe
8e08d9279d
remove unused method
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 21:48:51 +01:00
Marcel Hibbe
16d03a69ff
show guest "first letter" avatars in chat
also:
create ChatMessageUtils as helper for the ViewHolders in this case.
Could help to avoid duplicated code until there is a clear inheritance solution.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 21:48:51 +01:00
Marcel Hibbe
199ba4be34
add grey avatar with first letter of email-guest in call view
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 21:48:51 +01:00
Marcel Hibbe
c75cf2fe20
add grey avatar with first letter of email-guest
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 21:48:51 +01:00
Marcel Hibbe
cb3614da34
remove android version check
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 21:48:51 +01:00
Marcel Hibbe
b71218973e
show simple person icon when conversation-info when guest did not set any name
However this is only possible for the conversation info.
In other parts, the info if a guest changed the name or not is not available (like in the chat or in autocomplete)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 21:48:50 +01:00
Marcel Hibbe
d95c1c605f
set guest avatar for guests and emailguests in autocomplete
knowing if a guest did not change it's name is not possible at this point, so we also show the letter "G" if it's name is guest

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 21:48:50 +01:00
Marcel Hibbe
02d0a65909
enable to set mention chip for email guests 2
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 21:48:50 +01:00
Marcel Hibbe
ca9e2d4932
enable to set mention chip for email guests
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 21:48:50 +01:00
Marcel Hibbe
6ede78eb09
remove additional information from autocomplete
objectId would be some long random string for email guests. displaying them would not make sense. It's also not done on web.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 21:48:50 +01:00
Marcel Hibbe
8a3f779fdc
show initials avatar for email guests if displayname is set
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 21:48:49 +01:00
Marcel Hibbe
6e3188f1df
display email address of guest users for moderators
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 21:48:49 +01:00
Marcel Hibbe
47004b8f4b
Merge pull request #4471 from nextcloud/issue-4452-search-join-conversation
Added a search bar to the "Join Open Conversations" screen
2024-11-26 19:58:18 +01:00
Marcel Hibbe
6dc52fe27d
change strings in notification settings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 15:24:49 +01:00
Marcel Hibbe
c7fd94ba9b
reformat code
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 15:24:49 +01:00
Marcel Hibbe
8e6072bbc7
extract blink method, move server notification app hint to gplay block
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 15:24:49 +01:00
Marcel Hibbe
6f6c1896ed
add check if server notification app is installed for current user
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 15:24:49 +01:00
Marcel Hibbe
c559c6b0b4
blink notification channels
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 15:24:48 +01:00
Marcel Hibbe
fa70cffd83
blink items when opened by notification warning
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 15:24:48 +01:00
Marcel Hibbe
a9ec8c2eed
fix to hide notification setting for generic build variant
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 15:24:48 +01:00
Marcel Hibbe
c2b99c591f
disable sound notification settings when main notification permission is is not permitted.
Otherwise user can't enable them anyway

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 15:24:48 +01:00
Marcel Hibbe
b63325ae8d
open full notification settings from talk settings as fallback if dialog for asking direct permission was not shown by android
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 15:24:48 +01:00
Marcel Hibbe
b1e550b049
Show a warning if notifications are not allowed or battery optimization is enabled
Open notification settings when click on warning

Also, still offer to enable notifications and disable battery optimization on first install

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 15:24:47 +01:00
Marcel Hibbe
716dfa6577
Add permanent hint when battery optimization is not ignored
Also add an option to not show the hint, when user doesn't want to ignore battery optimization.

Only show these features when gplay services are available. Otherwise don't show them as it would pretend notifications would be possible without gplay.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 15:24:47 +01:00
sowjanyakch
fdbff4a8e6
use safe call operator
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-26 12:12:17 +01:00
sowjanyakch
2da78f69f2
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-26 12:12:17 +01:00
sowjanyakch
8bf7fd8553
show backup status when only when status message is previously set
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-26 12:12:17 +01:00
Nextcloud Android Bot
e47b5aa102 Weekly 20.1.0 Alpha 15 2024-11-25 03:12:23 +00:00
Nextcloud bot
2c90a1eaf1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-24 03:05:03 +00:00
Nextcloud bot
b06a42288e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-23 03:02:34 +00:00
Nextcloud bot
c5d3195aa1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-22 02:58:27 +00:00
rapterjet2004
2bcdf0565e
theme search icon
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-21 08:30:17 -06:00
rapterjet2004
adea08c774
forgot to set ignoreCase to true
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-21 07:50:31 -06:00
Marcel Hibbe
be99e1a037
remove comment
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-21 11:53:32 +01:00
Marcel Hibbe
19a69e0abf
simplify check if file is outside cache dir
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-21 11:53:02 +01:00
sowjanyakch
f1d03e235a
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:34:24 +01:00
sowjanyakch
9b3a11569a
bump minSdkVersion to 26 and remove old checks
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:34:23 +01:00
Marcel Hibbe
e8cf3eed56
add setConversationReadOnly
must have been lost during resolving merge conflicts

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-21 11:18:36 +01:00
sowjanyakch
ebfb38b5b5
write logs for exceptions in viewModel
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:07:09 +01:00
sowjanyakch
fa3e8002bc
remove unused endpoint
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:07:08 +01:00
sowjanyakch
a95433c6bc
convert rxjava to coroutines - unban actor
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:07:06 +01:00
sowjanyakch
bdda04c21e
remove unused code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:05:57 +01:00
sowjanyakch
121d7e6907
convert rxjava to coroutines - list bans
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:05:55 +01:00
sowjanyakch
3bc3a8e3ee
remove unused endpoint
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:05:31 +01:00
sowjanyakch
7ae39bfcd2
convert rxjava to coroutines - ban actor
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:05:29 +01:00
sowjanyakch
626994e68c
lint warnings
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:10 +01:00
sowjanyakch
33314cf0ca
use constants
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:10 +01:00
sowjanyakch
af7a395508
remove unused endpoints
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:10 +01:00