Commit graph

12444 commits

Author SHA1 Message Date
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
Benjamin Reis
59a66ca7c4 test priority and expires header for is composing and imdn 2018-03-05 14:05:10 +01:00
Jehan Monnier
77fec544bd Fix register unit test 2018-03-05 13:32:08 +01:00
Jehan Monnier
8b0f60894b fix findOneToOneChatRoom in case of chatroom has no participant in 2018-03-05 13:29:41 +01:00
Benjamin Reis
cf5abd62b7 set Expires=0 for im-iscomposing in order to make sure flexisip doesn't store them 2018-03-05 11:54:44 +01:00
Benjamin Reis
d6c17a1683 add priority header with 'non-urgent' valu to imdn & is-composing 2018-03-05 11:39:38 +01:00
Simon Morlat
2fb4ce6ffc add test showing that ICE is deactivated if stun server is not responding.
To be fixed later.
2018-03-03 11:54:35 +01:00
Simon Morlat
a029a954cd add property to forcibly deactivate ice. 2018-03-03 11:46:54 +01:00
Simon Morlat
204e218bb0 Fix : move Cpu lock and so on into the Call object. There are not needed for INVITE sessions without media (like group chat), and they cause important battery drain because the phone will stay awake all the time since the INVITE session never BYEs. 2018-03-02 20:51:54 +01:00
Sylvain Berfini
9c904e7982 Fixed compil on Android armv7 2018-03-02 18:11:09 +01:00
Sylvain Berfini
5adb1f04c3 Removed useless use_cpim rc param 2018-03-02 18:03:44 +01:00
Ghislain MARY
bb2c51f2ca Fix build. 2018-03-02 17:49:17 +01:00
Ghislain MARY
7c239c8ec4 Fix wrong statement being used in main db. 2018-03-02 17:33:25 +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
Ghislain MARY
f14896c65e Add a couple of methods to ServerGroupChatRoom. 2018-03-02 15:20:10 +01:00
Erwan Croze
a23391a056 Updating MagicSearch test 2018-03-02 11:18:19 +01:00
Erwan Croze
f528de3f75 Removing the limit in the MagicSearch cache 2018-03-02 11:18:19 +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
Simon Morlat
67b6f71939 Fix no audio issue - because StunClient was corrupting localMediaDescription when no STUN discovery was actually made. 2018-03-01 23:20:14 +01:00
Ghislain MARY
3f916b1972 Make a copy of listeners list before calling them in C++ wrapper so that the list can be modified in these listeners. 2018-03-01 15:06:28 +01:00
Benjamin Reis
fe79c8fdb4 fix typo in previous commit 2018-03-01 14:39:06 +01:00
Ronan Abhamon
1ad9a0789f feat(ContentManager): refactoring, avoid buffer copy, use move, use constexpr, avoid casts... 2018-03-01 11:51:50 +01:00
Sylvain Berfini
d440dfd3fd Fixed big mistake in my previous commit... 2018-02-28 16:40:51 +01:00
Sylvain Berfini
d41dba6357 Fixed message stored one time in clear and one time encrypted if using asynchronism while encrypting 2018-02-28 16:13:12 +01:00
Ronan Abhamon
eaa7804d81 feat(MainDb): avoid usage of prepared statements for the entire core life (prevent lock???) 2018-02-28 15:52:36 +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
587e951845 Ooopppsss... Forgot one file in last commit. 2018-02-28 11:48:43 +01:00
Ghislain MARY
3ec59a1239 Allow not sending SIP RINGING message. 2018-02-28 11:47:01 +01:00
Ghislain MARY
763b4e3a07 Add ServerGroupChatRoomPrivate::declineSession() method. 2018-02-28 10:43:33 +01:00
Ghislain MARY
c8823c1023 Add CallSession::getPreviousState() method. 2018-02-28 10:43:33 +01:00
Ghislain MARY
969b78d7e2 Clean created files in group chat testers. 2018-02-28 10:43:33 +01:00
Ghislain MARY
25e5919a6a Improve RPM packaging. 2018-02-28 10:43:33 +01:00
Ronan Abhamon
10049e078f fix(Abstract): in reconnect case, disable foreign key before init call 2018-02-28 10:43:23 +01:00
Ghislain MARY
7d491f8689 Remove useless generateConferenceAddress() method in ServerGroupChatRoom. 2018-02-27 17:13:04 +01:00
Ghislain MARY
54a0a8c156 Fix wrong SQL request to insert one-to-one chat room in DB. 2018-02-27 17:13:04 +01:00
Ghislain MARY
71fd0d0a64 Add linphone_chat_room_set_current_callbacks() API. 2018-02-27 17:13:04 +01:00
Ronan Abhamon
ab721847ba feat(SmartTransaction): don't use soci::transaction, use soci::session methods to deal directly with transactions 2018-02-27 17:12:50 +01:00
Ronan Abhamon
3f16a71960 feat(MainDb):
- Allow only move constructor/assignment operator on DbSession
- Check thread id of AbstractDb in transaction
- Fix a copy session in MainDb::init
2018-02-27 16:08:42 +01:00
Ronan Abhamon
9ea10688ef feat(AbstractDb): deal with sqlite3 logs on Android and Ios 2018-02-27 14:22:10 +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
Ronan Abhamon
79da08fec1 fix(MainDb): commit on markChatMessagesAsRead 2018-02-27 11:10:58 +01:00
Ronan Abhamon
e3cf0be408 fix(MainDb): use commit on deleteEvent 2018-02-27 11:02:06 +01:00
Ronan Abhamon
223b1244e7 fix(setChatMessageParticipantState): use commit on setChatMessageParticipantState 2018-02-27 10:57:04 +01:00
Ronan Abhamon
729a9f5cfb fix(DbExceptionHandler): use r-value reference on function 2018-02-27 10:56:35 +01:00
Ronan Abhamon
1d46c11739 fix(SmartTransaction): log commit only after soci commit 2018-02-26 17:17:56 +01:00
Ronan Abhamon
5542d4e0f0 fix(SmartTransaction): do not log rollback if transaction is committed 2018-02-26 17:07:42 +01:00
Sylvain Berfini
247c2877a8 Copy callbacks list before iterating over it and calling each callbacks so we can remove a callback inside a callback call 2018-02-26 16:53:33 +01:00