Commit graph

11663 commits

Author SHA1 Message Date
Ronan Abhamon
c4fadd417b fix(Variant): use swap when possible 2017-11-10 09:25:12 +01:00
Ghislain MARY
a30050c8bd Correct handling of client group chat room joining after it has been left. 2017-11-09 17:30:27 +01:00
Ronan Abhamon
d7f3168937 fix(MainDb): fetch conference chat rooms 2017-11-09 17:27:43 +01:00
Ronan Abhamon
b0bf790f6b fix(MainDb): Schrodinger commit 2 2017-11-09 16:53:20 +01:00
Ronan Abhamon
1dda2e3d36 fix(MainDb): Schrodinger commit 2017-11-09 16:52:38 +01:00
Ronan Abhamon
2600d5f4d8 fix(MainDb): call addContent correctly 2017-11-09 16:50:31 +01:00
Ronan Abhamon
87c7236d7f feat(MainDb): fetch contents of messages 2017-11-09 16:49:02 +01:00
Sylvain Berfini
fd1084b875 Free the contents upon ChatMessage destruction 2017-11-09 16:46:14 +01:00
Ghislain MARY
88c9e1e593 Use the CallSessionParams to add parameters to the contact address.
This fixes the GRUU address in the contact of an INVITE.
2017-11-09 16:00:50 +01:00
Ronan Abhamon
9f2db02565 fix(MainDb): fetch correctly chat messages (no contents), no all chat messages for one message!!! 2017-11-09 15:42:09 +01:00
Ronan Abhamon
dc00b58e98 feat(MainDb): log durations 2017-11-09 14:48:14 +01:00
Benjamin Reis
43f0d86369 set use_cpim default value depending on using group chat 2017-11-09 14:42:26 +01:00
Sylvain Berfini
7018a708c3 Fixed old C API for file transfer 2017-11-09 13:09:28 +01:00
Sylvain Berfini
f1f84e7c60 Changes & improvements for FileTransfer 2017-11-09 13:00:21 +01:00
Ronan Abhamon
ad05dbbdba fix(MainDb): fix sql schema 2017-11-09 12:47:58 +01:00
Sylvain Berfini
b764f9bb60 Removed appData in ChatMessage 2017-11-09 12:36:49 +01:00
Sylvain Berfini
4957187dfb More cleanup in ChatMessage 2017-11-09 12:27:35 +01:00
Ghislain MARY
deb7f90ab9 Prevent adding ourselves as a participant of a client group chat room. 2017-11-09 11:44:35 +01:00
Ghislain MARY
bb0b486a0e Use LinphoneEvent from the SUBSCRIBE to send all NOTIFY messages in the LocalConferenceEventHandler. 2017-11-09 11:39:45 +01:00
Ronan Abhamon
a77734766b fix(MainDb): use utf8 charset only on Mysql 2017-11-09 11:25:37 +01:00
Ronan Abhamon
f2af53f2d3 feat(MainDb): force utf8 charset 2017-11-09 11:10:12 +01:00
Ronan Abhamon
6ef85b29d7 feat(MainDb): provide a way to invalid events from query 2017-11-09 10:37:38 +01:00
Sylvain Berfini
2111b62d75 Finished moving file transfer related code from ChatMessage to FileTransferChatMessageModifier 2017-11-09 10:26:50 +01:00
Sylvain Berfini
f6c4f0f5d9 Started to move file transfer related code in ChatMessage into FileTransferChatMessageModifier 2017-11-08 17:53:31 +01:00
Ronan Abhamon
987fca9499 fix(ChatRoom): mark as read correctly chat message 2017-11-08 17:51:56 +01:00
Ghislain MARY
5c857c2db1 Fix build. 2017-11-08 17:17:32 +01:00
Ronan Abhamon
2e2c39b7bc feat(MainDb): getHistoryRange supports events cache 2017-11-08 17:14:31 +01:00
Ghislain MARY
cc5ebffda4 Add linphone_chat_room_get_me() API. 2017-11-08 17:12:00 +01:00
Ronan Abhamon
ad896ab4f8 feat(MainDb): create a new table: chat_message_file_content 2017-11-08 17:05:19 +01:00
Sylvain Berfini
fc2fe482ec Created a FileTransferChatMessageModifier, next step is to move into it file transfer related code from ChatMessage 2017-11-08 16:36:46 +01:00
Sylvain Berfini
f5fa5101fc Improved two file transfer test 2017-11-08 16:14:45 +01:00
Sylvain Berfini
34ae5427ce Fixed crash in file transfer message tests 2017-11-08 15:49:57 +01:00
Ronan Abhamon
d9f022bb3f feat(MainDb): getConferenceNotifiedEvents supports events cache 2017-11-08 15:37:16 +01:00
Sylvain Berfini
7dd5d96717 Fixed text + file chat message test 2017-11-08 15:37:04 +01:00
Ghislain MARY
64802f026b Remove useless conference tester. 2017-11-08 15:28:54 +01:00
Ghislain MARY
8fcc2ea86f Fix Refer-To address in REFER messages sent by the ClientGroupChatRoom. 2017-11-08 15:24:35 +01:00
Ronan Abhamon
9d4a1f3cd5 feat(MainDb): add a weak list of event references 2017-11-08 15:21:54 +01:00
Sylvain Berfini
057db03349 Moved from a list of Content to a list of Content* to be able to cast content to specialized version 2017-11-08 15:15:47 +01:00
Sylvain Berfini
ba89633e45 More work related to ChatMessage file transfer 2017-11-08 14:14:25 +01:00
Ronan Abhamon
0118f6ee53 feat(core): remove useless doc on (void)arg 2017-11-08 14:11:50 +01:00
Ronan Abhamon
bc32805af0 feat(MainDb): provide a way to check stored events 2017-11-08 14:08:18 +01:00
Ghislain MARY
f7b64d5ad5 When adding participants to a ClientGroupChatRoom, check that they are not already in the chat room. 2017-11-08 12:14:33 +01:00
Ghislain MARY
4cd5e7aeab Change the state of the ClientGroupChatRoom to created only when the first NOTIFY has been received. 2017-11-08 12:14:02 +01:00
Benjamin Reis
fe01419470 Do not store nor notify app for full state generated events 2017-11-08 11:58:08 +01:00
Erwan Croze
dfbf8e031e Fix uninitialized variable 2017-11-08 11:39:00 +01:00
Sylvain Berfini
5d47a1093d Fixed compil 2017-11-07 17:47:58 +01:00
Sylvain Berfini
25ea1d7c69 Actually this is not needed. The file name after file transfer is in a Content with the object type (ie image/jpeg) 2017-11-07 17:37:26 +01:00
Ronan Abhamon
adf574413b fix(MainDb): remove cleanEvents functions => not easy to implement for events life 2017-11-07 17:30:24 +01:00
Sylvain Berfini
5b0cfaa137 Added missing C API for file transfer file name 2017-11-07 17:05:35 +01:00
Benjamin Reis
79e6d1ca3c use simple address in remote-conference-event-handler 2017-11-07 16:45:55 +01:00