Commit graph

378 commits

Author SHA1 Message Date
Ghislain MARY
7b59cd6ee6 Add API to leave a chat room. 2017-10-06 11:09:49 +02:00
Ronan Abhamon
d60b5fab06 feat(EventsDb): import correctly legacy messages 2017-10-06 11:00:17 +02:00
Sylvain Berfini
32e22abee2 Moved code that fill the contentsList of ChatMessage from MultipartChatModifier to ChatMessage itself 2017-10-06 10:33:19 +02:00
Sylvain Berfini
df8aedecc3 Reworked ChatMessageModifiers to use a shared_ptr<ChatMessage> instead of ChatMessagePrivate* 2017-10-06 10:30:37 +02:00
Simon Morlat
d20d39b232 add SAL api to send/recv out of dialogs refers. 2017-10-05 17:37:51 +02:00
Ghislain MARY
86161b9285 Fix build without soci. 2017-10-05 15:21:40 +02:00
Ghislain MARY
81340cfcb8 Fix license headers. 2017-10-05 15:09:09 +02:00
Ghislain MARY
18ed78a46e Prevent duplicates when adding participants to a conference. 2017-10-05 15:09:09 +02:00
Ronan Abhamon
eab04534c8 feat(EventsDb): import messages from old db 2017-10-05 14:49:30 +02:00
Sylvain Berfini
cc739ef556 Added test (from dev_async_im_encryption_engine branch) for asynchronous IMEE + fixed issue in EncryptionChatMessageModifier 2017-10-05 14:41:21 +02:00
Sylvain Berfini
39291bef25 Fixed EncryptionChatMessageModifier where Skipped result wasn't returned 2017-10-05 14:26:16 +02:00
Sylvain Berfini
0b5defc743 Fixed cache string in c-chat-message 2017-10-05 14:15:35 +02:00
Sylvain Berfini
8ee8885d6a Fixed issue with string not being cached in C wrapper 2017-10-05 13:51:48 +02:00
Sylvain Berfini
fefbec929f Added enum as returned value by ChatMessageModifiers + error code as return parameter 2017-10-05 13:33:15 +02:00
Sylvain Berfini
25371cbfef Added a way to suspend the sending of a ChatMessage (now using this for file transfer) 2017-10-05 12:44:38 +02:00
Ghislain MARY
6beb962517 Move the new sal code in the src folder, respect the file naming conventions and add missing license headers. 2017-10-05 10:52:09 +02:00
Ghislain MARY
9b6d115836 Handle NOTIFY creation for conference subject change. 2017-10-04 17:47:29 +02:00
Ghislain MARY
e8e1e130f3 Improve handling of content types. 2017-10-04 17:11:58 +02:00
Ghislain MARY
34318366b6 CallSession objects need to be handle by shared_ptr. 2017-10-04 14:59:45 +02:00
Ghislain MARY
fda31ecc0e Create a call session automatically when needed in the client group chat room. 2017-10-04 14:24:55 +02:00
Ghislain MARY
eb21b8abec Add a content parameter to the update() method of the call session. 2017-10-04 14:23:19 +02:00
Ghislain MARY
4eb16ce346 Do not return a Participant in the addParticipant() method of the conference interface because the addition can be done asynchronously. 2017-10-04 14:18:53 +02:00
Benjamin Reis
bb41aeb4de remove <<<<<HEAD 2017-10-04 11:48:17 +02:00
Benjamin Reis
ab1e07c8b7 fix build issues 2017-10-04 11:43:39 +02:00
Sylvain Berfini
f9e89679b3 Added implementation of == operator on Content object + added logs and return values in CPIM Chat Message Modifier 2017-10-04 11:39:32 +02:00
Sylvain Berfini
b7fdc47128 Added CPIM tester 2017-10-04 10:54:41 +02:00
Ronan Abhamon
6caf117b91 feat(Object): check weak ptr when getSharedFromThis is called 2017-10-04 10:54:16 +02:00
Ronan Abhamon
e52a8e902b feat(EventsDb): update schema, supports chatroom subject 2017-10-04 09:31:26 +02:00
Ghislain MARY
3b10f8da34 Include the body containing the list of addresses to invite when sending the INVITE to create a client group chat room. 2017-10-03 18:03:50 +02:00
Ghislain MARY
14311c8786 Hacks::contactHasParam() can now be removed thanks to an update of belle-sip. 2017-10-03 17:30:37 +02:00
Sylvain Berfini
9f9da0fda1 Fixed ChatMessage getContentType() 2017-10-03 17:23:38 +02:00
Ghislain MARY
097732c15f The value param to the setParam() and setUriParam() of an Address is no optional. 2017-10-03 17:10:43 +02:00
Ronan Abhamon
3ccf8850db fix(EventsDb): use full name of ChatMessage state 2017-10-03 16:56:26 +02:00
Ronan Abhamon
779646a38b feat(ChatMessage): use L_DECLARE_ENUM for state 2017-10-03 16:35:00 +02:00
Sylvain Berfini
c4121b438d Fixed issue in ChatMessage contents when creating it from db 2017-10-03 15:26:38 +02:00
Ronan Abhamon
fb312b1ae8 feat(core): add notes 2017-10-03 15:10:59 +02:00
Sylvain Berfini
54de6bb650 Moved from shared_ptr<Content> to Content in ChatMessage 2017-10-03 14:41:02 +02:00
Sylvain Berfini
5eca36e071 Removed unusued method on ChatMessage 2017-10-03 14:14:56 +02:00
Ronan Abhamon
cde7d0de15 fix(ContentType): use isCPIM instead of isCpim (camel case!) 2017-10-03 13:54:29 +02:00
Ronan Abhamon
4451f49d74 fix(Hacks): disable copy, Hacks is now uncreatable 2017-10-03 13:49:30 +02:00
Ronan Abhamon
f3206e9f79 fix(ClientGroupChatRoom): avoid usage of make_shared on Object! 2017-10-03 13:40:17 +02:00
Ronan Abhamon
ef62012c6e feat(Object): avoid usage of share_from_this 2017-10-03 13:36:48 +02:00
Sylvain Berfini
2ff88e790c Fixed some issues revealed by the Message tester 2017-10-03 12:59:46 +02:00
Sylvain Berfini
3c4a11dd4c Replaced ms_ log methods by logger 2017-10-03 11:53:40 +02:00
Sylvain Berfini
64e0f9b826 Fixed issue in From and To when receiving a message 2017-10-03 11:23:21 +02:00
Sylvain Berfini
28e77ff2e6 Added ChatMessageModifiers chain in reception 2017-10-03 11:13:35 +02:00
Sylvain Berfini
61d1cdd8b0 Added EncryptionChatMessageModifier + moved some logic of ChatMessage reception from ChatRoom to the message itself 2017-10-03 11:08:05 +02:00
Benjamin Reis
da23396b6e add subject handling to xml conference description 2017-10-03 10:48:18 +02:00
Ghislain MARY
231f0e3983 Add callback on chat room subject change. 2017-10-03 09:24:29 +02:00
François Grisez
b5e0165503 Reworks Sal in order to be able to send and accept INVITEs with not-SDP body 2017-10-03 09:21:48 +02:00