Commit graph

970 commits

Author SHA1 Message Date
Ghislain MARY
6b59aef7ce Add config parameter to enable basic to client group chat room migration. 2017-12-27 11:21:05 +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
47943bf874 adapt findOneToOneChatroom to both basic and clientGroup 2017-12-22 16:37:42 +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
fb8d255b4f feat(CoreChatRoom): do not create BasicToClientGroupChatRoom if not factory uri configured 2017-12-22 14:29:41 +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
67053e8e8e fix(MainDb): rename insertOrUpdateBasicChatRoom to insertOrUpdateImportedBasicChatRoom 2017-12-22 10:40:18 +01:00
Ronan Abhamon
b51fd2e414 fix(MainDb): use transactions in unsafe functions 2017-12-22 10:38:29 +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
Ghislain MARY
1f15bc62c8 Do not create a fallback chatroom when invited to a group chat room. 2017-12-21 18:44:38 +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
0e0ae5b546 feat(MainDb): add participants and devices on basic to client group chat room migration 2017-12-21 16:06:01 +01:00
Ronan Abhamon
0304c37625 feat(MainDb): add method to migrate basic to client group chat room 2017-12-21 15:42:40 +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
Sylvain Berfini
8f1d7ff883 Rewrittent normalize_phone_number using DialPlan's C++ API 2017-12-19 16:40:57 +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
Ghislain MARY
7832def94b Add missing tests. 2017-12-19 16:11:32 +01:00
Benjamin Reis
9a1558e076 fix build 2017-12-19 15:44:54 +01:00
Ronan Abhamon
3f7a82b985 fix(MainDb): use 255 chars for the storage of db_module_version.name instead of 16 2017-12-19 15:22:12 +01:00
Ghislain MARY
5294d027f1 Improve fallback from client group to basic chat room test. 2017-12-19 15:19:55 +01:00
Ronan Abhamon
6fd7ad1e83 fix(AbstractDb): remove AUTO_INCREMENT specifier with Mysql backend on varcharPrimaryKeyStr 2017-12-19 15:13:57 +01:00
Ronan Abhamon
f047ea775b feat(MainDb): support fetch of participant devices 2017-12-19 15:00:25 +01:00
Ronan Abhamon
e93ed1cc3f fix(MainDb): do not update module version if it is unchanged 2017-12-19 14:24:13 +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
Ghislain MARY
6251a91dee Remove useless unsubscribe. 2017-12-19 14:15:22 +01:00
Ronan Abhamon
43e775bff2 feat(MainDb): FilterMask is now an EnumMask type 2017-12-19 11:56:33 +01:00
Ronan Abhamon
fd191aa675 feat(MainDb): remove static_cast on capabilities 2017-12-19 11:33:12 +01:00
Ronan Abhamon
f94554d7a5 feat(chat-room): CapabilitiesMask is now an EnumMask type 2017-12-19 11:09:28 +01:00
Ronan Abhamon
2e0dd7907f feat(MainDb): enable legacy history import 2017-12-18 17:37:16 +01:00
Ronan Abhamon
c682fee3d8 fix(remote-conference): clean code 2017-12-18 15:33:21 +01:00
Ronan Abhamon
cc0a509a97 feat(MainDb): add an events module with 1.0.0 version 2017-12-18 15:31:12 +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
28944e466e feat(MainDb): add new table db_module_version 2017-12-18 11:42:22 +01:00
Ghislain MARY
e1f4254dc1 Various call tester fixes. 2017-12-18 10:28:47 +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
Ghislain MARY
683d30faae Restore some asserts in call tests. 2017-12-15 13:24:10 +01:00
Ronan Abhamon
af99144376 fix(utils): avoid memory leak in utf8 conversions 2017-12-15 11:36:19 +01:00
Ronan Abhamon
03c581bee7 fix(ChatMessage): coding style and add commentary 2017-12-15 11:19:55 +01:00
Ronan Abhamon
4cdb46496e feat(AbstractDb): add a noLimitValue function to deal with LIMIT keyword properly 2017-12-15 10:48:50 +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
Mickaël Turnel
253378d167 Add conversion mechanism in Content so it is always UTF-8 2017-12-15 10:37:37 +01:00
Ronan Abhamon
b9be1a84f3 feat(c-tools): avoid some memory leaks, free wrapped objects when possible 2017-12-15 09:18:00 +01:00