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

75 commits

Author SHA1 Message Date
Ming Rui Zhang
44ebb170ff messagewebview: add support for pasting and drafting js special characters
Note: it will also prevent potential js template literal

Gitlab: #250
Gitlab: #246
Change-Id: Ic925a18ae768d168b8e340f9e05ef6ddd0260c84
2021-01-05 09:21:58 -05:00
Ming Rui Zhang
0de0f6ecb0 avatar: save the original source of the avatar instead of the cropped
Change-Id: I0e92189f9661ada19ae62025a3114541e41ea587
2020-12-07 17:17:48 -05:00
Sébastien Blin
4ca581e134 settings: add some chatview settings
Add:
+ Display images and videos into the chatview
+ Show typing indicators

Change-Id: Icf5575ae9b176254394399073fe3926130ecc428
Gitlab: #160
2020-12-03 14:45:59 -05:00
Ming Rui Zhang
d73422f612 messagesadapter: show clipboard image correctly in chatview
For example, with the fix, image copied from web or snipping tool
should show correctly in data_transfer_send_container of chatview

Change-Id: Ie86e7c2a5ef042ae43acd4a8f1d2ebc9641385e3
2020-11-18 11:58:09 -05:00
Ming Rui Zhang
8355cb0789 messagesadapter: clear cached convId once current account is changed
Gitlab: #158
Change-Id: I126ab29e1d63e036d68a62d293abf6f445a60722
2020-11-04 16:45:51 -05:00
Ming Rui Zhang
a3c6e262bd messagesadapter: clear cached convId when existing message web view
Change-Id: I332bebfbd035f6c928a7a8f1d4210ce8b491c7dd
2020-11-04 15:56:23 -05: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
ababi
95df47c717 misc: fix contact request UI issues
- switch between "conversations" - "invitations" smartlists according to call origin
- "Accept Request" button from msg's view header: hide on contact accepted, set on view load according to userType
- correct requests smartlist item selection on tab switch
- accept incoming call from pending contact makes conversation permanent

Gitlab: #74

Change-Id: Iadfef0d7e4032002d8007a4f18a9eae27f7ba230
2020-10-07 17:06:13 -04:00
ababi
2df280c3fb mainview: UI call management refactor
- AccountAdapter::navigateToWelcomePageRequired is no longer required since subscription to property change in QML
- avoid unnecessary CallAdapter signals for UI management. Listen to BehaviorController and avoid duplicated / unnecessary signals.
- avoid duplicated code:
  - account selection only in AccountAdapter::changeAccount and ConversationsAdapter::selectConversation
  - simplification of ConversationsAdapter::selectConversation
  - conversation UI always managed by ConversationsAdapter -> ConversationSmartListItemDelegate
- smartlistmodel: no need to show callstack for outgoing calls in state ENDED

Gitlab: #86
Gitlab: #87
Gitlab: #88

Change-Id: I7025d4292914939f5a78aee1c4742104b370641d
2020-10-07 17:06:13 -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
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
Andreas Traczyk
87a4602b9a notifications: implement incoming message notifications
- Note: adds forcing the main window to the top to overcome a
  Qt/QML bug which prevents this from working when activating
  from a notification window source.

Change-Id: Ib5a93d3937fe5a4de0229f7aeae8469d1ffdfba3
2020-09-17 17:32:40 -04:00
agsantos
d191f86b9c settings: optimize code
Change-Id: Ib12382a9292852f404b1a588a7b5a6e29cb06cf9
2020-09-15 14:58:24 -04:00
Andreas Traczyk
eacf5bb458 misc: apply clang-formatting
Change-Id: I9d2ec496aa8d6cc0a41f9096ad153308c3308e8b
2020-09-10 18:00:08 -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
Andreas Traczyk
eb53a622b7 qml interop: start replacing QMetaObject::invokeMethod with signals
It seems concurrent calls to invokeMethod using qml component
object pointers can lead to access violations. These method
invocations can be replaced with a signal/slot mechanism.

This patch replaces only the invocations in conversationsadapter
and accountsadapter that are known to be problematic for now.

Some code cleanup is done for QmlAdapterBase derived classes.

Gitlab: #61
Change-Id: I72f47c9229a9bf42299ae52822c3a1a8c04eb423
2020-09-03 16:25:59 -04:00
Sébastien Blin
def680ab6e chatview: avoid to refill model for new interactions
Change-Id: I80141d22295964d1a7d3571ea2bde6b2d74faf9c
Gitlab: #24
Gitlab: #57
2020-09-03 13:57:20 -04:00
Sébastien Blin
06fbda77e0 chatview: correctly handle clicked links in the webview
Change-Id: I16edca89fe0e66fb3845cc0420c251c70c12bdec
Gitlab: #11
2020-09-02 17:22:55 -04:00
Ming Rui Zhang
b07f7afe92 mainview: fix crash when deleting account
Fix the deletion crash issue and remove redundant account changed
signals.

Gitlab: #17
Change-Id: I1858fa051fd5171e1261dbc35d361631dc3ea01d
2020-08-28 12:35:26 -04:00
Ming Rui Zhang
968088785d mainview: make all context menus generated at run time with the same style
By giving a base context menu, all context menus are generated at run time
and kept the same style. Some issues are fixed along with the patch.

Gitlab: #8
Gitlab: #35
Change-Id: Ieb812420fcb44c33d161a62c8574f6705dc5e1a9
2020-08-28 11:59:43 -04:00
ababi
69f5dfcd2a mainview: fix account selection
- avoid duplicate call of LRC's setTopAccount()
- welcome view displays always the first account on the list, so passing the index is not necessary
- conversationsadapter and messagesadapter no longer listen to currentAccountChanged signal since there is a specific function for the setup

Gitlab: #12
Change-Id: Iac932d2596bf59c7528d83be799342ccefeea6b0
2020-08-27 18:51:06 -04:00
ababi
0b68664220 conversations: support new APIs for user search
Gitlab: #4
Change-Id: I7570099c20d2d406e538aea4c366ba7d85777686
2020-08-25 09:35:39 +02:00
Sébastien Blin
5f35e19260 qml: reconnect models on account's change
Change-Id: I7e88828308c8d64ea30e8ad15db950e0605d86dc
2020-08-18 11:58:30 -04:00
Sébastien Blin
1f91576a0b
client-qml: add initial commit
Change-Id: I32bfdd2a618aa7ac6181da2697e241667b010aab
2020-08-03 13:27:42 -04:00