Commit graph

485 commits

Author SHA1 Message Date
Ghislain MARY
5ec972c98d Improve Content-Type and Content-Disposition handling. 2018-03-16 14:41:12 +01:00
Sylvain Berfini
bcf1baaff1 Wait for file transfer to be downloaded before sending Displayed IMDN 2018-03-16 11:04:08 +01:00
Sylvain Berfini
f58ba4083e Moved appData from FileContent to any Content 2018-03-15 15:46:45 +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
3fd55c4a2b Fixes + tests for external body URL 2018-03-15 14:31:57 +01:00
Sylvain Berfini
166b0a5d62 Send message with external body url if exists 2018-03-15 14:09:42 +01:00
Sylvain Berfini
1207501da2 Started to restore external body url feature in chat message 2018-03-15 14:01:04 +01:00
Ghislain MARY
09025ed3c8 Add chat room callbacks to handle subscription to registration state of participants + add new group chat tester. 2018-03-14 18:18:39 +01:00
Jehan Monnier
261b0f195a fix crash when destroying LinphoneCore during file upload 2018-03-14 08:21:36 +01:00
Ghislain MARY
61c79b43e0 Use C++ instead of C where possible. 2018-03-13 17:29:13 +01:00
Ghislain MARY
94ce0fa252 Fix background task handling on platforms that do not support wakelocks. 2018-03-13 15:16:44 +01:00
Ghislain MARY
ead7221c97 Handle Content-Encoding in C++ Content object. 2018-03-13 14:10:05 +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
Ghislain MARY
b9eaf0a7e9 Prevent ChatRoom C++ objects from being leaked. 2018-03-09 10:20:20 +01:00
Jehan Monnier
18d0c4ad20 improve message tester for file transfer 2018-03-07 17:16:27 +01:00
Ronan Abhamon
b6496cbfa9 fix(core): remove useless default constructors and avoid memory leak on virtual destructor 2018-03-07 16:58:59 +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
Sylvain Berfini
0684cedc21 Renamed method as it is also true for uploads 2018-03-06 18:00:05 +01:00
Sylvain Berfini
9092d88775 Added method on chat message to know whether or not a download is in progress 2018-03-06 17:50:28 +01:00
Ghislain MARY
d8e81d63c8 When a call session of a ClientGroupChatRoom is released, destroy the chat room only if the state is TerminationPending and there was no error during the termination. 2018-03-06 12:30:24 +01:00
Ronan Abhamon
2154c78ff3 fix(ChatMessage): avoid invalid read of destroyed strings, and construct C++ cache correctly!!! 2018-03-06 12:28:09 +01:00
Ronan Abhamon
76342c715f feat(MainDb): reworking, better code (performance and fixes) 2018-03-05 17:25:48 +01:00
Ghislain MARY
95c39b0e1a Configure the conference factory uri on the proxy config instead of the core. 2018-03-05 14:29:01 +01:00
Benjamin Reis
cf5abd62b7 set Expires=0 for im-iscomposing in order to make sure flexisip doesn't store them 2018-03-05 11:54:44 +01:00
Benjamin Reis
d6c17a1683 add priority header with 'non-urgent' valu to imdn & is-composing 2018-03-05 11:39:38 +01:00
Sylvain Berfini
5adb1f04c3 Removed useless use_cpim rc param 2018-03-02 18:03:44 +01:00
Ghislain MARY
f14896c65e Add a couple of methods to ServerGroupChatRoom. 2018-03-02 15:20:10 +01:00
Sylvain Berfini
d440dfd3fd Fixed big mistake in my previous commit... 2018-02-28 16:40:51 +01:00
Sylvain Berfini
d41dba6357 Fixed message stored one time in clear and one time encrypted if using asynchronism while encrypting 2018-02-28 16:13:12 +01:00
Ghislain MARY
763b4e3a07 Add ServerGroupChatRoomPrivate::declineSession() method. 2018-02-28 10:43:33 +01:00
Ghislain MARY
7d491f8689 Remove useless generateConferenceAddress() method in ServerGroupChatRoom. 2018-02-27 17:13:04 +01:00
Ghislain MARY
0f55122183 Fix group chat testers broken because of multiple chat room listeners + fix is-composing count in group chat testers + deactivate instable group chat testers for the moment. 2018-02-27 13:45:06 +01:00
Ronan Abhamon
53296fb8cb fix(ChatMessage): improve check of loaded contents 2018-02-26 10:28:32 +01:00
Ronan Abhamon
de8c673f38 fix(MainDb): ensure contents are loaded before add event 2018-02-26 09:23:40 +01:00
Sylvain Berfini
4c2e09b8f0 Small code improvement 2018-02-23 17:22:46 +01:00
Ronan Abhamon
ac482f58b7 fix(MainDb): fix sql lock 2018-02-23 17:22:05 +01:00
Jehan Monnier
6da095454c make sure imdm are still passed to the application if deliver_imdn setting is set to 1 2018-02-22 17:34:07 +01:00
Sylvain Berfini
4ba2aa8af0 Added multi listener for ChatRoom 2018-02-22 10:52:23 +01:00
Simon Morlat
2e8f7dade9 Fix is-composing crash. 2018-02-22 10:10:02 +01:00
Ghislain MARY
e7aadda4fa Fix build. 2018-02-20 15:32:40 +01:00
Ghislain MARY
81eac8777e Add logging facilities in participant device and server group chat room. 2018-02-20 14:26:23 +01:00
Ronan Abhamon
c300e10f14 fix(ChatRoom): return chat messages in chat room history 2018-02-19 13:55:11 +01:00
Ronan Abhamon
709dceac26 feat(core): use other instead of src/obj name on operators and copy constructors (uniform syntax) 2018-02-19 09:58:14 +01:00
Ronan Abhamon
07443b1f60 feat(MainDb): increase performance of get history range 2018-02-16 17:21:47 +01:00
Ghislain MARY
d64310cd0c Do not notify is-composing received false state when receiving an is-composing or imdn message. 2018-02-16 16:54:31 +01:00
Ghislain MARY
373dafd993 Renaming in server group chat room. 2018-02-15 16:21:57 +01:00
Ghislain MARY
e8da88c543 Remove call session listener when destroying client group chat room. 2018-02-15 13:59:21 +01:00