Commit graph

11648 commits

Author SHA1 Message Date
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
Sylvain Berfini
61d11efdc7 Fixed idmn, composing etc... messages trying to be file uploaded... 2017-11-07 16:38:15 +01:00
Sylvain Berfini
c6894b4c86 Fixed file transfer 2017-11-07 16:28:44 +01:00
Sylvain Berfini
1fa52f708e Forgot to set file size when creating the file transfer informations 2017-11-07 15:55:10 +01:00
Ronan Abhamon
e97502299a fix(object-p): add missing import 2017-11-07 15:52:09 +01:00
Sylvain Berfini
d394880149 Removed cFileTransferContent to use only Content objects in chat-message.cpp for file transfer. Fix upload when not using file body handler to do 2017-11-07 15:40:36 +01:00
Ghislain MARY
120117f7b3 Add the SimpleAddress class to ease the comparison of addresses for the conference participants and the list of chat rooms. 2017-11-07 15:27:09 +01:00
Ronan Abhamon
5e13c30a04 fix(general): avoid usage of void* cast in getPublic helper, very dangerous in multi inheritance case!!! 2017-11-07 14:37:45 +01:00
Sylvain Berfini
31c00aa3df Fixed issue with file + text message 2017-11-07 13:17:55 +01:00
Sylvain Berfini
95ab4ff585 Fixed broken compil due to dumb mistake 2017-11-07 10:25:25 +01:00
Sylvain Berfini
bcfa66e447 Deprecated getText() on ChatMessage + attempt to fix getText() 2017-11-07 10:23:24 +01:00
Ronan Abhamon
f18fcbdf2f feat(c-wrapper): misc =>
- use correct macro in Wrapped DialPlan
  - add a type verification in c object declaration (compil time)
  - reset c back pointer if belle sip object is destroyed before cpp object
2017-11-07 10:13:59 +01:00
Erwan Croze
72442d192d Fix: change reserved keyword on database init 2017-11-07 09:20:13 +01:00
Erwan Croze
e59e06b495 Fix database for mysql 2017-11-07 09:19:58 +01:00
Ronan Abhamon
3df2ee859e feat(c-tools): reset back ptr when belle sip object is destroyed 2017-11-06 18:16:14 +01:00
Ghislain MARY
b0349952fe Fix linphone_chat_room_create_message(). 2017-11-06 17:52:55 +01:00