Commit graph

12285 commits

Author SHA1 Message Date
Ronan Abhamon
076c7715ec feat(MainDb): delete chat_message_participant when message is displayed 2018-02-14 11:36:28 +01:00
Sylvain Berfini
b5b6ef4545 Added new chat room callback to let app decides whether or not store chat message in database 2018-02-14 11:34:35 +01:00
Ghislain MARY
997496ffa9 Add group chat test for admin designation when creator of a room that is the only admin leaves the room. 2018-02-14 11:33:08 +01:00
Sylvain Berfini
78f40ae222 Fixed issue with find_friend_by_address if address has a gruu 2018-02-14 10:39:54 +01:00
Ghislain MARY
6f8e2f5c2b Remove const in CallSessionListener methods to allow the session to be modified. 2018-02-13 17:58:57 +01:00
Ronan Abhamon
fd28664747 feat(ChatRoom): update chat room time on events insertion 2018-02-13 16:32:42 +01:00
Ronan Abhamon
09bc70d1fd feat(RemoteConferenceEventHandler): try to simplify code of simpleNotifyReceived (not a success...) 2018-02-13 15:54:24 +01:00
Sylvain Berfini
9f5a74bd42 Added linphone_chat_room_get_last_update_time method 2018-02-13 14:46:48 +01:00
Ghislain MARY
b885d643e4 Prevent crash in message tester. 2018-02-13 14:42:46 +01:00
Ronan Abhamon
aba6043b8b fix(MainDb): remove CHECK_LEGACY_TABLE_EXISTS macro 2018-02-13 14:12:20 +01:00
Ronan Abhamon
21e426b98d fix(MainDb): use constexpr instead of define 2018-02-13 14:07:50 +01:00
Ronan Abhamon
cbb14ad1cf feat(MainDb): attach resolveId to DbSession 2018-02-13 13:56:49 +01:00
Ronan Abhamon
c8648d0f79 fix(General): remove macros when possible and clean code 2018-02-13 12:08:08 +01:00
Ronan Abhamon
a5e684ef91 fix(General): remove L_RESOLVE_OVERLOAD macro, provide a resolveOverload function instead 2018-02-13 12:08:08 +01:00
Sylvain Berfini
107aa11e13 Added methods to get only a list of ChatMessageEventLog from a ChatRoom 2018-02-13 11:19:49 +01:00
Ronan Abhamon
884ddffb7d fix(General): replace make_unique by makeUnique (avoid mistakes) 2018-02-13 10:46:53 +01:00
Ronan Abhamon
593c48faaf feat(General): replace L_VERSION macro by makeVersion constexpr func (better and safe) 2018-02-13 10:33:59 +01:00
Ghislain MARY
2f39f845d5 Fix crash in linphone_core_report_call_log(). 2018-02-13 10:31:01 +01:00
Ronan Abhamon
66a6499f56 fix(MainDb): remove constexpr on exec (unsupported on android in this case) 2018-02-13 10:22:54 +01:00
Ghislain MARY
57687e1b99 Handle fetching a participant device's state from database. 2018-02-13 09:57:59 +01:00
Ronan Abhamon
79c5e8e0ab fix(MainDb): remove useless check on migrateBasicToClientGroupChatRoom 2018-02-13 09:32:14 +01:00
Ronan Abhamon
68bb9a1224 feat(MainDb): exec on SafeTransaction is now constexpr 2018-02-13 09:30:31 +01:00
Ronan Abhamon
cefa3cb85a feat(MainDb): better code, L_SAFE_TRANSACTION supports query without returned value 2018-02-13 09:24:28 +01:00
Ghislain MARY
8c9164a5eb Some more fixes for real time text. 2018-02-12 18:06:54 +01:00
Ghislain MARY
983471e8d0 For fixes for real time text. 2018-02-12 17:48:55 +01:00
Ghislain MARY
de13310b03 Fix const bug in getCppPtrFromC that was causing an infinite loop. 2018-02-12 17:48:33 +01:00
Ronan Abhamon
589a0393b4 fix(MainDb): handle exception after reconnect in SafeTransaction 2018-02-12 15:43:22 +01:00
Ghislain MARY
68ce70b072 Allow storage of participant device state in database. 2018-02-12 14:47:46 +01:00
Ghislain MARY
790b948683 Add back pointer to the Participant in a ParticipantDevice. 2018-02-12 14:44:57 +01:00
Ghislain MARY
2ad51e7a0e Fix operator< of ChatRoomId. 2018-02-12 14:43:31 +01:00
Ghislain MARY
ace638771e Fix workaround to prevent insertion of group chat room call sessions in call logs. 2018-02-09 16:49:36 +01:00
Ghislain MARY
ea11871ddb Fix bug in linphone_core_get_call_history_size() when no database has been set. 2018-02-09 16:49:15 +01:00
Ghislain MARY
acd22269fa Add state of conference participant device. 2018-02-09 15:44:44 +01:00
Ghislain MARY
bccf926b1d Add LinphoneEventCbs object. 2018-02-09 15:44:32 +01:00
Ghislain MARY
214c2a3a61 Add group chat tester for participant removed while it is not connected. 2018-02-09 14:48:59 +01:00
Ghislain MARY
3cc6e3ef7d Fix crash when an incoming call times out. 2018-02-09 14:48:33 +01:00
Ghislain MARY
c27c1b0767 Use C++ API. 2018-02-09 14:48:12 +01:00
Jehan Monnier
a19e505394 add test for call declined on timeout 2018-02-09 14:11:51 +01:00
Ronan Abhamon
6858207bc2 feat(MainDb): add a security to delete basic chat room on migration when peer sip address is a server sip address chat room 2018-02-09 10:58:12 +01:00
Jehan Monnier
6cc3fb27db add test to make sure no invite from chat room are in call logs 2018-02-08 17:28:35 +01:00
Sylvain Berfini
1c9f356e4f Fixed crash in chat room state changed callback if trying to find chat room 2018-02-08 15:48:25 +01:00
Benjamin Reis
017f4790b0 use BackgroundTask object instead of call directly sal API 2018-02-08 15:45:30 +01:00
François Grisez
9dd3f54f91 Fixes error in Java wrapper generation that caused a crash on Android apps starting 2018-02-08 15:17:39 +01:00
Benjamin Reis
01e15617b6 add initial value to background task id 2018-02-08 14:43:22 +01:00
François Grisez
04a024ec9e Revert "Fixes C++ wrapper generation with Python 2"
This reverts commit 7d621c5bd1 and
proposes a way to fix the generation with Python 2 without
breaking abstractapi's interface.
2018-02-08 14:32:39 +01:00
Benjamin Reis
4511ad79f2 add background task to client group chat room 2018-02-08 13:55:49 +01:00
Ronan Abhamon
6c88e6be87 feat(utils): add a BackgroundTask component 2018-02-08 12:46:47 +01:00
Sylvain Berfini
bb2274e56d Fixed previous commit 2018-02-07 17:44:22 +01:00
Sylvain Berfini
b24c534c49 Removed LeaksMemory tag on test that doesn't leak anymore 2018-02-07 17:21:54 +01:00
Jehan Monnier
655f5912a5 add test to chatroom tester to simulate chat room deletion after app restart 2018-02-07 17:14:35 +01:00