christian-putzke / Roundcube-CardDAV

Roundcube CardDAV Plugin
http://www.graviox.de
GNU Affero General Public License v3.0
119 stars 28 forks source link

Adding Contacts Directly In MYSQL #18

Open flashtopia opened 12 years ago

flashtopia commented 12 years ago

I would love to know if we can simply add via insert statements contacts into my sql. The idea is to insert a contact into mysql, and then have carddav create the contact if it does not exist.

Most of the sql column labels are self explanitory. Could you please let me know what the following items are:

etag - last_modified (how is this tracked for new items) vcard_id - is this simply random or does it mean something?

Looking forward to your help.

flashtopia commented 12 years ago

I guess i have this a bit backwards. The original goal was to insert a contact into MySQL or delete one from MySQL and thus have the SOGO contact removed, edited, or added.

Is there a quick way to make a crud api for these functions? I would like to be able to call them from a url in a restful fashion. Any advice is greatly appreciated.

I guess what I am trying to build is a MySQL carddav client... Which is what i thought your software is, but i am now guessing that it is a phpcarddav client which copies the data (logs) to mysql for roundcube use?

Frank