Commit Graph

74 Commits

Author SHA1 Message Date
90d7aed63a scripts: Do not hard-code /bin/bash.
Instead, use Bash from PATH.  This approach works universally, even in
environments not strictly adhering to the File Hierarchy
Standard (FHS).

Change-Id: I852c5f4bba3a1bee9b895dcb5da24e5738c4186a
2021-03-16 08:12:54 -04:00
924cd61091 conference: add account preference to enable moderation for all
Gitlab: #453

Change-Id: I9a870b2f930c69fe26432f1f15169d13365e702d
2021-03-09 16:16:59 -05:00
a04ed04264 plugins: add ChatHandler API
- add internal preference for always turn on plugin

GitLab: jami-plugins#4
GitLab: #394
Change-Id: Ic37fb486531cf436df4346246ec74f6480e4c0fd
2021-02-01 11:21:16 -05:00
31fa5f12c3 misc: update copyright date
Change-Id: Ib53fa87efdbbbc6b7561e3b37f27d7a8d51af163
2021-01-25 12:14:41 -05:00
3448725d46 conference: add account preference to set local moderators
Change-Id: Ia5ba79e370642738df593493a6d1da52a9b1d9b8
2021-01-15 13:39:06 -05:00
67d85f86cc account: add default moderator preference
Change-Id: I4c30fe6c8c99bdc518c0e81a89eaf5eb3ce2b726
2021-01-15 13:39:06 -05:00
6a3a9fdd52 jni cleanup
Change-Id: I311c5bdbc4a1634a1e68a8a887e1cf1ba0009663
2020-12-22 16:39:38 -05:00
4e5c4c7908 conference: add mute participant for moderator
Change-Id: I371809b140fb1587635131d3a1e6c75ad67d2966
2020-12-10 19:44:50 -05:00
64d5a6708a dring: remove unused getTlsDefaultSettings
Change-Id: I1173c7d3a5cc35dc28f3077404cdade6f08354f0
2020-12-02 14:45:57 -05:00
fab19580bf swig: fail in case of command failure
Change-Id: I9fe9c38812a8a6b77c2a85ad356006ef953b7bc6
2020-11-30 12:28:17 -05:00
69f559976e plugins: add callId to API
Change-Id: I2b59205b9ad2f75c6c8602a5a273a7d8115e5db6
2020-11-12 10:56:07 -05:00
75ec461623 conference: host can add or remove moderator
Change-Id: Idc4c6db249de7247d02c7cabb897d638c69674f3
2020-11-12 09:51:22 -05:00
569d44b5f6 src: hooks: remove urlhook feature
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
2020-10-13 12:13:23 -04:00
69d60a4940 Revert "plugin: add editable preference"
This reverts commit 7f21500866.

Reason for revert: API design issue

Change-Id: I89b4bd9f59b95637acb7fd2199a4ccc43b1bda64
2020-09-01 13:20:26 -04:00
7f21500866 plugin: add editable preference
Change-Id: I61c074464e21344b2d7a1d64023f23bd96139c3b
2020-08-31 17:20:53 -04:00
b424a5d0bd recorder: add remote recording indicator
Change-Id: I711a0b2f446f1620d7dff66945bf9295fd8372ac
2020-08-31 16:10:50 -04:00
49a1d6172d jni: reserve size for type conversion
Change-Id: I9dfa4ea09f34f4cb78820e1bcc5f6e9e3999b91b
2020-08-14 13:15:55 -04:00
3487a68d23 dring: update profile received signal (breaking change)
Change-Id: Ia13b0ecf0dc66fdcfbd49ead62ab1fac806ba537
2020-08-02 13:25:26 -04:00
365a1169fb conference: add informations about rendered video and share with all peers
These informations contains the participants in a conference and their
position in the rendered frame. The description of the conference is
sent via a SIP message with "application/confInfo+json" for mimetype.

Gitlab: #241
Change-Id: I5a3ad81d1d1b8ba9c9ce84e57745a59a747b8e6c
2020-07-31 16:52:53 -04:00
55db03e8de transfer: fix lastEvent detection to avoid multiple finished
And some clean

Change-Id: I0e7a607b1749e608f0911f37065a0695df2d45b5
2020-07-16 11:02:16 -04:00
6541f8bb60 jamiaccount: improve vCard synchronization
Because of the ConnectionManager, the daemon is now able to send
direct messages such as typing indications and read status. This
can be also used to move current features and improve it.

This patch is a first step to improve vCard syncing. The idea is
to send the vCard directly when a peer is connected. To avoid to
send the vCard everytime, a state is written in the cache directory.

In the future, a method to update the vCard as soon as the client
updates its profile will be possible.

Change-Id: I3801cbe04b3441f67ea6685aa2047e5a545958e5
2020-07-15 18:01:07 -04:00
8d40c627e3 video_mixer: support multiple video layouts in conference
This patch aims to improve the conference management for the host.
Now, the host is able to switch between 3 conferences layout:
1. The grid view (actual one) where all participants are shown
at the same height/width
2. The One big/Other in small which show one participant bigger than
the others
3. One participant in big

The daemon's API got two new methods:
+ setConferenceLayout() to switch between these layouts
+ setActiveParticipant() used in the 2 last layouts.

Change-Id: I3c16569e24d1b63331ffe9d79e35790a6ac47a0c
2020-07-14 11:27:04 -04:00
9c0d46b8d7 server account manager: add user search support
Gitlab: #225
Change-Id: I3874ba798ffa56c4f51b99048b9adb83f28bef16
2020-07-07 13:14:04 -04:00
0b7a978737 plugin: exposing plugins to linux ui
Change-Id: I0919a3a78f4066122773a2ee9ab85d8e406e7e8f
2020-07-07 10:23:57 -04:00
b7d4ab38d0 plugin: add plugin to dbus interface
Change-Id: I0bdffd53e9ba9463e3daacbc0641ab82e1ba89dd
2020-06-05 10:17:10 -04:00
d8ac20a3bb plugins: add call handler
Change-Id: If5296e71d4979962f71443fb298891202c8d2afe
2020-06-05 10:17:10 -04:00
0bef03f191 plugins: add plugin manager
Change-Id: I2946387c8f30151a9ce2b979e5d395600bfa7dae
2020-06-05 10:17:10 -04:00
eb5714984a videomanager: catch exceptions
Change-Id: Ic4a90183ae7589d4ddf7dd196e54cd6e8cba02f3
2020-05-06 14:53:00 -04:00
5da0510d58 dring/sip: add support for message display notification
Change-Id: I70bec5f07aa5f5773db8803f8f5409f12b42d5f6
2020-03-12 18:53:15 -04:00
442b6b44c1 accounts: emit signal when an avatar is received in JAMS response
- adds signal <AccountAvatarReceived> for <account_id> with base64
  <photo>
- handles incoming avatar during account authorization response in
  on success callback by emitting <AccountAvatarReceived>

Change-Id: I8b6b9685691e1335b895a12c35ea14b53ec6260c
2020-03-12 15:53:46 -04:00
e40f5facdb dring: add message id in IncomingAccountMessage
Change-Id: I5622a466d0baccf906e6934b748719b2aa3ec37b
2020-03-04 14:13:35 -05:00
4ec9e1a2bc messages: add isComposing indicator
Change-Id: Ie7d90b5e77d320b53a91a16047a8fe3406591586
2020-02-28 16:07:13 -05:00
a60f82ff06 jni: check for swig 4.0+
Change-Id: Ia4eeeb6c2111934e6dc12fa7f2fe47aaf1034ee8
2020-02-22 15:43:25 -05:00
c496049ff7 swig4: bump to swig 4
+ fix uint8_t conversion to jbyte
+ update JavaJNI2CJNI_Load.py to account for java inner classes

Change-Id: I9177a93611e6ef5b164586f70f20112bc8cc6f68
Reviewed-by: Sébastien Blin <sebastien.blin@savoirfairelinux.com>
2020-01-28 12:22:04 -05:00
238ee9195c update copyright year for 2020
Change-Id: I28f193813ad72ee5936ef0be7f252c40c3b748ee
2020-01-03 15:04:47 -05:00
ee0e212aad jni: cleanup
Change-Id: Iba0d354c9e712daf9a63e5d1df33e9ff0165b3a4
2019-11-13 12:50:30 -05:00
56d613b0f8 ice: emit signal during connection
Change-Id: I4b711b79f6d5cb4b6e2141ea474bc5c4697b9c45
2019-11-13 12:50:30 -05:00
616e2df75b callmanager: remove unused signals
Change-Id: Ia5659f670e4f1164afc1ac1016c9dd7fc187d0f3
2019-11-11 16:23:46 -05:00
e5c191fa3d autoadapt: add signal to set bitrate dynamically for MediaCodec
Change-Id: Iba619f891d0412ca4abe4e03e4b2a11d5a3b2488
2019-11-07 18:40:16 -05:00
d5bfc81e40 video_input/mobile: remove deprecated APIs, don't use loop
Allows switchInput on the same VideoInput instance on Android

Change-Id: I421a7d6e3f7b87d37a3108483cd280dc03c113cf
2019-11-06 12:18:07 -05:00
210b7481a0 sip: modify voicemail notification signal
Change-Id: Ifad1bcc6c6747a448ff3e3d54e8cbfb87dab5be3
2019-10-04 10:59:52 -04:00
194919fea2 videomanager: cleanup, cache JNI method ids
Change-Id: I40cdf51b33ae13b95fa9726f6b111f22b111b813
2019-09-07 13:24:08 -04:00
431cee5d12 recorder: add preferences
Adds whether or not the local video feed should be overlaid on the
remote video feed. Adds a quality setting for the recorder.

Change-Id: I60bd80c6441c7d516120680bebb1acdeb3824c49
2019-08-07 15:05:27 -04:00
9b219a3717 peerdiscovery: add NearbyPeerNotification into Android/IOS interface
Change-Id: Ife5083f5bcc759bc9f2cd535421c2cf7cdeebcac
2019-07-17 16:55:55 -04:00
19d290d5e3 jni: bind accountDetailsChanged
Change-Id: I2033220bc61215988b53f52835a5ac645a3533cc
2019-04-12 11:10:07 -04:00
493d4ba8b0 jni: bind method to change account password
Change-Id: Ie5c47b9ff5084f6f1976b8a789eb09ce76879311
2019-04-12 10:17:25 -04:00
2130f067b6 sources: rename to jami
* rename namespace from ring to jami
* rename logs methods from RING_* to JAMI_*
* rename RING_VIDEO to ENABLE_VIDEO

Change-Id: Ic98498652d7059fafe58a96220d565bcdfa53658
2019-04-02 17:11:40 -04:00
a89cf39255 dring: add cancelMessage API
Change-Id: Id99a8d8a3af3ef59d52a3267e0f44262c6df17f3
2019-04-02 13:33:18 -04:00
27625f2aaf api: add hardware encoding
Also adds hardware decoding to nodejs and jni APIs.

Change-Id: I2a89f2d9e09b597df0ec449e69e8e7b84bea5552
2019-03-21 19:49:14 -04:00
94460d0ec9 qa: fix issues found using clang-tidy
Change-Id: I04de6bb39925c48665cf234f3a714167d9f6ef7c
2019-03-14 16:50:34 -04:00