Sylvain Berfini
07a7eec84c
Fixed basic chat room constructor causing it to not store participants in db
2018-04-11 14:48:58 +02:00
Ghislain MARY
c808560ed5
Do not enable simple group chat message state by default.
2018-04-11 14:22:34 +02:00
Ghislain MARY
ad786fd2e6
Handle imdn even for incoming messages.
2018-04-11 14:10:50 +02:00
Ghislain MARY
532c64bfc4
Add API to get the imdn state of a chat message for each participant.
2018-04-10 17:53:12 +02:00
Ghislain MARY
291bf82bed
Store the date of message receiving and display for each participant of a chat room in DB.
2018-04-10 17:53:03 +02:00
Ghislain MARY
4d17bb5f54
Allow addition of participant to a server group chat room using a REFER.
2018-04-06 15:25:28 +02:00
Sylvain Berfini
8b5c4e0305
Fixed proxy chat room not being notified of Created state when we fallback to a basic chat room
2018-04-06 15:15:37 +02:00
Ghislain MARY
5290d59d76
Various fixes regarding callbacks of chat rooms.
2018-04-05 17:09:15 +02:00
Ghislain MARY
5fb8f9686a
Handle incoming INVITE from conference server to create ClientGroupChatRoom.
2018-04-05 15:00:11 +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
797d7e3f64
Fixed another CPIM issue
2018-04-04 15:51:47 +02:00
Sylvain Berfini
f4d4423fb1
Merge branch 'dev_refactor_cpp' into dev_content_cpp
2018-04-04 13:06:53 +02:00
Sylvain Berfini
8966c2ca77
Started method to get participants in given state for given chat message
2018-03-28 18:20:22 +02:00
Sylvain Berfini
af2a607014
Improved ContentType's asString() method
2018-03-27 14:39:32 +02:00
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
22218cb188
Improved log + fixed external body url format
2018-03-26 16:07:26 +02:00
Sylvain Berfini
49b93c6f9a
Created Header class as parent of ContentType
2018-03-23 15:25:12 +01: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
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