Commit graph

35 commits

Author SHA1 Message Date
Ghislain MARY
50f4e52966 Store chat message in database before file upload so that if the file upload fails we can try sending the chat message an other time. 2017-02-03 15:29:40 +01:00
Sylvain Berfini
2b407fabfa Fixes for LIME when used with file body handler (requires belle-sip 1.5.0-133 or newer) 2017-01-18 12:46:14 +01:00
Sylvain Berfini
030b1c05d5 Fixed callback issue with file body handler if file is big enough + improved tester 2017-01-17 11:56:11 +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
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
Benjamin Reis
cb4c3fd694 Add background task for file transfer 2017-01-02 16:59:20 +01:00
Ghislain MARY
563bb427b0 Fix IM encryption engine for automatic wrapper generation. 2016-12-19 11:56:37 +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
a47db2730e Using new start/stop callbacks from user body handler to simplify code
(requires belle-sip commit 288dc8ede808a0033aaf5da4add7b11f034c82f8 from dev_body_handler_inception branch)
2016-11-15 14:11:47 +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
395c81f69a Added encryption callbacks for file upload in im encryption engine 2016-11-10 15:44:32 +01:00
Sylvain Berfini
127d52d72d Reworked API for im encryption engine for file download + added test for file body handler 2016-11-09 17:26:55 +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
Gautier Pelloux-Prayer
76ae2dc43a fix some crash 2016-08-29 10:04:29 +02:00
Ghislain MARY
1ec714cc96 Fix build with Visual Studio. 2016-07-20 09:58:06 +02:00
Gautier Pelloux-Prayer
dce962bf58 fix leaks 2016-07-19 12:20:24 +02:00
Sylvain Berfini
554635c53b Fix crash when downloading chat message encrypted with lime using file body handler 2016-07-15 17:03:16 +02:00
Gautier Pelloux-Prayer
0e082f1a40 chat: improve message_tester suites and fix memory leaks 2016-06-16 11:25:40 +02:00
Gautier Pelloux-Prayer
cb9816e9fb lime.c: implement "preferred" mode 2016-05-31 16:08:35 +02:00
Simon Morlat
6f18af09e5 fix crash 2016-03-06 21:32:58 +01:00
Gautier Pelloux-Prayer
55900bbf66 chat: add possibility to use Lime conditionnally (when secrets have been shared only) 2016-02-25 11:30:44 +01:00
Jehan Monnier
2a455a5fc7 remove some warnings 2016-01-19 15:39:31 +01:00
Ghislain MARY
b5e52a00ad Reflect changes to belle-sip that add a new parameter to belle_sip_muiltpart_body_handler_new(). 2015-11-25 16:04:49 +01:00
Gautier Pelloux-Prayer
d9a2fb2e08 chat_file_transfer.c: handle 4XX errors when trying to download image andlinphone_chat_message_cancel_file_transfer should change message state only if it was being pushed/pulled 2015-11-18 11:52:47 +01:00
Gautier Pelloux-Prayer
c4cb4d2767 chat_file_transfer.c: mark file transfer as failed if server answer is empty, probably meaning that request timeouted 2015-10-07 14:37:13 +02:00
Simon Morlat
da0cc3423b prevent application to perform concurrent download/upload on a single chat message by accident 2015-10-06 18:32:20 +02:00
Sylvain Berfini
982c96847d Set a temporary time when creating a chat message 2015-10-05 10:24:16 +02:00
Simon Morlat
8a7cfe66d6 don't notify a NotDelivered state if an incoming file transfer fails 2015-10-04 21:14:16 +02:00
Ghislain MARY
61ac1f8173 Fix compilation warnings when building for Windows 10. 2015-10-01 14:29:00 +02:00
Simon Morlat
489a5f3b8e don't cancel an http request that is already terminated 2015-09-23 23:21:06 +02:00
Simon Morlat
76263deaff fix crash in linphone_core_destroy() when releasing the chat rooms while belle_sip_provider_t no longer exists, and fix many memory leaks 2015-09-22 22:43:31 +02:00
Gautier Pelloux-Prayer
461876a9a3 chat.c: split chat and file transfer in 2 files and fix various memory leaks 2015-09-22 14:03:26 +02:00