Commit graph

138 commits

Author SHA1 Message Date
Julien Wadel
027a067892 Fix crash on sending a forward message on a new secure chat room. 2024-03-06 17:27:46 +01:00
Julien Wadel
8dec72ffd4 - Fix crashs on reply shortcut, delete chat room with presence status, removing participants from group chat.
- Display contact search on forward popup.
- If not set by user, use a VFS folder to download files instead of default DownloadDir
2023-12-01 17:41:18 +01:00
Julien Wadel
47be8c3432 Check on eventlog before using as it can be null in case of database corruption. 2023-11-30 16:08:38 +01:00
Julien Wadel
a1f0d83386 Fix freeze update state on timelines. 2023-10-10 14:04:26 +02:00
Julien Wadel
b8d3e0d382 Fix message order and remove local timestamp received. 2023-10-03 12:23:55 +02:00
Julien Wadel
dbf63b0c3e Fix security level synchronization in chat rooms.
Fix hidden admin status on first group chat creation.
Fix Magic search that could retrieve addresses with Gruu.
Fix debug outputs on missing colors.
Fix click area in call list.
Fix some missing items in qml.
2023-09-13 10:37:44 +02:00
Julien Wadel
b8a6339e69 Fix received time on forwards.
Remove gruu on convertion of participant addresses into string.
Fix permissions access on removing records.
2023-09-13 10:36:28 +02:00
Julien Wadel
369bc765e4 Change icons (notification, menus).
Simplify main menu.
Display call history by account.
Allow to remove reactions from chat.
Fix crash on conference creation.
2023-09-12 17:58:18 +02:00
Julien Wadel
267d70535d Add Chat reactions 2023-08-31 15:23:17 +02:00
Julien Wadel
2923ce471f Fix for Android : it doesn't understand paragraph ans line separators. 2023-07-26 16:47:49 +02:00
Julien Wadel
6797b155ae Fix empty chat room on received message notification.
Remove multiple chat room reloading on notification.
2023-07-26 16:47:38 +02:00
Julien Wadel
ee8a6ab970 Loading optimizations:
- Avoid sending signals on chat room creation.
- Remove display name caching from contacts and put it into the sip address model.
- On adding new address into sip address model, avoid update all layout and use dataChanged.
- Reorder Sip address Model and contacts model and make direct connections for prioritized update signals.
2023-07-26 16:44:35 +02:00
Julien Wadel
29276cfc49 Fix empty chat rooms on the first selection with unread messages. 2023-07-26 16:44:09 +02:00
Julien Wadel
eafb33e6b8 Optimizations:
- Caching of displayname computation.
- Optimize call logs access when building timelines.
- Avoid building QTextSpeech if not needed.
- Avoid loading emojis of picker on chat creation. Load them only on demand.
2023-06-09 16:48:29 +02:00
Julien Wadel
058d56ab29 Smoother chat loading and simplify async loaders algo.
Display a busy indicator at conversation init and display content bubble only when loader is load (to avoid empty lines with header).
2023-06-09 16:48:17 +02:00
Julien Wadel
23deae58a4 Replace layoutChanged by dataChanged in order to avoid reloading all items. 2023-06-09 16:47:37 +02:00
Julien Wadel
7755539a33 Feature : account creation with manual validation using Flexiapi.
Fix chat received time.
Fix account creation layouts (Busy indicator, dynamic sizes, text errors)
2023-05-31 16:33:04 +02:00
Julien Wadel
a787cb8750 Fix layoutChanged signals : endInsertRows/endRemoveRows doesn't call layoutChanged signals. Call it after any changes to propagate updates.
(cherry picked from commit 843fb0769d)
2023-05-23 12:53:05 +02:00
Julien Wadel
c84a5a9048 - Fix hidden time on chat message after the deletion of a notice (like unread messages).
Seems to be a Qt bug : If layoutChanged() is not send, some delegates after notice will be wrong (their $chatEntry will be updated with undefined while not being really updated on next check)
Reproduce case with a ChatMessage after a Notice: On Notice deletion, this chatMessage will update its text with an undefined $chatEntry. But when checking the value of its $chatEntry after this event(make a MouseArea with a click event), it will be the correct one (and not the undefined).

- Stabilize sorted message on loading more entries by checking receving time.


(cherry picked from commit 89ad42e1a6)
2023-05-23 12:22:19 +02:00
Julien Wadel
4764bb6cbe Fix received message time order by setting received time only if new message. 2023-05-22 15:32:20 +02:00
Julien Wadel
de9f2fe6cb Update enums to SDK master's wrapper. 2023-05-22 10:37:22 +02:00
Julien Wadel
53caefb7e5 Update enums to SDK master's wrapper. 2023-05-22 10:37:20 +02:00
Julien Wadel
c46727ce75 Fix text lost when switching timelines : if QML TextEdit is set for rich texts, Qt will change the text before item completion. 2023-05-09 17:31:47 +02:00
Julien Wadel
1dd4f4f285 Fix crash when loading some chats with video.
Detect video availability when building the thumbnail in order to avoid playing all the file while waiting of a frame.
Fix image type detection from Mime (appimage was detected as an image and Qt considered compressed file as a readable image)
2023-05-09 11:49:26 +02:00
Julien Wadel
ef0a59b26c Fix ordering message on wrong received time.
- Centralize received time into ChatMessageModel.
- Remove receivedTime temporary data because it is not stored into database.
- Try to set received time on new messages/events chat room listener.
- Ensure to not override receivedTime.
2023-05-05 11:22:06 +02:00
Julien Wadel
7f3dc8e928 Fix ordering messages 2023-05-04 17:28:08 +02:00
Julien Wadel
c1f1a1f6f0 Fix sending empty text with another content like file 2023-04-20 16:48:47 +02:00
Julien Wadel
5d6073adbf Fix new line character that wasn't recognized on some device because of the use of unicode Line Separator. 2023-04-14 15:28:43 +02:00
Julien Wadel
e326ba9437 Revert auto reformatting and limit format to only emojies (text edit of chat).
Fix crash when creating video thumbnail on context management (let Qt to decide what to do).
2023-04-14 09:52:48 +02:00
Julien Wadel
411f64e4c0 Fix compose events with empty text (since text is in rich format then it was never really empty).
Move QApplication::setAttribute to beginning.
2023-04-13 18:29:20 +02:00
Julien Wadel
c8337d9dda Create thumbnails into memory instead of disk.
Clean unused headers.
2023-04-11 10:22:05 +02:00
Julien Wadel
876d4969a9 Second fix on peer address in conversation to use the participant. 2023-04-03 11:37:59 +02:00
Julien Wadel
30d5fcd071 Incoming ephemerals weren't removed without reloading chat rooms (missing connection) 2023-03-31 11:01:19 +02:00
Julien Wadel
a47d97d790 - Fix interpretUrl to check internalization prefix option from account configuration.
- Fix Layout label width if fitting label is requested (gui).
- Fix a missing presence text in qml.
2023-03-27 16:58:51 +02:00
Julien Wadel
ee53dc8d19 Remove offline status (not fully supported and is error prone) and stabilize presence feature.
Display presence text with time of last seen.
Regroup text format into PresenceLevel.qml
Set publish expires to 2minutes in order to be more correct.
Update SDK for the last seen callback of presence model.

# Conflicts:
#	linphone-app/assets/languages/ja.ts
2023-03-24 16:16:08 +01:00
Julien Wadel
2fb69d9fd6 Sort chat messages from received date and not send date. 2023-03-06 09:10:11 +01:00
Julien Wadel
4532e278ac New chat layout :
- Split content type to be filtered by proxy lists.
- Add a message in notification when receiving a conference invitation.
- Change chat bubbles colors to match mobile application.
- Change date display on messages to remove sections. It allows to be more coherent when sorting messages.
- Change Chat Layout : outgoing messages to right, incoming messages to left.
- Change bubble design to be squared when grouped.
- Group messages on 1 second away from previous (and same sender).
- Add a background color with radius to files in reply messages.
- Make color corners on reply.
- Fix filename to 2 lines in file download icon.
- Add a background color on conference invitations.
- Change conference title from bold to normal on invitations.
- Rework chat message content layout to be used with grids and lists : files are now displayed in grid.
- Remove cyclic dependencies with reply design (which was recursivly linked with ChatContent).
- Fix center layouts that were not bind to the correct one.
- Align pictures to center.
- Fix hidden admin usernames in participant view.
2023-03-03 17:09:25 +01:00
Julien Wadel
ee526c262c Mute option for each chatrooms. 2023-02-27 16:52:08 +01:00
Julien Wadel
6aa57414c0 - Remove the use processEvents that can lead to a deadlock from iterate.
- Add a loading page while building the call view instead of a blank one.
2023-02-07 16:26:17 +01:00
Julien Wadel
1d050ef1ae Update lime url on migration for Linphone. Set old core url before migrating account parameters.
Fix OpenSSL deployment on Windows.
Update SDK to 5.2.10

# Conflicts:
#	CMakeLists.txt
#	linphone-sdk
2023-01-20 15:15:11 +01:00
Julien Wadel
a622900e8b Fix volume gauge in multimedia parameters while being in call.
Add customization UI when deactivating video/conference/update checker.
2022-12-27 15:49:26 +00:00
Julien Wadel
d1027f401d Fix reply message shortcut:
- move to a better location where the message is supposed to be.
- avoid to refresh view when loading chat items.
2022-12-06 17:31:53 +01:00
Julien Wadel
5b5268ff60 Rework of chat room creations for selections.
- Avoid to select a chat room that is creating/terminating.
- Add a loading spinner when the state of the chat room is updating.
- On creation, wait on chat room state before automatically selecting it.
2022-12-01 11:25:52 +01:00
Julien Wadel
53abdf6f06 Fix participant devices leaks. 2022-11-25 17:41:46 +01:00
Julien Wadel
39f72680ea Fix hidden timelines.
Do timeline deletion on SDK callabacks to avoid using deleted objects.
From secure chats rooms, forward messages on the secure chat rooms if selected from contacts.
Update SDK.
2022-10-27 13:55:07 +02:00
Julien Wadel
1197cf0643 Draft feature rejected.
Revert "Make a cache for text to each chat rooms."

This reverts commit 610097c5a5.
2022-10-25 16:24:47 +02:00
Julien Wadel
501c053b4d Uses UTF-8 when dealing with the SDK. 2022-10-20 16:50:16 +02:00
Julien Wadel
610097c5a5 Make a cache for text to each chat rooms.
Display a draft icon in timeline if a etxt has been cached.
2022-10-20 15:25:39 +02:00
Julien Wadel
6bd8cc4673 Fix messing with std shared pointer and Qt memory managment. 2022-10-19 20:46:20 +02:00
Julien Wadel
f2bab2f1d1 Clean logs. 2022-10-14 18:51:04 +02:00