Commit graph

17 commits

Author SHA1 Message Date
Julien Wadel
8cb6261cb3 Rework Data models to fit SDK : eg. ChatModel into ChatRoomModel
Use models as it is from QML and avoid to use data translations (using address to get chat room replaced by using directly the chat room)
Use SDK chat room handlers on ChatRooms instead of general Core Handlers
Use a timeline as a proxy of chat rooms
Move events managments like unread messages or missed call to chat rooms

Add Chat rooms list and proxy, Participants
Add prototype for managing secure chat room
Add secure group chats feature
Convert some deprecated functions
Fix contacts display name and allow to show a subject instead of an address

Qt bug workaround : remove annoying warnings on Qt 5.15.1 and later
Fix secure group chat creation by adding the conference factory address to linphonerc and to the settings panel
2021-08-01 22:48:17 +02:00
Julien Wadel
c74654204a secure first step 2021-08-01 22:39:49 +02:00
Julien Wadel
60bf25163d Fix : display name didn't support UTF8. Address created from Factory take a UTF8 string, aswell as setDisplayName 2020-10-22 14:52:15 +02:00
Julien Wadel
080b206e4a - Reset all counts when requested
- Add an interface to reset count when the GUI need it
- Replace handler event name to be more specific on what it is doing and make a new connection when ChatModel request to reset the count
2020-08-12 17:05:54 +02:00
Julien Wadel
4d6a854e00 - Update to master SDK
- Use Opus fix
2020-07-29 19:09:39 +02:00
Julien Wadel
eba233655e Bugfixes : MacOs crash, Video request not working, fonts
* Activate mipmap on MacOs to avoid Qt crashes
* Use 5.14.2 for Windows
* Request Qt 5.12 as a minimal version and cmake 3.9 (in order to embed big resources)
* Remove build on Debian8 as it has Qt 5.10
* Add default fonts for supported languages
* Use a build parameter to set `dpiawareness` (Windows)
* Add OTF support, in addition of TTF
* Explicit the answer to video request : Fix on not showing video when accepting a second request
* Use UTF8 when chatting and notifications to show all languages/symbols
* Fix SIP display on call view
* Fix a typo on a variable in call view (might lead to get transparent view)
2020-06-19 09:25:51 +02:00
Julien Wadel
485291b48b - Add function that keep only scheme, username and domain in Utils
- Add a function that return the matching address between an address and proxies
- Use a cleaned SIP address in Timeline (sip:name@domain) and events
2020-06-15 14:13:30 +02:00
Julien Wadel
6278ebe966 - Migrate from Flatpak only if main database doesn't exists
- Mark a chat as read only if there are unread messages (SDK feature)
- Remove filtering on call status when loading logs
2020-06-11 19:31:07 +02:00
Julien Wadel
f3cea136ea Update readme 2020-06-05 11:33:46 +02:00
Julien Wadel
9f1ae82498 Show all call logs : Aborted calls and other devices calls
- When Aborted : print as a normal call
- When Early Aborted : print as missed
- When Accepted on other device : print as a normal call
- When Declined on other device : print as declined
2020-06-04 11:54:26 +02:00
Julien Wadel
c41f337907 Feature : Adding missing call count with the unread messages in timeline
Fix : Force refresh Registers when clicking on Account status, without testing registration state.
- add a timer synchronization to show the registration status by proxy
2020-05-28 17:23:48 +02:00
Julien Wadel
3031cc856a Fixes and Features : Fullscreen, crashs, contacts, messages
Fixes:

* Change download URL to `https://www.linphone.org/technical-corner/linphone`
* Crash on contacts list when deleting a friend and trying to load logs.
* Message status behaviour : Resuming status when changing logs, cursor shapes updates, bind the `resend message` action to error icon
* Synchronize settings and main presence.
* QML Crashs on fullscreen

Features :

* Add utilities in fullscreen view (media quality, security, mutable speaker)
* Show fullscreen on the current call screen
* Show Display name of participant in conference
* Participants in conference are mutable
2020-05-15 09:00:09 +02:00
Julien Wadel
d0b21228a4 Fix Timeline notifications and display name
- Add interfaces to get full sip address
- Use Full Sip addresses when using getSipAddressObserver
- Return -1 instead of null when searching an index in an array in Javascript
2020-05-11 12:34:55 +02:00
Julien Wadel
5829d54f70 Display name on notifications by using full SIP addresses 2020-05-09 10:09:45 +02:00
Julien Wadel
d6f5a7f0ce Fix file transfert and notification behaviour
- Add External Image Provider to avoid having error message when we try to show a file that is not an image (used to show an attachment where it can be a regular file).
- When creating an image, try to read the headers of a file when the extension is not consistent with contents.
- Build if not exists, a thumbnail image if the file has been displayed when filling a message
- When trying to open the file, test if it was downloaded by reading the flag
- Add a status for File Transfert In Progress
- Use non-deprecated function to get file path from ChatMessage
- Use FileSize in addtion of content Size to get the full size of a message
- Show a progressbar when downloading a file
- Show the image in notification when downloaded or the file name if it is not an image
2020-05-05 00:35:55 +02:00
Julien Wadel
7c0f80dceb Use LocalUtf8 for all transactions rather than stdString 2020-03-28 14:00:50 +01:00
Julien Wadel
08ca4791c0 Change application source folder name 2020-03-26 16:44:31 +01:00
Renamed from linphone-desktop/src/components/chat/ChatModel.cpp (Browse further)