Commit graph

499 commits

Author SHA1 Message Date
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
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
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
682e5dc913 Primary color on links in chat.
Allow smallbuttons to use emojis.
Insert text in text area in chats.
Ensure to send plain text message.
Use custom text font for text edit.
Emoji picker and display it aside of files preview with a splitter.
Fix file preview layout in replies.
Change double click to simple click on avatar for copying address into the smartsearchbar.
Add an option to change emojis font.
Update chat actions colors.
2023-04-07 17:08:57 +02:00
Julien Wadel
1f7f79c702 Replace vfs_encryption_enabled by QSettings to avoid keychain check at startup.
vfs_encryption_enabled is now used only to check if vfs is mandatory on first start.
2023-04-04 16:53:07 +02:00
Julien Wadel
06eedaaf6f Fix factor computation to detect non-standard size for a thumbnail. 2023-04-04 15:49:02 +02:00
Julien Wadel
14efd86660 Set authinfo fort stun only if there is an username. It fixes the overwrite of AuthInfo that belongs to another item. 2023-04-04 15:47:53 +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
0c74082a65 - Print logs into stout/stderr only if verbose is set.
- `--qt-logs-only` : print only logs from the application. It strips SDK logs from the output.
- Fix peer addresses in chat rooms (group/secure)
- Add an option to display the application debug logs.
2023-03-31 11:11:27 +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
1c98fa98dd Add debug logs for Camera behaviors. 2023-03-31 11:00:27 +02:00
Julien Wadel
6d454b659c Change 'EXECUTABLE-config' URI handler to request a confirmation to the user before using it.
Delay its execution on startup.
Add auto_apply_provisioning_config_uri_handler rc to remove confirmations.
Default URL uses https.
Fix dialog description with wrapping text and elides.
Fix busy color.
Fix duplicate connections on restarting App that done multiple CLI commands.
2023-03-30 18:21:07 +02:00