Commit graph

57 commits

Author SHA1 Message Date
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
7f3dc8e928 Fix ordering messages 2023-05-04 17:28:08 +02:00
Julien Wadel
bdeff220cc Fix go to bottom display in chats (sometimes it was shown when it should not).
- replace old check position algo by using scrollbar.
2023-05-04 14:01:04 +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
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
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
683cca5adf Chat : Stay at end. 2023-03-28 09:20:46 +02: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
Julien Wadel
fdf56bf24a Add/View contact from a message. 2023-02-27 12:18:44 +01:00
Julien Wadel
bf6b0f565a Use ColorModel instead of color for custom C++ featuring. 2022-12-27 16:37:59 +01:00
Julien Wadel
76a6a8b6ea System languages based on QLocale and not name. 2022-12-20 10:40:16 +01:00
Julien Wadel
03abd9d972 Capitalize chat section dates.
Update SDK.
2022-12-12 18:29:18 +01:00
Julien Wadel
d1027f401d Fix reply message shortcut:
- move to a better location where the message is supposed to be.
- avoid to refresh view when loading chat items.
2022-12-06 17:31:53 +01:00
Julien Wadel
d68b0d32a2 Hide chat area when leaving. 2022-11-04 09:05:53 +01:00
Julien Wadel
39f72680ea Fix hidden timelines.
Do timeline deletion on SDK callabacks to avoid using deleted objects.
From secure chats rooms, forward messages on the secure chat rooms if selected from contacts.
Update SDK.
2022-10-27 13:55:07 +02:00
Julien Wadel
1197cf0643 Draft feature rejected.
Revert "Make a cache for text to each chat rooms."

This reverts commit 610097c5a5.
2022-10-25 16:24:47 +02:00
Julien Wadel
610097c5a5 Make a cache for text to each chat rooms.
Display a draft icon in timeline if a etxt has been cached.
2022-10-20 15:25:39 +02:00
Julien Wadel
a69dcc14d3 DateTime offset in Windows : display a date from javascript doesn't take account of daylight. 2022-10-19 14:24:02 +02:00
Julien Wadel
04552762ce Add a button to copy ICS string from ICS in chat. 2022-07-01 16:04:08 +02:00
Julien Wadel
a04337c31e Reduce Qt warnings on FileDialog in chat while in call.
Clean a margin link on the reply preview message.
2022-06-09 13:08:02 +02:00
Julien Wadel
708a605825 Cleanup and prepare translations. 2022-05-13 17:38:44 +02:00
Julien Wadel
cbe91db68d Better chat images : view final image when hovering mouse, keep filename only for non-images, fix some clipping issues. 2022-05-13 17:38:44 +02:00
Julien Wadel
8c9e610107 - Fix crash and leaks on restart/quit.
- Reload conference list when current account change.
- Fix popup design (margins).
- Factorization of message banner (eg. copy text message)
- Factorization of NewConference dialog.
- Fix design on file preview in chat.
- Add participant shortcut in video conference.
- Remove old Linphone-Utils file/scripts.
- Fix avatar image in history view when clicking on username.
2022-05-13 17:38:43 +02:00
Julien Wadel
6fc7ef5074 - Add auto download mode and use 10Mb as default.
- Fix notification thumbnail display on receiving file
- Fix empty name on uploading files
- Fix readonly chat room when someone is leaving
- Remove downloaded file on ephemerals
- Reduce iteration on background
2022-03-18 13:07:20 +01:00
Julien Wadel
839a1bc9b0 - Send multiple files in one message, with preview.
- Message preview manage huge heights.
- Chat design rework.
- Sort timelines by unread chat rooms.
- Fix thumbnails that weren't deleted.
- Play audio record on playback device instead of ringer device.
- Fix binding loops on scrollable areas.
- Change timeline filter to a minimal version.
- Fix record button hovering.
- Fix camera button in fullscreen.
2022-03-08 15:44:50 +01:00
Julien Wadel
92e483c855 Add debug feedback on missing colors.
Add contact URL.
Change unread message count design in chat.
Add page text about missing features when using third party SIP account.
Add Translation link for contribution in about.
Fix history view.
Add delay of 500ms on message search.
Fix unresponsive check update button in settings.
Fix wrong characters in record name.

# Conflicts:
#	linphone-app/cmake_builder/linphone_package/CMakeLists.txt
2022-03-08 15:44:16 +01:00
Julien Wadel
33f382d80a - Shortcut in Reply to message's origin.
- Avoid to load huge chat room at the start of a call.
- Asynchronous chat room load.
- Fix video freeze on network change.
2022-03-08 15:40:37 +01:00
Julien Wadel
4ca37adc60 Reset unread messages when going to bottom after 5s 2022-03-08 15:40:28 +01:00
Julien Wadel
06b4a211a0 - Chat room loading optimization.
- Fix loading more chat entries when going to beginning.
- Fix right padding text in chat messages.
- Fix black screen videos.
2022-03-08 15:40:10 +01:00
Julien Wadel
1c11f85348 Fix some qml errors on contacts and chats 2022-03-08 15:40:03 +01:00
Julien Wadel
fa7925c4a2 Fix: Show composing in chat 2022-03-08 15:39:28 +01:00
Julien Wadel
edce53b23e - Enable CPIM on basic chat rooms.
- Fix layout on reply/vocal preview that could be ahead of chat.
- Add a volume monitor when recording a vocal message.
2022-03-08 15:39:05 +01:00
Julien Wadel
df28674ced Unread message event and unread message reset rework. 2022-03-08 15:38:57 +01:00
Julien Wadel
5e0874db7f Unread chat message event.
Shortcut to go at the end of chat.
Avoid MarkAsRead when not at end of chat.
Fix composers.
2022-03-08 15:37:45 +01:00
Julien Wadel
ed99447e05 Fix reply mode :
- avoid sending reply after removing preview
- keep reply preview for the current chat room only
2021-11-17 14:48:44 +01:00
Julien Wadel
9f781aa434 Vocal message on send :
- Record
- Play
- Seek by clicking on the sound wave
- Send with a text/file/reply
- Improve ActionButton for horizontal progression and background color managment
- Improve Icon with different height and width
- Creation of MediaProgressBar
2021-11-16 20:17:45 +01:00
Julien Wadel
d7dfe986c0 - Forward messages to a contact, a sip address or directly to a timeline.
- Fix CI on Qt5_DIR.
- Hide reply message preview after sending message.
- Fix binding loop on sub-messages.
- Reduce spacing size in message.
2021-11-10 01:50:28 +01:00
Julien Wadel
a5f9fcb4c4 Feature: Reply to a message. 2021-11-06 00:31:24 +01:00
Julien Wadel
be173732f7 Images and color customization overhaul 2021-10-29 17:46:01 +02:00
Julien Wadel
66c566659c - Remove 'app' section and keep 'ui'
- Allow to make a variable in readonly (only for enabling chats yet)
- Rename chatEnabled to standardChatEnabled
2021-10-21 13:51:29 +02:00
Julien Wadel
3a560324f8 - Add an option to enable standard and secure chats feature ('app' section)
- Fix history buttons that should not appear if chat room mode is not activated
- Allow to use a secure chat room to be used when calling (set by context : encrypted call/secure chat enabled)
- Replace a warning log by info while creating a chat room.
- Fix missing qml variables.
- Change Contact Edit and SIP Addresses selections to start a standard chat or a secure one.
- Simplify encryption activation on call parameters with enableEncryption()
2021-10-20 20:24:39 +02:00
Julien Wadel
aa745fa44c - Add load sip address model time debug.
- Add copy text banner
2021-10-20 18:38:36 +02:00
Julien Wadel
73733c17a0 * UTF8 fixes and display names behavior:
- Avoid to replace display if empty on address books search
- Propagate change when display name is set in callModel
- Add a way to update addresses when data model change outside of ChatRoomModel
- While calling and one participant, get display name from call remote address
- Update display names after adding a call log
- Fix UTF8 when compute display name
- Replace JS display name functions by CPP

* Fix tooltips width and timeline unexistant object
* MSYS2 bzip2 may block the process execution when no arguments. Add help args and remove outputs from streams.
2021-10-20 17:12:12 +02:00
Julien Wadel
99b9a7753c Upgrade search and message loading. More smart loading entries based on currently view.
Add a spinner while loading/searching.
2021-09-16 21:38:18 +02:00
Julien Wadel
df719d7cc0 Replace hard coded colors 2021-09-03 20:35:11 +02:00
Julien Wadel
cfdc3069f0 - Add Attended transfer feature (contributed by Chad Attermann)
- Fix crash on loading empty chat room
2021-09-03 14:17:53 +02:00
Julien Wadel
67c75e4595 - On chat group creation : create a conference
- Red leave event
- Remove hybrid design chat room/group chat
- Remove group info menu entry for one to tone
- Remove dots menu if empty
- Remove chat edition when left
2021-09-01 13:46:44 +02:00
Julien Wadel
13e677b4b2 Upgrade data synchronization on chat room managment
Fix synchro between smartsearchbar and participant list
Fix showing avatar on first message burst
Fix SDK missusing on addresses
Fix Popup Menu location
2021-08-17 16:18:06 +02:00
Julien Wadel
c10d50f88f Show displayname in chat room messages (group messages if same author in the same day)
Fix contact search for display name (clean address from gruu)
2021-08-16 20:21:05 +02:00
Julien Wadel
075aa6f948 Tooltip delay at 0 for avatar in chat 2021-08-11 12:34:09 +02:00