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

2303 commits

Author SHA1 Message Date
Andreas Traczyk
7659080b34 crashpad: increase timeout for crashpad submission
Recent testing with a Windows 10 machine has shown that the crashpad
submission timeout is too short. This commit increases the timeout to
10 seconds, as around 5 seconds has been observed in practice.

Gitlab: #1454
Change-Id: I557a414ea371bd94a42696a835370068867c99dc
2025-01-14 16:25:16 -05:00
Andreas Traczyk
4152700848 crash-reporting: improve submission services
Provide general improvements to the crash reporting submission services
by adding a separate report access server with a simple UI and updating
the crashpad submission server to use waitress.

- changes crashpad.py to crashpad_submit_server.py
- adds report_access_server.py
- updates README.md

Gitlab: #1454
Change-Id: I4e97f77cf2e2c0bb405064b0187ed3dfc2ee703e
2025-01-14 16:25:16 -05:00
Adrien Beraud
cba84f2cb7 conversation: simplify indexOfActiveCall
Change-Id: Ic31b708fc7bea67ea00171665aca955dd2633c37
2025-01-14 10:53:56 -05:00
Adrien Beraud
7289a92b2b vcard: cleanup
Change-Id: I5ac983c5e34a3d691f97330a667ebf55b5e6a155
2025-01-14 10:53:56 -05:00
Adrien Beraud
c6a474aa96 uri: fallthrough
Change-Id: I7713852196ab8823149014fdfcf970b4c0290109
2025-01-14 10:53:56 -05:00
Jenkins
2226d30123 i18n: automatic bump
Change-Id: I211dfce5a2db8d8072074f64f31e426b3012ac11
2025-01-14 10:36:32 -05:00
Andreas Traczyk
529b7cf529 troubleshooting: add configurable crash reporting with crashpad
This commit adds a basic crash-report system that can be optionally
configured to automatically send minidump crash-reports in addition
to product versions and a platform description including the OS
name and CPU architecture. Reports can be received at a configured
REST endpoint(POST). This endpoint URL can be configured using
a CMake variable `CRASH_REPORT_URL` which defaults to
"http://localhost:8080/submit".

- Introduces a new CMake option `ENABLE_CRASHREPORTS`, defaulting
  to OFF. This allows developers to enable crash reporting features
  at build time selectively. We also define a new macro with the
  same name to expose the state to QML in order to hide the UI
  components if needed.

- Implemented conditional inclusion of crashpad dependencies using
  `ENABLE_CRASHREPORTS`. If set, `ENABLE_CRASHPAD` is also enabled
  (other crash reporters exist and we may want to use them).

- 2 new application settings are added: `EnableCrashReporting` and
  `EnableAutomaticCrashReporting`. Default settings make it so
  crash-reports are generated but not automatically sent. With this
  default configuration, users will be prompted upon application
  start to confirm the report upload. Additionally, users may
  opt-in in order to have reports sent automatically at crash-time.

Gitlab: #1454
Change-Id: I53edab2dae210240a99272479381695fce1e221b
2025-01-13 15:56:11 -05:00
François-Simon Fauteux-Chapleau
49d83fd937 packaging: fix AppStream issues
The AppStream specification includes both a "metainfo" file format,
which can be used (among other things) to provide metadata about a
specific application, as well as a "catalog" file format used to provide
information about the contents of a repository. This patch adds a
"catalog" file for the Jami repos, which seems to be necessary in order
for some graphical package management applications to be able to launch
or uninstall Jami. In particular, this was an issue with GNOME Software
on all the rpm-based distributions supported by Jami (Fedora, openSUSE,
AlmaLinux).

This patch also fixes a few minor noncompliance issues with the existing
metainfo and .desktop files:

- the metainfo and .desktop files were renamed so that the names'
  prefixes match the application's ID as defined by the <id> tag in the
  metainfo file (in our case "net.jami.Jami") [1];

- the <br/> tags in the metainfo file were removed (they are not
  supported -- metainfo files only allow a very limited number of tags,
  not arbitrary html [2]); the list (<ul>) and list item (<li>) tags are
  now used instead;

- the invalid categories "Communication" and "Productivity" were removed
  [3, 4].

[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/
[2] https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description
[3] https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-categories
[4] https://specifications.freedesktop.org/menu-spec/latest/category-registry.html

GitLab: #1842
Change-Id: I4a8bab79b6e54d02c08f509d7a9196a0a2e1541e
2025-01-10 15:32:41 -05:00
François-Simon Fauteux-Chapleau
484808a2eb ContactSearchBar: remove obsolete component
All instances of ContactSearchBar were replaced by Searchbar in commit
91047b34c2.
https://review.jami.net/c/jami-client-qt/+/24659

Change-Id: I9bdba7fa686a1fe290a7c899128713e7efd10c40
2025-01-06 16:27:09 -05:00
François-Simon Fauteux-Chapleau
dccc6c7e18 NotificationArea: don't rely on signal that's not always received
The current implementation of NotificationArea assumes that the
onActiveCallsChanged function in ChatView.qml will be called at least
once before the notification area becomes visible, but this isn't
necessarily the case.

GitLab: #1823
Change-Id: Ic85392dd9b6748b43f6c8d9cc002df973fc8be0e
2025-01-06 16:26:51 -05:00
ovari123
53a3d32114 cleanup
→
base 64 → Base64
cancelled → canceled
{cannot, can't, couldn't} → unable to
inexistent → nonexistent
informations → information
not possible → impossible
retrieven → retrieved
SIP
try → attempt
URI
WebEngine
wish → want

Can this replace https://review.jami.net/c/jami-client-qt/+/27607 ?

Change-Id: I21e1615a0c6e2979f02f913093c503c03ab32c82
2025-01-02 12:29:20 -05:00
Jenkins
6fdcfc6317 i18n: automatic bump
Change-Id: Ie0e367aae8868fc59d7700dc94a6543a290dca7f
2024-12-30 16:42:35 -05:00
ovari123
5352ded3e3 misc: unify terminology
Are you sure you → Do you really → Do you
by a password → with a password
confirmExtensionReset: OK → Reset
confirmExtensionUninstall: OK → Uninstall
confirmRmConversation → confirmLeaveConversation

Change-Id: I8e61197a19fb61f3d362d76b1a6d676dcb842b75
GitLab: #1730
2024-12-19 17:10:37 -05:00
ovari123
9a0ed9995e homogenize appdata
Android client
full_description.txt

Qt client
jami.appdata.xml
snapcraft.yaml

Change-Id: I4e6e9b7c24ecf51fc6723fcb54f94f61b1950a8f
GitLab: #1730
2024-12-18 13:35:32 -05:00
Andreas Traczyk
9771e291c8 misc: bump daemon submodule
Includes dhtnet bump with UPnP fixes.

Change-Id: I58d6d5e8930e5f830d5273907262e5328b979c59
2024-12-17 16:00:21 -05:00
Kateryna Kostiuk
b37720e27f misc: bump daemon
Change-Id: I58a3e4fff562c336c2a4def7a008c270cf1e9b55
2024-12-09 14:58:33 -05:00
Pierre Nicolas
d3a7df2f18 docs: update install readme
- Give a hint on how to troubleshoot the contribs build.
- Add instruction for debugging runtime crashes using GDB.

Change-Id: I6ad931223ce0904fb292a59090d37a2cec422ae8
2024-12-06 16:16:21 -05:00
Leopold
6093689cc4 update-profile: fix dbus build issue
The dbus build was failing due to updateProfile having an incorrect number of arguments.

Change-Id: I0045554e2fc62851fc2cffdac27c8ab1cb905547
2024-12-06 11:02:56 -05:00
Leopold Chappuis
d188284245 update-profile: Handle ProfileReceived Signal for SIP Accounts
Since SIP accounts lack a URI, we need to address scenarios where the daemon includes the accountID in the uri parameter. Refer to 29623 for more details.

Change-Id: Ib58e77dc953269c87d67d4068866c93432d08aae
2024-12-05 11:16:56 -04:00
Leopold Chappuis
a01b578099 update-profile: moved to new API for setting Avatar
This change only impacts avatar updates; moving to the new API for updating the displayName is still pending and may require additional work. Specifically, we need to provide the current profile picture path to prevent its removal during the update process.

Change-Id: Idbc1592eda2b533b633cc366c72224f5e1bdce98
2024-12-05 09:33:51 -05:00
Andreas Hatziiliou
04fca1fc75 callparticipantsmodel: fix typo
Change-Id: I32e7aa66466108b8ebac8a472a00f9f08e91a3b6
2024-12-05 09:29:05 -05:00
Andreas Hatziiliou
a5621a1af1 Shortcuts: remove unused shortcut
Change-Id: I28e5ef7dfca2e82fa65e40b2450db8c30a465926
2024-12-04 16:06:36 -05:00
Andreas Hatziiliou
a1c2b8adef account_archive: unify archive file type
When creating an account archive, there would be no default
suffix. Then, when importing the archives, we would filter
for .gz files by name. The goal is to implement a .jami
file extension for archives across all platforms.

Todo: implement custom MIME type for custom icons.

GitLab: #1256
Change-Id: I202ae5670c928f35b0eaf711abf7249ec3f304b9
2024-12-04 16:05:59 -05:00
Jenkins
7424227f00 i18n: automatic bump
Change-Id: I32516ba524aa9dec6b9c579f606cccdc7c5dbff8
2024-12-02 16:42:31 -05:00
Kateryna Kostiuk
b69d703e56 macOS: fix qrencode build
Sometimes qrencode failed when built from Jenkins.
This patch:
- Uses cmake for build.
- Automatically detect host architecture if none is specified.

Change-Id: I18dc90099e3b9efc531c7887b00fc615f69c50fa
2024-12-02 14:18:13 -05:00
Leopold Chappuis
bfe9128755 updateStatus: prevent status reduction
A very minor adjustment to ensure the status cannot be downgraded.

Change-Id: I1e0fe5461ad05f5cf9f88174b4253e0e63caa3bd
2024-11-29 11:07:33 -05:00
ovari123
8b17b9e3cf instancemanager.cpp: fix typo
Change-Id: Ib1fb914135056fc4f87c8b0f461219473495c8dc
2024-11-26 23:57:58 -04:00
Andreas Traczyk
c2d5c3b764 misc: bump daemon submodule
This includes fixes for Windows and bumps to opendht and dhtnet.

Change-Id: I3deddd747943afe69b8b821ee12f886916fd596f
2024-11-26 16:33:40 -04:00
ovari123
41f5d151d9 misc: unify terminology
Accept contact request → Accept invitation
Accept in audio → Accept with audio
Accept in video → Accept with video
Automatically answer calls → Automatically answer incoming calls
Decline call request → Decline call
Decline contact request → Decline invitation
Delete your account → Delete account
just now → Just now
Mute → Mute microphone
Type → Conversation type (https://review.jami.net/c/jami-client-android/+/29546)
Unmute → Unmute microphone

Change-Id: Ie88eabeb12514e2b0f0918c8ab77beaa0d90aecf
GitLab: #1730
2024-11-24 05:08:38 -04:00
Andreas Hatziiliou
542bd54c6b read_receipt: add logic when alone in a conversation
No logic was implemented when you were alone in a conversation
(either conv with yourself or swarm with 1 member). This adds
the logic. Currently the receipts will change in swarms
if you add a member.

GitLab: #1867
GitLab: #1017
Change-Id: Iff2ea5978ac988d30edef32d803c0b5b70b11d90
2024-11-21 13:36:36 -05:00
Kateryna Kostiuk
eb60b68747 misc: bump daemon
Change-Id: I67a6f538612ca1e6d8d3d2e4c7b7235472ce4fe3
2024-11-20 16:11:47 -05:00
Andreas Hatziiliou
950e32e9a6 avatars: fix duplication glitch when switching accounts
There was a timing issue between when a new account is connected
and the moment where the avatar cache is cleared. Thus, the ui
would use the cache of the previous account for certain
conversations.

GitLab: #1832
GitLab: #1559
Change-Id: I0319b3d81e0b6dfec9b5408806dfd48ff220ea9d
2024-11-19 14:24:15 -04:00
Kateryna Kostiuk
6ddd6a7f9e misc: bump daemon
Change-Id: Id63f29920e3d13f4082c186df92a90299503cb43
2024-11-18 13:34:21 -05:00
François-Simon Fauteux-Chapleau
9ab5e52c8d contactmodel: look up name at most once per peer
The ContactModel::bestNameForContact function currently performs a
lookup on the name server every time it is called if its argument is the
URI of a peer which isn't a contact and doesn't have a registered name.
This patch modifies the function's behavior so that it doesn't perform
more than one lookup per peer, thus preventing the server from getting
spammed with large numbers of unnecessary requests.

GitLab: #1882
Change-Id: I7b7ef6a41d3db1001fc1418f8f35bd06b0932624
2024-11-18 10:36:59 -05:00
Andreas Hatziiliou
56401d4125 swarms: add camera MRL for host
When starting a swarm call with video, the MRL for the host
wasn't set. Thus, the camera button would appear muted and
starting/stopping video would have unintended behavior.

GitLab: #1869

Change-Id: I6ee2204d5b49b856bfc72fb560f6623f9c7c874f
2024-11-18 10:15:04 -05:00
Andreas Hatziiliou
7fdd2f5740 add_contact: refactor and change behavior
Change-Id: Ie8cfa5a39b25cd34c7706596a1c607dd1b8c8060
2024-11-14 17:27:34 -05:00
Kateryna Kostiuk
0f7e33cf33 misc: bump daemon
Change-Id: I37dc0b49217a2262ebf27ac83f4788b81b62fbbc
2024-11-12 16:38:38 -05:00
Jenkins
73258efdf7 i18n: automatic bump
Change-Id: Ice4cf7f5f34603b131e3ee070e141e9a2d196658
2024-11-11 16:42:30 -05:00
Andreas Hatziiliou
a29d5f791f message_bar: unify layout to be more coherent
The goal of this patch is to make the messagebar (and more broadly
the chatViewFooter) more coherent in its behavior and look/feel.

GitLab: #1846
GitLab: #1848
GitLab: #1639
GitLab: #1420
Change-Id: I0d0ed207df9eba50f724c69fa49f956dc8aaa573
2024-11-06 17:19:08 -05:00
Andreas Hatziiliou
5186c27325 chatview: fix issue with layout stacking
When the conversationview was resized horizontally to be small enough
so that only one pane is visible, the chatview header and footer would be visible, but clicking them would interact with the objects of
the pane below (the left side panel)

GitLab: #1868

Change-Id: Ic1fac91ef30fcc3078223e1705f10c8a112c2091
2024-11-06 15:31:00 -05:00
ovari123
7e926a3e23 misc: ux/ui rename “swarm” to “group”
A(n) [type] error occurred while {verb} {noun}
createSwarm → createGroup → newGroup
Create swarm → Create new group
startSwarm → startGroup → newGroup
Start swarm → Create new group
swarmName → groupName
Swarm name → Group name

Change-Id: I9cb6f7b124d3db193bd190d2e52b5b27ea10ecf3
GitLab: #1845
2024-11-06 11:32:47 -05:00
Andreas Hatziiliou
93cde493d8 user_search: fix issue with user display incorrectly being updated
When searching for a user, if the user was found, a signal would be
sent to update the display name with incorrect formatting across the
application.

Change-Id: I20a453e2eddf1e1a402985ff741c8e7c7ea6f99f
2024-11-06 09:16:53 -05:00
Andreas Hatziiliou
cb829676e3 file_attachments: fix behaviour when changing conversations
Fixes an issue where the files that were loaded are not cleared
when switching conversations. Implements the correct behavior
for restoring the files as was done with text drafts.

GitLab: #1847
GitLab: #1528

Change-Id: Id04c9820d08f25ef247002da66d99ae893d8495a
2024-11-06 09:15:08 -05:00
Andreas Hatziiliou
112c6a4d7a chatview: disable visibility of sidepanel when adding contact
GitLab: #1871

Change-Id: I1949c0da388c637123801db39310a1c9fd8c7b99
2024-11-05 16:19:55 -05:00
Andreas Hatziiliou
188f487695 chatview: change visibility of reply component
Make it so that the reply/more/share buttons are visible
whenever the cursor hovers over the horizontal area
that a message takes up. Add message highlighting.
Fix small issue with "more" button not being deselected
after choosing an emoji

GitLab: #1870

Change-Id: I4db5230c2a50ce4640eececc69f8e88348356d79
2024-11-05 16:19:19 -05:00
Jenkins
0af01cc62d i18n: automatic bump
Change-Id: I552add4e22956ac7c9b8fd50704a9612e32c133e
2024-11-04 16:42:41 -05:00
Andreas Traczyk
a8acc71830 msi-installer: deploy VC CRT files locally with the application
This avoids merge modules which may crush system runtimes files. We've had several issues packaging vc_redist binaries also, so this seems to a better option for now.

Gitlab: #1865
Change-Id: I9ac3d3a1945136d7f78cf5be2de5d05cf377e126
2024-11-04 11:49:03 -05:00
Andreas Traczyk
eaf409d6d3 msi-installer: reformat xml
Switches formatter to one not dependant on JDK
- https://github.com/DotJoshJohnson/vscode-xml
- {
      "xmlTools.xmlFormatterImplementation": "v2",
      "xmlTools.splitAttributesOnFormat": true,
  }

Gitlab: #1453
Gitlab: #1865
Change-Id: I82e65d3097ac366f7873ac4c0e1d5beed3ee486e
2024-11-04 12:48:41 -04:00
Andreas Traczyk
42e3eeabf6 msi-installer: remove deployment of Windows 7 support runtimes
Gitlab: #1873
Change-Id: I239566f4cfa4dfbdfd08ccc496aa0bc206ece855
2024-11-04 12:47:54 -04:00
ovari123
41cb6528c2 misc: unify terminology
{Noun} {verb} successfully
A(n) [type] error occurred while [attempting to] {verb} {noun}.
placeAudioCall → startAudioCall
placeVideoCall → startVideoCall
reconnectTry → reconnectAttempt

Change-Id: I918961894fc23989920727009031cc6a2ac1d8f3
GitLab: #1730
2024-11-01 15:30:44 -04:00