Commit graph

11709 commits

Author SHA1 Message Date
Danmei Chen
eb0fa39f97 Add test for MD5 and SHA-256 in register_test. Tests SHA-256 are supported with flexisip 2017-11-21 17:10:02 +01:00
Ronan Abhamon
6611f820f3 feat(MainDb): add NOT NULL constraint on some fields 2017-11-21 16:41:21 +01:00
Ronan Abhamon
e3ff46be75 feat(MainDb): enforce conference_event table, primary key is now (event_id, chat_room_id) 2017-11-21 15:43:43 +01:00
Ronan Abhamon
82f04ddb29 feat(MainDb): enforce chat_room table, add unique and not null constraints on peer/local ids 2017-11-21 15:39:08 +01:00
Ronan Abhamon
8c7241bb13 fix(MainDb): references correctly chat room id from conference event 2017-11-21 14:43:12 +01:00
Ronan Abhamon
13f4afe165 feat(MainDb): supports local chat room id 2017-11-21 14:21:42 +01:00
Sylvain Berfini
d2a7cfafb3 Call new mediastreamer2 stream type API to fix ringing from linphone in wrong stream on Android 2017-11-21 10:52:19 +01:00
Ghislain MARY
bb5b22b932 Use IdentityAddress in conference. 2017-11-21 10:43:20 +01:00
Ghislain MARY
7b3df0c474 Fix compilation warnings. 2017-11-21 10:37:45 +01:00
Ghislain MARY
e6f58de87e Fix probable crash. 2017-11-21 10:37:29 +01:00
Benjamin Reis
1a791f0d8c add sips to conference event tester 2017-11-20 17:21:35 +01:00
Ghislain MARY
76c4e7ed25 Handle IdentityAddress with sips scheme. 2017-11-20 16:47:36 +01:00
Benjamin Reis
e1122d15f5 add multipart notify support for conference events 2017-11-20 14:52:15 +01:00
Ghislain MARY
cf7c300b07 Use GRUU address in From header when sending messages. 2017-11-17 16:57:48 +01:00
Ronan Abhamon
1ca9d64af8 feat(core): avoid virtual inheritance of CoreAccessor 2017-11-17 15:49:45 +01:00
Ronan Abhamon
6dd6e829a3 feat(conference): refactoring, use CoreAccessor and ChatRoomId 2017-11-17 15:49:45 +01:00
Ronan Abhamon
46a194d5b3 feat(core): add findChatRooms impl 2017-11-17 15:49:45 +01:00
Benjamin Reis
b133c5899f fix tester build on ios 2017-11-17 14:14:21 +01:00
Ghislain MARY
e127ef09fa Send full state NOTIFY of a conference to a specific device. 2017-11-17 10:44:09 +01:00
François Grisez
c50ba6614d Fills the body of Content objects on destruction
This commit is a duplicate of bd08e5940c in master
2017-11-17 10:03:53 +01:00
Ghislain MARY
e2013f1aa0 Fix build with some GCC versions. 2017-11-17 09:54:24 +01:00
Ghislain MARY
d4d88312ae Add a callback on the ChatRoom to generate the conference address. 2017-11-16 18:09:37 +01:00
Ghislain MARY
b12a245ed9 Add ENABLE_SPHINX_DOC CMake option definition and fix CPP wrapper compilation. 2017-11-16 18:08:50 +01:00
François Grisez
5cf9e549f3 Partial merge from 'master' about wrapper and documentation generation scripts 2017-11-16 17:30:45 +01:00
Ronan Abhamon
a97c048420 feat(EventLog): refactoring, use IdentityAddress and rename time arg 2017-11-16 17:06:12 +01:00
Ghislain MARY
902cb50104 Merge SimpleAddress and GruuAddress classes into a single IdentityAddress class. 2017-11-16 16:05:18 +01:00
Ghislain MARY
f117ff958c Fix chat related code that was broken with the introduction of ChatRoomId. 2017-11-16 14:08:36 +01:00
Ghislain MARY
a39d7d01b9 Workaround bug in doxygen before version 1.8.8. 2017-11-15 16:56:18 +01:00
Ronan Abhamon
a69efcb325 fix(core): replace all std::time_t by time_t because std:: is useless (see 20.5.4.3.4 of C++17 standard) 2017-11-15 16:03:45 +01:00
Ronan Abhamon
476d0c07e5 feat(hacks): enforce doc 2017-11-15 15:49:31 +01:00
Ronan Abhamon
013c31bc6d fix(logger): use bctbx log functions instead of ms functions 2017-11-15 15:47:20 +01:00
Ronan Abhamon
d70c38f9f5 fix(Object): little fixes, remove useless friend and add assert and getSharedFromThis 2017-11-15 15:38:14 +01:00
Ronan Abhamon
105e63f271 feat(core): provide a local address on chat room (the core is dead now) 2017-11-15 14:47:06 +01:00
Ronan Abhamon
54ed679844 fix(ChatMessage): avoid heap corruption, use delete instead of free 2017-11-13 17:02:46 +01:00
Ghislain MARY
c69320a15d Handle sending of conference NOTIFY messages for each device. 2017-11-13 16:01:52 +01:00
Ghislain MARY
fbc239661b Add API to get the remote contact of a SIP event. 2017-11-13 16:01:22 +01:00
Sylvain Berfini
36e73b29f2 Fixed message log 2017-11-13 13:26:41 +01:00
Sylvain Berfini
c574c64111 Added asynchronism for chat message reception 2017-11-13 13:18:57 +01:00
Ghislain MARY
8458585266 Fix GruuAddress and use it in ParticipantDevice. 2017-11-13 11:23:12 +01:00
Ronan Abhamon
2ad1f46105 fix(ClonableObject): fix a fatal bug in ClonableObject:
- Create a A Object
- Create a B Object
- Copy A in B
- Delete B
- Use L_Q or access public => Crash
2017-11-13 11:13:01 +01:00
Ghislain MARY
8c7b408d4e Add GruuAddress class. 2017-11-10 15:29:04 +01:00
Ghislain MARY
e98ce1ea4a Some cleaning. 2017-11-10 15:29:04 +01:00
Ronan Abhamon
098660726f feat(ChatRoom): add a chat room identifier object 2017-11-10 15:27:12 +01:00
Sylvain Berfini
e43d58fb2b Remove participant before the onParticipantRemoved callback on ChatRoom so the participants list is correct in the callback 2017-11-10 14:36:30 +01:00
Ronan Abhamon
33edd95a15 fix(Core): remove useless includes 2017-11-10 11:25:29 +01:00
Ronan Abhamon
e536ded32d fix(ClientGroupChatRoom): do not create base ChatRoom with me!!! 2017-11-10 09:34:01 +01:00
Ronan Abhamon
c4fadd417b fix(Variant): use swap when possible 2017-11-10 09:25:12 +01:00
Ghislain MARY
a30050c8bd Correct handling of client group chat room joining after it has been left. 2017-11-09 17:30:27 +01:00
Ronan Abhamon
d7f3168937 fix(MainDb): fetch conference chat rooms 2017-11-09 17:27:43 +01:00
Ronan Abhamon
b0bf790f6b fix(MainDb): Schrodinger commit 2 2017-11-09 16:53:20 +01:00