Commit graph

12764 commits

Author SHA1 Message Date
Sylvain Berfini
90ca06096c Fixed multiple file transfer in same message issue 2018-04-26 14:53:42 +02:00
Ronan Abhamon
b537254c7b fix(localplayer): destroy correctly ms player 2018-04-26 14:34:52 +02:00
Ronan Abhamon
df0f8cfa9c fix(friendlist): avoid memory leaks in linphone_friend_list_find_friend_by_ref_key 2018-04-26 12:13:00 +02:00
Ghislain MARY
82c9fc9260 Merge branch 'dev_imdn_optimization' into dev_refactor_cpp 2018-04-26 11:24:06 +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
6a119f971f Do not notify message delivery if the core is being shut down. 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
babbd33142 Store if we have to send a delivery and/or display notification for a message in DB. 2018-04-26 11:09:47 +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
d0a8b3f15c Correctly set Content-Disposition header on multipart content. 2018-04-26 11:09:47 +02:00
Ghislain MARY
035503cd53 Add new imdn in group chat tester. 2018-04-26 11:07:21 +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
f4f642a4d5 Add utility method to join a vector of strings into a single string. 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
Jehan Monnier
5ab6c928f2 add missing rc file to CMakeLists.txt 2018-04-26 10:33:19 +02:00
Ronan Abhamon
ea2e4f75cc fix(cpim-tester): avoid memory leaks + invalid reads 2018-04-25 17:45:22 +02:00
Ronan Abhamon
89fb96837b fix(content-manager): avoid memory leak in multipartToContentList 2018-04-25 17:24:24 +02:00
Jehan Monnier
a8a5e1ef90 disable test: sequential_forking_with_fallback_route 2018-04-25 17:20:13 +02:00
Ronan Abhamon
ce2b853bae fix(Logging): free log handler, avoid memory leak 2018-04-25 17:19:06 +02:00
Ronan Abhamon
19137ae9f7 fix(content-manager): avoid memory leak in multipartToContentList 2018-04-25 16:55:05 +02:00
Ronan Abhamon
ab47110568 fix(c-content): avoid memory leak in sal_body_handler_from_content 2018-04-25 16:54:43 +02:00
Ronan Abhamon
6fcc907636 fix(ContentManager): avoid memory leak in contentListToMultipart 2018-04-25 16:45:53 +02:00
Ronan Abhamon
94abc31172 fix(logging): unref correctly in linphone_logging_service_unref 2018-04-25 16:25:21 +02:00
Ronan Abhamon
4958c62194 fix(linphonecore): avoid leaks when missing codecs are added 2018-04-25 16:18:04 +02:00
Ghislain MARY
86614b1a15 Fix handling of file transfer content key. 2018-04-25 14:52:25 +02:00
Ronan Abhamon
db15df1b2d fix(MainDb): do not use == in sql query 2018-04-25 12:10:12 +02:00
Ronan Abhamon
838fdcc342 fix(c-magic-search): add missing const on delimiter parameter in linphone_magic_search_set_delimiter 2018-04-25 12:01:44 +02:00
Ronan Abhamon
f2924982ed chore(doc): fix bad doc in many places + set right types when needed 2018-04-25 11:32:27 +02:00
Ronan Abhamon
1548254bea fix(Utils): getTmAsTimeT must return time_t 2018-04-25 11:32:27 +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
ca39d51bcb Delete client group existing one-to-one chat rooms at start-up to use basic chat rooms instead for the moment. 2018-04-25 11:30:03 +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
Sylvain Berfini
03520fcd52 Fixed group chat's Send File + Text message test 2018-04-24 18:11:20 +02:00
Jehan Monnier
95cac9b579 fix flexisip tester 2018-04-24 17:21:40 +02:00
Jehan Monnier
fab2fc3a91 fix flexisip test to avoid crash in case of failure 2018-04-24 17:21:40 +02:00