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

14 commits

Author SHA1 Message Date
Andreas Traczyk
8db188c513 chat: preprocess text msgs w/md4c+tidy-html5
Introduces MessageParser to encapsulate text treatment for raw text messages.

The async parsing sequence is as follows:
- Markdown -> HTML (md4c)
- link coloration (tidy-html5)
- notify UI
- request link preview info from PreviewEngine for the first link
- Preview engine uses QtNetwork instead of QtWebengine
- Linkification is handled by MessageParser instead of linkify.js

QtWebengine is no longer required for message parsing.

Gitlab: #1033
Gitlab: #855
Change-Id: Ief9b91aa291caf284f08230acaf57976f80fa05b
2023-05-15 15:44:20 -04:00
Aline Gondim Santos
5df521eb70 misc: fix plugin translation
Change-Id: Ia94e47c26ded5f3d7271c1d81253eca6d67001dd
2023-02-20 08:59:57 -05:00
Andreas Traczyk
14ae000686 mainapp: dynamically load views
Introduces the ViewCoordinator component to promote dynamic view loading and reduce coupling between components.

The following objects are now created and destroyed as needed:
- SettingsView
- WizardView
- dialogs

Further refactoring will be required in order to do the same with the ConversationView, which now parents the ChatView and the CallStackView.

Gitlab: #897
Change-Id: Ice6a0c133e62e1e0c8d7fb99ec2c41234c049b59
2023-02-17 13:59:28 -05:00
Amin Bandali
8d46acedf1 misc: Update copyright years to 2023
Change-Id: Idf38e82631a4e22540aa5dec8ec2db0ab4a38c2e
2023-02-06 01:47:15 -05:00
Nicolas Vengeon
86b84ea17e feature: save participant's view
Change-Id: I790f10542aed306a7416a4ce79f2eaf7a770135a
Gitlab: #698
2023-01-31 15:26:58 -05:00
Andreas Traczyk
ada7c4f06f mainapplication: remove gnutls init/deinit
This is moved to libjami in commit e4fa507.
Also bump libjami to e4fa507.

Change-Id: I5414f0b4987aec6474c09d8ecc4d1675c565853d
2023-01-06 14:11:54 -05:00
Andreas Traczyk
b8b0cb87f0 misc: add NotoColorEmoji TTF for GNU/Linux
The default application font (Ubuntu) should not define emoji glyphs.

GitLab: #896
Change-Id: I8af496e2a3fe68ebca829d53b1d9c0a302ce2101
2022-11-25 17:14:04 -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
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
Sébastien Blin
9c78604c1c mainapplication: handle jami: URIs
Asking jami to launch another instance with ./jami-qt jami:xxx
will search for "xxx" inside the application and select the
conversation if found.
This allow to support webpage with <a href="jami:username">

For GNU/Linux, in the .desktop file, x-scheme-handler/jami is
added.
For packaging, we will need to determine if the scheme is handled
automatically. For now, to test, we need to add:

x-scheme-handler/jami=jami-qt.desktop;

in "~/.config/mimeapps.list" (and jami-qt.desktop) should
be in a valid path.

Change-Id: Ibbb6e8942f1873d81a57640bdf6f839885981be3
GitLab: #655
2022-09-16 11:06:42 -04:00
Aline Gondim Santos
528e204195 language: set JAMI_LANG variable
GitLab: https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/747

Change-Id: I4c87490fb21eb5e7c5f11deadf871f56755eb2f1
2022-09-08 09:44:53 -04:00
Sébastien Blin
17041f780f libnm: add small delay for connectivity changed
The primary connection signal from libnm is triggered way too soon,
before the routes added, causing generally the first requests to
failed with some socket error. Delaying this a bit helps the first
requests to pass successfully.

Change-Id: I09551ff748ac503dde187c0c937b9405cd33a914
2022-08-10 16:51:07 -04:00
Sébastien Blin
2077041c04 welcomeview: implement new design
GitLab: #767
Change-Id: Ia2ae77e8e9d3d5abe560ced0a84d828057824845
2022-07-29 21:26:48 -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
Renamed from src/mainapplication.cpp (Browse further)