Commit graph

345 commits

Author SHA1 Message Date
Ghislain MARY
1cf7027eb1 Add fetch of participant devices, checking of their capabilities and improve group chat tests. 2017-12-19 14:15:22 +01:00
Ghislain MARY
5b31f56f6c Handle fallback to basic chat room when a client group chat room is created inviting a single participant that does not support it. 2017-12-19 14:15:22 +01:00
Ronan Abhamon
f94554d7a5 feat(chat-room): CapabilitiesMask is now an EnumMask type 2017-12-19 11:09:28 +01:00
Benjamin Reis
a3325dbd4f store in db when updating chat message app data 2017-12-18 15:14:06 +01:00
Sylvain Berfini
7811dfa376 Added size information to FileTransferContent 2017-12-18 14:02:06 +01:00
Ronan Abhamon
4bf5640f1f feat(ChatRoom): provide a proxy and client group to basic chat room 2017-12-15 14:59:36 +01:00
Ronan Abhamon
03c581bee7 fix(ChatMessage): coding style and add commentary 2017-12-15 11:19:55 +01:00
Mickaël Turnel
de04087a34 Contents of type text are now converted to UTF-8 at reception 2017-12-15 10:38:28 +01:00
Ronan Abhamon
d8b0a722dc fix(callbacks): do not unref chat messagegit status! It's a shared ptr now!!! 2017-12-14 11:15:07 +01:00
Ghislain MARY
d42cc8a39b Fix ServerGroupChatRoomPrivate API. 2017-12-13 16:26:54 +01:00
Ronan Abhamon
c0e065bc56 fix(ChatRoom): set state correctly!!! 2017-12-13 13:52:27 +01:00
Ronan Abhamon
98e5be44d1 fix(chat-room): avoid recursive call 2017-12-13 12:08:54 +01:00
Sylvain Berfini
89bd92cd7a Removed unused parameter to fix compil 2017-12-12 17:35:53 +01:00
Ronan Abhamon
dbb43562f7 feat(ChatRoom): add BasicToClientGroupChatRoom impl (todo: migration algorithm) 2017-12-12 16:07:49 +01:00
Ronan Abhamon
87ca435ad7 fix(ChatRoom): clean code (again) 2017-12-12 16:07:49 +01:00
Ronan Abhamon
6dd3833bc1 fix(ChatRoom): clean some pieces of code and reorder functions, onXXX, notifyXXX... 2017-12-12 16:07:49 +01:00
Ronan Abhamon
3454bd3aa6 fix(ChatRoom): clean some pieces of code in Abstract and ServerGroupChatRoom (stub) 2017-12-12 16:07:49 +01:00
Ronan Abhamon
9258c5f145 feat(ChatRoom): provide an abstract chat room for chat room migration proxy 2017-12-12 16:07:49 +01:00
Sylvain Berfini
eb09ee23d9 Useless change 2017-12-12 11:06:22 +01:00
Benjamin Reis
1e2f75c829 add a device to the focus when creating a chat room from the db 2017-12-11 15:02:58 +01:00
Sylvain Berfini
1614e6c126 Fixed encryption when using old chat rooms + fixed decrypt async mechanism in chat message reception + fixed async b64 tester 2017-12-11 13:14:58 +01:00
Ghislain MARY
8816f39974 Remove CallListener and use CallSessionListener instead. 2017-12-08 13:57:32 +01:00
Ronan Abhamon
225b7a6781 fix(FileTransferChatMessageModifier): camel case ;) 2017-12-08 11:13:31 +01:00
Ronan Abhamon
d2ec19ac7e fix(FileTransferChatMessageModifier): check if file url is null before string construction! 2017-12-08 11:12:17 +01:00
Ronan Abhamon
a531204489 fix(BasicChatRoom): do not notify chat room state when it is fetched from database 2017-12-07 17:25:44 +01:00
Sylvain Berfini
badd672bd9 Do not multipart, encrypt or encapsulate with CPIM in an old ChatRoom to maintain backward compatibility 2017-12-06 15:32:08 +01:00
Benjamin Reis
6aee9994b9 use const string ref when possible 2017-12-06 14:22:37 +01:00
Ronan Abhamon
1cbabd0f3d feat(ClientGroupChatRoom): add created event in db on chat room creation 2017-12-06 14:00:47 +01:00
Benjamin Reis
7d6fc05459 setImdnMessageId is now private 2017-12-06 13:35:04 +01:00
Ghislain MARY
f92da345a4 Keep the gruu address of the client group chat room focus participant. 2017-12-06 11:30:03 +01:00
Sylvain Berfini
52f13d34d0 Revert "Also set appData to FileTransfer contents"
This reverts commit cac63d006f.
2017-12-05 17:03:22 +01:00
Sylvain Berfini
cac63d006f Also set appData to FileTransfer contents 2017-12-05 16:24:42 +01:00
Sylvain Berfini
c48f0f70b5 Fixed fileTransferContent values not being set from content's body when fetched from db 2017-12-05 15:37:05 +01:00
Ronan Abhamon
8f1ee5a06d fix(ChatMessage): use "legacy" key instead of "app" for content app data 2017-12-05 15:24:21 +01:00
Benjamin Reis
c91dc4b5ef fix crash in file transfer 2017-12-05 13:55:48 +01:00
Erwan Croze
c865794cac Disable message storage on server side 2017-12-05 13:52:08 +01:00
Benjamin Reis
b8b82f7fdb keep fixing fetch of chat room 2017-12-05 11:51:37 +01:00
Sylvain Berfini
f04c4a40e1 Fix old chat_message_set_app_data api 2017-12-05 11:23:44 +01:00
Ghislain MARY
8783aca2db No longer need cCore property in Core C++ object. 2017-12-04 16:59:03 +01:00
Ronan Abhamon
e9805213e2 fix(conference): replace getNbParticipants to participantCount 2017-12-04 15:49:53 +01:00
Benjamin Reis
1bbc544635 refactor code 2017-12-04 15:35:33 +01:00
Ronan Abhamon
eb5ab27326 fix(core): rename some methods => Do not set a plural noun before "Count"!!! 2017-12-04 15:29:01 +01:00
Ghislain MARY
181bfa2ec9 Change the chat room instantiated callback to chat room state changed. 2017-12-04 15:12:25 +01:00
Ghislain MARY
05271e8603 Change the state of ClientGroupChatRoom and ServerGroupChatRoom outside of their constructors. 2017-12-04 15:11:54 +01:00
Ronan Abhamon
a57290dbca feat(c-chat-room): add new function to get events list size 2017-12-04 15:08:20 +01:00
Ghislain MARY
2f1d16a306 Use c-wrapper for the Core object. 2017-12-04 13:56:32 +01:00
Ronan Abhamon
2b8e1cca64 fix(core): clean some pieces of code 2017-12-04 10:25:36 +01:00
Ronan Abhamon
47cf1d436c fix(c-chat-room): repair get history function 2017-12-01 15:13:45 +01:00
Ronan Abhamon
57f638266d feat(MainDb): create server group chat room from database 2017-12-01 11:43:56 +01:00
Ronan Abhamon
13a873196e feat(MainDb): add get unread chat messages impl 2017-12-01 10:55:39 +01:00