If an error occurs during the execution of git_remote_fetch, there
is no need to signal any error to the client as it's not a critical
issue (no malformed conversation, mode is recognized, no unauthorized
method) and the sync will be retried later.
Change-Id: I2d875445e51aa6cd78eb2e7dbfe5efb8b2831860
It's not possible to replace the DRing namespace for jami because of conflicts
with namespaces and classes defined under the jami namespace. Thus, use libjami
as the namespace.
Script to reproduce:
rg -l DRing | sort | uniq | awk '$0 !~ /NEWS/' | xargs sed -i -e 's|DRing|libjami|g'
rg -l DRING_ | sort | uniq | xargs sed -i -e 's|DRING_|LIBJAMI_|g'
sed -i -e 's|dring|jami|g' src/jami/CMakeLists.txt
sed -i -e 's|dring|jami|g' src/jami/def.h
Change-Id: I80e8c8b58a7586527a016bbef850bab07869c473
The usage of ChannelSocketTest helps avoiding unnecessary overhead when
running unit tests (especially on creating a huge quantity of nodes and
sockets).
ChannelSocketTest implements a simplier form of ChannelSocket that
directly communicates to a peer rather than through a socket.
Change-Id: Id1c68aaa92f8f8cf8002c417f670254b0b851cfb
logUntil should retrieve the commits with the commit passed.
Add a LogOptions parameter to avoid too much parameters.
Change-Id: I77a0150b135b14fe44577747d2b1a86cb2cf2509
The sinks only should be created when there is a video device
available. If no video device is available, no sinks should be
created.
Change-Id: Iec35288bf9966eb664470b2f8c1e5738f6909893
If iOS is in deep sleep mode, it will only wake up the daemon if
a new activity needs to be shown (call, message or contact).
If the peer accepts a trust request, it will clone and join the
conversation (so a new message will be shown). So, cloning
a conversation should notify the iOS device that the daemon MUST
be started.
GitLab: #776
Change-Id: I639a5f928fec2970909a29b9f3c33c165ac201c8
If initialization of natpmpHdl_ has failed, then closing it will result in closing
a random file descriptor, typically standard input.
Change-Id: Ifb1335a83b1900d4cf31c820bba090cb30b68d7a
In some cases the file "contacts" was badly synced. Also, if for any
reason "contacts" is not correctly formed, we may be able to fix it.
This patch handles two cases of failures:
1. If the contact details doesn't contain any conversationId BUT
a 1:1 conversation is found with this contact, we update the
conversationId in the details.
2. If, for some reason, multiple 1:1 conversations are detected
with the same contact, we only keep the one in the details, as
it should be the correct one.
This should fix the fact that for some conversation, calls are not
written in the history (cause getOneToOneConversation() returns
nothing).
Change-Id: I5dd9fc51999540d8a4230f8fdce828a461da752a
A sent file was linked after the commit was announced
to the client and to other devices, which was causing various
race conditions.
We add a new onCommit callback allowing to take action after a commit
is made and before it's announced to clients and other devices,
and we use this callback to link the file.
Change-Id: If5c64271b08a71749e5bf84426c5a6ecb9806ea6
If a new stream is requested, and the client-qt does not specifically
states that it should be not mute, then accept muted media.
GitLab: #770
Change-Id: I1d9d6bdddfb40216d1750d4246e63745773033a6
shutdownSIPConnection must not be called in pjsip callback (can be
called in shutdownSIPConnection)
GitLab: #775
Change-Id: I4d05d38e863c0f2b1f4e72d2fc827d17ca4bad8b
Although not harmful, the race conditions could make Jami hang for many seconds
when closing the library.
Change-Id: I88186adbcde309671de6502a22e52ab440f61f4b
Exit hooks are only called when in a REPL. Thus, provide the user with bindings
for initialization and finalization of the daemon. The syntax `with-jami' can be
used to ensure that finalization happens if initialization succeed.
Change-Id: I2f84a76844866a1de06300cde26618c8576045e5