Commit graph

50 commits

Author SHA1 Message Date
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
044ad7be6d Use bool type instead of bool_t where possible. 2018-05-11 18:02:36 +02:00
Sylvain Berfini
90ca06096c Fixed multiple file transfer in same message issue 2018-04-26 14:53:42 +02:00
Ghislain MARY
86614b1a15 Fix handling of file transfer content key. 2018-04-25 14:52:25 +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
711495218a Revert "Revert "Merge branch 'dev_content_cpp' into dev_refactor_cpp""
This reverts commit 2686dca63a.
2018-04-12 11:47:14 +02:00
Jehan Monnier
2686dca63a Revert "Merge branch 'dev_content_cpp' into dev_refactor_cpp"
This reverts commit d7890dbe74, reversing
changes made to e6158d8da5.
2018-04-05 12:08:44 +02:00
Sylvain Berfini
472f010e81 Fixed leak of LinphoneContent 2018-03-20 11:44:53 +01:00
Sylvain Berfini
de6283928d Fixed issue with merge 2018-03-19 17:26:35 +01:00
Sylvain Berfini
bca906e399 Merge branch 'dev_refactor_cpp' into dev_content_cpp 2018-03-19 17:01:05 +01:00
Sylvain Berfini
23287aae21 Forgot ; 2018-03-15 15:25:43 +01:00
Sylvain Berfini
5fb17f6598 Split first line of fake xml in two 2018-03-15 15:06:35 +01:00
Sylvain Berfini
a36a3c55cf Finished fake file transfer xml from external body url 2018-03-15 14:43:53 +01:00
Sylvain Berfini
1207501da2 Started to restore external body url feature in chat message 2018-03-15 14:01:04 +01:00
Jehan Monnier
261b0f195a fix crash when destroying LinphoneCore during file upload 2018-03-14 08:21:36 +01:00
Simon Morlat
18696f2ad2 Fix background task usage when receiving a REFER to join a chatroom.
Add a timeout, because on Android wake locks have no limit in time. The timeout will secure that whatever happens, the wake lock is always released after a reasonable time.
2018-03-09 22:14:05 +01:00
Jehan Monnier
18d0c4ad20 improve message tester for file transfer 2018-03-07 17:16:27 +01:00
Sylvain Berfini
12f0e6c1ed Fixed issue when downloading a file from a chat message loaded from database (and thus locked) 2018-03-07 13:29:15 +01:00
Ghislain MARY
91bce6e695 Correctly handle IMDN for group chat. 2018-02-14 18:10:38 +01:00
Sylvain Berfini
dbdbeaa46f Added and using isFileTransfer 2018-02-08 17:38:16 +01:00
Ronan Abhamon
450548f612 fix(core): add missing content.h include 2018-02-08 16:28:48 +01:00
Benjamin Reis
017f4790b0 use BackgroundTask object instead of call directly sal API 2018-02-08 15:45:30 +01:00
Sylvain Berfini
96c01f7052 More work 2018-02-08 13:06:39 +01:00
Sylvain Berfini
122098ac04 More work on C/C++ Contents 2018-02-08 11:24:30 +01:00
Sylvain Berfini
6603446382 Started to get back LIME working for file transfer 2018-02-07 17:01:54 +01:00
Ghislain MARY
7481f76ba2 Some cleaning in FileTransferChatMessageModifier. 2018-02-01 15:41:51 +01:00
Benjamin Reis
570f927eca do not crash on empty char* in logger 2018-02-01 14:08:40 +01:00
Ghislain MARY
e1c7e698dc Fix crash in message tester. 2018-01-31 17:34:14 +01:00
Ghislain MARY
8b8aa32697 Some cleaning in FileTransferChatMessageModifier. 2018-01-30 17:00:35 +01:00
Ghislain MARY
1bcab84da4 More fixes for message tester. 2018-01-30 15:54:04 +01:00
Sylvain Berfini
30f90763c4 Improve isFile use in Contents for FileTransfer 2018-01-30 14:56:59 +01:00
Ghislain MARY
03853c8b14 Fix memory leak of ChatMessage. 2018-01-29 18:07:53 +01:00
Ronan Abhamon
26ad07a02e feat(core): update date of some files 2018-01-15 09:17:54 +01:00
Sylvain Berfini
4dd100a061 Handle 400 returned by lft script if file is too large 2018-01-12 16:58:10 +01:00
Ronan Abhamon
594d71d78f fix(FileTransferChatMessageModifier): use delete instead of free on content 2018-01-11 15:09:32 +01:00
Ronan Abhamon
09a4f83736 fix(private_functions): remove a lof of unused functions on chat messages 2017-12-19 16:51:31 +01:00
Sylvain Berfini
7811dfa376 Added size information to FileTransferContent 2017-12-18 14:02:06 +01:00
Ronan Abhamon
225b7a6781 fix(FileTransferChatMessageModifier): camel case ;) 2017-12-08 11:13:31 +01:00
Ronan Abhamon
d2ec19ac7e fix(FileTransferChatMessageModifier): check if file url is null before string construction! 2017-12-08 11:12:17 +01:00
Ronan Abhamon
f6a6edc787 fix(file-transfer-chat-message-modifier): test if transfer server is null 2017-11-27 15:43:33 +01:00
Sylvain Berfini
8a0b066960 Changes in transient messages in chat room, replaced by transient event logs 2017-11-24 10:44:20 +01:00
Ronan Abhamon
105e63f271 feat(core): provide a local address on chat room (the core is dead now) 2017-11-15 14:47:06 +01:00
Sylvain Berfini
f1f84e7c60 Changes & improvements for FileTransfer 2017-11-09 13:00:21 +01:00
Sylvain Berfini
b764f9bb60 Removed appData in ChatMessage 2017-11-09 12:36:49 +01:00
Sylvain Berfini
4957187dfb More cleanup in ChatMessage 2017-11-09 12:27:35 +01:00
Sylvain Berfini
2111b62d75 Finished moving file transfer related code from ChatMessage to FileTransferChatMessageModifier 2017-11-09 10:26:50 +01:00
Sylvain Berfini
f6c4f0f5d9 Started to move file transfer related code in ChatMessage into FileTransferChatMessageModifier 2017-11-08 17:53:31 +01:00
Sylvain Berfini
fc2fe482ec Created a FileTransferChatMessageModifier, next step is to move into it file transfer related code from ChatMessage 2017-11-08 16:36:46 +01:00