[OGo-Evolution] Current state of the connector?

Christo Buschek evolution@opengroupware.org
Wed, 15 Nov 2006 14:08:35 +0100


Hi.

The following operations are implemented:
the creation, deletion and modification of calendar items is functional.
Contacts and tasks are read only. To enable the modification of calendar
items that are not created by yourself you have to enable a stored
procedure in the postgresql db (see small howto on the bottom).

The connector compiles against evolution 2.8 and eds 1.8.

greetinx
christo

zidestore/postgresql configuration:

Zidestore configuation:
LSUseLowercaseLogin" default to "YES".

in ZideStore.plist (to prevent old agenda items to show up in Zidestore
for performance reasons):

{
        SxAptFolder_MonthsIntoPast = "1";
}


The trigger:

CREATE OR REPLACE FUNCTION date_x_insert()
RETURNS TRIGGER AS '
BEGIN
    --RAISE LOG ''New access team id: %'', NEW.access_team_id;
    IF NEW.write_access_list IS NULL AND NEW.access_team_id IS NOT NULL
THEN
       NEW.write_access_list := NEW.access_team_id;
    END IF;
    --RAISE LOG ''New write access list: %'', NEW.write_access_list;
    RETURN NEW;
END;
' LANGUAGE 'plpgsql';

CREATE TRIGGER date_x_insert_trigger
BEFORE INSERT ON date_x
FOR EACH ROW EXECUTE PROCEDURE date_x_insert();

Save this in a file (e.g. /tmp/trigger.sql)

become root
su - ogo
First load plpgsql language in the database:
createlang  plpgsql ogo
psql -U ogo
\i /tmp/trigger.sql


On Wed, 2006-11-15 at 13:45 +0100, Janosch Rolles wrote:
> What is the current state of the Evolution GroupDAV connector?
> 
> Janosch
>