1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-26 02:15:33 +02:00
Commit graph

1416 commits

Author SHA1 Message Date
Sébastien Blin
4f56561fdd notifications: use title for missed call notifications
participants contains all the swarm members, including ourself.
To show notifications for conversations we should use the avatar
for this conversation and its title

Change-Id: I82f4c34f94c6313395361cfd337562f4e3c927c4
2022-03-09 10:29:36 -05:00
Andreas Traczyk
d7a7d876cf scripts(windows): configure Release instead of Beta for beta builds
Beta releases only need a build flag and not an entire vs project
configuration.

Change-Id: Id177e0adbc63a8666c20df3e16c8b5f2512739b5
2022-03-08 18:25:04 -05:00
Andreas Traczyk
4edcc091f5 scripts: bump default Qt version to 6.2.3
Change-Id: Ie54c715144cdc9948fd395672277dd336b599f34
2022-03-08 14:19:04 -05:00
Andreas Traczyk
e7cc0497ce video: use QVideoSink/VideoOutput and QVideoFrame instead of QImage
Removes the rendermanager and framewrapper objects along with any
QQuickPaintedItem-based QML render widget classes. This simplifies
the video widget stack implementation.

The new mechanism uses the VideoOutput component of QtMultimedia.
By accessing the VideoOutput's QVideoSink object, we update the
mapped buffer data of a sink's QVideoFrame when new frames are
published. Updates to frames and component sink subscriptions are
managed by a new class called VideoProvider.

Gitlab: #500
Also https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/536

Change-Id: I2391a32294922ea435ab80ac1f876c004ff6c21e
2022-03-08 11:49:43 -05:00
Jenkins
a5adab3f58 i18n: automatic bump
Change-Id: I6b4290170b84920c5a41c24dc2072251e94034e7
2022-03-07 16:43:17 -05:00
Jenkins
1ef2f9b37b i18n: automatic bump
Change-Id: I446866bb560d4cc975bcd0979698a0c7edd7802a
2022-02-28 16:43:10 -05:00
Aline Gondim Santos
d45fa046fe selectscreen: update titles and add cancel option
GitLab: #668
Change-Id: I72e84b8accd29d59a8785c3f464db3c40edaa4b4
2022-02-23 14:31:48 -05:00
Sébastien Blin
dfae73d0d6 misc: remove code duplication and use native theme on KDE
GitLab: #603
Change-Id: I271f6d4b9b8089dc88479f1d7d98514acb3d52be
2022-02-23 13:00:49 -05:00
Jenkins
53e34b6ce6 i18n: automatic bump
Change-Id: I1d9a4d6b2cee45d5ba29253630bfbe7eaf000521
2022-02-21 16:44:58 -05:00
Sébastien Blin
af1fd162ce misc: clean up some anchors warnings
Change-Id: Ibd815ade167a32f14fd81a5675d9aeccb8ad5460
2022-02-18 09:01:26 -05:00
Sébastien Blin
7cc1cddf6c
chatviewsettings: fix layout values
Horizontal view show components horizontally in a vertical layout.
So, the labels were inverted

Change-Id: Iaecfa923ef0a2eb1ec810ab0436dddd4f4ea73e5
GitLab: #571
2022-02-16 13:27:53 -05:00
Sébastien Blin
df7b351fa6
usernamelineedit: avoid incorrect usernames
Change-Id: If5bd32cfd81b407c6176ba78ed40e9e6e28051b9
GitLab: #683
2022-02-16 13:04:05 -05:00
Jenkins
74d78036fc i18n: automatic bump
Change-Id: I2ae22ff1323277f1c6a375c76829993c0e1a1b1a
2022-02-14 16:43:11 -05:00
kkostiuk
2d4ac408d7 UI: fix app opening from macOS dock
A single click on the app icon on macOS dock should
open the app.

Change-Id: Ied215ee9288d6d46fd8852a7daa996db7ac0468f
2022-02-11 16:15:21 -05:00
Sébastien Blin
122777518a settings: update strings for chatview's position
Change-Id: I052711fbb30e36217b65caea2c00f0956b41b0b9
GitLab: #571
2022-02-11 12:20:32 -05:00
kkostiuk
5b2d6139bf calls: set default recording path
If no recording path for calls is selected by the user,
set Movies as the default recording path.

Change-Id: I405dfc2bd6e1e85fae8900512615943760b3151c
2022-02-11 10:18:10 -05:00
kkostiuk
6298932c7f translations: fix on macOS
- fix translations path
- generate .lproj folders for supported languages to be recognized by
QLocale. https://bugreports.qt.io/browse/QTBUG-72491

Gitlab: #578
Change-Id: Ic4c3b74c654a1c00de71c31c9debe397990870f7
2022-02-09 14:58:16 -05:00
kkostiuk
3821b78b80 macOS: allow unsigned executable memory
With hardened runtime app crashes in sws_scale when converting pixel
formats. Unsigned executable memory entitlement fix the crash.

Change-Id: Ia6e8cd0b1ff9537343991f730d0ed63384d17c2d
2022-02-09 14:38:14 -05:00
agsantos
1dbd909f40 selectscreen: open in same screen as app
This fixes the screen used by selectscreencreation to set the window position.

Change-Id: I805027ee84cd439e9801496025e0cae070153a32
GitLab: #656
2022-02-08 16:27:04 -05:00
Aline Gondim Santos
05d929cd8a call: add window share button
This adds a windows sharing button in addition to the sharing options.
This button is only available for linux systems and must be enabled
for others (MacOS, Windows) once their windows sharing are functional.

Change-Id: If378a23bc504fd3813382e84a41d914448707616
GitLab: #668
2022-02-08 16:22:38 -05:00
Jenkins
403edf4cba i18n: automatic bump
Change-Id: I22e65a6c9c333f8545c905875962cdc4163fdd5d
2022-02-08 10:55:24 -05:00
kkostiuk
626fe93bc6 updater: set check interval
Set check for update interval for 24 hours on macOS

Change-Id: Ie1b1801602611e5cbd8d20cedd2081b30eded921
2022-02-04 12:44:08 -05:00
kkostiuk
54a2947309 build: make deploy optional on macOS
Sometimes deploy failed with qmlimportscanner error. For better
control macdeployqt will be called manually for release
builds.

Gitlab: #578
Change-Id: Ic3a781cb4680499bbb7e479e31764f3f35e29800
2022-02-03 13:25:54 -05:00
kkostiuk
298493169c updater: add sparkle
- add sparkle submodule
- add an option to enable sparkle
- modify entitlements
- cleanup Info.plist

Gitlab: #578
Change-Id: I7f562112a72a33e008ab316479fbaa68dc0e07f1
2022-02-03 13:25:29 -05:00
kkostiuk
6b7c25054d instancemanager: disable on macOS
We do not need to verify if an app instance already running
on macOS, because it is done by default. Moreover, it causes a crash
on the macOS app with enabled hardened runtime.

Gitlab: #578
Change-Id: Ic8aa6a136d394372890ed4010f4a3c7ffa8e9233
2022-02-03 13:17:20 -05:00
Andreas Traczyk
3db33c4f89 mainapplication: add URI start option
+ Refactors some window management logic in LayoutManagar.qml.
+ Refactors app start to support both a minimized start and a start
  URI. The start URI should force visibility.
+ StartMinimized now starts the application in a closed-to-tray
  state, instead of a minimized state.
+ The close-to-tray feature now saves the previous windowed state.
+ InstanceManager handles URI transfer to secondary instances.

This commit does not implement URI handling. The original
implementation supported only calls via a user infohash as the URI
parameter. A new and flexible protocol should be defined to support
multiple Jami features.

Gitlab: #655
Change-Id: I2c47028930e4e9d7ccca94d9362545df14b98160
2022-02-03 13:12:16 -05:00
Andreas Traczyk
f319c95485 wix-installer: register jami protocol
Add some registry keys and values for the URL protocol via the WiX
installer.

Gitlab: #655
Change-Id: Ibc857cfea2db4ff5a20ca3e71e057990527a4054
2022-02-03 12:56:55 -05:00
Andreas Traczyk
5613a81ada main: use IPC to terminate secondary client during re-install(win)
To coordinate the MSI installer with Jami's close-to-tray feature,
a custom action was used to kill QtWebEngineProcess and Jami, prior
to the file installation step. The close-to-tray feature makes it
so the only way to terminate the app is via the systray context
menu.

This patch harnesses the IPC mechanism used by the run-guard, and
adds a command-line option('--term') used to signal the secondary
process and provoke graceful termination.

The benefits are:
- the app can save data before closing
- system tray icons aren't left dangling after updates
- QtWebEngineProcess is guaranteed to be terminated during install

Gitlab: #654
Gitlab: #543
Change-Id: I79421eeab49c9ec0826010af99a364471bb81d1a
2022-02-03 12:51:55 -05:00
Andreas Traczyk
cab5a2223b mainapplication: fix retranslate connection timing
Connect after initializing the settings manager pointer and
remove a slot by relaying the retranslate signal.

https://git.jami.net/savoirfairelinux/jami-project/-/issues/1342
Change-Id: I446cfb15500929850a434280dada6785107f9e78
2022-02-01 17:31:17 -05:00
Sébastien Blin
07b05f0123 settingsmenu: make it dynamically translatable
Components.onCompleted is not called after engine_->retranslate(),
causing the menu to not change. Doing a model for 4 buttons is
overkill, so just do the menu.

https://git.jami.net/savoirfairelinux/jami-project/-/issues/1342

Change-Id: I412230cc2152948666e37fe11824ee347bf55644
2022-02-01 10:00:19 -05:00
Sébastien Blin
72d794d56b icons: use new fullscreen icons
Change-Id: Iac105da82fa010fbf19775bebee23b04480ba47f
GitLab: #546
2022-02-01 10:00:06 -05:00
kkostiuk
52c2c6ae69 UI: adjust the font size for macOS
Gitlab: #578
Change-Id: Iac2d6878600f56fda0b671a5f6317b3dd56065aa
2022-02-01 09:59:48 -05:00
Sébastien Blin
68a5837a65 settings: add a settings to change the language of the app
Move installTranslator into the settings manager and add a settings
in the SystemSettings to be able to dynamically change the language
of jami-qt.

https://git.jami.net/savoirfairelinux/jami-project/-/issues/1342

Change-Id: I4f720fa50d5e313356dbdf1b8acb4e98d74401e4
2022-02-01 09:22:24 -05:00
Jenkins
4f6d70d617 i18n: automatic bump
Change-Id: I65d2a3f3216421e7da780465d5f36232fad1aaad
2022-01-31 16:42:51 -05:00
Sébastien Blin
5045667528 datatransferimage: improve memory usage
+ Reduce listview caching' size by 50%
+ use sourceSize to compress images and speedup loading
+ use autoTransform: true to rotate images when needed

Change-Id: Idf1babdc73f43aa6a79b89428c25c5d06856c0ef
GitLab: #649
2022-01-28 18:58:03 -05:00
Andreas Traczyk
0477376a0c mainapplication: only initialize members for primary instances
The running instance may be ephemeral and end up discarded after being
checked by InstanceManager. In this case, we shouldn't initialize large
components.

Gitlab: #654
Change-Id: I30c7dcdba6a56ab3a1a84a9efd3424e266b6f6ce
2022-01-28 18:58:03 -05:00
Sébastien Blin
b2de6b7252 JamiStrings: homogeneize fullscreen infos
Change-Id: I7b952fdb2cc0a35f089e75a24b11582c45b135f3
2022-01-28 18:58:03 -05:00
Sébastien Blin
8cd2a4753a Revert "conversationsadapter: select first conversation"
This reverts commit 0c1b1cd426.

Reason for revert: https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/658#note_33744

Change-Id: I5bdacea0bd414fe270697566d08db20f279e9349
2022-01-26 19:55:10 -05:00
Andreas Traczyk
045b93c1e4 chatview: remove an unused and inexistant file reference
Change-Id: I00e3d5a29854ef52b6d5e7275ada40e99e496a1e
2022-01-25 13:37:23 -05:00
Andreas Traczyk
9aad97763c chatview: base previewengine on QWebEnginePage not QWebEngineView
Qt6 allows us to set the RHI backend, however QQuickWidget is only
supported when using OpenGL. QWebEngineView instantiation uses
QQuickWidget and isn't required as we wish to use the previewengine
in a headless mode. So it can just be based on QWebEnginePage.

Change-Id: If05ca5c89272704b54c29318803c8773984b087c
2022-01-25 13:13:45 -05:00
Jenkins
1a2189289a i18n: automatic bump
Change-Id: Icb9eb9dba00f57afb32f7f38c5c135427d783d1c
2022-01-24 16:42:56 -05:00
Sébastien Blin
0937f083e8 textmessagedelegate: add context menu support for selectedText
GitLab: #601
Change-Id: Ic1ed7d2b724a04281973e974a787a680fbd26387
2022-01-24 15:07:43 -05:00
Andreas Traczyk
28f922677b chatview: disable webengineview context menu for media msgs
Gitlab: #653
Change-Id: I79130e60c7f6632736b6d41773cde7a33eaa1107
2022-01-24 13:05:06 -05:00
Sébastien Blin
a2a263c6c1 settings: add settings to change the position of the chatview in calls
GitLab: #160
GitLab: #571
Change-Id: Ifc1a4183c614f4754df5b617067a433d1227dcdf
2022-01-21 16:55:57 -05:00
Andreas Traczyk
70a6972b7e mainwindow: save/restore window geometry
Save virtual desktop geometry and window visibility state settings
and set them for the application window when loading.

Gitlab: #604
Change-Id: I053716d9c7b5d23e1bd7f33a1c41aedefb6cf9c8
2022-01-21 14:23:25 -05:00
Sébastien Blin
0c1b1cd426 conversationsadapter: select first conversation
It's more useful than the welcome view

GitLab: #645
Change-Id: Icf79aaff5c2cd1d9faf8481ba20f68e7b095d8c1
2022-01-21 13:44:21 -05:00
Sébastien Blin
93da093ba6 callactionbar: add fullscreen button
Also fix a typo causing the icon in the context menu to not update

Change-Id: I8886b45afcc55a3c724494afa10fc125d218d14e
2022-01-21 13:34:49 -05:00
Sébastien Blin
f15233b31f draft: Implement new design for the draft indicator
GitLab: #427
Change-Id: I73818240946ab7c42eb238c50ca0f38061ff13d9
2022-01-21 13:32:17 -05:00
Sébastien Blin
29c758a141 qtwebengine: remove no-sandbox flag
In 64720224eb, a no-sandbox flag was
added because QtWebEngine can't load fonts on recent glibc. Source:
https://bugreports.qt.io/browse/QTBUG-92969
https://bugs.chromium.org/p/chromium/issues/detail?id=1164975

Now, we use Qt 6.2, so this flag should not be necessary.
So, we can finally close #442 without any dirty workaround.

GitLab: #442
Change-Id: I52835e40d37d2397a891415fd2b1dd8dd4048b8b
2022-01-21 13:31:39 -05:00
Maxim Cournoyer
16424e530a src/jami: Simplify launcher.
Remove legacy cruft and streamline logic.

Change-Id: Ia9d0ef9a621e01aac17facb3e94efb11cdb38b0d
2022-01-21 09:23:03 -05:00