Commit graph

362 commits

Author SHA1 Message Date
Ghislain MARY
4cc7985da9 Correctly define call session state enumeration. 2017-12-28 12:43:56 +01:00
Ghislain MARY
4c0c1b6ae5 Add timer to retry basic to client group chat room migration after some time if it has failed. 2017-12-28 09:44:47 +01:00
Benjamin Reis
1f076aa336 put correct chat room in C cbs 2017-12-27 10:56:10 +01:00
Ghislain MARY
2155541742 Handle callbacks in ProxyChatRoom. 2017-12-27 10:27:50 +01:00
Benjamin Reis
fe8930cecd notify fallbacked chat room creation 2017-12-22 16:11:32 +01:00
Benjamin Reis
554ad75cca WORKAROUND set correct cpp pointer to C LinphoneChatRoom 2017-12-22 14:33:31 +01:00
Ronan Abhamon
5a9d0dfd3e feat(BasicToClientGroupChatRoom): capabilities contains Migrate if the proxy is a basic chatroom 2017-12-22 12:42:54 +01:00
Ronan Abhamon
30389fd9ab fix(BasicToClientGroupChatRoom): Capabilities mask contains Migratable 2017-12-22 10:25:16 +01:00
Ghislain MARY
5ff2076896 Handle basic to client group chat room migration. 2017-12-21 18:48:39 +01:00
Ronan Abhamon
edd26b9890 fix(ClientGroupChatRoom): avoid conference created event insertion for the moment 2017-12-21 18:22:17 +01:00
Ronan Abhamon
9604156ab1 feat(utils): add a toString function for enums 2017-12-21 11:45:33 +01:00
Ghislain MARY
5394f91a94 Check the reason is "Not Acceptable" for doing fallback from client group chat room to basic chat room. 2017-12-20 11:29:25 +01:00
Ronan Abhamon
54980b5267 feat(enum-generator): provide two functions getEnumNameAsString and getEnumValueAsString 2017-12-20 10:45:05 +01:00
Ronan Abhamon
09a4f83736 fix(private_functions): remove a lof of unused functions on chat messages 2017-12-19 16:51:31 +01:00
Ghislain MARY
e8dc7bf07c Fix removal of gr parameter when sending INVITE for client group chat room creation. 2017-12-19 16:33:09 +01:00
Benjamin Reis
9a1558e076 fix build 2017-12-19 15:44:54 +01:00
Ghislain MARY
5294d027f1 Improve fallback from client group to basic chat room test. 2017-12-19 15:19:55 +01:00
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