Commit graph

654 commits

Author SHA1 Message Date
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
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
c36729df6a Fix plain/rich format convertion algo while typing. 2023-04-13 18:29:20 +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
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
6323accef2 Fix using only username in URI handlers. 2023-03-27 11:24:52 +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
5ec263bacf Fix registration expiration that was set on publish and not on register. 2023-03-24 16:13:59 +01:00
Julien Wadel
918b3ae68b Option to deactivate chats and video.
- Replace videoSupported (build-time) by videoEnabled (option).
- Hide chat notifications.
- Add an option to disable video.
- Hide unread messages count.
- Hide mute/ephemerals items.
- Hide conversation's devices/ephemrals/mute/scheduling meetings menu items from conversation.
- Do not use camera in waiting room.
- Hide conference layout.
2023-03-21 11:06:54 +01:00
Julien Wadel
ab519906e5 - Conference layout refreshing on creation.
- Crash and display of local conferences.
2023-03-13 16:43:08 +01:00
Julien Wadel
d0f8e7335e Crash on chat rooms with the default account. 2023-03-07 12:10:15 +01:00
Julien Wadel
3f78a44946 show accounts display name instead of username. 2023-03-07 12:08:46 +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
b5a8cdbceb - Some case of unwanted settings folders creation : When calling settings paths from SettingsModel, we checked on default in all cases. That lead to create folders to be writable.
=> Check for default only if path has not been overwritten in linphonerc.
- Replace black thumbnails that contains transparency by white color.
Thumbnails are in jpg where there is no transparency. By default, transparency is replaced by black color because not background color has been defined.
=> Set background image in white.

# Conflicts:
#	CHANGELOG.md
2023-03-03 17:17:08 +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