M,'Kristaps Kulis
- original message -
Subject: Dev Digest, Vol 24, Issue 12
From: dev-request(a)lists.roundcube.net
Date: 19/06/2009 17:32
Send Dev mailing list submissions to
dev(a)lists.roundcube.net
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.roundcube.net/mailman/listinfo/dev
or, via email, send a message with subject or body 'help' to
dev-request(a)lists.roundcube.net
You can reach the person managing the list at
dev-owner(a)lists.roundcube.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Dev digest..."
Today's Topics:
1. Re: cache busting - size -> mtime (Cor Bosman)
2. Re: cache busting - size -> mtime (Daniel Black)
3. Re: cache busting - size -> mtime (Cor Bosman)
4. id_ID translation (Arya Sabda)
5. nl_NL Translations (Frits Letteboer - St. Radio Twenterand)
6. Re: Password plugin and virtuser plugin ideas (Thomas Bruederli)
7. addressbook (Cor Bosman)
8. Re: Message archive plugin (Thomas Bruederli)
9. Re: Message archive plugin (Andre Rodier)
10. Re: open collapsed folders on drag & drop. (Thomas Bruederli)
----------------------------------------------------------------------
Message: 1
Date: Thu, 18 Jun 2009 17:05:32 +0200
From: Cor Bosman <cor(a)xs4all.nl>
Subject: Re: [RCD] cache busting - size -> mtime
To: Daniel Black <daniel(a)cacert.org>
Cc: dev(a)lists.roundcube.net
Message-ID: <2C3922BF-992C-46DD-BB9C-E7F7BCB714E2(a)xs4all.nl>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
On Jun 18, 2009, at 4:58 PM, Daniel Black wrote:
>
> Sorry I meant to write/ask this earlier but is there a reason for
> choosing
> size vs mtime?
>
I guess the main reason is that the filesize() call is cached, and the
stat() call isnt. You do not want to do stat() calls on all included
files for every single page load. I suppose you could cache the stat
info yourself, but as Thomas said, in practice filesize() is good
enough.
------------------------------
Message: 2
Date: Fri, 19 Jun 2009 01:32:26 +1000
From: Daniel Black <daniel(a)cacert.org>
Subject: Re: [RCD] cache busting - size -> mtime
To: Cor Bosman <cor(a)xs4all.nl>
Cc: dev(a)lists.roundcube.net
Message-ID: <200906190132.26382.daniel(a)cacert.org>
Content-Type: Text/Plain; charset="us-ascii"
according to http://au.php.net/manual/en/function.filemtime.php it is cached.
maybe its good enough but I don't want to be the one debugging it when its not
:-)
Thanks for all the discussion so far.
Daniel Black
--
Infrastructure System Administrator
CAcert
------------------------------
Message: 3
Date: Thu, 18 Jun 2009 17:38:28 +0200
From: Cor Bosman <cor(a)xs4all.nl>
Subject: Re: [RCD] cache busting - size -> mtime
To: Daniel Black <daniel(a)cacert.org>
Cc: dev(a)lists.roundcube.net
Message-ID: <83FB33F5-1E10-4AAB-B55C-1BF53E0C1BB6(a)xs4all.nl>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
On Jun 18, 2009, at 5:32 PM, Daniel Black wrote:
> according to http://au.php.net/manual/en/function.filemtime.php it
> is cached.
>
> maybe its good enough but I don't want to be the one debugging it
> when its not
> :-)
Guess mtime would be just as good then, maybe better indeed. Thomas?
Cor
------------------------------
Message: 4
Date: Thu, 18 Jun 2009 23:49:06 +0800
From: Arya Sabda <klunxer(a)gmail.com>
Subject: [RCD] id_ID translation
To: dev(a)lists.roundcube.net
Message-ID:
<dcad295c0906180849t1b14e4ccrd750dcd912c759c5(a)mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi all, the Indonesia translation already updated. Please check the attachment.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/Jw/765BOt7v/id_ID.zip
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
------------------------------
Message: 5
Date: Thu, 18 Jun 2009 21:25:16 +0200
From: "Frits Letteboer - St. Radio Twenterand"
<f.letteboer(a)radiotwenterand.nl>
Subject: [RCD] nl_NL Translations
To: dev(a)lists.roundcube.net
Message-ID: <4A3A949C.2000404(a)radiotwenterand.nl>
Content-Type: text/plain; charset="utf-8"
Should bring it to 100% translated.
--
Frits Letteboer
Technisch Beheer
Stichting Radio Twenterand
I: http://radiotwenterand.nl
E: f.letteboer(a)radiotwenterand.nl
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/ao/+l93cmbC/labels.inchttp://detached.gigo.com/rc/ao/+l93cmbC/messages.inc
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
------------------------------
Message: 6
Date: Fri, 19 Jun 2009 17:13:29 +0200
From: Thomas Bruederli <roundcube(a)gmail.com>
Subject: Re: [RCD] Password plugin and virtuser plugin ideas
To: "A.L.E.C" <alec(a)alec.pl>
Cc: RoundCube Dev <dev(a)lists.roundcube.net>
Message-ID: <4A3BAB19.3040303(a)gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
A.L.E.C wrote:
> We have a few plugins for password change using different methods for
> saving new password, but all of them have the same UI. I think it would
> be better for localization and future maintenance to join them into one
> plugin with many drivers. We need one function for password change, so
> we can do this as simple as possible. Let's add drivers/ directory with
> files sql.php, sasl.php, etc. and config option 'password_driver'. So,
> everyone just could add his own driver function.
Excellent idea. To configure it you suggest to use a local config file with
in the plugin directory, right?
>
> My second idea is to create hooks for rcube_user's email2user and
> user2email functions. Then we could move current virtuser_* features
> into 'virtuser' plugin. This plugin should also work as password above
> with drivers for file, sql, or any callback.
>
I agree to create hooks for these functions but why not creating diffrent
plugins for file and sql backends? I think the code for both will be
completely different.
~Thomas
------------------------------
Message: 7
Date: Fri, 19 Jun 2009 17:48:51 +0200
From: Cor Bosman <cor(a)xs4all.nl>
Subject: [RCD] addressbook
To: RoundCube Dev <dev(a)lists.roundcube.net>
Message-ID: <E731DA73-DED3-4A8A-A2A7-97E82566C2E3(a)xs4all.nl>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi all, question about the addressbook. What exactly is the
difference between Display Name, and First/Last Name? It seems
Display Name is the only thing used. It's used for searching, and is
added to the email address for the recipient. I dont see what First/
Last name are used for. Are they just informational? You cant search
on First/Last for one.
The naming sortof led me to believe that Display Name is a UI thing
only, just to show you what the address is for.. lets say 'Mom'. If
thats the case, should it really be added to the address during
composing? To me that doesnt make sense. Id rather that only the
First/Last name get added, if filled in.
Regards,
Cor
------------------------------
Message: 8
Date: Fri, 19 Jun 2009 18:18:00 +0200
From: Thomas Bruederli <roundcube(a)gmail.com>
Subject: Re: [RCD] Message archive plugin
To: Andre Rodier <andre.rodier(a)red2.co.uk>
Cc: dev(a)lists.roundcube.net
Message-ID: <4A3BBA38.2000809(a)gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi Andr?
I like this one! Here's another updated version where the configured
archive folder is added to the list of default folders which are always
listed on top of the other folders. I've also added a list icon to make the
archive folder appear accordingly.
~Thomas
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/yP/UWcxcBG2/archive_1.2.tgz
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
------------------------------
Message: 9
Date: Fri, 19 Jun 2009 17:20:32 +0100
From: Andre Rodier <andre.rodier(a)red2.co.uk>
Subject: Re: [RCD] Message archive plugin
To: Thomas Bruederli <roundcube(a)gmail.com>
Cc: dev(a)lists.roundcube.net
Message-ID: <4A3BBAD0.8070800(a)red2.co.uk>
Content-Type: text/plain; charset="iso-8859-1"
Hi Thomas !
Thanks for your work.
I don't have made a lot myself.
Regards,
Andr?.
Thomas Bruederli wrote:
> Hi Andr?
>
> I like this one! Here's another updated version where the configured
> archive folder is added to the list of default folders which are
> always listed on top of the other folders. I've also added a list icon
> to make the archive folder appear accordingly.
>
> ~Thomas
--
r e d 2
The red2 Group of companies; red2, red2 Services and red2 Agency
34-35 Eastcastle Street, London W1W 8DW
www.red2.co.uk <http://www.red2.co.uk/> | andre.rodier(a)red2.co.uk
<mailto:andre.rodier@red2.co.uk>
(+44) 0870 471 8492 direct
(+44) 0751 124 4961 mobile
Hi,
I am planning to write a plugin to reproduce the "collected addressbook"
feature of thunderbird (ie: each email address you send a mail to is
collected in a special automatic addressbook, usefull for completion).
I need to store the completed addresses somewhere of course, watching at
some code and existing plugins, I see 3 ways to do that :
- store it into the main address book of the user, but it's not a good
solution as "explicit" contacts will get lost in collected addresses.
- store it in the "cache" table, but I then have only one field and I
need to use serializing/unserializing, that is bad for performances (&
with a quicly growing collected list...).
- creating a new SQL table for the plugin, that would be the cleaner
solution at the moment but I wonder if there is some caveats adding
"freely" tables to the roundcube base...
... Can you guys give me some advice on that ?
Thanks for your help & anyway for that great piece of code !
Jocelyn
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hello everybody
Here my first plugin based on the Mark As Junk one.
The goal is to archive selected message by moving them to an "Archive"
folder. The name of the archive folder is configurable using the same
scheme as the Mark as Junk plugin:
> $rcmail_config['archive_mbox'] = 'Archive';
The localisations are in english and french.
The icons comes from the Tango icon set.
I hope it will be useful.
All the best,
André.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/tN/MtQUwbe2/archive.zip
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi all, question about the addressbook. What exactly is the
difference between Display Name, and First/Last Name? It seems
Display Name is the only thing used. It's used for searching, and is
added to the email address for the recipient. I dont see what First/
Last name are used for. Are they just informational? You cant search
on First/Last for one.
The naming sortof led me to believe that Display Name is a UI thing
only, just to show you what the address is for.. lets say 'Mom'. If
thats the case, should it really be added to the address during
composing? To me that doesnt make sense. Id rather that only the
First/Last name get added, if filled in.
Regards,
Cor
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi all, the Indonesia translation already updated. Please check the attachment.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/Jw/765BOt7v/id_ID.zip
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi all, in the past we've talked about caching busting. Especially
those that try to follow SVN with lots of customers it's quite
difficult to communicate to customers that they need to force reload.
Looking at the code it's pretty easy to add a ?v=XXXX for javascript
includes, but CSS is more difficult as it's hardcoded in the
templates. Has anyone thought about doing CSS cache busting yet? What
would be the easiest way to fix? Maybe add a roundcube object after
all template css includes that can be filled by a php function?
Also, an idea that was floated around before was to include a ?
v=a.b.c.d where a.b.d is the current version (0.2.2 for instance), and
d is default 0, but can be set in config.inc.php, to allow more recent
modifications of JS/CSS. Where would we put the a.b.c ? In preferences
as well? Maybe just the whole string in preferences?
Co
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi,
as you are on the way to roundcube version 0.3 (stable) you might want
to close some tickets
or put some in another milestone (since no huge features shouldn't be
added unless you
don't want another beta version :))
I've found two tickets that you might want to close/move:
-first is this one: http://trac.roundcube.net/ticket/1485589
it seems that this is already fixed
-second is http://trac.roundcube.net/ticket/1485135
don't you think this is a bit more than just a tiny change
(especially if you want to implement
it with jQuery)? so you may want to set the milestone for 0.4-beta
Regards,
Martin
_______________________________________________
List info: http://lists.roundcube.net/dev/