Commit graph

75 commits

Author SHA1 Message Date
Ghislain MARY
a9b8792329 Shorten timeouts in group chat tester + fix last assert. 2018-05-09 17:22:28 +02:00
Ghislain MARY
9a4cdb305d Fix some memory leaks in group chat tester. 2018-05-07 11:38:07 +02:00
Ghislain MARY
550502650a Simplify API to get IMDN message state for each participants. 2018-04-27 18:01:15 +02:00
Ghislain MARY
38ea7dc357 Send delivery notifications when loading chat rooms from DB if needed. 2018-04-26 11:09:48 +02:00
Ghislain MARY
71f5d99c44 Retry sending IMDN messages that have not been delivered when the SIP network gets up. 2018-04-26 11:09:47 +02:00
Ghislain MARY
9c4cd6cd60 Use xsd for imdn xml handling. 2018-04-26 11:09:47 +02:00
Ghislain MARY
035503cd53 Add new imdn in group chat tester. 2018-04-26 11:07:21 +02:00
Ghislain MARY
532c64bfc4 Add API to get the imdn state of a chat message for each participant. 2018-04-10 17:53:12 +02:00
Ghislain MARY
ff01c92a59 Add timeout in group chat tester to that the server has the time to destroy a one-to-one chat room before trying to re-create it. 2018-04-06 15:26:01 +02:00
Ghislain MARY
5290d59d76 Various fixes regarding callbacks of chat rooms. 2018-04-05 17:09:15 +02:00
Ghislain MARY
5fb8f9686a Handle incoming INVITE from conference server to create ClientGroupChatRoom. 2018-04-05 15:00:11 +02:00
Jehan Monnier
ba68bf754c improve group chat tests reliability 2018-03-28 15:09:20 +02:00
Ghislain MARY
5c2669970f Restore "Join one-to-one chat room with a new device" group chat tester. 2018-03-15 10:49:51 +01:00
Ghislain MARY
09025ed3c8 Add chat room callbacks to handle subscription to registration state of participants + add new group chat tester. 2018-03-14 18:18:39 +01:00
Ghislain MARY
b9eaf0a7e9 Prevent ChatRoom C++ objects from being leaked. 2018-03-09 10:20:20 +01:00
Simon Morlat
556fb1a6fa Add test reproducing an issue where a one-to-one chatroom is recreated while some inactivate devices have not yet joined the chatroom. 2018-03-05 17:17:22 +01:00
Ghislain MARY
32b565265c Do not check admin status for one-to-one chat room in group chat testers. 2018-03-05 15:18:41 +01:00
Ghislain MARY
95c39b0e1a Configure the conference factory uri on the proxy config instead of the core. 2018-03-05 14:29:01 +01:00
Sylvain Berfini
5adb1f04c3 Removed useless use_cpim rc param 2018-03-02 18:03:44 +01:00
Ghislain MARY
714fb3656d Fix crash in "Find one to one chat room" group chat test. 2018-03-02 16:06:29 +01:00
Ghislain MARY
51ebc76aa9 Restore group chat test that was previously failing. 2018-03-02 15:20:42 +01:00
Benjamin Reis
ea838faff2 Fix find_one_to_one_chatroom and add a test to avoir its regression 2018-03-02 09:25:02 +01:00
Ghislain MARY
ff8a7e2c25 Add a check on the number of chat rooms when migrating from basic to client group chat room. 2018-02-28 14:45:13 +01:00
Ghislain MARY
c9d5db0309 Reactivate "Add participant" group chat tester. 2018-02-28 12:09:31 +01:00
Ghislain MARY
969b78d7e2 Clean created files in group chat testers. 2018-02-28 10:43:33 +01:00
Ghislain MARY
7d491f8689 Remove useless generateConferenceAddress() method in ServerGroupChatRoom. 2018-02-27 17:13:04 +01:00
Ghislain MARY
0f55122183 Fix group chat testers broken because of multiple chat room listeners + fix is-composing count in group chat testers + deactivate instable group chat testers for the moment. 2018-02-27 13:45:06 +01:00
Jehan Monnier
9767adccc8 add group chat test to add participant 2018-02-23 17:51:56 +01:00
Jehan Monnier
7bf0554a17 fix group chat imdm tester 2018-02-23 10:45:14 +01:00
Ghislain MARY
a599ed7210 Add group chat tester. 2018-02-21 18:06:36 +01:00
Ghislain MARY
885611ff4c Add a multi-devices group chat tester. 2018-02-20 14:26:41 +01:00
Ghislain MARY
7137ca85dc Add option to deactivate handling of chat message state by participant in group chat. 2018-02-15 11:11:58 +01:00
Ghislain MARY
91bce6e695 Correctly handle IMDN for group chat. 2018-02-14 18:10:38 +01:00
Ghislain MARY
3d53c71b85 Add group chat test for addition of participant after its removal while it is offline. 2018-02-14 11:54:55 +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
Ghislain MARY
214c2a3a61 Add group chat tester for participant removed while it is not connected. 2018-02-09 14:48:59 +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
Jehan Monnier
655f5912a5 add test to chatroom tester to simulate chat room deletion after app restart 2018-02-07 17:14:35 +01:00
Ghislain MARY
e39313ae51 Fix "Create chat room with disconnected friends and initial message" group chat test. 2018-02-07 17:03:50 +01:00
Jehan Monnier
54291e5676 add unit test to chat room tester 2018-02-06 13:05:48 +01:00
Benjamin Reis
eeb637c3eb refactor group chat tester _send_file(_plus_text) functions 2018-02-05 11:59:33 +01:00
Benjamin Reis
d4af4fafd8 increase chat creation check time and fix 'Send file + text' tester 2018-02-05 11:15:47 +01:00
Ghislain MARY
aa25760dc6 Fix some group chat testers. 2018-02-02 16:58:48 +01:00
Benjamin Reis
76ce881f6d fix crash when decoding a message 2018-02-02 11:14:51 +01:00
Benjamin Reis
209225e236 group_chat test suite should no longer crash 2018-02-01 12:07:05 +01:00
Benjamin Reis
94be12b813 fix a crash in group_chat_tester 2018-02-01 11:35:40 +01:00
Sylvain Berfini
15713f29e8 Added group chat test with base64 encryption 2018-01-31 17:23:24 +01:00
Ghislain MARY
b39e220d5a Fix build broken because of deactivated test. 2018-01-31 16:53:09 +01:00
Sylvain Berfini
c3af1a6b15 Removed unused function to fix compil 2018-01-31 15:29:13 +01:00
Benjamin Reis
dea31759e8 Do not change role when adding/removing a device + test 2018-01-31 12:13:51 +01:00