Re: [sabredav] Re: sabreDav - Carddav - Wipe all cards of a device

2015-10-12 Thread Guillaume Royer
Hi, Good for me, my problem is resolve. I know my developpment is not the best way to implement carddav but i have a complicated environment and have limited time but i plan to reimplement Carddav correctly later. Thank you for your help! Le mercredi 30 septembre 2015 18:01:16 UTC+2, Evert P

Re: [sabredav] Re: sabreDav - Carddav - Wipe all cards of a device

2015-09-30 Thread Evert Pot
In that case you need to do the exact same thing. You need to make sure that the result 'appears' as a deletion of every vcard and a re-creation of every vcard. So for each contact: * You generate a new URI (you must already have some URI that you presumably automatically determine) * You make

[sabredav] Re: sabreDav - Carddav - Wipe all cards of a device

2015-09-30 Thread Guillaume Royer
Hi, Thank you for your answer but it did not help me. I think it's a lack of information (my fault). I don't have a table with all the URI, i explain. I have a table with all my data like firstname, lastname, address, date of birth etc etc When a device connect to my server, i generate an URI

[sabredav] Re: sabreDav - Carddav - Wipe all cards of a device

2015-09-30 Thread Evert Pot
Hi Guillaume, To correctly simulate wiping out all vcards in an addressbook, you must simply delete them all and then re-create them, preferably with a new uri and UID value. I would personally probably do that by simply issuing DELETE and PUT HTTP requests to delete and re-create them respecti