Commit graph

84 commits

Author SHA1 Message Date
Sylvain Berfini
0b7a1deccf Added friend storage to database + improved tests + needed changes in gtk app + friends' migration from rc to db 2015-12-18 15:25:18 +01:00
Sylvain Berfini
3eeb0974ea Fixed compilation when belcard is not found 2015-12-17 17:42:46 +01:00
Sylvain Berfini
860ee180a8 Tests done for friends' database storage 2015-12-17 17:32:18 +01:00
Sylvain Berfini
c1f11402a9 Prepared gtk application for friends' database storage 2015-12-17 16:52:48 +01:00
Sylvain Berfini
56db674e38 Started linphone friends database storage 2015-12-17 16:44:55 +01:00
Sylvain Berfini
bab0c39c6f Improved import time by optimizing moment when friends are saved in rc file 2015-12-17 15:26:26 +01:00
Sylvain Berfini
caf26c0b42 Improved a few more things regarding friends and vcards 2015-12-17 15:18:56 +01:00
Sylvain Berfini
9b6a6ca7a5 Improve import friends from vcard time by bypassing a few checks + added test to calculate 1000 vcards import time 2015-12-17 14:24:22 +01:00
Sylvain Berfini
8c823fc039 Added import friends from vcards test 2015-12-16 11:54:34 +01:00
Sylvain Berfini
0a59544a44 Added checks for null values in vcard.cc and added new methods to manipulate sip addresses in vcard from friend 2015-12-16 10:51:17 +01:00
Sylvain Berfini
f6edea6eec Use linphone_core_get_friend_list to ease future merge with friends lists + added method to add SIP address into vCard 2015-12-15 17:13:00 +01:00
Sylvain Berfini
91a10a6be9 Added methods to create LinphoneVCard list from buffer and also single LinphoneVCard from buffer too 2015-12-15 10:56:06 +01:00
Sylvain Berfini
47e0b04725 Added export functions for contacts as vCards + added documentation for vCard API 2015-12-14 17:43:20 +01:00
Sylvain Berfini
3782799e02 Added option in gtk ui to import contact(s) from vcard file 2015-12-14 16:10:01 +01:00
Sylvain Berfini
6703bd2079 Started to integrate vcards with gtk ui 2015-12-14 11:30:17 +01:00
Sylvain Berfini
528fc0a026 Started vcard interface for belcard 2015-12-14 11:30:09 +01:00
Simon Morlat
3497afd30e fix test not unregistering, causing later problems on other tests 2015-10-20 12:45:21 +02:00
Simon Morlat
02ef798b58 fix crash with presence. A subscribe refresh must be notified to the upper layer. 2015-10-20 11:42:14 +02:00
Simon Morlat
59b7e88d7d add new test 2015-10-19 12:55:08 +02:00
Simon Morlat
73cfad320d fix memory leaks around presence 2015-10-16 22:59:28 +02:00
Simon Morlat
a9d34e7b0f fix memory leaks and unreleased dialogs in presence management 2015-10-16 21:16:38 +02:00
Simon Morlat
177e400ddd fix memory leaks and flaws around presence 2015-10-15 16:46:48 +02:00
Simon Morlat
b9c32d33a5 send presence to multiple instances of a same user that subscribed to us. Fixes memory leak. 2015-09-04 22:23:00 +02:00
Margaux Clerc
a2561ca88c Add ref counting on LinphoneFriend 2015-04-14 17:04:48 +02:00
Gautier Pelloux-Prayer
0e273ee722 Cleanup translations 2014-11-28 11:02:00 +01:00
Jehan Monnier
251ba960c5 add new functions linphone_core_add_listener to enable multiple vtable to be registered 2014-09-16 15:00:12 +02:00
Simon Morlat
24a208100a * notify friend status to offline when network goes unreachable
* relax timeouts of tests again
* always install linphone_tunnel.h
2014-05-12 12:41:32 +02:00
Gautier Pelloux-Prayer
4386f18b21 replace tabs with spaces and remove trailing spaces 2014-04-22 17:22:51 +02:00
Simon Morlat
a0b7b1f3b0 rework implementation of SUBSCRIBEs delayed to successful registration.
In case of network errors, SUBSCRIBE could be sent before registration refresh, this should be fixed.
2014-03-11 17:25:07 +01:00
Simon Morlat
87d4f5f895 imlement java synchronization of LinphoneFriend with LinphoneCore 2014-01-22 16:49:15 +01:00
Simon Morlat
b47a179309 add linphone_core_find_friend() 2013-10-31 17:34:58 +01:00
Ghislain MARY
10734524fe Add factory functions to create common linphone objects. 2013-10-08 14:28:16 +02:00
Ghislain MARY
d10ab0a250 Getter functions need to start with "get". 2013-10-07 11:20:04 +02:00
Simon Morlat
a0d580ceb9 fix macos build issue
remove useless code
2013-10-02 14:58:19 +02:00
Ghislain MARY
20dfd43aac More coherent friend API. 2013-09-19 11:15:29 +02:00
Ghislain MARY
cb1b69f2eb Add linphone_friend_get_name(). 2013-09-16 09:25:31 +02:00
Simon Morlat
26a522902e fix crash in presence unsubscription 2013-09-13 18:38:27 +02:00
Simon Morlat
bbedbf7652 update ms2 2013-09-13 16:48:50 +02:00
Simon Morlat
16da9c1b3b send username in contacts of publish
send unSUBSCRIBE when friend subscription is toggled off.
2013-09-13 15:15:07 +02:00
Ghislain MARY
d9684b0c3b Fix wrong warning being output when a friend is offline. 2013-09-05 11:27:40 +02:00
Simon Morlat
d85aeddbd1 logs cleanup 2013-07-31 23:58:53 +02:00
Jehan Monnier
ab6027703b make sure lf->initial_subscribes_sent reset when subscription is
invalidated
2013-07-24 22:54:10 +02:00
Jehan Monnier
9702eeb281 wait until linphone friend proxy config is registered before sending
first subscribe
2013-07-23 20:35:59 +02:00
Simon Morlat
0b2d04d624 many improvements
* re-send SUBSCRIBEs after network gets reachable again
* allow to set the default SUBSCRIBE expires using [sip] "subscribe_expires" property
* re-send initial SUBSCRIBE if remote peer lost the dialog context
2013-07-05 23:05:20 +02:00
Ghislain MARY
15952e46fb Use unref instead of explicit delete for presence objects. 2013-06-25 10:36:22 +02:00
Ghislain MARY
ee35e8e413 Remove linphone_friend_set_presence_model() and make linphone_friend_get_presence_model() return a const pointer because the user should not be able to change his friends' presence. 2013-06-25 09:58:20 +02:00
Ghislain MARY
14373bcb04 Prevent crash when adding a friend without entering a SIP URI. 2013-06-24 12:50:54 +02:00
Simon Morlat
866af779ab handle out of dialogs incoming NOTIFY.
Use in [sip]:
allow_out_of_subscribe_presence=1

to allow them for presence (unsecure)
2013-06-24 12:16:35 +02:00
Ghislain MARY
1b7f68b439 Change presence API a little bit to ease wrapping for other programming languages. 2013-06-21 17:06:08 +02:00
Ghislain MARY
a4340fc442 Update documentation about presence. 2013-06-19 17:22:26 +02:00