Commit graph

558 commits

Author SHA1 Message Date
Ghislain MARY
28df97f934 Do not include the sender of the message when getting its IMDN state. 2018-04-27 14:18:21 +02:00
Ghislain MARY
065dbf970f Prevent sent IMDN messages from being notified to the application. 2018-04-27 14:17:47 +02:00
Ghislain MARY
b60346b25b Generate smaller xml content for IMDN if possible. 2018-04-27 09:15:33 +02:00
Ghislain MARY
251147589c Improve CPIM chat message modifier with better use of CPIM parser. 2018-04-27 08:53:34 +02:00
Ghislain MARY
84afb118b3 Improve CPIM grammar. 2018-04-27 08:53:34 +02:00
Ghislain MARY
a0e4043217 Some cleaning in CPIM parser. 2018-04-27 08:53:34 +02:00
Mickaël Turnel
daddec29d8 Changed Cpim message to be able to return headers from a specific namespace 2018-04-27 08:53:34 +02:00
Mickaël Turnel
55909fbe16 Change setters from bool to void and fix crash when a specific header is malformed 2018-04-27 08:53:34 +02:00
Mickaël Turnel
17d196447e struct tm month is 0 to 11 2018-04-27 08:53:34 +02:00
Mickaël Turnel
31b9e4589f Removed useless asserts 2018-04-27 08:53:34 +02:00
Mickaël Turnel
b687bf9d68 Removed CPIM headers 2018-04-27 08:53:34 +02:00
Mickaël Turnel
4ec0c6eda4 Changed rules to parse specific headers directly 2018-04-27 08:53:34 +02:00
Mickaël Turnel
6e0a7ae397 Add specific headers 2018-04-27 08:53:34 +02:00
Sylvain Berfini
90ca06096c Fixed multiple file transfer in same message issue 2018-04-26 14:53:42 +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
9b0d705ee0 Add config parameter to be able to disable aggregation of IMDN. 2018-04-26 11:09:48 +02:00
Ghislain MARY
4223dbbc5a Fix memory leaks in IMDN handler. 2018-04-26 11:09:48 +02:00
Ghislain MARY
ae0bbc7ef8 Fix IMDN handling for chat rooms that do not use CPIM. 2018-04-26 11:09:48 +02:00
Ghislain MARY
1041cdb5da Do not aggregate IMDN for basic chat rooms. 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
aedd2dd2c1 Start a background task during the imdn timeout. 2018-04-26 11:09:47 +02:00
Ghislain MARY
9c673a435c Use xsd for is-composing xml handling. 2018-04-26 11:09:47 +02:00
Ghislain MARY
9c4cd6cd60 Use xsd for imdn xml handling. 2018-04-26 11:09:47 +02:00
Ghislain MARY
41259c585a Compress body of imdn and is-composing messages. 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
536d4d324a Remove Message-ID header specific parsing in cpim grammar. 2018-04-26 11:07:21 +02:00
Ghislain MARY
dfde23f205 Handle IMDN negative-delivery. 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
9c80965f1e Add missing Content-Length header in CPIM. 2018-04-26 11:07:21 +02:00
Ghislain MARY
94e53a4e22 Add Content-Disposition header for IMDN messages. 2018-04-26 11:07:21 +02:00
Ghislain MARY
86614b1a15 Fix handling of file transfer content key. 2018-04-25 14:52:25 +02:00
Ghislain MARY
9c461f5fc0 Activate body compression of INVITE used to create a client group chat room. 2018-04-25 11:30:08 +02:00
Ghislain MARY
93bfa1e20c Remove buggy Content-Type header in CPIM messages. 2018-04-25 10:25:36 +02:00
Ghislain MARY
402bba9df7 Use REFER to add a new participant to a client group chat room. 2018-04-25 10:14:10 +02:00
Ronan Abhamon
c359665681 fix(ChatMessage): avoid memory leak at destruction it it exists file content on one file transfer content 2018-04-24 17:17:16 +02:00
Ronan Abhamon
80e29dd7e6 fix(c-content): avoid many memory leaks 2018-04-24 14:52:35 +02:00
Ronan Abhamon
4b54286a72 fix(setup-tester): clean a lot of leaks in Setup 2018-04-24 12:21:53 +02:00
Sylvain Berfini
8f014cb061 Fixed issues with LIME v1 2018-04-24 12:21:53 +02:00
Ghislain MARY
ae3caf72f2 Fix external body url handling. 2018-04-20 11:52:59 +02:00
Ronan Abhamon
76dd2cce75 fix(cpim-parser): coding style, use C++ style, not C 2018-04-18 15:12:53 +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
Ghislain MARY
6b19ae1b6f Add callback on chat message to notify participant IMDN state change. 2018-04-11 15:47:20 +02:00
Ghislain MARY
b76886ddbb Enable storage of chat message participant state for basic chat rooms and if simple group chat message state is activated. 2018-04-11 15:47:20 +02:00
Sylvain Berfini
07a7eec84c Fixed basic chat room constructor causing it to not store participants in db 2018-04-11 14:48:58 +02:00
Ghislain MARY
c808560ed5 Do not enable simple group chat message state by default. 2018-04-11 14:22:34 +02:00
Ghislain MARY
ad786fd2e6 Handle imdn even for incoming messages. 2018-04-11 14:10:50 +02:00
Ghislain MARY
532c64bfc4 Add API to get the imdn state of a chat message for each participant. 2018-04-10 17:53:12 +02:00