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

50 commits

Author SHA1 Message Date
Sébastien Blin
860ddf22b6 chatview: hide extra panels if interactions buttons are absent
Change-Id: I8e56fc3e0a456bc214baf321e4c9e60b77004d2c
GitLab: #1476
2024-02-21 15:56:34 -05:00
Sébastien Blin
39da97396c contactmodel: fix add on second request
GitLab: #1572
Change-Id: If588d22b80ea2f77b21f2ddd081ba32fdffefc7c
2024-02-19 13:50:59 -05:00
François-Simon Fauteux-Chapleau
bbbeda6a26 EmojiPicker: fix reference error
GitLab: #1545
Change-Id: Ie0cdc650a8f1468ed14cb43ccfd223167ddf8b7e
2024-02-19 11:13:03 -05:00
Andreas Traczyk
35482fa92f misc: implement frameless window
Several major changes to the layout have been made.
- The chat search bar is moved into the message search layout.
- The Searchbar component is stripped of unused features.
- Some remaining logic that was used to switch main loader components is removed.
- ViewCoordinator.getView gets a "force create" parameter and we no longer preload low-cost views.

NOTE: the option to use a frameless window is available within general settings

Gitlab: #1524 (Frameless Window)
Change-Id: Iec6bdf162cb0335d3ae3d9bd09dd9783991a4a57
2024-01-26 18:14:55 -05:00
Andreas Traczyk
0245671855 misc: improve client app logging
- introduce a message handler
- introduce a logging category for the mainapplication object
- demo the filtering

Gitlab: #652
Change-Id: Ice1ea380bb330f576a0936e3048eb4c60a06d4e9
2024-01-16 19:48:47 -05:00
Sébastien Blin
84150e8977 misc: bump copyright to 2024
Change-Id: I8d5f968fbedbc884c91416246049a0ef4cd652eb
2024-01-03 09:54:49 -05:00
Sébastien Blin
32b76c8da4 messagelist: use history given from daemon (except SIP accounts)
With Jami-Daemon >= 14.0.0, the client doesn't need to construct
itself the history. This part is now handled by the daemon.
This patch uses the new API:
+ loadConversationMessages->loadConversation
+ SwarmMessageReceived/SwarmMessageUpdated/ReactionAdded/ReactionRemoved
+ remove MessageReceived
+ ConversationLoaded->SwarmLoaded

+ No need to use loadConversationUntil, the daemon will load whatever
the client needs.
+ No need to clear cache, just reset the body and emit data changes

Everything should work like before (even re-translation & changing
preview preference)

Change-Id: Iaf1fa3e84e8e157ae2d0bec210977f9a34415ebc
2024-01-02 15:22:10 -05:00
Sébastien Blin
2d664eacb1 misc: fix QML tests
Moreover, add two accounts (for ChatView testing)

Change-Id: Ifb2a45002dd9e86921868257124561764e9b94c5
2024-01-02 10:31:59 -05:00
Andreas Traczyk
762cbbff38 mainview: prevent details panel from opening maximized
also-misc: Removes SplitPanel state-saving

Gitlab: #1370
Change-Id: I71f5c209922ad69fb701e935a03078fb8e5ad2de
2023-11-27 14:19:00 -05:00
Xavier Jouslin de Noray
899ff6120c misc: move GenericErrorsRow in MainApplicationWindow
Change-Id: I09fea85e9fa603481bd2cfe81b15a4d94dcc3ebd
Gitlab: #1135
2023-09-15 12:29:27 -04:00
lcoursodon
e3a73ac932 TextEditor: General upgrade
Popup take text size according to languagePopup takes size of the text in fonction
Edition button are now colored when actif

GitLab: #1096
Change-Id: I4ddfe8de267a0e0582dde602aa2ad42f5cf535e8
2023-07-31 08:41:37 -04:00
lcoursodon
83039abc1b TextEditor: General upgrade
Implement new design
Add multiline button
Use correct color and implement dark theme

GitLab: #1096
Change-Id: I5699c81fbc41e50300ca8b32b93ee47cd17ceee1
2023-07-13 13:48:00 -04:00
Sébastien Blin
281516823e chatviewheader: keep button selected when linked tab is opened
Change-Id: I5b4df32352bc1e6e5281a18e16c8da902242bc4f
GitLab: #1233
2023-07-07 07:43:33 -04:00
Andreas Traczyk
6e7278c87a chatview: remove excess spacing between chat contents and footer
Gitlab: #1172
Change-Id: I615caf484ab37b4a783eadc751642eeb7a5553ac
2023-06-05 09:54:46 -04:00
Sébastien Blin
b6ef1d90e5 misc: fix focus on messagebar
remove undefined values causing the focus on the messagebar to be
broken

Change-Id: I85170ee87d254e0b2764a67b3a0a17fdee535234
2023-05-12 10:56:46 -04:00
Sébastien Blin
e073c6f8a8 i18n: support RTL languages
This patch introduces some mechanisms to fully support RTL languages:
1. RTL detection via UtilsAdapter::isRTL() checking the locale name
2. Using QML mirroring when needed based on UtilsAdapter.isRTL
3. Inverting panels in DualPaneView and JamiListView when needed
with SinglePane support

Moreover, lot of anchors are added to automatically manage layout
updates.

GitLab: #235
Change-Id: I40c245f2d7fae96d796c53505af5403f5e813e7f
2023-05-11 15:38:56 -03:00
Andreas Traczyk
c052c28f4d misc: format all QML files
Gitlab: #1059
Change-Id: Ia973ee1f8666bdd8597d6cbb47a87534ac4358c8
2023-04-14 09:06:44 -04:00
Andreas Traczyk
4d2e31a5f3 chat-view: simplify chat details panels and save split states
- Saves (session only) the open state of the swarm details panel
- Saves the details index, and falls back when not available

Gitlab: #902
Change-Id: I7ad0c53007dac95f4b1984fc1fcf0094ae59a755
2023-03-23 08:07:07 -04:00
Andreas Traczyk
9ff32433cf misc: save split view states
This commit simplifies the view coordinator and restructures the main view stack to not include a split view.

This removes workaround logic for single pane view support that was previously in the view coordinator.

The main view is now a stack that may contain both single and dual pane views.

The ListSelectionView further specializes DualPaneView to add an index-based or custom selection mechanism.

Gitlab: #902
Change-Id: I81c9fe579b95c8d4774c3e491a16d7600323c40c
2023-03-10 16:51:06 -05:00
Aline Gondim Santos
edeff74c52 callview: move swarm details access to the actionbar
Change-Id: I0a450ab0a82943bd5e929ccd281784867edebd30
GitLab: #998
2023-03-01 08:56:16 -03:00
Sébastien Blin
3570b23d8a swarmdetailspanel: show kicked contacts if administrator
This patch avoid for non-admins to try to re-add kicked members
as filtered out from the list. However kicked members are only
visible for administrators.

Change-Id: Ie01b7071c072d147bbc0f39e477cc24d7fd58b1a
2023-02-20 09:05:24 -05:00
Nicolas Vengeon
06ab19f213 Feature: search messages
Change-Id: Ia458e2e6ee183cad9d0418af0dbbbcd990f14281
GitLab: #918
2023-02-20 09:04:49 -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
Aline Gondim Santos
b568484453 fix: empty chatview
Bug:
Go to small size, open swarm details panel (it will take all width)
Then go to another conversation => No messages (need to re-click on swarm details panel).

Change-Id: I6b2d721e4b3645d60483ff1aca3cff24908cefb4
2023-02-15 06:44:03 -05:00
Amin Bandali
8d46acedf1 misc: Update copyright years to 2023
Change-Id: Idf38e82631a4e22540aa5dec8ec2db0ab4a38c2e
2023-02-06 01:47:15 -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
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
d06902e3b7 Feature: unpin location sharing map
- Refactoring
- Unpined map
- handle multiple maps (one map per account)

Change-Id: I2b0abf284ccfe27b986f03915c5942d721403211
Gitlab: #901
2022-12-27 12:12:31 -05:00
Sébastien Blin
72e8cf42fa chatview: fix footer on banned contacts
isBlocked doesn't exist, it's isBanned.
Also link spfm and webengine to tests (in order to fix
tst_ChatViewFooter.qml)

Change-Id: Ic4ac0565ba5975213728b16e3e3d5718aa9851b6
2022-12-20 09:12:53 -05:00
Nicolas Vengeon
7bb5ad0ee0 Emoji: Implement emoji-reactions
Change-Id: I83f27e86a6a7ee2140dc3028a4e183dcb8de8a27
GitLab: #875
2022-12-14 16:06:53 -05:00
Sébastien Blin
8d35ad7356 message-edition: support "Esc" to cancel edition
Change-Id: I4be91f83fbe3ba7cb3617792c687acb938d3e10a
GitLab: #892
2022-12-06 09:36:15 -05:00
Sébastien Blin
7367c28733 jenkinsfile: use HOME=/tmp for tests
Change-Id: Ib5f207eb730be43a7cc5ebfb7cda2b230054badd
2022-12-02 14:47:45 -05:00
Sébastien Blin
da61006eb9 tests: add tests to CI and start to migrate old ones
Pretty all tests are broken, but at least, forcing the CI to build
it will force people to check it.

Change-Id: I974905a893b6a53ce71890b63a01be6a791ea556
2022-12-02 11:20:48 -05:00
Aline Gondim Santos
50888a2865 shortcut: add option to edit last sent message
GitLab: #892
Change-Id: Ia62ac144d187e705644742ebaa9b1679c45d2ae0
2022-12-01 10:22:01 -05:00
Aline Gondim Santos
09ed9e25ce fix: open fileDialog on one person swarm
GitLab: #891
Change-Id: I97afae821dbb8cf20bf676804b8dafb66810bb3c
2022-11-30 14:59:51 -03:00
Nicolas Vengeon
e5b54ad787 feature: show and share user location
copyright OpenLayers v7.1.0: ol.css
copyright OpenLayers v7.1.0: ol.js

GitLab: #867

Change-Id: I4e01f6d9727d56541d1b44023f26959ebe4fbe26
Signed-off-by: Nicolas Vengeon <nicolas.vengeon@savoirfairelinux.com>
2022-11-23 14:05:36 -05:00
Sébastien Blin
60617a280c misc: improve UX when disconnected/disabled
Show a notification in the conversation like Anroid when the account
is disabled or when there is no network connectivity

Change-Id: I0f875fd24a2b29b8f7f48746651b156451e1250f
2022-11-17 13:58:08 -05:00
Sébastien Blin
0996b167d9 swarm: add call buttons and interactions for multi-swarm
+ Add call buttons to start a new call
+ React to events from the swarm
+ call interactions (Join call/Call ended, etc)
+ active calls area
+ Add call management logic in LRC
+ Feature is enabled via the experimental checkbox

https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/312
Change-Id: I83fd20b5e772097c0792bdc66feec69b0cb0009a
2022-11-17 13:16:02 -05:00
Sébastien Blin
ce3afea995 chatview: display signaled back-end errors
A signal exists for showing errors to the user to make failing cases
more explicit. With this patch, errors detected are displayed to
the end user so that they know that an error occured and what
kind of error occured.

Change-Id: Ib2d4d4fdb171235e0598de0f1c190b8fd0fcc336
2022-08-15 15:33:32 -04:00
Sébastien Blin
481541564a chatview: do not migrate to swarm for SIP account
Change-Id: Id7fb985ef3e449dab67463a8e4320b493457341a
GitLab: #796
2022-08-11 09:54:50 -04:00
Sébastien Blin
1881ffb45f swarm: transform non swarm to swarm conversations
+ Remove readOnly from conversation's as it was never used
and not necessary in multi swarm as you can re-add members anyway
so it's never read only.
+ Makes non swarm conversations just readable.
Users can save whatever they want and replace old non migrated
conversations to new swarm.

Change-Id: I8aa2521bc524b6159d7ba0b613834438e293e09e
2022-08-08 11:37:47 -04:00
Sébastien Blin
accada53f3
misc: cleanup
Change-Id: Id9226497f1c3f57ddbe2dbe5a10135b75b24474d
2022-08-01 17:13:28 -04:00
Fadi SHEHADEH
41c21dac68 wizard: implement new wizard details
This changes many things:
+ Except the backup page, all pages were re-designed
+ Heavily modify buttons and line edits with new components style
+ Update switches themes
+ Re-work username
+ Add future components
+ Update strings
+ Update PhotoBoothView

GitLab: #769
GitLab: #770
GitLab: #766
Change-Id: Ic97d36cf8c86c4242013bf71a524887f7ce56f8f
2022-07-29 09:18:16 -04:00
Sébastien Blin
b46acb12d3
chatview: hide AddMemberPanel if max participants is reached
Change-Id: Ibe07af6400b4f761951e7b6251646b311f56f1b6
2022-07-21 11:08:46 -04:00
Sébastien Blin
b5c54696ce swarmdetailspanel: update on changes + fix chatviewheader
Change-Id: Ieeb6811101f7c1dadc2b9d07fdac93cc4fe68dd4
2022-07-19 09:15:47 -04:00
Sébastien Blin
5cf6125fd0 chatviewheader: show description with title
For multiple swarms, the description will be shown from the profile,
for core dialogs, the best Id is used.

Change-Id: Ieb7d5f143c1a85c4c629a5a8a03850fa1ebddf63
2022-07-11 10:53:49 -04:00
Sébastien Blin
300ac17db3 contactmodel: rework ban status
And do not ban contact when removing conversation.

Change-Id: Ia76c76b265dd2a9d7d3cc8e2f869bf74fd3cbe63
2022-07-05 11:02:49 -04:00
Sébastien Blin
e1f5935208 SBSMessageBase: use Author directly
To be displayed in a swarm with multiple participants

Change-Id: Ic29cd1b5ec3b6635f2f9ee907094812b38ec7116
2022-06-14 09:09:08 -04:00
Fadi SHEHADEH
0ef5cca551
chatview: bubbles style
- radius
- spacing username
- spacing avatar bubble
- added username on top

Change-Id: Iaea52d2c6334a64727fc818ef3232623b938d41e
Gitlab: #730
2022-06-09 15:54:47 -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/mainview/components/ChatView.qml (Browse further)