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

1416 commits

Author SHA1 Message Date
Sébastien Blin
fc0ad97bc5 avmodel: avoid heap-buffer-overflow
use finished string to avoid a heap-buffer-overflow due to non
terminated string

Change-Id: Ic7d7fd45522e199977be9213359888b630d86543
2022-06-10 10:50:19 -04:00
Amin Bandali
70a89500a6 misc: drop remnants of the old and now-unused web chatview
GitLab: #749
Change-Id: Ie58f458d44b1d643632842e2fb44aad19571405b
2022-06-09 16:10:15 -04:00
Fadi SHEHADEH
0ef5cca551
chatview: bubbles style
- radius
- spacing username
- spacing avatar bubble
- added username on top

Change-Id: Iaea52d2c6334a64727fc818ef3232623b938d41e
Gitlab: #730
2022-06-09 15:54:47 -04:00
Amin Bandali
e0b3b4adec misc: vendor libjamiclient into 'src/libclient/'
This is libjamiclient from the jami-libclient.git repository as of
767c45b8b09806ac05cbada720864df93588c047, with the following changes:

* src/libclient/newaccountmodel.cpp:
(NewAccountModelPimpl::removeFromAccounts): The lock wait inside
'#ifdef CHK_FREEABLE_BEFORE_ERASE_ACCOUNT' was not updated when the
type of 'accounts' was changed over the years from this:
std::map<std::string, account::Info>
to this:
std::map<QString, std::pair<account::Info, std::shared_ptr<Database>>>
Basically we need to get the 'first' of the pair for 'account::Info'.
So we now do that.

* src/libclient/avmodel.cpp:
* src/libclient/callbackshandler.cpp:
* src/libclient/contactmodel.cpp:
* src/libclient/conversationmodel.cpp:
* src/libclient/database.cpp:
* src/libclient/namedirectory.cpp:
* src/libclient/newaccountmodel.cpp:
* src/libclient/newcallmodel.cpp:
* src/libclient/newdevicemodel.cpp:
* src/libclient/peerdiscoverymodel.cpp:
* src/libclient/pluginmodel.cpp:
* src/libclient/smartinfohub.cpp:
* src/libclient/vcard.h:
* src/libclient/authority/storagehelper.cpp:  Replace Qt's 'foreach'
with 'Q_FOREACH' and its 'emit' with 'Q_EMIT' because in the client-qt
code base we have '-DQT_NO_KEYWORDS' to avoid conflicts with other
libraries we use.

* cmake/FindLibJami.cmake: Import cmake/FindRing.cmake from the
jami-libclient.git repository.  Then, rename RING_BUILD_DIR to
LIBJAMI_BUILD_DIR (though the old name is still supported for now).
Also update other references of Ring to Jami.  Further, add additional
calls to 'find_library' to make sure specified local paths for libjami
are checked before system-wide ones (in case of older/obsolete libjami
being available system-wide, which might happen on GNU/Linux systems).

* translations/lrc_*.ts: Import translation files from the libclient
repository.  The message location paths were corrected by running
"sed -i 's|../src|&/libclient|g' lrc_*.ts" in 'translations/'.

.tx/config: Add section for the newly-imported libclient translations.

* CMakeLists.txt: Reformat, plus various fixes and cleanups, such as
changing indentation to 2 spaces and wrapping lines at 70 characters,
renaming the parent directory of translations from 'ring' to 'jami',
and using all lowercase function calls.  Also add copyright headers.

* src/app/appsettingsmanager.cpp:
(AppSettingsManager::loadTranslations):
* src/app/utilsadapter.cpp (UtilsAdapter::supportedLang): Update to
adapt to the renaming of the parent directory of translations from
'ring' to 'jami'.

GitLab: #748
Change-Id: I86e3b0fb30e554755023e7b858b6a0d132cd59ab
2022-06-08 16:28:57 -04:00
Sébastien Blin
a7735dfa7d videoprovider: filter resize operations
Change-Id: I513acc54f1d8236b93832c02f9e658ec39f4db79
2022-05-31 03:14:35 -04:00
Andreas Traczyk
e0ed0ea2f3 vulkan(Windows): verify vulkan instance creation with vulkan-1.dll
Add another supplementary check using functions from the vulkan-1
module before trying with QVulkanInstance.

Gitlab: #746
Change-Id: I8975ef8765675aca95c4fee648853ea74c0c8ec9
2022-05-24 16:42:44 -04:00
Andreas Traczyk
0e819a64e8 vulkan(Windows): verify layer VK_LAYER_KHRONOS_validation exists
Add a supplementary check after calling QVulkanInstance::create to
make sure the requested validation layer was created.

Gitlab: #746
Change-Id: Ibe3004fa1a1a38401be8625aaea34e0bef185d0a
2022-05-20 11:31:15 -04:00
Amin Bandali
c7fdf3ff30 misc: move application sources from 'src/' to 'src/app/'
In preparation for vendoring libjamiclient into 'src/libclient/'.

GitLab: #734
Change-Id: Ibd956abc8fe9bd454ac0e9a5a28b77a5a74174e7
2022-05-19 15:47:30 -04:00
Fadi SHEHADEH
cbde5d9047 badge: show 9+ instead of … with more than 9 items
Change-Id: I2eff7e56b16d490f579eeb75e68a526870cf188f
2022-05-19 13:56:38 -04:00
Jenkins
86af807221 i18n: automatic bump
Change-Id: I2ea908389631d3da12463b1bbb4455bfea32f9b3
2022-05-18 07:14:16 -04:00
Sébastien Blin
469a45bb9e misc: replace Group's name by Swarm's name
Change-Id: I3e006bd1c9eceb2fafd8a04c9a9cf2a9ad2a0433
2022-05-17 03:36:08 -04:00
Fadi SHEHADEH
cd027db503 contact detail: fix width for identifier
replaced width by layout.preferredWidth

Change-Id: Ie72047cd2745b7bf0ca10617b8e178b1ecde90a4
GitLab: #736
2022-05-13 11:28:18 -04:00
Fadi SHEHADEH
bc67448c4d contact detail: fix selection for username
replaced MaterialLineEdit by TextEdit

Change-Id: I9e1dfa0a6a1b0a7bfd105cbf8890f1d8c57aeeb9
GitLab: #736
2022-05-13 11:28:11 -04:00
Sébastien Blin
5337ede589 preview: fix undefined domain for twitter and color with luma
Change-Id: I28a5d02881b9b5eb57ad6efa646dd1c5a3327856
GitLab: #670
2022-05-13 10:46:23 -04:00
Sébastien Blin
920bb44a3f swarmdetailspanel: only change photo if enough permissions
Change-Id: I293ff9e3fbca577c660fc2c204ed75568a176bb7
2022-05-13 02:30:24 -04:00
Sébastien Blin
b0d7461e2b videoprovider: fix captureVideoFrame
The photoboothview was bugguy and didn't take photo all the time.
Homogeneize captureVideoFrame with other methods.

GitLab: #727
Change-Id: I742e51e161c17ffc324e911341c5a4a701037f90
2022-05-12 04:24:01 -04:00
Sébastien Blin
820ef3092c smartlist: update design for swarm
+ Clear search bar on highlighted
+ Add title in the smartlist on creation
+ Remove last interaction on swarm creation
+ RecordBox update design and avoid white buttons on white videos
+ Ellipsize title in Middle to keep +X

Change-Id: Ib19831e2291e3fc94eacd6cd65012eebcb310faa
2022-05-11 03:19:31 -04:00
Sébastien Blin
b3bcbd6eab EditableLineEdit: new design
Change-Id: Ieebfacdf8128610ed60cdf73b1b4af6c209dcb36
2022-05-11 03:19:31 -04:00
Sébastien Blin
a75f8c2356 ParticipantsLayer: make participants in line more flexibles
All cards where a square when using layout with One big and smalls
This can be improved and be more flexible.

Change-Id: I87868480496289566714ddbe22a5bce31f387dcb
2022-05-11 03:19:31 -04:00
Sébastien Blin
68e8ad46aa photoboothview: implement new design
Implement new design. Now the photobooth got a modal for
preview. This uses the RecordBox item which is simplified
into a popup instead weird Pathes

Change-Id: Id95c90f853870605ecf21c33217381092ca1a709
2022-05-11 03:19:31 -04:00
Sébastien Blin
303639fe27 misc: graphical adjustments
+ Adapt primary color via the luma of the background
+ Adapt font size
+ Adapt some margins
+ Add highlight on avatars
+ Fix selected UID when creating swarms

GitLab: #670
Change-Id: I219acd5a1726298050a1ca908dbf38929bab171a
2022-05-11 03:19:31 -04:00
Andreas Traczyk
dcd4cad692 chatview: fix webengine binding for msg linkify/preview mechanism
This was broken in commit 3f88ced, as the webchannel js object can
not be used to invoke Qt signal methods directly. Wrapping with
an emitter method is required.

Change-Id: I8633a5693105efd928fb68f227fdf75c161371fe
Gitlab: #735
2022-05-10 11:43:11 -04:00
Fadi SHEHADEH
0000f05395 chatview: interpret messages as markdown instead of html
GitLab: #728

Change-Id: If6896c2de4ed56c6f0351057e97fd9f2224dfd6e
2022-05-09 10:25:07 -04:00
Sébastien Blin
dd0dc87a01 misc: remove Qt Positioning from dependencies and add Qt Widgets
GitLab: #733
Change-Id: I3daa6558479d80650bbf71577c8cbcaee3d4cd64
2022-05-05 13:38:11 -04:00
Sébastien Blin
db7977923d swarmdetailspanel: add about part
Change-Id: I2af7ff4e785529f37d5e7d532ed0295c6f1055b6
GitLab: #670
2022-05-04 10:52:57 -04:00
kkostiuk
3f88ceda93 build: add option to build without Qt WebEngine
This patch allows building the project without Qt WebEngine, by
disabling (for the time being) the features that depend on it:
the emoji picker, link previews, and media file previews in the
chatview.

Co-authored-by: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
Co-authored-by: Amin Bandali <amin.bandali@savoirfairelinux.com>
Change-Id: I74751b0cc6f22c61a6fd7281ca3207e0fdbb2212
2022-05-03 10:11:21 -04:00
Jenkins
d6d1f90315 i18n: automatic bump
Change-Id: I30ba07bbb9b1202a411763270edc6c7d03bbb950
2022-05-02 16:58:09 -04:00
agsantos
77d8cc758d account settings: add plugins
GitLab: #539

Change-Id: I49dd030bc4e80fe30bcf7259777a2527ebd25fe2
2022-04-26 09:27:11 -04:00
agsantos
7fe8843317 plugins: preferences per account
+ code cleanup

GitLab: #539

Change-Id: I3f85a4760f60f47f2557016a88bc17c41062ee4e
2022-04-26 09:27:10 -04:00
Sébastien Blin
dc2a495c12 mainview: fix swarm creation with multiple members
Change-Id: Iefa2495938564c57434c952c1057f70de2c94a44
2022-04-22 16:23:15 -04:00
Sébastien Blin
cc149cc20f CallActionBar: clear warning
Change-Id: Ie997fe42dd5f00a9e63a89ed39dd203dd129d1f6
2022-04-22 16:23:15 -04:00
Sébastien Blin
9924a536f1 participantslayer: fix visibility of buttons
If a participant is maximised and minimized while active, the
button is not correctly displayed

Change-Id: I15a32e4f2bbbcd49b3448fb7f241edb6ad37250b
2022-04-21 16:34:25 -04:00
Jenkins
087fadfc03 i18n: automatic bump
Change-Id: I24f34faf2806a32540ebabba9402848141a380a8
2022-04-18 16:43:06 -04:00
Mohamed Chibani
d940c725e0 SMH: fix check on buffer size
The SHM buffer size might be slightly larger than the expected
size due to 16-byte memory alignment used to create the SHM
buffers.

Gitlab: #731

Change-Id: Ida174fd16698cdbe6b19ccfd3c0c266adad68fa2
2022-04-14 10:53:07 -04:00
Mohamed Chibani
6f1945af48 SHM: Fix copy from shared memory to QVideoFrame
Frames in shared memory have no specific line alignment
(i.e. stride = width), as opposed to the QVideoFrame, so
the copy need to be done accordingly.

Gitlab: #721

Change-Id: Id6576e55c5742a4e99d603feb4bc78f4d2be1ff0
2022-04-13 14:11:24 -04:00
Sébastien Blin
6d3ae747bc
linux: disable Vulkan
Some drivers seems to create weird results.

Change-Id: I9bea2c7f8fca8cd9ae6681981b2e30b2848ffeaf
GitLab: #718
2022-04-11 11:25:48 -04:00
kkostiuk
7ed3ec51e9 macOS: system tray behaviour
Do not open/close Jami on click on the Jami system tray icon.
Click on Jami system tray icon trigger context menu with options
to show Jami and to close Jami.

Change-Id: I2230cc958d23b6aff245a6eca6e7d0776f6a1687
2022-04-07 14:29:48 -04:00
Ming Rui Zhang
3ac51f325a build: add command option to generate installer directly
Change-Id: I663f4c7d736d62063f897d9551fc2e97ad5360ef
2022-04-07 14:12:39 -04:00
Andreas Traczyk
46251d5338 Update INSTALL.md
Change-Id: Id90601a743d42519aeeafb349614e567d74fe96a
2022-04-07 12:11:45 -04:00
Vladimir Stoiakin
4e4c98e232 misc: use QDir for getting a temporary directory
Gitlab: #692
Change-Id: I2f45476c3e5ee4d35ec39c17f923117769c5b652
2022-04-07 11:58:23 -04:00
Sébastien Blin
9f1053902d misc: QT_VERSION_STR must be defined
Change-Id: I1533ca831cc2cb7f627535d1e9d37549ccaf8b59
2022-04-07 11:50:03 -04:00
Amin Bandali
2c8542769e deleteaccountdialog: disable delete button when it's clicked
This is so that the user cannot accidentally click Delete again and
delete another account.  Also, show a BusyIndicator spinning wheel
when Delete is clicked, so as to give the user visual feedback that
something is happening.

Also, set the account Id, best name, and whether it's a SIP account
from outside when opening the dialog, so that they don't automatically
change when the next account is selected if the user confirms the
deletion of the current account.

GitLab: #711
Change-Id: I4e93deb4f74257387884edc62d76a5b3cb58d845
2022-04-07 10:54:57 -04:00
ttabah
92829ad3e1 creator added: adding to credits
Change-Id: Id12e94f120b07c57abdd171dad05aa9e518c4083
2022-04-06 14:58:52 -04:00
Andreas Traczyk
252bc8488c misc: remove msg send bar cursor animation
This animation is hard to notice and consumes GPU.

Change-Id: I48db6ffe37b6dc81594563ff715f2c88513f4b35
Gitlab: #710
2022-04-06 11:19:10 -04:00
Aline Gondim Santos
3b1201f792 video-split: rounded corners in active participant
Change-Id: I4176e7ea772c3471f153f8069958566ddcf0c384
2022-04-06 10:48:07 -04:00
Jenkins
0617b9bba1 i18n: automatic bump
Change-Id: I5d17d2a287ca00c3bbd042a1b621d1a4fb089858
2022-04-06 09:17:50 -04:00
Andreas Traczyk
c3c7c11297 misc: fix some more background animations
Change-Id: Ie626cfcab08cd5ed69a0465e824238e8ce059868
Gitlab: #710
2022-04-05 16:59:39 -04:00
Sébastien Blin
d11553ff05 callview: fix fullscreen after video-split
+ Fix some errors
+ Replace the MouseArea in OngoingCallPage with a TapHandler
+ Accept buttons in both SplitView panes

GitLab: #476
Change-Id: I39b6b26add0b5221337ce656f31a1f1900b2aa8b
2022-04-05 16:33:12 -04:00
Aline Gondim Santos
21af116ad2 video-split: use lrc const QStrings
Change-Id: I4e2196668829c28074d28eaf99386dc15b524c2d
2022-04-05 16:33:05 -04:00
Aline Gondim Santos
0e53a71d33 conference: show layout even in audio only
Change-Id: Icb22f3e8876daf284ea4825207e2f21ba1ebfbbf
2022-04-05 16:32:45 -04:00