Automated using the following commands:
$ mv src/{dring,jami}
$ git grep -l src/dring | xargs sed -i 's,src/dring,src/jami,g'
$ git grep -l '#include "dring/' | \
xargs sed -i 's,#include "dring/,#include "jami/,g'
$ git grep -l 'dring.h' | xargs sed -i 's,dring.h,jami.h,g'
And finally,
$ git grep -l 'dring' | xargs sed -i 's,dring,jami,g'
$ files=$(find -name '*dring*' | sort)
$ for f in $files; do mkdir -p "$(dirname "$f")"; \
mv "$f" "$(echo $f | sed 's/dring/jami/g')"; done
To resolve a bad renaming favorably:
$ git grep -l -i AlsaCarjami | \
xargs sed -i -E 's/([Aa])lsaCarjami/\1lsaCardRingtone/g'
The above renaming command is not perfect, so some hand-tuning was
required to complete it.
* src/manager.cpp (Manager::ManagerPimpl::retrieveConfigPath):
Preserve the dring.yml configuration file name, until we add something
to migrate (rename) it to jami.yml.
* man/dring.pod: Delete.
* bin/dbus/jamid.pod: Move to ...
* man/jamid.pod: here.
* bin/dbus/meson.build (jamid_targets): Normalize man section to the
pre-existing 1 and adjust accordingly.
* src/jami/def.h (dring_EXPORTS): Rename to ...
(jami_EXPORTS): ... this.
change-Id: I9828be6da9c711ab2f22c4d1b9539fea89d7b6fb
Link removeConversation. For this feature there is two possibilities:
+ If we are the last member, remove all the files.
+ If not, wait for another user to sync.
Change-Id: I387a20fe93a72524ae701e7e98d66633d91a9ede
GitLab: #305
Instead, use Bash from PATH. This approach works universally, even in
environments not strictly adhering to the File Hierarchy
Standard (FHS).
Change-Id: I852c5f4bba3a1bee9b895dcb5da24e5738c4186a
This feature is mostly a relicate from SFLPhone and introduced a remote
attack vector abusing the system() function weaknesses.
Provided that "sipEnabled" parameter is on in the remote target's
configuration, a malicious peer calling that remote target could
send SIP messages with a crafted "X-ring-url" string in order to
execute arbitrary shell commands on the target.
Header entry "X-ring-url" content is actually consumed by UrlHook
as arguments for the "x-www-browser" command executed using system().
By adding a shell escape sequence to circumvent existing arguments
sanitizing attempts, the malicious peer could execute any shell command
under remote peer user's identity and access sensitive information
available using its privileges.
Remove that feature altogether and enforce users that are relying on
that feature to migrate to Jami "plugins", which are more suitable
for introducing custom Jami behaviors.
Change-Id: I1d6d07771e2b5a7c7f2cb8fc838821106c0a6708
other updates
* fix config test
* remove bad import (allows dringctrl.py to run, where
previously it would result in an import error)
Change-Id: I401629956b64d2c8d51c499113f1e03b96ae3338
Removes refrences to project name in logs and comments where it doesn't
matter whether or not the name is specified.
Change-Id: I17f99390226929ee620bc479b203825389bb3d4d
These files comes from sflphone ages, are not relevant, not working and
may confuse people who read them.
Change-Id: I8186c35a36665ef077df38d508e6977e1f833bc9
Reviewed-by: Anthony Léonard <anthony.leonard@savoirfairelinux.com>
First implementation of Reliable Data Transfer feature in Ring.
This implementation is a draft, comes with a Python script
tools/dringctrl/sendfile.py to play with and doesn't
implement all the API as described into "datatransfer: API proposal"
commit.
This version uses TLS over TCP-TURN sockets to encrypt data.
Transfers require a TURN server with TCP peer connections
as described by the RFC-6062.
Testing: Currently only sendFile API is implemented and data are
saved into a temporary file saved in "/tmp/ring_XXXXXX",
where XXXXXX are replace by mkstemp() command.
Change-Id: I5b8f48432edd58df5046e368a99f58ea44046dcd
Reviewed-by: Olivier Soldano <olivier.soldano@savoirfairelinux.com>
add a python script to simulate network bandwith using netem tbf to
throttle the connection.
The bandwith used in upload is also monitored. The amount of packets
dropped by netem is also monitored
Change-Id: I895a81f51946914071b7fafa7a102931fa2ec7d6
Tuleap: #1049
The files in this directory are outdated (for sflphone) and no longer
used.
Change-Id: Ic8aa820c842b31414656c7dae0be433932941bca
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
This patch removes all IAX account code and libiax dependency in contrib.
References in documentation have also been removed where needed.
Change-Id: Ifff23725ccf7e1a6820dbc6f57256138a0fca042
Tuleap: #813
Make import robust.
Support Python2.7 in addition to Python3.
Fix call interface.
Add an auto answer option.
Handle keyboard interrupt.
Change-Id: I56160928ef8fa2e3de893c6b64ad716836bbc13f
Tuleap: #541
When the daemon is installed on multiple targets with no interface except
the Python control utility, no Ring account should pre-exist so
the Python client should be able to create a new one on first boot.
Rename long arguments.
Tuleap: #365
Change-Id: Ie78401e35aafd8ea656f001928f0a94154352752
This version has been modified to run under Python3.
It's compatible with Python3.3, but I recommand 3.4
for the general speed improvement made in this version.
Issue: #79891
Change-Id: Icb292e32c5a52a9af82c5d3d586cd91ecff4644d
Use a config file (test_config.ini) to configure test environnement
test_config.ini is provided as example
Issue: #80498
Change-Id: If0613d2264412af50e42f0a0eb151ecf741cbab4
Refactor of automatic call test tool
Now do ./dringctrl --help : all test name will be listed
./dringctrl --test <testName> to execute a test
Issue: #80498
Change-Id: I86d16e7d96f04f040133f16856ba9ca8a061374d
This patch brings back an old python daemon DBus client
and update it to latest changes (API, rebranding, etc).
This version needs Python3, plus python3-dbus and
python3-gobject modules to run.
Refs #67053
Change-Id: Ia840a3547a428becd93b56a1d0e6cac4a4f3d5e5
* Add a (env) variable to enable contrib debugging
* Remove a hack that caused every packages to be recomplied
Refs #63305
Change-Id: I82ace4786538a26adca3c99538b5c7c0b5e0b03c
Also add a missing (optional) file to the debian control.
This will make compilation faster on the docker cloud
as it wont have to fetch it from contrib every time
Refs #63305
Change-Id: I5ed37c011b42bd88153a2b2d8d7ad15bef04ccee