Commit graph

580 commits

Author SHA1 Message Date
Julien Wadel
03b9e0c03c Replace old flexiapi url by url from assistant rc.
Use presence model last activity API for timestamp.
Fix account display name size.
2023-07-26 16:54:11 +02:00
Julien Wadel
b3900c9105 Ignore invisible characters while checking if text have only emojis. 2023-07-26 16:53:59 +02:00
Julien Wadel
c664d0cc49 The feature of connecting multi devices on the same account is not supported by the video conference.
- Part fix previews for this case.

Fix download text for outgoing files after the restart of the application.


Update SDK to 5.2.88
2023-07-26 16:51:28 +02:00
Julien Wadel
348639e8c8 Fix recovering account from phone. 2023-07-26 16:50:35 +02:00
Julien Wadel
93d7cf66b1 On login and without xmlrpc: use account creator settings before adding an account from scratch.
On account deletion, check if it is registered to avoid unnecessary wait.
2023-07-26 16:49:58 +02:00
Julien Wadel
23297f07d4 Option to change the max results of the Magic Search bar.
Keep display name while changing username/phone in assistant.
Update SDK to 5.2.84
2023-07-26 16:49:36 +02:00
Julien Wadel
59ea9c69e5 Make an option for displaying only usernames instead of the whole SIP address.
Move options button in waiting room because of readability.
Add a confirmation before calling a group from conversation.
Make an option to set RLS URI.
Avoid to close smart search bar when changing focus. It will now close only on empty text, esc keybutton or by manually closing it (cross icon when text has been entered)
Hide "adding contact" if search box is empty.
Add a switch in accounts selection to easily register them.
Update SDK to 5.2.81

# Conflicts:
#	linphone-app/src/components/search/SearchSipAddressesModel.cpp
#	linphone-sdk
2023-07-26 16:49:02 +02:00
Julien Wadel
73988e8305 - Add a custom way to display addresses.
- Fix layouts when texts are the same in contact descriptions.
2023-07-26 16:47:58 +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
2aa9d0fb39 Revert display image preview from URL in chat messages (because errors cannot be managed).
Use Rich text in notifications for displaying emojis and text decorations.
2023-07-26 16:46:54 +02:00
Julien Wadel
6506bbeb18 Migrate call logs after starting core.
Fix Ref initialization for sip addresses optimizations.
Update SDK to 5.2.78 (chat rooms loading optimization)
2023-07-26 16:46:18 +02:00
Julien Wadel
b0bfd27cbf Check on list size before adding/prepending items in list.
Fix disabled account that still receive messages (use message-expires=0). Still need an update from SDK to take account of the new contact parameters on unREGISTER.
Fix bad contact parameters after trying to overwrite them.
Avoid to reload all timeline on sorting changes (incoming message, new events).
Fix layout margins in chat message.
2023-07-26 16:44:46 +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
a80633af16 Display a remote paused message when call is one-one and has been remotely paused.
Fix incall avatar color.
2023-06-09 16:49:06 +02:00
Julien Wadel
02e0ee9bd8 Incoming chat messages : Display avatar and author name if not grouped.
Fix author name on call events.
2023-06-09 16:48:58 +02:00
Julien Wadel
03c9a68068 Fix crash on starting multiple calls at the same time.
Fix blank screen when starting a new call after doing one.
2023-06-09 16:48:40 +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
6382ca1200 Fix crash on using call parameters while being ended.
Fix Mosaic layout refreshing.
Add missing header of avatar.
Fix hidden header in chats by using a var instead of qvariant coming from model (seems to be unconsistant as $chatEntry could be defined as undefined while having still its value).
2023-06-09 16:48:08 +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
8897276353 Fixes:
- Couldn't select the default account without selecting another one before.
- Display a message about not having a configured account instead of displaying the local one. Local address can still be accessible from settings if activated.
- Display Assistant at home if no account has been set.
2023-06-05 16:52:54 +02:00
Julien Wadel
296da3b7db Avoid refreshing all layout when removing/adding items in list.
Use default video conference layout when making a call.
Fix active speaker device on GUI initialization (going from/to fullscreen, opening new call window).
Changing sort heuristics on participant devices to stabilized stickers: Ignore time of joining and keep only the order of the list of participants.
Display the preview at the end of the list.
In active speaker : Replace the layout refresh workaround by moving the top margin on participant list. This avoid to reload camera each time.

TODO: update SDK to retrieve the correct order of participant devices.

# Conflicts:
#	linphone-app/src/components/calls/CallsListModel.cpp
2023-06-05 16:37:10 +02:00
Julien Wadel
7b9e9136dd Update for master 2023-06-01 10:34:47 +02:00
Julien Wadel
e4b91a6a66 Fix end date time on conferences. 2023-05-31 16:33:38 +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
754ac899da Fixes on chat/history/conferences section date timezone and conferences creation timezone:
- Remove timezone variable as it is not stored into database. Use it only when building the conference date (which is in UTC).
- Replace javascript managment on dates by Qt in C++ because of timezone complexity that can be different from C++ and QML.
- Remove the buggy autocheck on conference creation time.
2023-05-23 18:48:18 +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
c07eaa23ec Adapt addresses API changes on const + wrapper. 2023-05-22 10:39:24 +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
b2219c66ed Crash fix when switching timelines containing video files. 2023-05-11 17:15:13 +02:00
Julien Wadel
25a5f33356 Display away message if timestamp is not available. 2023-05-10 16:14:49 +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
94b3501c6b Fix crash on setting empty routes on account params.
Fix lime server url check.
2023-05-05 18:03:29 +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
51ef0ae25b "Vocal message received" notification 2023-05-04 17:43:26 +02:00
Julien Wadel
7f3dc8e928 Fix ordering messages 2023-05-04 17:28:08 +02:00
Julien Wadel
a7805cd3f1 Fix point size for custom fonts. 2023-05-04 15:59:53 +02:00
Julien Wadel
2df3f0fd60 Calling conference from history. 2023-05-04 15:50:19 +02:00
Julien Wadel
48c6c5a355 - Replace unknown file image by empty extension
- Display generic image file on image extension (if file doesn't exists)
- Fix file checking with empty path (avoid spamming errors logs)
- Image file checking based on extension if it doesn't exists.
- Fix empty texts space in messages.
2023-05-04 15:19:39 +02:00
Julien Wadel
9f587cb196 Add an option to enable bundle mode in account parameters. 2023-05-04 11:41:14 +02:00
Julien Wadel
c1f1a1f6f0 Fix sending empty text with another content like file 2023-04-20 16:48:47 +02:00
Julien Wadel
9f4ba05e7f Allow to select a Terminated chat room.
(cherry picked from commit a8184ccdca)
2023-04-18 10:38:34 +02:00
Julien Wadel
990dbc610a Remove "do not disturb" status as it is not really supported. 2023-04-17 16:54:06 +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