Commit graph

154 commits

Author SHA1 Message Date
Ronan Abhamon
8f1ed031da feat(ChatRoom): call right setSubject method 2017-10-12 17:55:35 +02:00
Ronan Abhamon
006ecf4d76 feat(Conference): hide private attributes of Conference classes (feat Benjamin Reis aka Ben Rei Jeb) 2017-10-12 16:55:53 +02:00
Ronan Abhamon
d1c80c1ec9 fix(ChatRoom): remove useless includes 2017-10-12 16:55:53 +02:00
Ronan Abhamon
531e3d1b8c feat(ChatRoom): add a capabilities getter 2017-10-12 10:54:20 +02:00
Ronan Abhamon
978f20f8cf feat(Chat): better architecture 2017-10-11 18:01:41 +02:00
Sylvain Berfini
054a929f9b Compilation fixes 2017-10-11 16:15:17 +02:00
Ronan Abhamon
f54682374b fix(CharModifier): clean code (refactor, cppcheck and errorCode is now one reference 2017-10-11 16:01:52 +02:00
Ronan Abhamon
013be9e292 fix(ChatModifier): use const std::shared_ptr<ChatMessage> &message instead of std::shared_ptr<ChatMessage> message 2017-10-11 15:06:37 +02:00
Ronan Abhamon
6310bfb10b fix(ChatMessage): remove ugly send method on chatroom!!! 2017-10-11 14:59:16 +02:00
Ghislain MARY
b9c4d7dcdf Handle participant removal in client group chat room. 2017-10-11 14:30:05 +02:00
Ronan Abhamon
935e429609 fix(Core): clean some dirty code... 2017-10-11 14:09:22 +02:00
Ronan Abhamon
7f32ae8582 fix(ChatMessage): use L_DECLARE_ENUM to declare direction 2017-10-11 11:56:29 +02:00
Benjamin Reis
532020bb4c handle add/remove of participant's device in conference event handlers 2017-10-11 11:27:03 +02:00
Benjamin Reis
26cc84140d added participant's device added/removed listener 2017-10-11 10:18:57 +02:00
Ghislain MARY
3d10bbc99b Handle change of admin status of a participant in group chat. 2017-10-10 17:17:30 +02:00
Ghislain MARY
f871550888 Fix some bugs in group chat handling. 2017-10-10 12:09:19 +02:00
Ghislain MARY
47da8088e3 Improve handling of conference event package subscription/notification. 2017-10-09 16:40:36 +02:00
Ghislain MARY
24e4b233d9 Handle joining an existing group chat room when receiving a REFER inviting us to join. 2017-10-09 12:15:08 +02:00
Ghislain MARY
0e671c0563 Fix build. 2017-10-09 12:15:08 +02:00
Ronan Abhamon
693bd2b78a fix(Core): little performance fixes 2017-10-09 11:31:07 +02:00
Ronan Abhamon
efb0bd5c7a feat(Conference): use shared_ptr ref sessions 2017-10-09 11:31:07 +02:00
Sylvain Berfini
f8abe9ad07 Started multipart tester 2017-10-09 10:54:02 +02:00
Sylvain Berfini
4fc9080881 Try not to use getContentType and getText methods 2017-10-06 17:08:56 +02:00
Sylvain Berfini
b1f48f5769 Fixed ChatMessage methods getContentType and getText when receiving a multipart 2017-10-06 17:03:34 +02:00
Sylvain Berfini
0db6249af5 Simple ChatMessageMultipartModifier created + fixed a few things related to ChatMessages 2017-10-06 16:55:20 +02:00
Ghislain MARY
7b59cd6ee6 Add API to leave a chat room. 2017-10-06 11:09:49 +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
Ghislain MARY
81340cfcb8 Fix license headers. 2017-10-05 15:09:09 +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
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
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
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
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
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
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
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