Commit graph

510 commits

Author SHA1 Message Date
Julien Wadel
8471d18d77 Display secure icon on contacts if it has the capability.
Deactivate video if no codecs are selected.
Link to licence in about.
Fix loosing ICE configuration.
Fix click shortcut on the first item on smartsearch bar.
Add separated and editable prefix phone number in assistant.
2023-07-25 17:28:19 +02:00
Julien Wadel
a0778f534d Add a Don't ask again choices mechanism.
Use it for encryption info popup.
2023-07-24 11:30:22 +02:00
Julien Wadel
2fa490e2ef Add missing header for avatar mouse shortcut in chats.
Add transfer icon in forward menu.
Confirmation on forward messages.
Fix forward button on search bar in chat room selection.
Revert back friends capability checks on lime.
Update SDK to 5.2.92
2023-07-21 11:44:37 +02:00
Julien Wadel
6f446c3c76 Fix use an account with phone.
Fix compose messages.
2023-07-18 12:46:22 +02:00
Julien Wadel
9ab3ba0995 Replace old flexiapi url by url from assistant rc.
Use presence model last activity API for timestamp.
Fix account display name size.
2023-07-17 16:33:04 +02:00
Julien Wadel
3fedc31812 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-11 16:59:42 +02:00
Julien Wadel
163f9ba067 Fix recovering account from phone. 2023-07-10 10:48:26 +02:00
Julien Wadel
5e070b2649 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-04 10:52:01 +02:00
Julien Wadel
63c7910cb0 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-03 17:48:08 +02:00
Julien Wadel
fd7d0336d4 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
2023-06-29 17:36:11 +02:00
Julien Wadel
cc9802311b - Add a custom way to display addresses.
- Fix layouts when texts are the same in contact descriptions.
2023-06-28 10:47:50 +02:00
Julien Wadel
83ec9407d5 Fix for Android : it doesn't understand paragraph ans line separators. 2023-06-16 17:37:24 +02:00
Julien Wadel
938477a2c0 Fix empty chat room on received message notification.
Remove multiple chat room reloading on notification.
2023-06-16 14:51:58 +02:00
Julien Wadel
9b13967710 Migrate call logs after starting core.
Fix Ref initialization for sip addresses optimizations.
Update SDK to 5.2.78 (chat rooms loading optimization)
2023-06-14 11:26:08 +02:00
Julien Wadel
b0784f32a6 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-06-13 16:20:47 +02:00
Julien Wadel
4eeffb52f2 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-06-12 18:05:13 +02:00
Julien Wadel
a0d2fe6267 Fix empty chat rooms on the first selection with unread messages. 2023-06-09 17:41:33 +02:00
Julien Wadel
5d5395af45 Display a remote paused message when call is one-one and has been remotely paused.
Fix incall avatar color.
2023-06-09 16:36:32 +02:00
Julien Wadel
dcddaed4a7 Incoming chat messages : Display avatar and author name if not grouped.
Fix author name on call events.
2023-06-09 15:41:26 +02:00
Julien Wadel
4260618a25 Fix crash on starting multiple calls at the same time.
Fix blank screen when starting a new call after doing one.
2023-06-09 14:58:02 +02:00
Julien Wadel
5be725063a 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 14:02:53 +02:00
Julien Wadel
513476706a 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-07 17:02:45 +02:00
Julien Wadel
7001386fb6 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-06 16:36:07 +02:00
Julien Wadel
764024eb5e Replace layoutChanged by dataChanged in order to avoid reloading all items. 2023-06-05 17:57:13 +02:00
Julien Wadel
3fc5767c0f 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:50:19 +02:00
Julien Wadel
d65295525e 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.
2023-06-05 16:25:49 +02:00
Julien Wadel
2656780ce1 Fix end date time on conferences. 2023-05-31 16:27:40 +02:00
Julien Wadel
ad55072ac7 Feature : account creation with manual validation using Flexiapi.
Fix chat received time.
Fix account creation layouts (Busy indicator, dynamic sizes, text errors)
Update SDK to 5.2.66
2023-05-30 16:46:22 +02:00
Julien Wadel
00e20a730c 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:49:55 +02:00
Julien Wadel
843fb0769d Fix layoutChanged signals : endInsertRows/endRemoveRows doesn't call layoutChanged signals. Call it after any changes to propagate updates. 2023-05-23 12:51:41 +02:00
Julien Wadel
89ad42e1a6 - 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.
2023-05-23 12:19:28 +02:00
Julien Wadel
864f4f62f7 Fix received message time order by setting received time only if new message. 2023-05-22 13:31:19 +00: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
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
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
3d7a9acc25 Display video thumbnails.
Crop thumbnail and pictures if distored.
2023-04-13 18:29:20 +02:00
Julien Wadel
c8b80c4282 Crash after showing participant devices. 2023-04-13 18:29:20 +02:00