Commit graph

12191 commits

Author SHA1 Message Date
Benjamin Reis
94be12b813 fix a crash in group_chat_tester 2018-02-01 11:35:40 +01:00
Ronan Abhamon
460f473d94 fix(DbSessionPrivate): remove useless friend to removed DbSessionProvider class 2018-02-01 11:28:16 +01:00
Ronan Abhamon
0f6cf5085b fix(DbSessionPrivate): fix undetermined value of backend type if soci is not enabled 2018-02-01 11:26:24 +01:00
Ronan Abhamon
f7a0a8d931 fix(DbSession): do not use L_ASSERT(false) if soci is not enabled in checkTableExists 2018-02-01 11:18:40 +01:00
Ronan Abhamon
891df5ff10 fix(MainDb): add missing transactions on little req, add safety 2018-02-01 11:18:40 +01:00
Sylvain Berfini
3b64a06c3b Fixed legacy getText method on ChatMessage 2018-02-01 10:31:59 +01:00
Benjamin Reis
a705f8dda6 fix message tester warning : do not unref an unitialisez LinphoneChatMessage 2018-02-01 10:23:27 +01:00
Ghislain MARY
7032a1476a Fix memory leak. 2018-01-31 18:00:20 +01:00
Ghislain MARY
44040c2f3f Some more fixes in message tester. 2018-01-31 17:49:26 +01:00
Sylvain Berfini
37a17b14a1 Improved code 2018-01-31 17:46:01 +01:00
Sylvain Berfini
1f2f1deb5e Fixed old API setText and setContentType on ChatMessage 2018-01-31 17:46:01 +01:00
Ghislain MARY
e1c7e698dc Fix crash in message tester. 2018-01-31 17:34:14 +01:00
Sylvain Berfini
15713f29e8 Added group chat test with base64 encryption 2018-01-31 17:23:24 +01:00
Ronan Abhamon
890117f2d4 feat(Utils): add a algorithm file to centralize generic algorithm 2018-01-31 17:20:51 +01:00
Sylvain Berfini
a64dc54e7a Fixes for chat message when using custom content type and encryption 2018-01-31 17:00:51 +01:00
Ghislain MARY
3cd16880aa Remove file transfer using external body url test as it is no longer supported. 2018-01-31 16:57:50 +01:00
Ghislain MARY
7c4533b8fc Restore the ability for a user to define if a ChatMessage is to be stored or not. 2018-01-31 16:53:09 +01:00
Ghislain MARY
b39e220d5a Fix build broken because of deactivated test. 2018-01-31 16:53:09 +01:00
Sylvain Berfini
a3b49906df Improved some tests + fixed leaks 2018-01-31 16:21:57 +01:00
Sylvain Berfini
c3af1a6b15 Removed unused function to fix compil 2018-01-31 15:29:13 +01:00
Sylvain Berfini
2156bb3d45 Fixed issue with encryption 2018-01-31 15:26:20 +01:00
Sylvain Berfini
8cd317c30a Fixed issue with IM delivery notifications 2018-01-31 13:00:18 +01:00
Benjamin Reis
dea31759e8 Do not change role when adding/removing a device + test 2018-01-31 12:13:51 +01:00
Sylvain Berfini
adc88d0965 Improved condition used to store messages or not 2018-01-31 11:58:10 +01:00
Ghislain MARY
619632e901 Fix memory leaks in message tester. 2018-01-31 11:28:43 +01:00
Ghislain MARY
e415dbacb9 Fix wrong handling of MessageOp in ChatMessage (it needs to be able to survive to the destruction of the ChatMessage). 2018-01-31 11:27:52 +01:00
Ghislain MARY
b0315c1570 Fix memory leaks in message tester. 2018-01-30 17:00:52 +01:00
Ghislain MARY
8b8aa32697 Some cleaning in FileTransferChatMessageModifier. 2018-01-30 17:00:35 +01:00
Ghislain MARY
1bcab84da4 More fixes for message tester. 2018-01-30 15:54:04 +01:00
Sylvain Berfini
e4aab72a61 Added OneToOne capability on basic chat room 2018-01-30 15:53:37 +01:00
Ghislain MARY
40ada5153a Fix some memory leaks and crashes in message tester. 2018-01-30 15:02:39 +01:00
Sylvain Berfini
30f90763c4 Improve isFile use in Contents for FileTransfer 2018-01-30 14:56:59 +01:00
Sylvain Berfini
10564ec12d Improved ChatMessage setText and setContentType from old API 2018-01-30 14:35:22 +01:00
Sylvain Berfini
3163b596c2 Fixed Java wrapper for enum with masks like ChatRoomCapabilities 2018-01-30 12:18:31 +01:00
Sylvain Berfini
e82e002911 Use int instead of LinphoneChatRoomCapabilitiesMask as wrapper currently translates it wrong (as unsigned int instead of int) 2018-01-30 11:27:37 +01:00
Sylvain Berfini
eed9ab3c83 Added hasCapability method on C ChatRoom 2018-01-30 11:15:30 +01:00
Ghislain MARY
d5347f4bca Restore check of transient messages in message tester. 2018-01-30 10:57:23 +01:00
Ghislain MARY
c74511d478 Fix initialization of capabilities in ClientGroupChatRoom. 2018-01-30 10:57:10 +01:00
Ghislain MARY
03853c8b14 Fix memory leak of ChatMessage. 2018-01-29 18:07:53 +01:00
Ghislain MARY
560842b572 Add TerminationFailed state to ChatRoom. 2018-01-29 18:07:23 +01:00
Ronan Abhamon
fdfcbbc12a feat(core): DO NOT ADD CODE IN private object destructors (if not possible you can in specific cases like base objects). Thx. <3 2018-01-29 17:02:11 +01:00
Ronan Abhamon
42035bb700 feat(c-tools): set the cpp ptr type on belle sip object name 2018-01-29 16:00:24 +01:00
Simon Morlat
d410c7e6c7 Fix a small memory leak. Change tester_hosts to point to our new server. 2018-01-29 15:43:28 +01:00
Jehan Monnier
cf16d4a459 fix Add admin unit test 2018-01-29 13:37:05 +01:00
Ghislain MARY
e49f2fedda Handle re-invite of a participant that has left a one-to-one chat room when the other participant sends a message. 2018-01-26 14:30:34 +01:00
Ronan Abhamon
9072624acb feat(AbstractDb): add a way to deal with exceptions 2018-01-25 17:07:16 +01:00
Ghislain MARY
8f24505766 Fix some group chat testers. 2018-01-25 16:55:01 +01:00
Benjamin Reis
b80aff9c55 change last notify id sooner 2018-01-25 15:40:34 +01:00
Ghislain MARY
915f797c67 Improve deletion of chat rooms in group chat tester. 2018-01-25 15:08:33 +01:00
Ghislain MARY
66ac7bb4cd Check that the failed state is not reached by the application in case of fallback from ClientGroupChatRoom to BasicChatRoom. 2018-01-25 15:08:00 +01:00