1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-28 19:35:38 +02:00
Commit graph

1053 commits

Author SHA1 Message Date
Ming Rui Zhang
b296a02e47 sip: use refuse function instead of hang-up when refusing a call
Gitlab: #325

Change-Id: I03b4352788df912074859e183090658cf27678f0
2021-03-25 12:20:44 -04:00
Ming Rui Zhang
7951764b2e misc: remove LRC singleton
GitLab: #337

Change-Id: Ifb671d38d364714818650a8154c43a5787460039
2021-03-22 15:47:14 -05:00
Andreas Traczyk
28aa5aab6d settings: use default audio devices
Refactors audio settings to avoid list model code duplication. This code
could be greatly simplified by using string lists, however the combo-box
component design is highly dependent on QAbstractItemModel based models.

Also translates the handlebarred strings upon presentation, which is
currently used to translate the "Default" prefix for the first device
item.

Gitlab: #346
Change-Id: I5ed282d29cc4ec6a090a9cdf47b0459f0db2a99b
2021-03-22 15:59:24 -04:00
agsantos
215f43492c settings: fix plugin preferences opening
GitLab: #338
Change-Id: I0bc0026e0c515b782675892c0e652b53b8de4e1a
2021-03-17 18:27:39 -04:00
Andreas Traczyk
3a157ed8eb avadapter: return call id by value
This function either returns a reference to a local, or a QString
member whose lifetime is unknown to the caller. We should just
return by value.

Change-Id: Ib87288105daa6bf8cb6b803948411275da980c54
2021-03-17 14:30:06 -04:00
Sébastien Blin
b0fdeb79eb settings: do not show link device for a disabled account
Gitlab: #334

Change-Id: Ia2b6365f36b0cef79e3ba58475c5b25bbac0c6b6
2021-03-16 15:14:59 -05:00
Sébastien Blin
ccb412c6ad calladapter: fix preview when switching account
Gitlab: #310

Change-Id: I0a45f24e87b4baba16c5a8172c0aae705745e30f
2021-03-16 14:58:00 -05:00
Ming Rui Zhang
3d78684102 sip: make audio only call when double-clicking smartlist contact
Gitlab: #312
Change-Id: I6833521cd624b176af38949b9f71f0d45330351e
2021-03-03 09:59:00 -05:00
Ming Rui Zhang
7ca65dd043 advancedsettings: prevent resetting scroll bar position multiple times
Gitlab: #299

Change-Id: Ibec25839ba92925364585f1d2c2b3a51348fc273
2021-03-03 09:58:26 -05:00
Ming Rui Zhang
9c073f6327 accountadapter: respond to profileUpdated signals
Gitlab: #297

Change-Id: Iaff41075edc683bd976ff69cfd8f7a80547771cc
2021-03-02 14:31:51 -05:00
Ming Rui Zhang
637b7d6480 misc: better dpi scaling performance
Gitlab: #302

On X11 based,
https://bugreports.qt.io/browse/QTBUG-84082

Change-Id: Id775a6a31fc9f6f9493556fca458555c5962727e
2021-03-02 14:31:39 -05:00
Ming Rui Zhang
2a9e624007 misc: use PassThrough for HighDpiScaleFactorRoundingPolicy
Gitlab: #302
Change-Id: I3d79443b4338a27a8724600be233a2ff765427f9
2021-03-02 14:27:39 -05:00
ababi
4d6f5b3410 translations: revise access to translations for GNU/Linux
- correct translations (.qm) install path for cmake
- use JAMI_INSTALL_PREFIX to fetch translations
- create "share/ring/translations" inside build dir to store .qm files

Change-Id: I127cbad1d4b00a628d79e9654ed471f456a550e8
2021-02-19 17:28:48 -05:00
Sébastien Blin
af14a4a824 screensaver: fix out-of-range exception
Change-Id: I0477ac00b68c0891ba04c9cbb2cc3221bff0cb24
2021-02-16 12:13:02 -05:00
ababi
997d413ee1 settings: remove link device timeout
Change-Id: I9dbbd779ef094d4dbcd5568bd5aae2d73dd3efe7
Gitlab: #258
2021-02-15 16:07:02 -05:00
Sébastien Blin
8ac920a707
misc: update copyright date to 2021
Change-Id: I6cd0f36b983e38d9ed03362358dc145f3a12a49b
2021-02-15 09:50:58 -05:00
ababi
c36d5cc324 callview: inhibit screen saver while in a call
Gitlab: #272

Change-Id: I25c1a9547b526f8889231a9d5061e63c349c39f1
2021-02-12 17:18:21 -05:00
Amin Bandali
e93854e137 autostart: revision for snap packaging
Adjust JAMI_DATA_PATH (and in turn JAMI_DATA_DIR) for snap after any
cmake 'install' command definitions that refer to it, so that the
version compiled into the package using target_compile_definitions
will have the right value for our snap package.  With this particular
configuration, we don't have to check for JAMI_DATA_DIR during runtime
since it will have the right value set at build time, and the path it
points to (/snap/jami/current/...) is actually stable across updates,
so we don't have to worry about correcting the autostart desktop file
symlink after each upgrade.

Note: as the comments in CMakeLists.txt mention, it is crucial that
JAMI_DATA_PATH is only adjusted after all 'install' commands that
refer to it, because its snap-specific value isn't meant to be used
during build time as an install destination.  Also, that the call to
target_compile_definitions must come after the JAMI_DATA_PATH change
described earlier.

Co-authored-by: ababi <albert.babi@savoirfairelinux.com>

Gitlab: #262
Change-Id: I07896be8195c336833bcd4a84b918276eddbe159
2021-02-12 13:17:19 -05:00
Nick Econopouly
bb19af3194 misc: update strings for grammar and consistency
Besides small grammar fixes, I think "Show typing indicator" should
mirror the Android app, which says "Enable typing indicators".

(The Android app also says "Send and receive typing indicators showing
that a message is being typed")

Change-Id: I83f5ded2278282de3528235c2215797ebf8fd89a
2021-02-11 18:12:29 -05:00
Ming Rui Zhang
67a7efae04 chatview: use recipient's name in the send message input placeholder
for LRC issue:
Gitlab: #443

Change-Id: I761901acc2dfca698cbb3bb4776924b58b0724da
2021-02-08 13:47:18 -05:00
ababi
8caf659bb8 misc: add start on login support for linux
Gitlab: #160

Change-Id: I166988985e4a2c9b1d06d21ba0a1394159478172
2021-02-03 13:42:26 -05:00
ababi
69db8684a1 packaging: add global installation support for linux
- avoid using fixed paths and find LRC either when globally installed or located in custom directory
- add installation rules for binaries, .desktop files, .appdata.xml, logo and doc
- add support for generating and copying runtime files (webresources and translations)
- add launcher script (client qt/gnome/kde selector)
- add uninstall support
- add missing sources (moderatorlistmodel)
- update README

Gitlab: #160, #230, #263, #264

Change-Id: I3fee77a917be038072a20c7f99b510f9a8bf65b4
2021-02-03 13:42:19 -05:00
agsantos
b55be608f3 settings: add always preference by handler
GitLab: #266
GItLab: #267
Change-Id: I0f2d31f9d5aebbbc645f4f85cad2ba5fdee45a79
2021-02-03 13:25:58 -05:00
agsantos
ebc0715544 settings: improve plugins view
GitLab: #52
Change-Id: I4ee232092da3b26e4471ccc7c46e57d2d0562856
2021-02-03 13:25:58 -05:00
agsantos
5e598f5342 plugins: add EditText preference
GitLab: #265
Change-Id: Ibcfba9ee0b142a109bd58553b13aba174842661f
2021-02-03 13:25:20 -05:00
agsantos
a5ec0c8e65 plugins: add ChatHandler API
Change-Id: I415fc953b9111ca7e3d899c1531a42bd43716ab2
2021-02-03 09:09:26 -05:00
ababi
4a06565e57 misc: initialize LRCInstance before rising connection error
- in order to start the daemon, LRCInstance has to be initializated before rising the error and displaying the popup.

Gitlab: #245

Change-Id: I4a6cd4f38f5c93f65bc157e7d2ffff7f16e6aff8
2021-01-27 12:58:55 -05:00
ababi
7450350348 settings: add support for default and local moderators
- add configurable list of default moderators
- add option for enabling local moderators
- indicate when participant is locally muted on moderation overlay
- small typo fixes

Change-Id: I1669c903be3c3a3f2344f1d95d8b618e62b9d412
2021-01-15 18:37:18 +01:00
ababi
4a7c859197 conference: separate local and moderator mute logic
Change-Id: I6683925e37a06893a88a5fb8b4285dcee4d2e676
2021-01-15 04:38:15 -05:00
Pierre Lespagnol
b7d4e1128a avadapter: fix screen sharing area for linux
Change-Id: I49dd406a8eca39e628985ea3d69a9c31e59fdc74
2021-01-07 16:06:47 -05:00
Mingrui Zhang
8b2512c513 messagesadapter: clear conversation uid cache if it is currently selected
For clearConversationHistory and removeConversation

Gitlab: #252

Change-Id: I3008cf20ddace5d3395465bd328a460c72e4c07f
2021-01-07 15:30:56 -04:00
Mingrui Zhang
9ef94561a5 lrc: avoid excessive copying of conversation info objects
1. Container View api
2. use optional conversation info ref api

Change-Id: I38aa57edc1fbf304ea0ef95d48000e0495c409ee
2021-01-07 14:09:31 -05:00
Ming Rui Zhang
44ebb170ff messagewebview: add support for pasting and drafting js special characters
Note: it will also prevent potential js template literal

Gitlab: #250
Gitlab: #246
Change-Id: Ic925a18ae768d168b8e340f9e05ef6ddd0260c84
2021-01-05 09:21:58 -05:00
ababi
08236cf5e7 recording: show message when peer starts / stops recording the call
Gitlab: #160

Change-Id: Id8125c56145cc661941f445c2f52b73fd983c97d
2021-01-04 17:18:11 -05:00
Ming Rui Zhang
80dc7b52a0 sip: fix sip call hold status behavior
Gitlab: #248
Change-Id: I5339156013787850e19a71a440c0e1b046ee76ed
2021-01-04 15:45:44 -05:00
Ming Rui Zhang
b4f3e1fae6 misc: update wrong tooltip
Change-Id: I8b497ba74d12876710a9be4de61b8eccbb11bf2e
2021-01-04 15:45:44 -05:00
Ming Rui Zhang
3c15299fd2 calls: fix the client crash when having multiple calls
Gitlab: #236
Change-Id: I9f9af107db27cfe8ab09911b2f2b0516f56d2578
2021-01-04 11:45:35 -05:00
Ming Rui Zhang
dc634feded misc: use compiled rcc file to collect lrc web resources
Instead of using absolute path, use a rcc file compiled
from lrc web resources qrc

Gitlab: #233

Change-Id: Ife3c3b81654984247aed0664031ad45ffb8413db
2020-12-30 15:10:20 -05:00
Ming Rui Zhang
d61a9a9da9 misc: prevent inconsistent include path
Gitlab: #229

Change-Id: I4c9188f7406b790f87d19413a3a4a4d6ac904719
2020-12-30 15:07:29 -05:00
ababi
5e9e28592d mainview: update current conversation id when accessing a call
Change-Id: I39cabcab3db814e017bce56baa0d4496eb13f2f7
Gitlab: #210
2020-12-22 02:43:41 -05:00
ababi
ca0c54da7f chatview: get file url for drag and drop transfer
- add support for multiple file transfer
- fix problem with special characters in filename

Change-Id: I3efba12c07a2b4c69e555c6bcef28bd13b7762f8
Gitlab: #219
2020-12-22 02:43:24 -05:00
ababi
eb7332e363 misc: small ui fixes
- fix label override on wizardview
- set theme dependent color for settings -> chatview label, back arrow
- avoid using mipmap for media settings checkbox

Gitlab: #192, #220, #221

Change-Id: Ie7ec6048eebde373dbf45cc1df91864ef9cbcee8
2020-12-22 02:43:24 -05:00
ababi
92e6f92c8e settings: show linked device for Jams account
Change-Id: I022ce9a0e9454075f58aef25b796595e8f199a0a
Gitlab: #214
2020-12-15 16:27:36 -05:00
Mingrui Zhang
d3ebc43657 dbus: handle dbus error with UI interaction
Gitlab: #160
Change-Id: Ica0aab9ba7f043c4ab56314bbd5312f75239ad51
2020-12-14 17:18:46 -05:00
ababi
a4787e2a45 nm: add libnm support for connectivity change detection (linux)
Change-Id: I014999c80cfbc725ff36e517696a3ffb237a6213
2020-12-14 17:17:55 -05:00
ababi
7f7e4b2202 misc: change the way of manipulating window's display screen
- avoid using screen number as display number on Linux
- support for area selection over multiple screens on Linux
- make getFrame null safe
- make video-full-screen mode show in the correct screen
- add the option of "share all screens"
- use x11 api for unix system for sharing screen areas

Gitlab: #160

Change-Id: Ibe47a4150b6a213950a0533d85e8cd7d5d159482
2020-12-14 12:55:21 -05:00
Ming Rui Zhang
768ea9d601 refactor: use ApplicationWindow as the main entry point
Change-Id: I5e298e51fdc4099f0380d8a2ce2176cd66070eed
2020-12-11 17:07:10 -05:00
Ming Rui Zhang
4cbfe7a966 calladapter: initialize auto answer calls for non-current accounts
Gitlab: #193
Change-Id: I9ab1c298a1f720165affa55c0350bb27dfd67030
2020-12-11 17:06:57 -05:00
Ming Rui Zhang
3ade8ee12f video: add black background in previewrenderer and flow optimization
Change-Id: I979dcc7d7a65029a1ee361579e51575ea813f0e7
2020-12-11 17:04:43 -05:00
ababi
d4b5ec4201 conference: add host indicator
Change-Id: Ib21272302d37a7d508eb59a706bb73a8251a0e3a
2020-12-11 15:50:02 -05:00