Commit graph

218 commits

Author SHA1 Message Date
Ghislain MARY
e34327f58f Handle IM notification policy. 2017-01-03 14:56:56 +01:00
Ghislain MARY
f9ae431782 The (is_)read field of a LinphoneChatMessage is now deprecated, the LinphoneChatMessageStateDisplayed state is used instead. 2017-01-03 14:56:17 +01:00
Ghislain MARY
7889b0610b Store weak references of chat messages in the chat room to be able to returned the same LinphoneChatMessage object to the application. 2017-01-03 14:56:17 +01:00
Ghislain MARY
410f5b9e1c Revert message callbacks moved to LinphoneChatRoom instead of LinphoneChatMessage. 2017-01-03 14:56:17 +01:00
Ghislain MARY
9867c2fee7 Send and receive imdn. 2017-01-03 14:56:17 +01:00
Sylvain Berfini
41b9cf9c67 Fix allocs and frees in lime 2017-01-03 12:29:39 +01:00
Sylvain Berfini
97a73f1c60 Added message test 2016-12-20 15:52:27 +01:00
Sylvain Berfini
5eb5ea3473 Fixed RTT character not being freed correctly + RTT test with SRTP failing if SRTP not available 2016-12-15 15:26:09 +01:00
Simon Morlat
5d73bb8232 fix undefined prototypes (makes error in windows build) 2016-12-10 18:20:30 +01:00
Sylvain Berfini
835f9e4334 Clean temporary files created by Message suite in tester 2016-12-07 17:20:48 +01:00
Sylvain Berfini
85d8e09d59 Call IM Encryption Engine outoing & incoming callbacks also for composing messages, but do nothing with lime + test 2016-12-05 12:07:11 +01:00
Simon Morlat
a878da624f fix compilation issues when sqlite storage is disabled 2016-12-03 13:28:14 +01:00
Sylvain Berfini
9a26b72164 Merge remote-tracking branch 'private/dev_im_encryption_engine' 2016-12-01 11:12:10 +01:00
Ghislain MARY
33b72ce6b5 Move public header files in the include/linphone directory. 2016-11-15 14:41:18 +01:00
Sylvain Berfini
8aa812b133 Fixed uploaded file not being encrypted when using file body handler for upload
(requires commit e69a6d2c1b3edb0dff47f072e1cddc6ded06eaba from belle-sip branch dev_body_handler_inception)
2016-11-15 12:21:16 +01:00
Sylvain Berfini
d3333be071 More tests for lime file transfer + few improvements 2016-11-14 16:49:22 +01:00
Sylvain Berfini
e51fee9e5b Fixed some message tests by removing previously downloaded file 2016-11-14 14:39:50 +01:00
Sylvain Berfini
b45e6dcc8d Added remove custom header method for chat message + test 2016-11-14 11:39:10 +01:00
Sylvain Berfini
2a6e7ce241 Added more transfer tests to try all four combinations of upload/download body handlers 2016-11-10 15:56:42 +01:00
Sylvain Berfini
e8258de05b Merge remote-tracking branch 'origin/master' into dev_im_encryption_engine 2016-11-09 18:00:43 +01:00
Sylvain Berfini
7f9c7dcbf9 Added file body handler message tests for non-lime messages as well 2016-11-09 17:45:17 +01:00
Sylvain Berfini
4cb2ddcfad Forgot to commit changes to message_tester 2016-11-09 17:27:53 +01:00
Sylvain Berfini
c284239d54 Added callbacks in im encryption engine for decrypting incoming files in chat messages + improved lime test to check decrypted file is equal to sent one 2016-11-07 16:32:09 +01:00
Simon Morlat
29db7d5fdb fix memory leak 2016-11-05 00:06:51 +01:00
Sylvain Berfini
2c905e4cde Started im encryption engine, process incoming message with lime seems to work 2016-11-04 12:02:23 +01:00
Ghislain MARY
9a23352c4c Stricter compilation options + new compilation error fixes. 2016-10-19 17:31:07 +02:00
Sylvain Berfini
05cf0889ea Revert to old auth_info_requested callback and added a new one instead 2016-09-21 13:03:23 +02:00
Sylvain Berfini
f575f94bb4 Added methods to set TLS certificate/key on LinphoneAuthInfo + updated auth_info_requested callback 2016-09-20 12:44:43 +02:00
Ghislain MARY
7d9a8dfeca Remove wrong #if HAVE_SRTP. 2016-07-19 13:02:43 +02:00
Gautier Pelloux-Prayer
dce962bf58 fix leaks 2016-07-19 12:20:24 +02:00
Ghislain MARY
300c8b8737 Fix build for Windows 10. 2016-07-04 15:20:13 +02:00
Jehan Monnier
71b9fc8300 fix lime unitary test when lime is not available 2016-06-23 18:41:58 +02:00
Jehan Monnier
2c70954130 avoid crash for tester: file_transfer_2_messages_simultaneously 2016-06-23 17:55:20 +02:00
Jehan Monnier
f87664d5b1 fix compilation issue 2016-06-23 15:34:01 +02:00
Jehan Monnier
144743535d Merge remote-tracking branch 'origin/3.10.x' 2016-06-23 14:15:38 +02:00
Ghislain MARY
400404fc2a Replace MSList by bctbx_list_t in tools and tester. 2016-06-16 18:32:21 +02:00
Ghislain MARY
c13647f8bd Treat warnings as errors on Windows. 2016-06-16 12:23:53 +02:00
Gautier Pelloux-Prayer
0e082f1a40 chat: improve message_tester suites and fix memory leaks 2016-06-16 11:25:40 +02:00
Sylvain Berfini
5aa18ce2f9 Replace old MSG_STORAGE_ENABLED and CALL_LOGS_STORAGE_ENABLED by SQL_STORAGE_ENABLED 2016-06-14 11:11:32 +02:00
Sylvain Berfini
71125c17d5 Replace old MSG_STORAGE_ENABLED and CALL_LOGS_STORAGE_ENABLED by SQL_STORAGE_ENABLED 2016-06-14 11:10:00 +02:00
Gautier Pelloux-Prayer
a48fa8d01b message_tester.c: increase DNS SRV resolution timeout 2016-06-13 12:35:10 +02:00
Gautier Pelloux-Prayer
d34fcc2cfd message_tester.c: increase DNS SRV resolution timeout 2016-06-13 12:34:59 +02:00
Sylvain Berfini
e525116280 Prevent tester from crashing if error in openning database file 2016-06-13 10:57:23 +02:00
Sylvain Berfini
d88b44a537 Prevent tester from crashing if error in openning database file 2016-06-13 09:36:56 +02:00
Jehan Monnier
d8158669f3 add tests for lime & file transfer 2016-06-09 15:14:46 +02:00
Simon Morlat
e67e881283 change prototype of lime_freeKeys() to avoid passing a full structure by copy. 2016-06-01 19:39:21 +02:00
Sylvain Berfini
0265fb112f Robustified a test 2016-05-11 08:52:10 +02:00
Sylvain Berfini
b2ef61c6e5 Added test to check [misc] store_rtt_messages=0 2016-05-06 15:41:28 +02:00
Sylvain Berfini
8fdfb4160a Improved chat_message_put_char method to store message if end of line character is passed + improved tester 2016-05-06 15:17:57 +02:00
Gautier Pelloux-Prayer
f40b398e2c misc: fix compilation warnings on iOS 2016-04-25 10:39:30 +02:00