Commit graph

86 commits

Author SHA1 Message Date
Sylvain Berfini
813ab614eb Use Header class instead of pair<string, string> in Content + improved tester 2018-03-27 11:48:40 +02:00
Sylvain Berfini
0dfd57b505 Clean code related to multiparts' Contents 2018-03-23 11:17:52 +01:00
Sylvain Berfini
c93eee237b Fixed parsing of content type parameters from ContentType(string) constructor 2018-03-21 15:13:10 +01:00
Sylvain Berfini
8a30c727db Improved parameter use in ContentType 2018-03-21 14:23:23 +01: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
Ghislain MARY
307e27e635 Allow receiving and parsing of CPIM messages without buggy Content-Type header. 2018-03-12 15:26:00 +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
3ffbfbdafe Fixed compil 2018-02-14 14:24:05 +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
Sylvain Berfini
37a17b14a1 Improved code 2018-01-31 17:46:01 +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
d52977ded6 feat(src): add a _L prefix on each include guard 2018-01-08 12:15:15 +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
9258c5f145 feat(ChatRoom): provide an abstract chat room for chat room migration proxy 2017-12-12 16:07:49 +01:00
Sylvain Berfini
eb09ee23d9 Useless change 2017-12-12 11:06:22 +01:00
Sylvain Berfini
1614e6c126 Fixed encryption when using old chat rooms + fixed decrypt async mechanism in chat message reception + fixed async b64 tester 2017-12-11 13:14:58 +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
Benjamin Reis
7d6fc05459 setImdnMessageId is now private 2017-12-06 13:35:04 +01:00
Ghislain MARY
2f1d16a306 Use c-wrapper for the Core object. 2017-12-04 13:56:32 +01:00
Benjamin Reis
1358569f85 fix how to get Message-ID 2017-11-28 14:56:04 +01:00
Ghislain MARY
ef7ae680ff Add Message-ID header in CPIM messages. 2017-11-28 11:12:06 +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