[dev] Address Book interface (turba, etc.)

Jon Parise jon@horde.org
Fri, 1 Mar 2002 16:49:51 -0500


On Fri, Mar 01, 2002 at 03:47:07PM -0600, Marcus I. Ryan wrote:

> So does that need to become part of the API call, or will Turba just
> return the first <n> objects when someone requests more than <n> objects?
> Beyond that, if we are going to do such a thing, do we want to make it
> such that a request can specify "start with item 2n+1"?
 
It would be nice to be able to page search results, but that
certainly complicates things a bit.

-- 
Jon Parise (jon@csh.rit.edu)  .  Information Technology (2001)
http://www.csh.rit.edu/~jon/  :  Computer Science House Member


>From chuck@horde.org Date: Fri,  1 Mar 2002 17:38:43 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 93100 invoked from network); 1 Mar 2002 22:39:21 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 1 Mar 2002 22:39:21 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 4221639C5; Fri,  1 Mar 2002 17:38:43 -0500 (EST)
Received: from 192.168.0.110 ( [192.168.0.110])
	as user chuck@localhost by marina.horde.org with HTTP;
	Fri,  1 Mar 2002 17:38:43 -0500
Message-ID: <1015022323.3c8002f316fc2@marina.horde.org>
Date: Fri,  1 Mar 2002 17:38:43 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <1015002404.3c7fb524a292e@horde.riboflavin.net> <20020301171431.GC18041@csh.rit.edu> <1015019227.3c7ff6db66762@horde.riboflavin.net>
In-Reply-To: <1015019227.3c7ff6db66762@horde.riboflavin.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
Subject: Re: [dev] Address Book interface (turba, etc.)

Quoting "Marcus I. Ryan" <marcus@riboflavin.net>:

> Didn't occur to me until I read this again...that is a Turba change. 
> This needs to be independant of Turba, so if we do something like that
> in Turba, it will need to become part of the API, which it isn't
> currently.  
> 
> So does that need to become part of the API call, or will Turba just
> return the first <n> objects when someone requests more than <n> objects?
> Beyond that, if we are going to do such a thing, do we want to make it
> such that a request can specify "start with item 2n+1"?

It should be a part of Turba. I think only for blank searches, though, like Jon 
said the first time.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"A dream which helps you to live your reality with dignity
 and justice is a good dream." - Tariq Ramadan


>From jan@horde.org Date: Sat,  2 Mar 2002 12:34:24 +0100
Return-Path: <jan@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 13438 invoked from network); 2 Mar 2002 11:36:36 -0000
Received: from mailout04.sul.t-online.com (194.25.134.18)
  by clark.horde.org with SMTP; 2 Mar 2002 11:36:36 -0000
Received: from fwd05.sul.t-online.de 
	by mailout04.sul.t-online.com with smtp 
	id 16h7oY-0000yY-03; Sat, 02 Mar 2002 12:36:34 +0100
Received: from linux.wg.de (320034214675-0001@[80.130.214.134]) by fmrl05.sul.t-online.com
	with esmtp id 16h7oF-1ztdE8C; Sat, 2 Mar 2002 12:36:15 +0100
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g22BYPR26108
	for <dev@lists.horde.org>; Sat, 2 Mar 2002 12:34:25 +0100
Received: from 192.168.60.138 ( [192.168.60.138])
	as user jan@linux by jan.dip.ammma.net with HTTP;
	Sat,  2 Mar 2002 12:34:24 +0100
Message-ID: <1015068864.3c80b8c089cd5@jan.dip.ammma.net>
Date: Sat,  2 Mar 2002 12:34:24 +0100
From: Jan Schneider <jan@horde.org>
To: dev@lists.horde.org
References: <1014947384.3c7ede386e732@marina.horde.org> <1015001896.3c7fb3289ae45@jan.dip.ammma.net> <1015006616.3c7fc5988792d@marina.horde.org>
In-Reply-To: <1015006616.3c7fc5988792d@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [dev] Last-minute reminder: OSCON talks

Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <jan@horde.org>:
> 
> > Did you already do some work on this? I have a basic rpc framework
> already 
> > running here.
> 
> I have a lot of ideas, but no code yet - I'd be interested in seeing what
> 
> you've got.

What I currently have is based on the xml-rpc extension. It consists of a 
rpc.php file sitting in the horde directory that provides an rpc interface 
to all methods defined by the registry and callable by a function. Methods 
that return a link are not so useful in rpc calls. ;-)

What I plan is to extend Horde apps that provide a servers or sources 
definition (currently only Turba) with a new backend driver that can be 
remote Horde installation. This driver calls then the rpc.php file of the 
other installation. 

I guess currently is only interesting for developers that drive a private 
installation of Horde and also use another one at their company or else 
where. We for example could use it to maintain a Horde addressbook on our 
server or - what is _really_ useful - have a whups installation on our 
server to replace bugzilla and see all the reported bugs on our local whups 
installations at home. :-)

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


>From jan@horde.org Date: Sat,  2 Mar 2002 12:47:02 +0100
Return-Path: <jan@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 13938 invoked from network); 2 Mar 2002 11:56:15 -0000
Received: from mailout05.sul.t-online.com (194.25.134.82)
  by clark.horde.org with SMTP; 2 Mar 2002 11:56:15 -0000
Received: from fwd08.sul.t-online.de 
	by mailout05.sul.t-online.com with smtp 
	id 16h87a-0002hs-03; Sat, 02 Mar 2002 12:56:14 +0100
Received: from linux.wg.de (320034214675-0001@[80.130.214.134]) by fmrl08.sul.t-online.com
	with esmtp id 16h87Y-1B12A4C; Sat, 2 Mar 2002 12:56:12 +0100
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g22Bl3R27683
	for <dev@lists.horde.org>; Sat, 2 Mar 2002 12:47:03 +0100
Received: from 192.168.60.138 ( [192.168.60.138])
	as user jan@linux by jan.dip.ammma.net with HTTP;
	Sat,  2 Mar 2002 12:47:02 +0100
Message-ID: <1015069622.3c80bbb6eb7f0@jan.dip.ammma.net>
Date: Sat,  2 Mar 2002 12:47:02 +0100
From: Jan Schneider <jan@horde.org>
To: dev@lists.horde.org
References: <1014988717.3c7f7fada1244@www.dahlen.ws>
In-Reply-To: <1014988717.3c7f7fada1244@www.dahlen.ws>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [dev] Updates for Swedish translation in the HEAD branch

Zitat von Andreas Dahlén <andreas@dahlen.ws>:

> I've updated the swedish translations for the HEAD branch. The files 
> could be found at; 

Commited, thanks!

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


>From andreas@dahlen.ws Date: Sat,  2 Mar 2002 13:06:26 +0100
Return-Path: <andreas@dahlen.ws>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 14265 invoked from network); 2 Mar 2002 12:07:01 -0000
Received: from as1-5-2.b.bonet.se (HELO tena.dahlen.ws) (194.236.143.39)
  by clark.horde.org with SMTP; 2 Mar 2002 12:07:01 -0000
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by tena.dahlen.ws (8.12.1/8.12.1) with ESMTP id g22C6x4k005330
	for <dev@lists.horde.org>; Sat, 2 Mar 2002 13:06:59 +0100
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=ISO-8859-1
Date: Sat,  2 Mar 2002 13:06:26 +0100
From: =?ISO-8859-1?B?QW5kcmVhcyBEYWhs6W4=?= <andreas@dahlen.ws>
Message-ID: <1015070786.3c80c042cd165@www.dahlen.ws>
MIME-Version: 1.0
Received: from localhost (localhost.localdomain [127.0.0.1])
	by localhost.localdomain (AvMailGate-6.12.0.2) id 04909-5846128F;
	Sat, 02 Mar 2002 13:06:26 +0100
Received: from 10.0.1.100 ( [10.0.1.100])
	as user anj@localhost by www.dahlen.ws with HTTP;
	Sat,  2 Mar 2002 13:06:26 +0100
To: dev@lists.horde.org
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-AntiVirus: OK! AvMailGate Version 6.12.1.22
	 at tena.dahlen.ws has not found any known virus in this email.
Subject: Change language dosn't work

Hi!

I've just updated to the latest CVS-version, of Horde and IMP, in 
the HEAD-branch and now I can't change language.  The version that 
where updated from CVS yesterday works fine.

To find out what could be wrong I checked the difference between the 
two versions. 
The problem is the update of lib/Lang.php to 1.25. If I use version 
1.24 (i.e. remove the comments of setlocale(LV_ALL, $lang) on line 
80) it's possible to change language.

/Andreas






>From jan@horde.org Date: Sat,  2 Mar 2002 13:14:49 +0100
Return-Path: <jan@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 14693 invoked from network); 2 Mar 2002 12:16:29 -0000
Received: from mailout03.sul.t-online.com (194.25.134.81)
  by clark.horde.org with SMTP; 2 Mar 2002 12:16:29 -0000
Received: from fwd05.sul.t-online.de 
	by mailout03.sul.t-online.com with smtp 
	id 16h8RA-0007Rd-03; Sat, 02 Mar 2002 13:16:28 +0100
Received: from linux.wg.de (320034214675-0001@[80.130.214.134]) by fmrl05.sul.t-online.com
	with esmtp id 16h8Qu-2Gc2YiC; Sat, 2 Mar 2002 13:16:12 +0100
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g22CEnR27906
	for <dev@lists.horde.org>; Sat, 2 Mar 2002 13:14:49 +0100
Received: from 192.168.60.138 ( [192.168.60.138])
	as user jan@linux by jan.dip.ammma.net with HTTP;
	Sat,  2 Mar 2002 13:14:49 +0100
Message-ID: <1015071289.3c80c2391e615@jan.dip.ammma.net>
Date: Sat,  2 Mar 2002 13:14:49 +0100
From: Jan Schneider <jan@horde.org>
To: dev@lists.horde.org
References: <1015070786.3c80c042cd165@www.dahlen.ws>
In-Reply-To: <1015070786.3c80c042cd165@www.dahlen.ws>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [dev] Change language dosn't work

Zitat von Andreas Dahlén <andreas@dahlen.ws>:

> Hi!
> 
> I've just updated to the latest CVS-version, of Horde and IMP, in 
> the HEAD-branch and now I can't change language.  The version that 
> where updated from CVS yesterday works fine.
> 
> To find out what could be wrong I checked the difference between the 
> two versions. 
> The problem is the update of lib/Lang.php to 1.25. If I use version 
> 1.24 (i.e. remove the comments of setlocale(LV_ALL, $lang) on line 
> 80) it's possible to change language.

Fixed in cvs. Chuck commited that probably accidently because his php 
crashes with this call and he comments it out always.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft