Commit graph

169 commits

Author SHA1 Message Date
Ronan Abhamon
4ee2312949 feat(EventLog): add new ConferenceParticipantDevice event 2017-10-16 15:25:14 +02:00
Ghislain MARY
0bab59418d Handle is-composing notification coming from several participants. 2017-10-16 10:40:36 +02:00
Ronan Abhamon
367243d224 feat(MainDb): chatroom fetch in progress 2017-10-13 15:46:49 +02:00
Ghislain MARY
5cf6bc3b6b Handle case where a received chat message is in fact an outgoing message sent by us from an other device. 2017-10-13 15:33:16 +02:00
Ghislain MARY
eac08cf519 Move chat notifications source files in their own directory. 2017-10-13 14:46:57 +02:00
Ghislain MARY
601a1a6564 The cpimFrom address field in the ChatMessage is useless. 2017-10-13 14:38:11 +02:00
Ronan Abhamon
0579b0db2b feat(General): provide a L_Q_T macro to access public data in a multiple inheritance case 2017-10-13 11:53:06 +02:00
Ghislain MARY
3d50e6e9e2 Handle From and To headers in CPIM messages. 2017-10-13 11:21:11 +02:00
Ghislain MARY
8ab95782bb Fix state check in the send() method of ChatMessage. 2017-10-13 11:21:11 +02:00
Ghislain MARY
505cceb22a Allow overriding storeOrUpdateMessage() and messageReceived() methods of ChatRoomPrivate. 2017-10-13 11:21:11 +02:00
Ghislain MARY
3943712131 Some cleaning in chat room and chat message. 2017-10-13 11:21:11 +02:00
Ghislain MARY
5b139dc79b Fix the URI grammar for CPIM. 2017-10-13 11:20:35 +02:00
Ronan Abhamon
a9995e2fce feat(ClientGroupChatRoom): use L_D_T in the case of simple mPrivate access 2017-10-13 11:17:15 +02:00
Ronan Abhamon
2d9d5a571c feat(ClientGroupChatRoom): use L_D_T macro when possible 2017-10-13 11:15:10 +02:00
Ronan Abhamon
e12b123cf0 feat(General): provide a way to get private data in a a multiple inheritance case. 2017-10-13 11:08:54 +02:00
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