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

1416 commits

Author SHA1 Message Date
Sébastien Blin
564581b1f7 contactmodel: use new avatar received for account
If the avatar for an account is set on a device, it will send
to detected devices on new connections. The client was ignoring
the new avatar if it was not empty, now we just use the last
received avatar

Change-Id: I0b2cde9c193d46014c4d600775743312219b84df
2023-02-05 16:35:30 -05:00
Sébastien Blin
c8c8208378 chatview: do not show "A call is in progress" in a call
Change-Id: I6e04c8e01e87f66a9e6da4fb32524f085066a5d0
GitLab: #940
2023-02-05 16:35:30 -05:00
Sébastien Blin
5db4d29b73 messageadapter: fix types filtering
Some types where missing, causing the chatview to not show all
messages.

Change-Id: I2ac1dfa03de8330b38f2828e66eead7114b2cfe6
2023-02-05 16:35:30 -05:00
Sébastien Blin
88d6de8370 contactmessage: fix width for timestampinfo
If the timestamp is shown on a contact message, the line was not
taking the full width like other messages.

Change-Id: I94a448acb4f7fd6400365445dd912abc5103ea2a
2023-02-05 16:35:30 -05:00
Fadi SHEHADEH
9e84681856 emoji: fix background color
- isEmojiOnly changed to message containing only an emoji, not an edit or reply.
- adapted size

GitLab: #957

Change-Id: I78388a406a2a0b9c93f1c291850062fd9bf04a54
2023-02-05 11:04:19 -05:00
Aline Gondim Santos
c0fdeb3f34 misc: improve minimum width swarm panels in chatview
GitLab: #954

Change-Id: I6fe7537b0de7fb904a05159072476003ee835eea
2023-02-03 13:50:40 -03:00
Nicolas Vengeon
6348d3ee0b Smartlist: Date should show in correct locale format
- Standard time/date is now used
- If today, show local time, otherwise show local date

GitLab: #545
Change-Id: I07f1e706868c725d1c917c473dc0fdbad8d6810f
2023-02-03 09:06:27 -05:00
Nicolas Vengeon
530c027068 projectcredits.html: contributor added
- Contributor added to credits

Change-Id: I27d459557c10e50c53b342472ed76c2c7966ff37
2023-02-03 09:05:35 -05:00
Amin Bandali
43c2197ef1 packaging: Update release tarball name and version scheme.
* extras/packaging/gnu-linux/scripts/release-version.sh: Add script
for deriving (reproducibly) a release version.  The format will follow
a 'YYYYMMDD.X' scheme, where 'YYYYMMDD' is the date of the last commit
on the current branch, and 'X' the number of releases tagged that day,
starting from zero.  Example: the first stable release with a newest
commit date of 2023-01-02 would have a version of '20230102.0', the
subsequent one '20230102.1', and so on.  This is derived by counting
the number of git tags with the prefix 'TYPE/YYYYMMDD', where 'TYPE'
is the release type: either 'stable', 'beta', or 'nightly'.
* extras/packaging/gnu-linux/Jenkinsfile: Call the above new script to
derive the release version to use for tagging.
* extras/packaging/gnu-linux/Makefile: Switch from the previous
'jami_YYYYMMDD.hhmm.COMMIT.tar.gz' tarball filename format to
'jami-YYYYMMDD.X.tar.gz'.  The new format is shorter, omits the
unnecessary and confusing commit id, and uses dash instead of
underscore.  Also, it contains everything in a top-level directory
with the same name as the tarball (without the .tar.gz extensions),
so that 'jami-YYYYMMDD.X.tar.gz' nicely extracts to 'jami-YYYYMMDD.X'.
With these changes, our release tarballs will follow more closely the
related instructions from the GNU maintainers manual:
https://www.gnu.org/prep/maintain/html_node/Distribution-tar-Files.html
Lastly, this change inadvertently 'fixes' a recent issue where the
'extras/ci/client-qt-gnulinux' subdirectory and its contents would be
moved to top-level in the tarball due to one of the tarball transforms
matching the 'client-qt' in the directory's name, replacing the
'extras/ci/client-qt' prefix with 'client-qt', thereby resulting in
'client-qt-gnulinux' being moved to the tarball's top-level.
* .gitignore: Ignore several packaging-related directories and files.
* extras/packaging/gnu-linux/rules/rpm/jami-daemon.spec:
* extras/packaging/gnu-linux/rules/rpm/jami-libclient.spec:
* extras/packaging/gnu-linux/rules/rpm/jami-qt.spec:
* extras/packaging/gnu-linux/rules/rpm/jami.spec: Update the expected
release tarball filename pattern in the 'Source' field.  Also replace
references to previous top-level directory name 'client-qt' with the
new one 'jami-%{version}' where needed.
* extras/packaging/gnu-linux/rules/rpm/jami-libqt.spec: Update the
'Source' field to follow new tarball name consistent with the main
Jami release tarball.
* extras/packaging/gnu-linux/scripts/build-package-rpm.sh: Update the
tarball top-level directory pattern for the new format, now passing
the --wildcards option to GNU Tar.  Also use a name for the jami-libqt
source tarball that is more consistent with the main Jami release
tarball.
* extras/packaging/gnu-linux/scripts/build-package-snap.sh: Update the
top-level directory pattern for the new format.
* extras/packaging/gnu-linux/tarballs.manifest: Drop file accidentally
checked into git.

Change-Id: I2695f560c0bc5e61fb99dc0244f8fbb8e7026a62
2023-02-03 08:59:33 -05:00
Sébastien Blin
a791ab5a52 contextMenu: remove double separator
Change-Id: Ib11d464284effa5e78ca56441d0e535858071151
GitLab: #941
2023-02-03 08:45:15 -05:00
Sébastien Blin
07c0f890da conversationmodel: get registered name for non contact members
Because in a swarm you can talk with non contacts, we should at
least retrieve the username when possible.

Change-Id: Ie01cd10cc1231fc4024bd5a08c30c08d69e8e7f0
GitLab: #948
2023-02-03 08:44:57 -05:00
Sébastien Blin
ae0895fbfd photoboothview: do not show edit button in read only
Change-Id: I9eb8843d50fdeb914eae622c15555b366d246094
2023-02-03 08:44:37 -05:00
Nicolas Vengeon
bb9b50ef99 messaging: revert to using QSortFilterProxyModel for the message list
SFPM performs poorly compared to its C++ counterpart in cases where re-filtering often is required. Tests show SFPM taking roughly 10x that of QSFPM in certain cases when the entire conversation needs to be loaded.

Change-Id: I25792f0ab376ae11d42073a548934b743e59fa3e
2023-02-02 12:13:40 -05:00
Sébastien Blin
640b353703 chatview: re-show video and audio components
Change-Id: I6c36ab045667d01859a72dfec12e3e02130c57fe
GitLab: #947
2023-02-02 09:30:43 -05:00
Nicolas Vengeon
feb53e6183 issue: Maximize and then Restore Select a screen to share window
Change-Id: I6ef8069de9012e235fe6f8907b9d2bb94a44cd40
GitLab: #634
2023-02-02 09:30:12 -05:00
Sébastien Blin
b34f031251 contactmodel: keep repsence state after subscription
Change-Id: I3501d0ba072bc68685af8ba8c46c22979cc25493
2023-02-01 16:54:42 -05:00
Aline Gondim Santos
92ab8951d2 call: fix recording state
Change-Id: I3fcb60aed90e3a7cf7edee7f8ac28c204dbb8952
2023-02-01 15:51:36 -05:00
Sébastien Blin
c7c8e2e8f6 misc: show "deleted message" for deleted message
So that users can know when a message is deleted and can check
previous version like any edited version.

Change-Id: If3c1daeec930bd4b0f359573b971790199397489
2023-02-01 13:39:26 -05:00
Aline Gondim Santos
b16131e63a windows sharing: use windows id instead of name
Change-Id: Ie1708ae4be049206fb8337db1211b7844e45726f
2023-02-01 11:28:40 -05:00
Nicolas Vengeon
86b84ea17e feature: save participant's view
Change-Id: I790f10542aed306a7416a4ce79f2eaf7a770135a
Gitlab: #698
2023-01-31 15:26:58 -05:00
Kateryna Kostiuk
9ffbf4ae1c macOS: update signature for Sparkle
This patch sets up app updates to use EdDSA signature as now
it is required by Sparkle

Change-Id: I68a581e21850f04a819f4fe7ea49a33766031e01
2023-01-30 11:10:46 -05:00
Nicolas Vengeon
3213647013 messageListModel: improve load time
Change-Id: Ica33126a1d75b4880c70c1e7f654f82db6499bbd
2023-01-30 10:28:11 -05:00
Sébastien Blin
8dda44b562 misc: fix "Can't find contact..." warning
Scenario, create a swarm with self.
As a warning, it will show "Can't find contact YOUR_ID  this is a
bug, please report" because your account is not in your contacts.

Change-Id: I6f49f8fa77132daf00396b62da9ded470df49f98
2023-01-27 16:41:36 -05:00
Sébastien Blin
f81dc754c1 replytorow: fix elideRight
Else, the text was overflowing

Change-Id: Idd27682d612cc35fce045967025df49ad1a1a202
2023-01-27 09:12:24 -05:00
Sébastien Blin
df63960974 callmodel: avoid to add empty medias
If a user join a conference with video enabled, but without any
valid camera and try to un-mute/mute in loop, it will add
new empty medias with incorrect sources causing duplicated participants
in the conference.

Change-Id: Ifa0dc090ca49ae6f9799f1209f3514cf540365da
2023-01-27 09:11:02 -05:00
Aline Gondim Santos
d1d466aa7a Revert "issue: Maximize and then Restore Select a screen to share window"
This reverts commit ab8c36455f.

Reason for revert: It breaks the sharing functionality in windows

Change-Id: Ia031bec6d82462115e3086ab9300b3aef99d9bab
2023-01-25 17:54:55 -03:00
Nicolas Vengeon
ab8c36455f issue: Maximize and then Restore Select a screen to share window
GitLab: #634
Change-Id: I4c95622297e52d4b7fb5ea42426353a3b3579186
2023-01-25 09:11:00 -05:00
Andreas Traczyk
399defe5a6 chatview: fix undefined timestamp warning
Change-Id: If3ee1fd3f074e8807fedc66fc02758df62789b39
2023-01-25 09:09:43 -05:00
Sébastien Blin
6183d116e4 messagelistmodel: rework moveMessages()
1. sourceParent and destinationParent were incorrect.
2. Moving always all the message can be incorrect if parentIdx >
msgIdx after a merge

Change-Id: I0ab8eeabb61926d5c0c22d8fed68c60d54178bf6
GitLab: #939
2023-01-25 08:56:31 -05:00
Sébastien Blin
cd5bdbb211 linkify: update and do not add un-necessary http scheme
Change-Id: I7bd12dbc3bf512b3cd880892d2afda17c8117bd6
GitLab: #862
2023-01-24 10:35:03 -05:00
Jenkins
b92119b4b8 i18n: automatic bump
Change-Id: I01e1a0f0b41387ce97a3800ed56dbdb3e839b912
2023-01-24 09:02:52 -05:00
Sébastien Blin
ebea6d9d65 contactmodel: track presence after accepting request
This was broken when passing to only conversation's requests with
an un-needed condition

Change-Id: Ibe422474037c60ede21425b016017615d1bbf0f5
2023-01-23 16:49:45 -05:00
Andreas Traczyk
7a9d0699dd text-encoding: maintain UTF-8 when converting to MapStringString
Change-Id: I6d10827c4b5dcd2cddc8516f3c30d3f986774ffb
2023-01-20 16:07:34 -05:00
Sébastien Blin
d997a579e0 messagelistview: fix message loading
On some cases (like many edition/reply) the atYBeginning is still true
causing the view to not load messages anymore (after retrying it loads
as the beginning)

Change-Id: I9da474224f6fc0a39cf405c8bfe9d5201849ea64
2023-01-19 16:01:27 -05:00
Aline Gondim Santos
cc3b5a7c35 misc: bump daemon submodule
Change-Id: Ie775c846c69b7f364b24f8c0726c15044e18b985
2023-01-19 08:56:36 -03:00
Aline Gondim Santos
e1d85b2db0 window sharing: track window name change
If a window changes its name, we should share the parent process windows.
This can happen with chrome, visual studio code and file explorer for example.

+ Fixes non opening SelectScreen window when Jami language changes.

Change-Id: Ib16992dde08e6a9fa191c9fb1cbc4efd304efe6d
2023-01-18 17:19:00 -05:00
Kateryna Kostiuk
2de9157d34 updater: add Sparkle to submodules
Change-Id: I0e0414b928dcf53158e35803878f9c587944d4ac
2023-01-18 10:44:48 -05:00
Nicolas Vengeon
eca8bb5b6f locationsharing: wrong title on unpined window
Change-Id: I7a6214e4b6f4219af1b1d731b4553975e3e311a1
GitLab: #931
2023-01-18 09:25:31 -05:00
Jenkins
5b50fb1bec i18n: automatic bump
Change-Id: I7ffe7e155cb76aff95113b2fe7215f86ee127252
2023-01-16 16:42:56 -05:00
Sébastien Blin
416d248596 packaging: fix permissions error on deploy
Because docker mount extras/packaging/gnu-linux/packages:/opt/output
the Makefile MUST creates the directory for current user else
the resulting directory will use the Docker user (root), causing
the file to not be removed.

Change-Id: I91dadfa766730d163de4cf091bb1b9b8193f7d24
2023-01-13 16:37:27 -05:00
Nicolas
d02d62a2fe crash: segmentation fault in AvAdapter::OnRendererStarted
Change-Id: Ie04791adc2f914a2b12688488476aca8617ec0d3
2023-01-12 11:52:00 -05:00
Sébastien Blin
a39e9e9f39 utilsadapter: avoir use-after-free from ASAN
Change-Id: Ic3328ea069af093d412abd7fea29a2df199c1052
2023-01-11 14:51:19 -05:00
Sébastien Blin
7044627551 messagelistmodel: improve moveMessages
+ moveMessage was doing useless computation to move messages one
by one even if blocks are supported
+ beginMoveRows/endMoveRows seems to do weird stuff if all the rows
should be moved causing some crashes. beginReset in this case
doesn't trigger this weird behaviour and is more efficient.

Change-Id: Ia4eb3cdbbe74bf9215fb673cb9af571f67225ffe
2023-01-11 14:51:15 -05:00
Fadi SHEHADEH
84fb218d38 file transfer : fix darktheme
- added color to container

Change-Id: I95532aa0540dade358925cd0720aa8024807961f
2023-01-11 09:47:18 -05:00
Sébastien Blin
e46baa9e3d misc: remove typo
Change-Id: I172139df931dbfaa7850387f5bdaf6d1bd6a0561
2023-01-10 16:53:32 -05:00
Sébastien Blin
5413ab1361 Makefile: remove eol distrib and run with user
Change-Id: Ib31e7d311540d889283de681d74c1f8f82870365
2023-01-10 16:26:05 -05:00
Sébastien Blin
6dca693f26 misc: fix installed files (man)
Change-Id: Ia6fe70124cb8d94cae8763390491cdcc9509ff69
2023-01-10 14:08:11 -05:00
Jenkins
67dec3012a i18n: automatic bump
Change-Id: I3f7b24bc4a2c997765eaf83f7131744c4f688a5b
2023-01-10 12:09:47 -05:00
Nicolas Vengeon
c977c732f2 feature: improve advanced call information overlay
GitLab: #925

Change-Id: Id75b14bf431ac421b135beb75918dbf37a81d53c
2023-01-10 09:38:31 -05:00
Aline Gondim Santos
a28d5c5c55 windows: enable window sharing
GitLab: https://git.jami.net/savoirfairelinux/jami-project/-/issues/1294
GitLab: #481
Change-Id: Iafdb542d37f9a1d59b35d83ba779c1c2f2f0ca0f
2023-01-09 12:37:28 -03:00