1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-04-23 06:32:02 +02:00
Commit graph

49 commits

Author SHA1 Message Date
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
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
agsantos
7fe8843317 plugins: preferences per account
+ code cleanup

GitLab: #539

Change-Id: I3f85a4760f60f47f2557016a88bc17c41062ee4e
2022-04-26 09:27:10 -04:00
Sébastien Blin
3debb09740 video-split: follow up patch
+ Finish layout fixing
+ Clean warning
+ protect elements
+ update copyrights

GitLab: #476
Change-Id: Ib3270b5d37d63aa99a576d48574b62801df37258
2022-04-05 16:17:19 -04:00
Sébastien Blin
adb8c982e0 conversationsadapter: fix swarm photobooth
GitLab: #670
Change-Id: Ie8eb123c0fc7506863b06c7b588ef7806b9a077a
2022-03-25 14:22:18 -04:00
Sébastien Blin
d96ee4c42c misc: add preferences to enable full UI for swarm
Change-Id: Ied9e8d59fe9dff08ffbc10d2c723b8998d8469f1
GitLab: #670
2022-03-23 15:12:09 -04:00
Sébastien Blin
e944e2e08b 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

Change-Id: I58930102b4d0e85ee85682ee62eb8cd24fdd75c0
GitLab: #670
2022-03-23 15:09:17 -04:00
Sébastien Blin
a5cfffef6d swarm creation: add ability to change avatar
PhotoBoothView has a new variable to be used during Swarm's creation
This update an image in the cache and is used in the profile of the
conversation.
Also, add top bar for NewSwarmPage

Change-Id: I156c9cffb85e15b7c041bcf16b1501851470e8a5
GitLab: #670
2022-03-23 13:54:31 -04:00
Sébastien Blin
5bfe0851cd
swarm: show role in details page
GitLab: #340
Change-Id: I641bca14d459ce359fca612044e1d98b15f03db2
2022-03-23 13:52:04 -04:00
Sébastien Blin
1d074f25fd
swarm details page: improve
GitLab: #340
Change-Id: I03becae1c33be5a6ab10452c6986d7b5abd009e3
2022-03-23 12:47:04 -04:00
kkostiuk
5b2d6139bf calls: set default recording path
If no recording path for calls is selected by the user,
set Movies as the default recording path.

Change-Id: I405dfc2bd6e1e85fae8900512615943760b3151c
2022-02-11 10:18:10 -05:00
kkostiuk
6298932c7f translations: fix on macOS
- fix translations path
- generate .lproj folders for supported languages to be recognized by
QLocale. https://bugreports.qt.io/browse/QTBUG-72491

Gitlab: #578
Change-Id: Ic4c3b74c654a1c00de71c31c9debe397990870f7
2022-02-09 14:58:16 -05:00
Sébastien Blin
68a5837a65 settings: add a settings to change the language of the app
Move installTranslator into the settings manager and add a settings
in the SystemSettings to be able to dynamically change the language
of jami-qt.

https://git.jami.net/savoirfairelinux/jami-project/-/issues/1342

Change-Id: I4f720fa50d5e313356dbdf1b8acb4e98d74401e4
2022-02-01 09:22:24 -05:00
Amin Bandali
db0fd56763 misc: update (and fix) copyright years to 2022
Change-Id: I8eb66c1c3cddb3bf73b6784a9876dd9dc9c12481
2022-01-06 11:24:13 -05:00
Ming Rui Zhang
be41f0e7a6 misc: Qt 6.2.0 initial migration
Remove unsupported QtQuick One component and it will be
added back in the following patches

Change-Id: Iad206a880096cf956a4220a81dca85a993721fbd
2021-12-21 14:21:36 -05:00
Sébastien Blin
538481a9f8 smartlist: improve cache cleaning and avoid glitches
Interaction's cache is cleaned to avoid to store too much informations
and to refresh preferences for the chatview when necessary.
However, this was called too much times. We only need to clear cache
when the settings are changing or if we need to remove a lot of
conversations. This patch uses the SmartListItem to determine
what conversation needs to be cleaned.

Change-Id: I731bb9e7d41b140bbc2607800c1a8e0a1eff3244
2021-12-20 13:43:08 -05:00
Sébastien Blin
c5c0f61741
misc: add "Default" to translatable strings
GitLab: #599
Change-Id: I3b9de24ffda7275540aaed8655433f8568da1fa7
2021-11-25 09:31:36 -05:00
Ming Rui Zhang
a196513d2e settings: refactor for SettingsView - stage one
1. Add account config QML properties and use them
   in settings directly to avoid manual update
2. Rough clean up for video/audio settings
3. Remove settingsAdapter entirely and split the
   responsibility

Change-Id: Icf81b91d5a3a0dd9f2a52824159cd222367b801f
2021-09-14 16:52:30 -04:00
Andreas Traczyk
ce0c7124af misc: homogenize source file line-endings to LF
Change-Id: I1623baee58bed8cd70900abc4085b49e54b50c4b
2021-08-23 19:23:09 -04:00
Andreas Traczyk
a45754ed8c conversations: provide descriptive help banner for read-only convs
Adds a new chat view footer to describe for read-only conversations
to describe the concept and provide options to remove the contact
or restart a new conversation with the contact.

Gitlab: #475
Change-Id: I6ca0e8dfbf49f17a6ff93a2744c552b76d923773
2021-08-13 10:21:15 -04:00
Andreas Traczyk
285316dd32 lrcinstance: remove custom setter/getter for currentAccountId
Using a custom getter setter cause the setting of the value to
require manual changed signal emission and in addition to being
error prone, this prevents the changed signal from being emitted
upon initial selection. Some excess workaround code may be removed
in following commits.

This patch also refactors the banned contact signaling as part of
an accountadapter connection cleanup.

Change-Id: I73fb751001e53e086adc7a6a8d706671c2878a77
2021-07-09 15:11:27 -04:00
Andreas Traczyk
83bb6fb082 conversations: refactor list reselection when making permanent
This should fix a race condition preventing the right conversation
from being selected after an outgoing interaction and, more rarely,
accepting an invitation.

Change-Id: Iccd1f91ba4d46285c2f1e4594122a736824b752f
2021-06-25 15:27:41 -04:00
Ming Rui Zhang
9568f1c9ab pluginadapter: add handler list count properties
All plugin buttons will be listening on these properties to
decide visibility or enabled

Change-Id: Id04f9b533e6aba26033c27a607fa531ce65ac588
2021-06-02 18:04:31 -04:00
Ming Rui Zhang
9d0f84d8be accountadapter: move current account id and type properties to lrcinstance
Change-Id: I609452e83edd55a909d0f30aa6cb0daa3687ff3c
2021-05-14 15:05:20 -04:00
Andreas Traczyk
e64a9e7ee7 sidepanel: improve smartlist interface with underlying models
Minor cosmetic changes to the account combo box, search bar, filter
tabs, and smartlist.

Change-Id: Ie8173504859b325374e42f0dbb4e0ae75f3ed740
Gitlab: #373
Gitlab: #374
Gitlab: #388
2021-05-07 15:41:28 -04:00
Andreas Traczyk
cc3931b36e lrcinstance: represent the selected conversation as a QML property
Change-Id: I01dbfc0d6cfcf407d6636ba59b136830ee0342bc
2021-04-09 16:00:43 -04:00
Andreas Traczyk
ac87d33d9f misc: put lrcinstance implementation into cpp file
Change-Id: I46c4e17124b2c0cbf6e92c696d3d47e1b0ad2d0d
2021-04-09 16:00:33 -04:00
Ming Rui Zhang
0af0f47fe2 textedit: add missing context menus for text entry fields
Gitlab: #359

Change-Id: Iefe2dbde96e0613540b237571997c456231bb78c
2021-04-07 15:49:44 -04:00
Andreas Traczyk
4ce208ec33 injection: remove the remaining c++ singleton classes
- refactor qml object registration
- inject AppSettingsManager and SystemTray

Gitlab: #320
Change-Id: Ic8232a290003245d09ad9452c9f5518fd260af78
2021-04-02 15:37:33 -04:00
Andreas Traczyk
e60eeff357 injection: place parent QObject as last parameter in ctors
Lrc object injection should never be a null pointer.

Change-Id: Ib574c751673fd35e223ce2447cee74bce7dfbf3e
Gitlab: #337
2021-04-02 15:37:33 -04:00
ababi
d84219c6b4 misc: revise and catch exceptions thrown from lrc
Change-Id: I0e28f20ecb017267e74ef76fb922443e15e896e8
Gitlab: #308
2021-03-26 14:44:52 -04:00
Ming Rui Zhang
3f8f1f1e25 call: use callAdapter updateCall when setting up main view
It is to make sure that all other call related UI will be
set up correctly.

Gitlab: #298
Change-Id: Iabc1587e0c0622cc6b9c0fecd99bfd35b156fcf7
2021-03-25 12:20:57 -04:00
Ming Rui Zhang
7951764b2e misc: remove LRC singleton
GitLab: #337

Change-Id: Ifb671d38d364714818650a8154c43a5787460039
2021-03-22 15:47:14 -05:00
agsantos
a5ec0c8e65 plugins: add ChatHandler API
Change-Id: I415fc953b9111ca7e3d899c1531a42bd43716ab2
2021-02-03 09:09:26 -05:00
Mingrui Zhang
8b2512c513 messagesadapter: clear conversation uid cache if it is currently selected
For clearConversationHistory and removeConversation

Gitlab: #252

Change-Id: I3008cf20ddace5d3395465bd328a460c72e4c07f
2021-01-07 15:30:56 -04:00
Mingrui Zhang
9ef94561a5 lrc: avoid excessive copying of conversation info objects
1. Container View api
2. use optional conversation info ref api

Change-Id: I38aa57edc1fbf304ea0ef95d48000e0495c409ee
2021-01-07 14:09:31 -05:00
Andreas Traczyk
c472fe83ae video: fix rendering on linux
Change-Id: If6a2deda08663f7edf9fa527bc1c592f60e6a371
2020-12-10 09:46:52 -05:00
ababi
9d41a3bc6e callview: hide mainview window on fullscreen
- hide / show mainview window on fullscreen switch in order to avoid undesirable UI transitions or incorrect layout (when working with multiple screens)
- update and show only on top page of callStackView
- back button always present on CallOverlay (use close button icon on fullscreen mode)

Gitlab: #135

Change-Id: I0d7c6aac26ba9c899ee97ac58f41f2746dda2148
2020-11-03 13:22:21 -05:00
Ming Rui Zhang
c451195536 misc remove the changelog
Gitlab: #155
Change-Id: I207190da48d0ab7bf94645a097a8078dd08a4566
2020-10-30 11:35:52 -04:00
Ming Rui Zhang
be1419c0a6 wizardview: adapt the added best name and id logic in lrc
Note: if the Displayname/alias is the same as the username,
      it should be the only line shown

Gitlab: #129
Change-Id: I2c3dc8d304bd730a2ae114e4686c9ae899087c6b
2020-10-30 11:35:47 -04:00
Ming Rui Zhang
173cf2be50 migration: use image provider to show avatar image
1. Use avatarimageprovider
2. Remove redundant base64 code

Change-Id: I2a2517890e95b4a9f9a363fbea2251d6d5dd1c8f
2020-10-30 11:35:39 -04:00
Ming Rui Zhang
55cbcd38d2 misc: using QRegExp to remove file url prefix
Remove file url prefix regardless of two or three slashs (file:// or file:///)

Gitlab: #113
Change-Id: Ia3600336fcc727a32646ee415243c1833e6c1e41
2020-09-30 14:22:46 -04:00
ababi
a737855426 misc: refactor account change
- UI sensitive to currentAccountId property, remove getCurrAccId from UtilsAdapter
- centralize signals / functions at MainView and avoid unnecessary propagation between modules
- name revision (avoid syntax such as "needTo" or "slot..")

Gitlab: #85
Gitlab: #86

Change-Id: Ie4060df4b64990bdd3f412d0e491080a4cd20092
2020-09-25 14:49:10 -04:00
Andreas Traczyk
3b6bbe772a misc: implement update system
- re-introduce a genericized NetworkManager
- isolate update logic into a qml accessible class derived from
  NetworkManager
- fix QtWebEngineProcess missing when re-installing over existing
  version
- provide a command line option to override the base url
  for testing local and remote updates
- clean-up manual update-check UI

Gitlab: #101
Change-Id: I9c8d2badae59ec31cab12d38b8470edf2bcad401
2020-09-24 12:48:29 -04:00
Andreas Traczyk
21b0e5eeb3 filetransfer: adjust the url decoding for qml component file urls
Gitlab: #92
Change-Id: I10ae359b26c70cacdb1e1168658678f3f5b2a96e
2020-09-18 17:32:24 -04:00
ababi
be70e36bf7 mainview: call flow review
- incoming / outgoing call UI management
- add system native notifications
- incoming call page same model as outgoing
- UserInfoCallPage is used to display common information for incoming / outgoing calls

Gitlab: #32
Change-Id: If33196a30c51698b4edad55cb8f718066034e422
2020-09-14 11:04:21 +02:00
Andreas Traczyk
eacf5bb458 misc: apply clang-formatting
Change-Id: I9d2ec496aa8d6cc0a41f9096ad153308c3308e8b
2020-09-10 18:00:08 -04:00
Andreas Traczyk
ae058405a5 qml interop: remove clientwrapper
The clientwrapper class masks granular object registration within
qml, and encourages code duplication between viewmodels(adapters)
and code lasagnafication and the misuse of declarative Qml.

Change-Id: I85fef214363e62e54fc0681282323ea4861000d6
Gitlab: #66
2020-09-10 14:55:07 -04:00
Andreas Traczyk
88816940fb qml interop: refactor and remove utilsadapter from clientwrapper
- Separate utilsadapter into files and expose it to Qml so it can
  be used without passing through clientwrapper.

Change-Id: I7c351d7191cd166521b6e0a685ea9d4a9731f165
Gitlab: #66
2020-09-10 14:54:58 -04:00