Ronan Abhamon
48487d518f
feat(c-wrapper): avoid usage of extern init...
2017-09-21 14:18:33 +02:00
Sylvain Berfini
d9d06fa32f
Fixed compil broken due to chat message changes
2017-09-21 13:13:53 +02:00
Ronan Abhamon
5e4cb463db
feat(c-tools): remove C_TYPE parameter of L_GET_CPP_PTR_FROM_C_STRUCT
2017-09-20 19:40:29 +02:00
Sylvain Berfini
4dff332dc7
Fixes for compilation issue with chat latest changes
2017-09-20 15:14:39 +02:00
Sylvain Berfini
a5a3b2ad26
Added chat message callbacks to c wrapper
2017-09-20 14:47:08 +02:00
Sylvain Berfini
93c17c2194
Started c-chat-message
2017-09-18 11:58:12 +02:00
Ghislain MARY
8e9bbb6899
Use c-tools for LinphoneChatRoom.
2017-09-14 16:12:22 +02:00
Ghislain MARY
4a13ac6a7a
Use real pointer for C++ object inside LinphoneCallParams as it is a ClonableObject.
2017-09-13 17:40:09 +02:00
Ghislain MARY
a5ce479aa3
Add function to create a client group chat room.
2017-09-13 17:40:08 +02:00
Ronan Abhamon
b1a37f6bd0
feat(utils): remove content-type files
2017-09-13 09:12:42 +02:00
Ronan Abhamon
44152b9f48
use real pointer in c wrapped clonable object
2017-09-12 15:08:10 +02:00
Ghislain MARY
1e1d0d2f7f
Add c-tools macros and methods to convert bctbx_list_t to std::list and the opposite.
2017-09-12 11:55:35 +02:00
Ghislain MARY
8063ae024e
Create classes for the different types of chat rooms.
2017-09-11 18:11:49 +02:00
Ghislain MARY
7588a54016
Convert LinphoneCall to Call C++ class.
2017-09-08 14:15:08 +02:00
Ronan Abhamon
1c3bcf0b16
feat(core): big refactoring & full c address impl
2017-09-05 13:59:54 +02:00
Ronan Abhamon
289dc072ed
feat(c-wrapper): provide a wrapper helper to access private data
2017-08-30 14:12:39 +02:00
Ghislain MARY
0babed04f4
Use ChatRoom C++ class.
2017-08-30 10:27:51 +02:00
Ghislain MARY
03130daadc
Prevent crash in message tests.
2017-08-03 15:25:49 +02:00
Simon Morlat
2dd2ee6e79
fix memory leaks
2017-07-31 16:08:56 +02:00
Ghislain MARY
7ceddff0b9
Do not rename files to compile them as C++.
2017-07-24 11:56:50 +02:00
Ghislain MARY
b9b283dcdb
Compile source files as C++.
2017-07-21 17:06:41 +02:00
Benjamin Reis
a8088c83db
Fix double free of a chat message
2017-07-07 15:01:30 +02:00
Jehan Monnier
5e89a0416c
add function to chatroom to find a message with a given direction.
...
It re-enable to send messages to itself on the same device
2017-06-26 17:53:40 +02:00
Jehan Monnier
88fe8d0044
make sure IP encryption Engine API can be used without needing to include any private headers
2017-06-26 15:21:43 +02:00
Ghislain MARY
735268f85d
Fix last received chat message not being marked as read.
2017-06-20 12:06:11 +02:00
Simon Morlat
2b93067a78
fix memory leak and crash in test suite
2017-06-09 14:16:34 +02:00
Ghislain MARY
3a8fd1ba01
Fix chat message count that was incremented only after the application is notified of the incoming message.
2017-05-30 13:05:36 +02:00
François Grisez
408da4db34
Declared the return type of functions returning an error code as LinphoneStatus
2017-04-13 17:00:23 +02:00
Simon Morlat
95098f055a
Make LinphoneErrorInfo a belle-sip object. Add new accessors, and make it able to take Reason headers in incoming requests (feature to be tested)
2017-03-22 14:45:24 +01:00
Ghislain MARY
5d1a3ebfcd
Prevent message state from going to early states if it has reached the delivered to user or displayed state.
2017-03-14 10:21:52 +01:00
Benjamin Reis
535ae9ccb0
only deliver imdn and is_composing if imdn_delivery=1 in rc
2017-03-10 16:53:31 +01:00
Ghislain MARY
467ec300e6
Fix API by adding missing const keywords.
2017-03-01 16:48:41 +01:00
Benjamin Reis
b18702cf9e
to_be_stored_api && do not filter SIP message notified to app
2017-02-28 17:00:29 +01:00
Ghislain MARY
29b27b752c
Fix compilation issue.
2017-02-21 10:56:58 +01:00
Ghislain MARY
5193bb34e1
Add API to resend a chat message that has not been delivered.
2017-02-21 10:52:17 +01:00
Benjamin Reis
615f9d4e23
Send 200Ok to server if message we can't decrypt to avoid useless retransmission + adaptation of tests to this behavior
2017-02-20 11:19:47 +01:00
Benjamin Reis
8c1f7104f0
Fix linphone_chat_message_is_read in case im_notif_policy is changed
2017-02-14 10:36:52 +01:00
Ghislain MARY
b20343c440
Fix linphone_chat_message_is_read() according to IM notif policy.
2017-02-14 10:14:52 +01:00
Benjamin Reis
7276f565f2
tempoarily change linphone_chat_message_is_read
2017-02-13 13:28:38 +01:00
Ghislain MARY
cd4870d5ad
Some refactoring to have a more object-oriented API.
2017-02-07 15:32:42 +01:00
Simon Morlat
1121e07313
stop pending file transfers when entering linphone_core_destroy().
2017-02-06 11:44:49 +01:00
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
Simon Morlat
a8e4660ef3
fix memory leaks
2017-02-01 16:18:09 +01:00
Benjamin Reis
b669640847
Add message_received_unable_decrypt callback
2017-02-01 15:36:01 +01:00
Ghislain MARY
d398c2c619
Fix build.
2017-02-01 13:38:16 +01:00
Ghislain MARY
e389e34c7e
Fix build of C++ wrapper on Windows.
2017-02-01 12:17:19 +01:00
Benjamin Reis
31d5d90ca9
add is_secured API to LinphoneChatMessage
2017-02-01 12:10:59 +01:00
Ghislain MARY
b297a4cb1d
Rework chat handling.
...
- Add content type information in LIME encrypted message
- Single entry point for all types of chat messages that are first decrypted if necessary and then handled according to their content type
- Add possibility to send chat messages with a content type that is not 'text/plain'
- Encrypt IMDN
2017-01-31 12:25:12 +01:00
Ghislain MARY
c446f1f424
Do not send IM notification is the chat message does not have a message id.
2017-01-25 11:39:06 +01:00
Ghislain MARY
ee077ae5ad
Fix bug where IMDN messages gets encryption by LIME and the other party then treat the decrypted message as plain text.
2017-01-23 17:59:32 +01:00