Commit graph

91 commits

Author SHA1 Message Date
Ghislain MARY
c327a60318 Prevent adding the same address several times in the remote is composing list. 2018-05-18 17:46:26 +02:00
Ghislain MARY
baa4eebbe1 Use correct naming convention in sal API. 2018-05-07 17:47:41 +02:00
Ghislain MARY
38ea7dc357 Send delivery notifications when loading chat rooms from DB if needed. 2018-04-26 11:09:48 +02:00
Ghislain MARY
15b38e3a8b Fix unread chat message count. 2018-04-26 11:09:48 +02:00
Ghislain MARY
71f5d99c44 Retry sending IMDN messages that have not been delivered when the SIP network gets up. 2018-04-26 11:09:47 +02:00
Ghislain MARY
13b9f38e32 Wait for the delivery of IMDN messages before storing the messages' states in DB. 2018-04-26 11:09:47 +02:00
Ghislain MARY
2888e84392 Add ImdnMessage class. 2018-04-26 11:07:21 +02:00
Ghislain MARY
75c981df03 Add IsComposingMessage class. 2018-04-26 11:07:21 +02:00
Ghislain MARY
d1dc223898 Handle imdn namespace and Disposition-Notification header in CPIM. 2018-04-26 11:07:21 +02:00
Ghislain MARY
ae3caf72f2 Fix external body url handling. 2018-04-20 11:52:59 +02:00
Ghislain MARY
711495218a Revert "Revert "Merge branch 'dev_content_cpp' into dev_refactor_cpp""
This reverts commit 2686dca63a.
2018-04-12 11:47:14 +02:00
Jehan Monnier
2686dca63a Revert "Merge branch 'dev_content_cpp' into dev_refactor_cpp"
This reverts commit d7890dbe74, reversing
changes made to e6158d8da5.
2018-04-05 12:08:44 +02:00
Sylvain Berfini
bca906e399 Merge branch 'dev_refactor_cpp' into dev_content_cpp 2018-03-19 17:01:05 +01:00
Ghislain MARY
5ec972c98d Improve Content-Type and Content-Disposition handling. 2018-03-16 14:41:12 +01:00
Sylvain Berfini
bcf1baaff1 Wait for file transfer to be downloaded before sending Displayed IMDN 2018-03-16 11:04:08 +01:00
Sylvain Berfini
3fd55c4a2b Fixes + tests for external body URL 2018-03-15 14:31:57 +01:00
Sylvain Berfini
1207501da2 Started to restore external body url feature in chat message 2018-03-15 14:01:04 +01:00
Ghislain MARY
b9eaf0a7e9 Prevent ChatRoom C++ objects from being leaked. 2018-03-09 10:20:20 +01:00
Benjamin Reis
cf5abd62b7 set Expires=0 for im-iscomposing in order to make sure flexisip doesn't store them 2018-03-05 11:54:44 +01:00
Benjamin Reis
d6c17a1683 add priority header with 'non-urgent' valu to imdn & is-composing 2018-03-05 11:39:38 +01:00
Ghislain MARY
0f55122183 Fix group chat testers broken because of multiple chat room listeners + fix is-composing count in group chat testers + deactivate instable group chat testers for the moment. 2018-02-27 13:45:06 +01:00
Sylvain Berfini
4ba2aa8af0 Added multi listener for ChatRoom 2018-02-22 10:52:23 +01:00
Ronan Abhamon
c300e10f14 fix(ChatRoom): return chat messages in chat room history 2018-02-19 13:55:11 +01:00
Ghislain MARY
d64310cd0c Do not notify is-composing received false state when receiving an is-composing or imdn message. 2018-02-16 16:54:31 +01:00
Benjamin Reis
068cd9ce45 do not fetch device event in chat room history 2018-02-15 13:38:58 +01:00
Ghislain MARY
91bce6e695 Correctly handle IMDN for group chat. 2018-02-14 18:10:38 +01:00
Sylvain Berfini
b5b6ef4545 Added new chat room callback to let app decides whether or not store chat message in database 2018-02-14 11:34:35 +01:00
Ronan Abhamon
fd28664747 feat(ChatRoom): update chat room time on events insertion 2018-02-13 16:32:42 +01:00
Sylvain Berfini
107aa11e13 Added methods to get only a list of ChatMessageEventLog from a ChatRoom 2018-02-13 11:19:49 +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
Sylvain Berfini
e0114d64f5 Fixed chatRoom.markAsRead when called from ChatMessageReceived callback 2018-02-01 14:06:40 +01:00
Sylvain Berfini
d6d9e399c6 Fixed IMDN and isComposing sent being stored in db 2018-02-01 13:04:53 +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
Ghislain MARY
359b7bde4b Handle one-to-one chat rooms and quit the client group chat room when deleting it. 2018-01-25 11:51:20 +01:00
Ronan Abhamon
26ad07a02e feat(core): update date of some files 2018-01-15 09:17:54 +01:00
Benjamin Reis
554ad75cca WORKAROUND set correct cpp pointer to C LinphoneChatRoom 2017-12-22 14:33:31 +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
c0e065bc56 fix(ChatRoom): set state correctly!!! 2017-12-13 13:52:27 +01:00
Ronan Abhamon
98e5be44d1 fix(chat-room): avoid recursive call 2017-12-13 12:08:54 +01:00
Ronan Abhamon
dbb43562f7 feat(ChatRoom): add BasicToClientGroupChatRoom impl (todo: migration algorithm) 2017-12-12 16:07:49 +01:00
Ronan Abhamon
87ca435ad7 fix(ChatRoom): clean code (again) 2017-12-12 16:07:49 +01:00
Ronan Abhamon
6dd3833bc1 fix(ChatRoom): clean some pieces of code and reorder functions, onXXX, notifyXXX... 2017-12-12 16:07:49 +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
Benjamin Reis
7d6fc05459 setImdnMessageId is now private 2017-12-06 13:35:04 +01:00
Erwan Croze
c865794cac Disable message storage on server side 2017-12-05 13:52:08 +01:00
Ghislain MARY
8783aca2db No longer need cCore property in Core C++ object. 2017-12-04 16:59:03 +01:00
Ronan Abhamon
eb5ab27326 fix(core): rename some methods => Do not set a plural noun before "Count"!!! 2017-12-04 15:29:01 +01:00
Ghislain MARY
181bfa2ec9 Change the chat room instantiated callback to chat room state changed. 2017-12-04 15:12:25 +01:00