Commit graph

4494 commits

Author SHA1 Message Date
Julien Wadel
cbe3d76a8e Force architecture to LINPHONESDK_MACOS_ARCHS if x86_64.
This way, only x86_64 will be build on arm64 device.
Fix qml syntax.
2023-07-26 16:48:10 +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
7325ae112e Update SDK to 5.2.75 for fixing robot voice. 2023-07-26 16:47:27 +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
ff4f4af22a Synchronous display of last message in order to avoid waiting feelings when sending/receiving a chat message.
Hide message headers for notice.
2023-07-26 16:44:20 +02:00
Julien Wadel
29276cfc49 Fix empty chat rooms on the first selection with unread messages. 2023-07-26 16:44:09 +02:00
Flavio Barachino
990d7b2dcb Translated using Weblate
Currently translated at 84.2% (909 of 1079 strings)
(Italian)

Translation: Linphone Desktop/Master
Translate-URL: https://weblate.linphone.org/projects/linphone-desktop/master/it/
2023-07-05 14:51:45 +02:00
NPL
bd68256e43 Translated using Weblate
Currently translated at 88.7% (958 of 1079 strings)
(Japanese)

Translation: Linphone Desktop/Master
Translate-URL: https://weblate.linphone.org/projects/linphone-desktop/master/ja/
2023-07-03 04:18:10 +02:00
NPL
6f534fa0c0 Translated using Weblate
Currently translated at 87.8% (948 of 1079 strings)
(Japanese)

Translation: Linphone Desktop/Master
Translate-URL: https://weblate.linphone.org/projects/linphone-desktop/master/ja/
2023-06-22 13:18:02 +02:00
Julien Wadel
74a7e03839 Translated using Weblate
Currently translated at 99.8% (1077 of 1079 strings)
(Russian)

Translation: Linphone Desktop/Master
Translate-URL: https://weblate.linphone.org/projects/linphone-desktop/master/ru/
2023-06-18 09:10:37 +02:00
Libor Filípek
38c76eeb65 Translated using Weblate
Currently translated at 100.0% (1079 of 1079 strings)
(Czech)

Translation: Linphone Desktop/Master
Translate-URL: https://weblate.linphone.org/projects/linphone-desktop/master/cs/
2023-06-12 13:17:24 +02:00
Julien Wadel
09b7f1d4c1 Translated using Weblate 2023-06-09 15:03:04 +00: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
fde30a3ee9 Fix call notification where subtitle was the full sip adress (and only the display name was displayed, which is already display in title) 2023-06-09 16:48:48 +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
34bcb9283a Fix font size that could be different on Mac (and other platforms with pixel density different of 1) 2023-06-09 16:47:48 +02:00
Julien Wadel
23deae58a4 Replace layoutChanged by dataChanged in order to avoid reloading all items. 2023-06-09 16:47:37 +02:00
Libor Filípek
f7afcc4f85 Translated using Weblate
Currently translated at 100.0% (1078 of 1078 strings)
(Czech)

Translation: Linphone Desktop/Master
Translate-URL: https://weblate.linphone.org/projects/linphone-desktop/master/cs/
2023-06-08 08:17:22 +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
8d8acea734 Fix empty times on picker by filling time string with 0 2023-05-31 16:30:56 +02:00
Julien Wadel
4d064a6125 Update SDK : Disable use of std::ptr_fun when compiling as C++17 in SOCI 2023-05-31 13:08:41 +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
ea5ef9276a Set minimal OSX target to 10.14 because of a SDK mandatory (better c++17 support) 2023-05-22 10:37:22 +02:00
Julien Wadel
9fb4bcfe8d Appimage is now based on Ubuntu 18.04 instead of debian9 (better c++17 support and still low glibc version). 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
ea7c02a335 Update docker file to use Maintenance Tool from Qt.
Remove the fuse mandatory for CI.
Update CI to use Qt custom version and update application to Qt 5.15.12.
2023-05-22 10:37:04 +02:00
Julien Wadel
2be0af49fd Update SDK and changelog 2023-05-22 09:57:19 +02:00
Libor Filípek
f73bac558c Translated using Weblate
Currently translated at 100.0% (1077 of 1077 strings)
(Czech)

Translation: Linphone Desktop/Master
Translate-URL: https://weblate.linphone.org/projects/linphone-desktop/master/cs/
2023-05-14 12:15:12 +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
ad6b25bf21 Update SDK to 5.2.57 2023-05-09 17:32:19 +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