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

1728 commits

Author SHA1 Message Date
Sébastien Blin
61b2bfdee7 chatviewfooter: pre-fill with previous body when editing
Change-Id: Ie2784a689bac5442198bbcfdaed54ff75de4003f
GitLab: #870
2022-10-30 11:44:28 -04:00
Sébastien Blin
90ae50ee5f misc: rename DRing->libjami
Change-Id: I15d382406687cc506c1456ce43286ad6b0f23529
2022-10-29 16:53:42 -04:00
Sébastien Blin
c6f2293ce3 conversationerrorsrow: only show in debug mode
The labels are pretty unclear for most of the users. We can show the
bar only if debug mode is enabled (-d) so that only developpers or
people who need to debug jami can see it while we choose better
error labels.

Change-Id: I2a37d00251f75db878eff44c665a2b17f95a9888
2022-10-27 16:37:01 -04:00
Nicolas Vengeon
7a34209583 feature: documents flow in the swarmDetailsPanel
Change-Id: I24a94b9ced0ec3930a0b9e20f3fa0440e2d8fd00
Signed-off-by: Nicolas Vengeon <nicolas.vengeon@savoirfairelinux.com>
2022-10-27 09:30:01 -04:00
Antoine Noreau
9b1a6e471b
sip: fix incoming TLS calls by disabling secure dialog
Change-Id: I8925ba8d4cd29978efc700aa43c6e5acc7980365
2022-10-25 16:51:14 -04:00
Sébastien Blin
40672bb67f Revert "sip: fix incoming TLS calls by disabling secure dialog"
This reverts commit 9457c7ccbb.

Reason for revert: Break config

Change-Id: I320c69562969b8197a1bdc92acfc7da93b1e9a48
2022-10-25 16:38:01 -04:00
Sébastien Blin
47cd60fbe4 messagelistmodel: support message edition
Handle application/edited-message type to support message edition.
Previous bodies are saved in the interaction to be able to get the
original post to avoid unwanted editions.

While loading a conversation, we store the editions in a temporary
map that we link once the edited message is detected. This work
because we can't edit a message before this message exists.
PreviousBodies in interaction.h contains every previous body detected
and the client can show previous version of the message in a popup.

Deleting a message works the same way, just that any message
with an empty body is not shown.

https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/316

Change-Id: Ib158abd16ad4b629532de11694e88d86a12d72a8
2022-10-25 16:15:22 -04:00
Antoine Noreau
9457c7ccbb sip: fix incoming TLS calls by disabling secure dialog
Change-Id: I28e6135d9586adf7b4264431726f82f47856be51
2022-10-24 16:20:12 -04:00
Sébastien Blin
f2b40af3e2 misc: cleanup settings
+ Remove "Accept files from unknown senders" because since swarm
we can't get files from non contacts are the conversation is not
cloned, and non swarm files are ignored
+ Rename "ignore the swarm" to "Mute conversation" as ignore is
unclear

Change-Id: Ifced8f8efe841e2345d50530ee313e6b95b35920
2022-10-24 14:28:22 -04:00
Sébastien Blin
8e7e39c1e9 sip: search conversation filter
The URI we search can be the id of another conversation, causing
another contact to be shown.

Change-Id: Icdbc01b5466559fd6c9f77dde57338903e54ea99
2022-10-24 11:39:45 -04:00
Sébastien Blin
38009024ff TextMessageDelegate: fix alignment
Change-Id: If196e9ab73257e4f133e0b4d517f426fb6d59e8b
GitLab: #861
2022-10-24 10:56:58 -04:00
Aline Gondim Santos
bf8b7ca8bd docs: update Windows build instructions
GitLab: #854

Change-Id: Iae54035ecafa83aece46def43621532b6329a92a
2022-10-24 09:24:15 -03:00
Kateryna Kostiuk
5aca889630 packaging: fix path for macOS
Change-Id: Id0aca1fd0d2cc95450c44b48ad0c82360430a6bd
2022-10-21 12:36:01 -04:00
Sébastien Blin
1a994173ec
conversationmodel: fix loading for some conversations
If there was too much following merge commits, sometimes the
conversation was not correctly loaded.
Moreover, the lastMessageUID was not correctly calculated from
time to time, leading to empty conversations in the smartlist.

Change-Id: I1224269c5df72936ae51f34211ce3f63dbf606ff
2022-10-21 09:34:54 -04:00
Andreas Traczyk
644c841a39 chat-view: fix data transfer image size reload loops
Changing the source size property of the QML Image component causes
a reload using the new source dimensions. The image loading process
was triggering reloading that was not recognized as a binding loop.

This commit also corrects the image sizing algorithm to prefer and
restrict height, which prevents images that are too tall from
taking up too much vertical space in the chat list view.

GitLab: #857
Change-Id: I049b1bb8ea4d23a753e7b54de884d9c1eafdf83c
2022-10-21 09:23:51 -04:00
Aline Gondim Santos
c0315bbc71 camera: fix closing
- camera stays open after call with dbus
- camera stays open after call to account on same device

Change-Id: I2f2adf37b681009adfced6fe4d02d326b9408866
GitLab: #858
2022-10-20 16:47:48 -03:00
Andreas Traczyk
cf2b9cc18f chat-view: fix image message aspect ratio calculation
This fixes a binding loop, but introduces another less fatal one,
since commit d6ed9adf.

Change-Id: I67934b4cdde2efe04e20064fe41191241b0689b9
GitLab: #857
2022-10-19 14:58:24 -04:00
Jenkins
b24687d161 i18n: automatic bump
Change-Id: Iae4c49f99b775a39665fa109f85b05b43cc3b429
2022-10-18 08:11:42 -04:00
Amin Bandali
bb7b5b62c2 i18n: fix repo root path in update-translations.ps1
GitLab: #852
Change-Id: I1ff3099abdb539efb4761b5e0108779a71f701ec
2022-10-17 22:21:46 -04:00
Jenkins
536da22e50 i18n: automatic bump
Change-Id: I034a72ca0147a552e1791d497e86dac8551717b8
2022-10-17 16:42:35 -04:00
Amin Bandali
ca7b1e70e4 build: Add daemon submodule and optionally use it.
This allows invoking cmake with -DWITH_DAEMON_SUBMODULE=true to use
the daemon header files and library from the submodule.  Note that it
is currently still necessary to build the daemon separately first,
either manually or using the build.py convenience script.

The goal is to eventually add support for building the daemon with
CMake in the future, so that we could add_subdirectory(${DAEMON_DIR})
in client-qt's CMakeLists.txt and have CMake take care of everything.

Change-Id: I3a16c44837e6c79616b3101fea8a6ff3defa3ab5
2022-10-17 16:20:47 -04:00
Amin Bandali
3f1bc76c08 build: Simplify FindLibJami.cmake module.
* extras/build/cmake/modules/FindLibJami.cmake: find_library's NAMES
option can take multiple library names.  So, just use that instead of
multiple almost-duplicate calls to find_library for trying different
names.

Change-Id: I9ae5d96e1abcb8117ad65b79b3cc27424b4f87d7
2022-10-17 16:02:27 -04:00
Jenkins
e31c4f8af0 i18n: automatic bump
Change-Id: I37e6de330dde179efaf8b1d6436adea45de01aad
2022-10-17 13:39:30 -04:00
Sébastien Blin
ef2d588abc swarmdetailspanel: link to setConversationPreferences
Save current color, and notification's preferences

Change-Id: I3197be53bf622528aa3bc2e3f0d9aea29068e144
2022-10-17 09:17:43 -04:00
Aline Gondim Santos
3f33fb19e5 fix: close camera when call ends
Change-Id: I81beded4eed352c90e49ad1060efa8d7ac4e83d2
2022-10-14 16:47:51 -03:00
Jenkins
3455a13147 i18n: automatic bump
Change-Id: I3d75e9dc3654926b6cddd1f631c715ff3715d5dc
2022-10-12 16:41:19 -04:00
Aline Gondim Santos
145c1ad1f2 plugins: not reload when setting preferences
Daemon should handle if reloading is necessary.

GitLab: https://git.jami.net/savoirfairelinux/jami-plugins/-/issues/24

Change-Id: Ided267a74c091fb5f93ec11f6a746b5ef241632d
2022-10-12 12:25:57 -04:00
Sébastien Blin
31340bc224
participantoverlay: add recording state
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/699

Change-Id: Ia480eef38ee054750ffbaf08ae0aed84090dc9a5
2022-10-11 15:09:17 -04:00
Sébastien Blin
6c8a5d7bc6
conversationmodel: fix crash if no interaction
Change-Id: Id50f7b2598e0cff7ca75f5fca13473702da5c207
2022-10-11 09:33:28 -04:00
Maxim Cournoyer
bf4a8c314f misc: Rename jami-qt to jami and remove launcher script.
Now that there is no longer a second official client (jami-gnome), we
can remove this uninteresting implementation detail from the name.

Mostly automated via:

  $ git grep jami-qt -l | xargs sed 's/jami-qt/jami/g' -i

* src/app/jami: Delete launcher script.
* CMakeLists.txt: Un-register it from installation.

Change-Id: I5167c29089feb4e64c12d7d01c1ce281e16c0613
2022-10-07 17:30:06 -04:00
Amin Bandali
2fc8661d08 misc: Clean up repository root.
This is the first in a series for cleaning up the top directory (root)
of the repository and move various files/folders into nicely organized
directory structures.

GitLab: #749
Change-Id: If59b74fff981df242bc26e62a070bdb81d7baded
2022-10-07 17:30:06 -04:00
Aline Gondim Santos
cbbe048303 localvideo: remove onvisiblechange
By removing the onVisibleChange from the LocalVideo, and leaving
that logic to the widget parents, we cleanup the noisy sink
(un)registrations.

Change-Id: I569e0529087be1e697178085cb59c1c18c52f2c6
2022-10-07 16:48:01 -04:00
Andreas Traczyk
50282f3259 windows-packaging: hide the reference to "Beta" in the about dialog
- Removes the explicit "(BETA)" from the msi installer.
- Changes BETA to Beta in the about menu.

Change-Id: Ifbf300ef1c39a4648f6a235cf3a17a89145d2152
2022-10-07 16:00:48 -04:00
Andreas Traczyk
577abd7bd4 wix: only add a desktop shortcut on the first install
Change-Id: I32680db1ca81db77b8c49550531ecac992897a47
2022-10-07 16:00:00 -04:00
Nicolas Vengeon
eb55c3193a feature: Display emojis stand alone
-Emojis are shown without bubbles when sent alone
-Changes on message reply design ( animation now include files and emojis)

GitLab: #690
Signed-off-by: Nicolas Vengeon <nicolas.vengeon@savoirfairelinux.com>
Change-Id: I81d128367a9c393c76493e02ce88daf4f6a11bf4
2022-10-07 15:38:08 -04:00
Andreas Traczyk
b2c7fc0414 jamiidentifier: fix some UI issues
Introduces some new, more composable base components in an effort
to reduce synthetic "editing" states and have a more natural focus
change response.

Change-Id: I35a51f93ad6f92c0154fd0c40e944af6f54cbba2
2022-10-07 14:17:53 -04:00
Nicolas
d6ed9adf32 chatview: timestamp improvements
New timestamp computation and sequencing ( by day and hour)

GitLab: #827
Change-Id: Ie170f31c075dc37f00d393272410329dc045f2d3
2022-10-07 09:33:17 -04:00
Nicolas Vengeon
c3e8e38e99 fix: add of aboutPopup in WizardView/WelcomeView
Change-Id: I4d38b67ed3f194849bad6fb865254402f19b8e02
Gitlab: #839
2022-10-06 18:03:26 -04:00
Nicolas Vengeon
d4bbcfbeb4 wizard: size NoUsernamePopup according to content size
Didn't use BaseModalDialog:
- class doesn't adapt to content size
- can't be changed without breaking other popups

Change-Id: Id62febfe7651481fe4fb666b2d09c624d7f4fb6d
Gitlab: #844
2022-10-06 16:30:54 -04:00
Andreas Traczyk
c99d4967c6 accountwizard: remove some useless parameters
Change-Id: I19a26ef9ea3d58565ca2e62f1b75ff8c119abdee
GitLab: #847
2022-10-06 13:16:23 -04:00
Sébastien Blin
f377f25793 calladapter: switch to account receiving an incoming call
Change-Id: I1ac8dd0c9563923b9ed3ac4cfc0b63eee7bdaa9a
2022-10-06 11:28:08 -04:00
Sébastien Blin
5fba84031d wizard: fix rendezvous creation
Change-Id: Ia443e07471eee9dbf57029e0231a66b683856ef8
GitLab: #847
2022-10-06 08:54:56 -04:00
Sébastien Blin
9e31eeeffc sip: use latest registration expire preference
Change-Id: I0f99a159de945d2d82d77ec3a94a18027c89fa66
2022-10-05 09:29:12 -04:00
Nicolas Vengeon
dbd7aa528e tooltips: changes on tooltips management
-Tips are no longer deleted
-Tips are shown randomly
-Custom tooltip and backup tooltip are shown first if needed

Gitlab: #846
Change-Id: Icadc1dcef23ff7d5783e840d3d1528d399166e24
2022-10-04 17:09:39 -04:00
Amin Bandali
d6e7a6b7c0 misc: Set SortFilterProxyModel submodule's branch to 'qt-6'.
* .gitmodules: Set the 'branch' property for the SortFilterProxyModel
submodule to 'qt-6'.  This is needed because by default git picks
'master' when the '--remote' option is given for submodule update,
and our fork of the SortFilterProxyModel repository currently has the
latest changes only in the 'qt-6' branch.

Change-Id: I3d7797d847324ff4a7268f682b11ec88630931fa
2022-10-04 13:52:23 -04:00
Aline Gondim Santos
3250c0298b misc: fix call hold
GitLab: https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/769

Change-Id: I209215e0f81fe0e810a5cf243f122db9bb7065b6
2022-10-04 12:18:33 -04:00
Amin Bandali
7fb102ed45 build: Tweak CMakeLists.txt pkg-config usage for finding avutil.
* CMakeLists.txt: Prepend CMAKE_PREFIX_PATH with the location of
libavutil.pc from daemon's contrib before trying to find libavutil
using pkg-config, and remove it afterwards.  Further, there is no need
to link the application executable against libavutil; the application
only needs its headers (libclient, however, does already link against
libavutil).

Change-Id: Iffa5af43bfd1bb62bc24cc94dce292f87e9ecb2a
2022-10-04 10:08:00 -04:00
Amin Bandali
fb94c38540 build: Fix find_library for contrib avutil on GNU/Linux.
* src/libclient/CMakeLists.txt: Set the right 'hint' path for the call
to find_library for ffmpeg avutil from daemon's contrib, to match the
directory name used by daemon's 'contrib/bootstrap' script: the name
of the directory is the value returned by the C++ compiler (either GNU
or Clang) when invoked with the '-dumpmachine' option.

Change-Id: I03de150aa941a1e32471e5b4cbe507e5d09787f5
2022-10-04 10:08:00 -04:00
Jenkins
b2947e1cba i18n: automatic bump
Change-Id: Ib2226355a41d18bd6be2221c1852ad254e0f8042
2022-09-30 17:33:58 -04:00
Sébastien Blin
bad7cff316 accountcombobox: show unread count
Change-Id: Ia6d7ba0ee9e32d5830b35b863b3981e2487df183
GitLab: #821
2022-09-30 15:43:35 -04:00