Commit graph

608 commits

Author SHA1 Message Date
Benjamin Reis
e9a88353a0 fix mark as read on basic chat room 2018-06-04 13:27:20 +02:00
Simon Morlat
2f5ddf8f14 Fix bug in the method checking the validity of DateTime CPIM header. 2018-05-31 13:49:05 +02:00
Mickaël Turnel
2857b8fc11 Improved CpimMessage checking when adding a header 2018-05-30 14:46:24 +02:00
Benjamin Reis
835d54adde factorize access to resource code 2018-05-28 15:57:03 +02:00
Mickaël Turnel
2ae73cb39c Changed charset conversion function from 'any to any' to 'any to utf8'
Update bctoolbox for this commit to work
2018-05-28 10:26:43 +02:00
Ronan Abhamon
503585ac06 fix(MainDb): store basic chat room participants 2018-05-28 09:28:07 +02:00
Ghislain MARY
f2b54a6bbb Fix build on Android with NDK 15. 2018-05-22 15:29:48 +02:00
Ronan Abhamon
954a1a9cd5 fix(core): add many workarounds to build on Windows... 2018-05-22 09:40:48 +02:00
Ghislain MARY
c327a60318 Prevent adding the same address several times in the remote is composing list. 2018-05-18 17:46:26 +02:00
Ronan Abhamon
4d084078f4 fix(core): many fixes for Windows => include iterator, cast bool_t/bool, symbol export... 2018-05-17 11:31:34 +02:00
Ronan Abhamon
3dede7ccda fix(core): fix downloadFile method, returns bool instead of int! There is no reason to return -1 on error like a C function 2018-05-17 11:23:30 +02:00
Ghislain MARY
97085209ca Add callbacks to notify joining/leaving of a chat room. 2018-05-17 10:09:19 +02:00
Ghislain MARY
e682a3b1f5 Fix issue 4893: After being re-invited in a chat room, when the device is restarted nothing can be done in the chat room.
Store the conference created event in DB and update the notify id in DB if insertion of the chat room is requested but it is already stored.
2018-05-16 15:34:46 +02:00
Ghislain MARY
575069db12 Correctly handle LinphoneEvent object and unsubscribe correctly for client group chat rooms that do not use list subscription. 2018-05-14 16:08:09 +02:00
Ghislain MARY
5d6fbe9e3c Merge branch 'dev_refactor_cpp' into dev_chatroom_list_subscription 2018-05-14 16:07:29 +02:00
Ghislain MARY
044ad7be6d Use bool type instead of bool_t where possible. 2018-05-11 18:02:36 +02:00
Benjamin Reis
e4422ca7e6 Merge branch 'dev_refactor_cpp' into dev_chatroom_list_subscription 2018-05-09 16:19:26 +02:00
Ghislain MARY
bad6d9e9e1 Fix IMDN sending in the case where it cannot be aggregated. 2018-05-09 14:48:49 +02:00
Ghislain MARY
834cf06a91 Don't pretty print IMDN and is-composing xml for compatibility with old implementation. 2018-05-09 11:10:20 +02:00
Ghislain MARY
baa4eebbe1 Use correct naming convention in sal API. 2018-05-07 17:47:41 +02:00
Benjamin Reis
670fee6809 fix testers 2018-05-07 17:17:39 +02:00
Benjamin Reis
60c83540c6 do not subscribe twice for same chat room 2018-05-07 14:01:10 +02:00
Ghislain MARY
4170acf9e6 Terminate client group chat rooms only when the call session reaches the released state. 2018-05-07 11:38:07 +02:00
Benjamin Reis
04bff71ae0 Merge branch 'dev_refactor_cpp' into dev_chatroom_list_subscription 2018-05-07 11:12:25 +02:00
Benjamin Reis
1c1ad84638 fix testers 2018-05-07 10:33:27 +02:00
Benjamin Reis
6a5190d947 fix IMDN, do not clear imdn to be sent until we receive the 200OK 2018-05-04 15:54:52 +02:00
Ghislain MARY
e60e2d4f2b Fix real time text messages storage. 2018-05-02 15:43:39 +02:00
Ghislain MARY
149fd7bfcc Allow parsing of CPIM with wrong "Content-type: Message/CPIM" header. 2018-04-30 10:24:53 +02:00
Ghislain MARY
fc852805fa Check keywords before setting the OneToOne capability on a ClientGroupChatRoom. 2018-04-27 18:15:15 +02:00
Ghislain MARY
550502650a Simplify API to get IMDN message state for each participants. 2018-04-27 18:01:15 +02:00
Sylvain Berfini
38b6a410bc Replace 500 by 488 if CPIM is wrongly formatted 2018-04-27 15:26:44 +02:00
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