From rpierluigi at gmail.com Thu Oct 4 13:29:44 2018 From: rpierluigi at gmail.com (Pierluigi Ruffo) Date: Thu, 4 Oct 2018 15:29:44 +0200 Subject: [turba] lists, vcard 3.0 and turba Message-ID: <60ca4959-45e8-f3a2-721b-8284328252ff@gmail.com> Hi, I'm trying to use cardbook or sogo-connector on thunderbird to sincronize addressbook with turba (on horde). I realized I had to use vcard 3.0 which does not support lists. To take advantage of the lists, however, I would use the X-ADDRESSBOOKSERVER-MEMBER and X-ADDRESSBOOKSERVER-KIND fields. Please, could you tell me a guide or an example to implement this feature in turba? I searched a lot on the internet but I have not find a guide Thanks a lot. ? Pierluigi From jan at horde.org Thu Oct 4 15:05:43 2018 From: jan at horde.org (Jan Schneider) Date: Thu, 04 Oct 2018 15:05:43 +0000 Subject: [turba] lists, vcard 3.0 and turba In-Reply-To: <60ca4959-45e8-f3a2-721b-8284328252ff@gmail.com> Message-ID: <20181004150543.Horde.EiWut-hBi4f8R-cY3A3jFiN@yunosh.horde.org> Zitat von Pierluigi Ruffo : > Hi, > > I'm trying to use cardbook or sogo-connector on thunderbird to > sincronize addressbook with turba (on horde). > I realized I had to use vcard 3.0 which does not support lists. > To take advantage of the lists, however, I would use the > X-ADDRESSBOOKSERVER-MEMBER and X-ADDRESSBOOKSERVER-KIND fields. > > Please, could you tell me a guide or an example to implement this > feature in turba? I searched a lot on the internet but I have not > find a guide > > Thanks a lot. > > ? Pierluigi It's not as easy. The vCard deserialization happens in Turba_Driver#toHash(), but that's not the place where contacts are assigned to list. What you want to achieve needs more refactoring. -- Jan Schneider The Horde Project https://www.horde.org/ From rpierluigi at gmail.com Thu Oct 4 15:12:20 2018 From: rpierluigi at gmail.com (Pierluigi Ruffo) Date: Thu, 4 Oct 2018 17:12:20 +0200 Subject: [turba] lists, vcard 3.0 and turba In-Reply-To: <20181004150543.Horde.EiWut-hBi4f8R-cY3A3jFiN@yunosh.horde.org> References: <20181004150543.Horde.EiWut-hBi4f8R-cY3A3jFiN@yunosh.horde.org> Message-ID: <7ddd486b-87d4-eaa2-0bae-fc72bf73da1d@gmail.com> Hello. Thanks for the reply. do you mean that I need to develop something? or that I need to add fields to a database table and modify some php files? Do you know any guide or example that could help me? Thanks again. ? Pierluigi. Il 04/10/2018 17:05, Jan Schneider ha scritto: > > Zitat von Pierluigi Ruffo : > >> Hi, >> >> I'm trying to use cardbook or sogo-connector on thunderbird to >> sincronize addressbook with turba (on horde). >> I realized I had to use vcard 3.0 which does not support lists. >> To take advantage of the lists, however, I would use the >> X-ADDRESSBOOKSERVER-MEMBER and X-ADDRESSBOOKSERVER-KIND fields. >> >> Please, could you tell me a guide or an example to implement this >> feature in turba? I searched a lot on the internet but I have not >> find a guide >> >> Thanks a lot. >> >> ? Pierluigi > > It's not as easy. The vCard deserialization happens in > Turba_Driver#toHash(), but that's not the place where contacts are > assigned to list. > What you want to achieve needs more refactoring. > From jan at horde.org Thu Oct 4 18:46:36 2018 From: jan at horde.org (Jan Schneider) Date: Thu, 04 Oct 2018 18:46:36 +0000 Subject: [turba] lists, vcard 3.0 and turba In-Reply-To: <7ddd486b-87d4-eaa2-0bae-fc72bf73da1d@gmail.com> References: <20181004150543.Horde.EiWut-hBi4f8R-cY3A3jFiN@yunosh.horde.org> <7ddd486b-87d4-eaa2-0bae-fc72bf73da1d@gmail.com> Message-ID: <20181004184636.Horde.R4sHRW3rlFdcRhCabE8Ieaj@neo.fritz.box> Zitat von Pierluigi Ruffo : > Hello. > > Thanks for the reply. > do you mean that I need to develop something? or that I need to add > fields to a database table and modify some php files? > Do you know any guide or example that could help me? You would need to develop inside Turba's core code. > Il 04/10/2018 17:05, Jan Schneider ha scritto: >> >> Zitat von Pierluigi Ruffo : >> >>> Hi, >>> >>> I'm trying to use cardbook or sogo-connector on thunderbird to >>> sincronize addressbook with turba (on horde). >>> I realized I had to use vcard 3.0 which does not support lists. >>> To take advantage of the lists, however, I would use the >>> X-ADDRESSBOOKSERVER-MEMBER and X-ADDRESSBOOKSERVER-KIND fields. >>> >>> Please, could you tell me a guide or an example to implement this >>> feature in turba? I searched a lot on the internet but I have not >>> find a guide >>> >>> Thanks a lot. >>> >>> ? Pierluigi >> >> It's not as easy. The vCard deserialization happens in >> Turba_Driver#toHash(), but that's not the place where contacts are >> assigned to list. >> What you want to achieve needs more refactoring. >> -- Jan Schneider The Horde Project https://www.horde.org/