Commit graph

110 commits

Author SHA1 Message Date
Sylvain Berfini
dbdbeaa46f Added and using isFileTransfer 2018-02-08 17:38:16 +01:00
Ronan Abhamon
450548f612 fix(core): add missing content.h include 2018-02-08 16:28:48 +01:00
Sylvain Berfini
96c01f7052 More work 2018-02-08 13:06:39 +01:00
Sylvain Berfini
122098ac04 More work on C/C++ Contents 2018-02-08 11:24:30 +01:00
Ghislain MARY
e2ca3cbbeb Prevent encryption of IMDN messages signaling an error. 2018-02-01 17:42:42 +01:00
Ghislain MARY
ae93514982 Add canHandleMultipart() method on chat rooms. 2018-02-01 16:30:38 +01:00
Ghislain MARY
2d97f5ded9 Fix iterator bug in send() method of ChatMessagePrivate. 2018-02-01 15:40:51 +01:00
Sylvain Berfini
6a4eb317f4 Removed useless param 2018-02-01 13:39:47 +01:00
Sylvain Berfini
d6d9e399c6 Fixed IMDN and isComposing sent being stored in db 2018-02-01 13:04:53 +01:00
Sylvain Berfini
3b64a06c3b Fixed legacy getText method on ChatMessage 2018-02-01 10:31:59 +01:00
Sylvain Berfini
1f2f1deb5e Fixed old API setText and setContentType on ChatMessage 2018-01-31 17:46:01 +01:00
Sylvain Berfini
a64dc54e7a Fixes for chat message when using custom content type and encryption 2018-01-31 17:00:51 +01:00
Ghislain MARY
7c4533b8fc Restore the ability for a user to define if a ChatMessage is to be stored or not. 2018-01-31 16:53:09 +01:00
Sylvain Berfini
2156bb3d45 Fixed issue with encryption 2018-01-31 15:26:20 +01:00
Sylvain Berfini
8cd317c30a Fixed issue with IM delivery notifications 2018-01-31 13:00:18 +01:00
Sylvain Berfini
adc88d0965 Improved condition used to store messages or not 2018-01-31 11:58:10 +01:00
Ghislain MARY
e415dbacb9 Fix wrong handling of MessageOp in ChatMessage (it needs to be able to survive to the destruction of the ChatMessage). 2018-01-31 11:27:52 +01:00
Sylvain Berfini
30f90763c4 Improve isFile use in Contents for FileTransfer 2018-01-30 14:56:59 +01:00
Sylvain Berfini
10564ec12d Improved ChatMessage setText and setContentType from old API 2018-01-30 14:35:22 +01:00
Ghislain MARY
03853c8b14 Fix memory leak of ChatMessage. 2018-01-29 18:07:53 +01:00
Mickaël Turnel
acd77eba5f A message is always sent as UTF-8 2018-01-25 10:34:50 +01:00
Sylvain Berfini
404e213cc4 Log an error and abort sending chat message without any content 2018-01-23 13:57:56 +01:00
Sylvain Berfini
cb41aa0482 Changed order of chat message modifier for LIME v2 2018-01-16 14:41:04 +01:00
Ronan Abhamon
26ad07a02e feat(core): update date of some files 2018-01-15 09:17:54 +01:00
Sylvain Berfini
3a39020f81 Added canHandleCpim method on chat rooms to know whether or not send Cpim messages through it 2018-01-11 17:23:26 +01:00
Sylvain Berfini
798c9502ff Yet another leak fixed 2018-01-10 11:48:08 +01:00
Ghislain MARY
4cc7985da9 Correctly define call session state enumeration. 2017-12-28 12:43:56 +01:00
Ghislain MARY
2155541742 Handle callbacks in ProxyChatRoom. 2017-12-27 10:27:50 +01:00
Benjamin Reis
554ad75cca WORKAROUND set correct cpp pointer to C LinphoneChatRoom 2017-12-22 14:33:31 +01:00
Ghislain MARY
5ff2076896 Handle basic to client group chat room migration. 2017-12-21 18:48:39 +01:00
Ronan Abhamon
9604156ab1 feat(utils): add a toString function for enums 2017-12-21 11:45:33 +01:00
Ronan Abhamon
54980b5267 feat(enum-generator): provide two functions getEnumNameAsString and getEnumValueAsString 2017-12-20 10:45:05 +01:00
Benjamin Reis
a3325dbd4f store in db when updating chat message app data 2017-12-18 15:14:06 +01:00
Ronan Abhamon
03c581bee7 fix(ChatMessage): coding style and add commentary 2017-12-15 11:19:55 +01:00
Mickaël Turnel
de04087a34 Contents of type text are now converted to UTF-8 at reception 2017-12-15 10:38:28 +01:00
Ronan Abhamon
d8b0a722dc fix(callbacks): do not unref chat messagegit status! It's a shared ptr now!!! 2017-12-14 11:15:07 +01:00
Ronan Abhamon
3454bd3aa6 fix(ChatRoom): clean some pieces of code in Abstract and ServerGroupChatRoom (stub) 2017-12-12 16:07:49 +01:00
Ronan Abhamon
9258c5f145 feat(ChatRoom): provide an abstract chat room for chat room migration proxy 2017-12-12 16:07:49 +01:00
Sylvain Berfini
1614e6c126 Fixed encryption when using old chat rooms + fixed decrypt async mechanism in chat message reception + fixed async b64 tester 2017-12-11 13:14:58 +01:00
Sylvain Berfini
badd672bd9 Do not multipart, encrypt or encapsulate with CPIM in an old ChatRoom to maintain backward compatibility 2017-12-06 15:32:08 +01:00
Benjamin Reis
7d6fc05459 setImdnMessageId is now private 2017-12-06 13:35:04 +01:00
Sylvain Berfini
52f13d34d0 Revert "Also set appData to FileTransfer contents"
This reverts commit cac63d006f.
2017-12-05 17:03:22 +01:00
Sylvain Berfini
cac63d006f Also set appData to FileTransfer contents 2017-12-05 16:24:42 +01:00
Sylvain Berfini
c48f0f70b5 Fixed fileTransferContent values not being set from content's body when fetched from db 2017-12-05 15:37:05 +01:00
Ronan Abhamon
8f1ee5a06d fix(ChatMessage): use "legacy" key instead of "app" for content app data 2017-12-05 15:24:21 +01:00
Benjamin Reis
c91dc4b5ef fix crash in file transfer 2017-12-05 13:55:48 +01:00
Erwan Croze
c865794cac Disable message storage on server side 2017-12-05 13:52:08 +01:00
Sylvain Berfini
f04c4a40e1 Fix old chat_message_set_app_data api 2017-12-05 11:23:44 +01:00
Sylvain Berfini
7e6b57a049 Small improvement of setState on ChatMessage in reception 2017-12-01 10:26:11 +01:00
Ronan Abhamon
6b02c99f77 fix(ChatMessage): remove useless code 2017-11-29 15:18:55 +01:00