Hi,
as ticket #1485135 [1] suggests, javascript's native prompt() should be replaced
with a custom one.
I did a bit of research and I found Impromptu [2] seemed to do this job quite
well.
after some fiddling with the code I managed to get a nice-looking (at least
I think so -> but that doesn't count as I fail at any design/graphics tasks)
prompt dialog. A screenshot of it can be seen under [3]
my only problem is: to get this working, I had to refactor some code in
app.js (not much, but still enough that it could break something :))
Because of this I'm asking for someone who could review my code
and suggest what could've been done better. A patch against svn
trunk is provided under [4]
PS: I also think that the milestone for the ticket should be set to
0.4-beta, as it requires a bit more work than just replacing one
line in app.js
Regards,
Martin
[1] http://trac.roundcube.net/ticket/1485135
[2] http://trentrichardson.com/Impromptu/index.php
[3] http://img5.abload.de/img/rcppuje3.png
[4] http://pastebin.ca/1467910
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hello Guys,
I'm trying to debug the ldap address book access in the
last svn trunk, using xdebug.
The svn trunk is not giving any result when
clicking on the contact name on the left panel. ( see
http://trac.roundcube.net/ticket/1485908 )
Can you help me to start, by
giving me an entry point function ?
Thanks.
--
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 [1] | andre.rodier(a)red2.co.uk [2]
(+44) 0870 471 8492
direct
(+44) 0751 124 4961
mobile
Links:
------
[1] http://www.red2.co.uk/
[2]
mailto:andre.rodier@red2.co.uk
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hello everybody,
I had no answers to my patch proposition here:
http://trac.roundcube.net/ticket/1485914
This small patch automatically open collapsed folders during a drag and
drop process, after the mouse is on a collapsed folder for one second.
It's very useful if you have a lot of sub folders, and you forgot to open
the before starting to drag messages.
Also, scrolling the folder's list during drag & drop should be useful,
I'll try to work on that this evening.
ATB.
_______________________________________________
List info: http://lists.roundcube.net/dev/
HnazzzKristaps 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
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
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
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/
Hi,
I’ve attached an updated Swedish localization.
Regards,
Jonas Nasholm
Bitfuse Network
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/d4/E6ZIgu82/sv_SE.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 List,
here is the initial release (or peer review release) of a plugin for message highlighting. It has been quickly packaged as a
tarball and patch against the current trunk (r2456). This is not intended for production use.
We would be interested to hear what other devs have to say about this. We would like it to be less invasive into the internals
of RC, however we did not find out how to get this functionality all inside the plugin.
There are ways in which RC seems not to be very coherent in its-self. For example the message list building data seems to be
different between the JavaScript and HTML output. It seems to take two different paths through the code. Is this correct or have
we overlooked something fundamental? If this is correct, is it by design and if so why?!?
We believe that the use of jQuery could be greatly improved. We do a _lot_ of jQuery development and, to us, lots of what has
been implemented could do with being restructured and reworked.
We are also working on a Advanced Global Search plugin that we have working in-house but is not yet simple to package. That
plugin is even more invasive into the RC internals than this one.
Looking forward your feedback.
Chris Moules
--
Global Media Systems
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/qM/hKQ6SQEv/message_highlighting.tgz
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,
After a lot of pressure from some of our customers we finally released a
swekey plugin for Roundube Mail 0.3
For those who are still running 0.2.2 a patch is also available for
download.
A live demo (0.2.2) is available at http://roundcube-022.swekey.com, it
works only with gmail accounts.
For those who what to give the plugin a try, I got some swekeys dedicated to
the roundcube project. So if you are interested I can send some free samples
for the first requests (Till, please don't ask, you already have one :-)).
You can dowload the plugin from the swekey web site (http://www.swekey.com)
Cheers,
Luc
_______________________________________________
List info: http://lists.roundcube.net/dev/
I've sent this already to Thomas. This are two plugins to setup a demo
version of RoundCube.
Plugin taskbar:
Inserts a Navigation bar into the login page
Plugin demologin:
#1- It checks if demo(a)demo.com is occupied, if so it logs into
demo0(a)demo.com, if still
occupied it takes the next one up to demo[n](a)demo.com.
#2- On logout all folders are purged and the folder list is re-built.
#3- Finally a set of sample messages is saved to INBOX.
ToDo's:
I have blocked sending mails from the test account at all. I'd like to
redirect outgoing
messages to sender instead of blocking them. But I didn't find an
appropriate hook
to manipulate the recipient (outgoing_message_headers manipulates the
headers,
but the message is still delivered to the original recipient).
Also I would need a sample set of messages which a test user should see.
If this things were done, all specs Thomas told me should be there and
we could have an online demo version then.
Regards,
Roland
----- Original Message -----
From: "Roland Liebl" <roland(a)roland-liebl.de>
To: "Thomas Bruederli" <roundcube(a)gmail.com>
Sent: Friday, June 12, 2009 7:36 PM
Subject: Re: [RCD] RoundCube Online Demo
> Hallo Thomas,
>
> ich habe mal einen ersten Aufschlag für ein Demo Login angehängt ...
>
> Plugin taskbar:
> Fügt eine Navigationsleiste in die Login Page ein - trivial.
>
> Plugin demologin:
> #1- Es sind "n" Accounts definierbar, die auf dem IMAP Server vorhanden
> sein
> müssen.
>
> #2- Es überprüft ob demo(a)dom.com eingelogged ist, wenn ja, dann nimmt es
> demo0(a)dom.com usw. bis demo[n].dom.com erreicht ist. Falls es dort ankommt
> wird der Fehler "Alle Test Accounts sind belegt" ausgegeben. Das sollte
> die
> angemeldeten Demo User schon mal auf eine vernünftige Anzahl begrenzen.
> Außerdem wird dadurch verhindert, dass sich die Demo Accounts gegenseitig
> ins Gehege kommen.
>
> #3- Beim Logout werden alle default folders ge-purged sowie die nicht
> default folder gelöscht. Dann wird ein Set von default messages wieder
> hergestellt. Ich bräuchte an dieser Stelle noch ein Set von passenden
> default messages. Vielleicht hast Du ja auch noch eine Idee für einen
> Cron-Jump-in an dieser Stelle, um den Reset auch durchzuführen, wenn ein
> Demo User nicht ordentlich ausgelogged hat.
>
> #4- Senden ist ausgeschaltet. An dieser Stelle wäre es mir lieber, wenn
> die
> Nachricht gesendet, aber auf den Test Account umgeleitet würde. Ich fand
> aber dafür keinen Hook.
>
> #5- Das Empfangen von Nachrichten werde ich IMAP-Server-seitig
> unterbinden.
>
> Habe ich noch was vergessen?
>
> Was meinst Du zu diesem Konzept? Ich bin leider kein begnadeter Coder und
> wäre für Review/Improvement dankbar.
>
> Gruß
> Roland
>
>
>
>
> ----- Original Message -----
> From: "Roland Liebl" <roland(a)roland-liebl.de>
> To: "Thomas Bruederli" <roundcube(a)gmail.com>
> Sent: Friday, June 12, 2009 6:59 AM
> Subject: Re: [RCD] RoundCube Online Demo
>
>
>> Hallo Thomas,
>>
>> ich habe für dieses Wochenende ein Demo Plugin geplant. Ich denke,
>> darin könnte ich Deine Vorschläge einbauen. Den ersten Teil des Demo
>> Plugins (taskbar) habe ich schon fertig und bereits an die devs
>> Mailingliste
>> geschickt.
>>
>> Es wäre auch möglich, den Empfang von Mails über einen hMailFilter zu
>> blockieren.
>>
>> Ob mein Server den Load verträgt, wäre einen Versuch wert.
>>
>> Ich melde mich, wenn ich soweit bin. Das kann aber 2 Wochen dauern.
>>
>> Gruß
>> Roland
>>
>>
>> ----- Original Message -----
>> From: "Thomas Bruederli" <roundcube(a)gmail.com>
>> To: "Roland Liebl" <roland(a)roland-liebl.de>
>> Sent: Thursday, June 11, 2009 2:27 PM
>> Subject: Re: [RCD] RoundCube Online Demo
>>
>>
>> Hallo Roland
>>
>> Im Grunde eigentlich schon. Wir hatten mal ein Demo und das wurde
>> ziemlich vollgespamt und hat auch einiges an Load sowie Traffic
>> verursacht. Eine Anforderung an den Demo-Server ist, dass man per
>> Cronjob die Mailbox des Demo-Accounts resetten kann. Sprich, die
>> Ordnerliste und Mails darin müssen auf ein Default zurückgesetzt
>> werden können. Nur so kann man ein "anstämdiges" Demo anbieten, was
>> für alle Besucher neutral ist.
>>
>> Falls du so etwas bieten kannst, nehme ich dein Angebot gerne an.
>> Natürlich muss die Demo-Version so angepasst werden, dass keine Mail
>> verschickt werden können. Das kann aber locker lokal im Code gemacht
>> werden, was allfällige "svn up"s überleben sollte.
>>
>> Was meinst du?
>>
>> ~Thomas
>>
>>
>> On Thu, Jun 11, 2009 at 09:25, Roland Liebl<roland(a)roland-liebl.de>
>> wrote:
>>> Hi Devs,
>>>
>>> is there any interest to have a online roundcube demo?
>>>
>>> If so, I'd be glad to host one based on recent trunk.
>>>
>>> Regards,
>>> Roland
>>> _______________________________________________
>>> List info: http://lists.roundcube.net/dev/
>>>
>>>
>>
>>
>
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/1E/HdUh6YdZ/demologin.ziphttp://detached.gigo.com/rc/1E/HdUh6YdZ/taskbar.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/
Hello RoundCube Devs,
I'm a TinyMCE plugin developer and have modified RoundCube to make it
possible for developers like myself to extend the functionality of
TinyMCE through your plugin API.
The main thing TinyMCE plugin developers need, is access to the
properties passed to TinyMCE.init(). What I've done is modified
editor.js to do an rcmail.triggerEvent('tinymce_init', event). The
event object contains a member called options with the TinyMCE
options. There are other members too for the arguments to the
rcmail_editor_init function.
To make this work properly, it's important that plugins get a chance
to load and register their listener before rcmail_editor_init is
called. As such, I've also modified main.inc to call
rcmail_editor_init at the bottom of the JS (using the 'foot'
priority).
To apply the patch:
roundcube/$ patch -p0 tinymce_plugin_api.diff
And to demonstrate this patch, I've created a plugin for After the
Deadline. After the Deadline is a software service that checks
spelling, style, and grammar in TinyMCE. The plugin is available at
http://www.afterthedeadline.com/download.slp?platform=RoundCube you
can learn more about After the Deadline at
http://www.afterthedeadline.com/features.slp
-- Raphael
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/N6/ukdpVJJX/tinymce_plugin_api.diff
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 everyone,
I run a software service that checks spelling, style, and grammar. It
also does misused word detection ala Google wave.
[http://www.afterthedeadline.com/features.slp] I'm interested in
supporting RoundCube but before I go further, I wanted to get a gauge
on your interest level.
I looked at the plugin API and did not find support to modify the
editor settings. If I were to go forth, I'd submit a patch for
program/js/editor.js to modify the TinyMCE settings and likely a patch
to add an admin interface to let users unignore errors/provide an API
key when TinyMCE is enabled. If there is a clean way to modify the
TinyMCE editor settings via a plugin, I'm open to this as well.
If there is interest, let me know, and I'll hack something together
for you to look at. If not, no problem :)
-- Raphael
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi,
this plugin adds a configurable taskbar to login page.
It is useful if RoundCube is embedded into another web app
to provide a nav out link, a link to tocs or to inject buttons
to navigate into plugins from the login page,
f.e. self-registration, forgot password, etc.
I plan to extend the plugin to manipulate the regular taskbar to
inject buttons for plugin navigation as well (f.e. nav into calendar).
Nothing fancy, because all those modifications could be done
by editing the skin aswell. But I like it. It makes it easy to update and it
is useful for users without any coding skills to provide default hooks
for future plugins.
Any comments are welcome!
Regards,
Roland
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/Qw/WQGWpIdf/taskbar.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 Devs,
is there any interest to have a online roundcube demo?
If so, I'd be glad to host one based on recent trunk.
Regards,
Roland
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hello everybody,
I have wanted to add a small feature to roundcube.
When I drag and drop messages, I wanted to automatically expand folders
when possible.
* First, I have read the developments guidelines, and
saw this: Indentation consists of _4 spaces_ per level and no tabs!
*
Second, I have opened apps.js to add the functionality, and saw a lot of
tabs. I have replaced them with spaces, so, you are not obliged to accept
my patch...
Anyway, in this patch, I restart the drag & drop process just
after expanding a collapsed folder when possible. However, to avoid any
interference with current existing code, I have copied the drag_start
function to a drag_restart function. I am not familiar with this JavaScript
code, so, feel free to remove everything not needed into the function
drag_restart.
I'm sure we can also use a timeout, but I try to keep
things as simple as possible for the moment.
The next step, if possible,
is to scroll the folders list when reaching the bottom or the top of the
folders list, when dragging messages. I think it will be useful for all
people who have an interminable folder's list like me...
ATB.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/9G/bPX8oCbj/apps.js.patch
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, the function list_identities() confuses me a little. The
description claims it returns an array with identities (which would be
what id like), but it's actually returning an sql result, which you
have to pull through an sql fetch yourself. Looking through the code
for the use of list_identities() all instances are indeed calling
their own fetch_assoc on it. Why isnt the sql fetching done inside
list_identities() so that function actually returns an array?
Regards,
Cor
_______________________________________________
List info: http://lists.roundcube.net/dev/
Attached patch is a body prefetching proof of concept.
Currently to display a message at least two FETCHes are called.
The first for headers and bodystructure and the second for message body.
In most cases we can skip second call and fetch message body in first
call adding "BODY.PEEK[1]<0.2048>" to the list.
On my server I've got a negligible gain, because of very quick FETCH
(dovecot 1.1) and not havy load, but I like to know how about yours.
We could apply this as an option.
p.s. you can increase prefetch size changing 2048 to e.g. 4096 in the patch.
Currently it's hardcoded.
--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/1L/8jKjt4zs/prefetch.patch
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.
I installed roundcube 0.2.1 today and I'm quite fond of it. Only problem
I see, i can't use my local MTA (currently esmtp) to send my mails. So I
decided to hack a bit around. Should be quite quick, as roundcube
incorporates most of the hard work already.
If there is interest in it I can provide the result as a patch against
0.2.2? If I've overlooked a feature enabling me to do it more simply
(using mail() is not an option for me), I'd be grateful for a hint.
With kind regards,
Borg³
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hello everybody,
This is a simple patch for the LDAP address book implementation, for
roundcube.
The patch extract first name and last name to create new entry into the
address book.
Some email addresses are written using the notation
* First Name Last Name
* Last Name, First Name
This simple patch create defaults values for first name and last name, and
use them when not specified, instead of using email for default first
name/last name.
----------------------------------------------------------------------------
421,437d420
< // Create a default value for first name and last name
< // if the cn field contains ',' or ' '
< $defValues = array() ;
< if ( strpos($newentry['cn'],',') !== false ) {
< list($lastName,$firstName) = array_filter(explode(',',$newentry['cn']));
< $defValues['sn'] = trim($lastName) ;
< $defValues['givenName'] = trim($firstName) ;
<
< # Reorder first and last name
< $newentry['cn'] = "$firstName $lastName" ;
< }
< elseif ( strpos($newentry['cn'],' ') !== false ) {
< list($firstName,$lastName) = array_filter(explode(' ',$newentry['cn'],
2));
< $defValues['sn'] = trim($lastName) ;
< $defValues['givenName'] = trim($firstName) ;
< }
<
443,446c426
< if ( isset($defValues[$fld]) )
< $newentry[$fld] = $defValues[$fld] ;
< else
< $newentry[$fld] = $newentry[$this->_map_field("email")];
---
> $newentry[$fld] = $newentry[$this->_map_field("email")]
----------------------------------------------------------------------------
I hope it will be useful for somebody as it is for me.
André.
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hello everybody,
First, many thanks for your work, it seems to be
promising...
I'm currently uses two versions of Roundcube on the same
machine : 0.2 and the svn branch as test. Both versions uses the same
config file. If it's better to have two different config files, I can.
Since I have updated to the last SVN branch three days ago, something is
broken into my LDAP config. The LDAP autocomplete and add address is
working as usually, and the list of contact still appear into the address
book page. However, when I click on a contact, I have an error message "The
requested contact was not found".
Here my LDAP configuration:
$rcmail_config['ldap_public']['shared'] = array(
'name' => 'Red2
Shared',
'writable' => true,
'LDAP_Object_Classes' => array("top",
"inetOrgPerson"),
'LDAP_rdn' => 'mail',
'sort' => 'cn',
'hosts' =>
array('ldap.red2.co.uk'),
'port' => 389,
'base_dn' =>
'ou=addressbook,dc=red2,dc=co,dc=uk',
'bind_dn' => 'cn=Red2
Team,ou=people,dc=red2,dc=co,dc=uk',
'bind_pass' => '*****',
'ldap_version' => 3, // using LDAPv3
'search_fields' => array('cn', 'sn',
'givenName', 'mail'), // fields to search in
'required_fields' =>
array('cn', 'sn', 'mail'),
'name_field' => 'cn', // this field represents
the contact's name
'email_field' => 'mail', // this field represents the
contact's e-mail
'surname_field' => 'sn', // this field represents the
contact's last name
'firstname_field' => 'givenName', // this field
represents the contact's first name
'scope' => 'sub', // search mode:
sub|base|list
'filter' => '(mail=*)',
'fuzzy_search' => true,
'user_specific' => false
); // server allows wildcard search
Also, I'd
like to add some fields into the address book. I know roundcube use an
abstract base class for the address book, but the implementation seems to
be very flexible. Is it possible to use this implementation to add new
fields in r/w mode, like phone numbers, postal address, etc? In this case,
can I modify the rcube_ldap.php file and send you a patch, or it's better
to write a plugin ?
Thanks again.
PS for Alec : Спасибо !
André
Rodier.
_______________________________________________
List info: http://lists.roundcube.net/dev/
I've been spending a lot of time in Firebug with RoundCube the past few
weeks. One thing I've noticed is that there are quite a lot of network
requests to freshly load the front page. With the default theme there are
around 45 separate requests for a little less than 250K. I was asking
myself how to reduce the number of requests and was reminded of something
interesting that I had noticed Gmail doing, and that is to consolidate many
icons into a single image and then use CSS to position the image as the
background of a fixed width/height block-level element.
As I went to implement this, I began to realize that not only does this
approach reduce the number of network requests, but it also seems to
simplify the code a bit. With this method the code doesn't have to worry
at all about images or file names, but becomes somewhat image-agnostic by
only specifying the *type* of behavior it would like to see in a given
location. How that bahavior is implemented then becomes a simple matter of
CSS.
Here is the consolidated image with not all but most of the usual icons:
https://natha.nkinka.de/devmail/skins/default/images/icons/rc_icons.png
And here are the patches to implement this:
http://code.nkinka.de/gitweb?p=roundcube.git;a=commitdiff;h=84a7acd0f42e3c3…
I found that doing this reduced the number of requests on a clean load of
the main mailbox view from 45 to 35, which is fairly significant. It does
add about 5K to the page size because it brings along a number of unneeded
icons for that page. 10 less requests may not be perceptible for many
people running on a fast machine with broadband Internet to a server that
isn't very loaded. However, for a busy machine, perhaps an installation of
RoundCube serving webmail for a university, for example, 10 less requests
per fresh page load could make a noticeable difference. 10 less requests
will probably also make a noticeable difference for those on a high latency
connection, where 5K extra is less of a problem than 10 more network
requests.
I have no idea whether this is of any use or interest to anyone else, but I
thought I'd share my experiment with the list.
Nathan
_______________________________________________
List info: http://lists.roundcube.net/dev/
I send this message again, because it was sorted into a wrong thread.
----- Original Message -----
From: Roland Liebl
To: dev(a)lists.roundcube.net
Sent: Sunday, May 17, 2009 6:16 AM
Subject: Load skins templates from plugin directory
Hello Devs,
the attached patch is very usefull, IMO. It loads plugin templates from the plugin folder. It is similar to what you are already doing by the localization.
E.g.: $rcmail->output->send("settings.account") ... will parse the template from ./[conf:plugins_dir]/settings/skins/[conf:skin]/templates/account.html.
So we could use a "Domain Prefix" for plugin templates. It would make it easier to install a plugin, because the user does not have to copy things into the main skin folder.
Please let me know, if you will incorporate the patch. I'm in process to update MyRoundCube to use the new Plugin API and have to know if I can rely on this method.
Regards,
Roland
_______________________________________________
List info: http://lists.roundcube.net/dev/
This option causes many problems. I like to get rid of it. What you
think? There are related issues here and there, and it will be hard to
fix them all if we need to live with this option.
Removing this option will be of course a fine performance improvement.
E.g. next/prev buttons in message page are not skip_deleted aware.
Fixing this will require to add SEARCH/SORT ALL UNDELETED call with
result sorting. There are related issues in searching and caching:
http://trac.roundcube.net/ticket/1485634
--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi all,
It seems that the search don't search the email but only the object and the
body.
Are right or was a bug?
Thanks
--
Sandro Pazzi
IdWeb s.r.l.
Viale Romagna 69/A - 06012 Citta' di Castello (PG)
Tel. 075 851 97 28
Fax 075 851 97 30
_______________________________________________
List info: http://lists.roundcube.net/dev/
Devs,
I recently received a bulk e-mail from an event organizer that displayed in
RoundCube (using Firefox 3) with the little square hex-code glyphs in place
of some of the punctuation marks. I researched why this was happening, and
tracked it down to an encoding issue.
The text/html message part in the e-mail source specified iso-8859-1
encoding. After RoundCube converted the message part to UTF-8, there were
still non-UTF8 characters in the resulting text. One such character was
0x92, which is not even a valid iso-8859-1 character. It turns out that the
message originator must have been using Windows-1252 encoding (in which
0x92 is a single-quote character, which was correct in the context in which
it appeared), but incorrectly specified iso-8859-1 encoding in the MIME
message.
The Windows-1252 character set is effectively a superset of the iso-8859-1
character set, replacing some of the seldom-used control character code
points with additional punctuation and accent characters. Some mail agents
incorrectly blur the line between these two encodings, and send
Windows-1252 characters in iso-8859-1 messages.
The following workaround (in rcube_charset_convert()) corrects the issue
(at least for my one test case):
// Workaround for mail agents that include Windows-1252 characters
// in text advertised as ISO-8859-1
if ($from == "ISO-8859-1" && preg_match("/[\x80-\x9F]/", $str))
$from = "WINDOWS-1252";
What does everyone think of including a workaround like this? I'm generally
reluctant to work around improper behavior from other software, but this
particular kind of relaxed interpretation seems common (check out the
ISO-8859-1 page on Wikipedia).
--
Eric Stadtherr
estadtherr(a)gmail.com
_______________________________________________
List info: http://lists.roundcube.net/dev/
In http_response() we have:
if (response.action == 'list')
this.triggerEvent('listupdate', { folder:this.env.source, rowcount:this.contact_list.rowcount });
I think we should add (instead) a "global" event at the end of http_response function:
this.triggerEvent('http_response', { action:response.action });
So, plugins could bind to one (http_response) event and there just check
for which action it's executed. Am I right?
--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/dev/
----- Original Message -----
From: "Cor Bosman" <cor(a)xs4all.nl>
To: "Roland Liebl" <roland(a)roland-liebl.de>
Sent: Monday, June 01, 2009 9:31 AM
Subject: Re: [RCD] Plugin WIKI page
> Hi Roland, a tip concerning your limit recipients plugin. Check out
> function imap->decode_address_list().
> You can feed it a ['header']['from'] and it will return an array of valid
> recipients. Much cleaner than what you do now.
>
> I had to find that myself as well..unfortunately the docs dont mention
> such handy functions.
>
> Cor
>
>
>
Thanks for the hint. Next update of limit_recipients will do the check by
...
function check_recipients($args){
$rcmail = rcmail::get_instance();
$recipients =
count($rcmail->imap->decode_address_list($args['headers']['To'])) +
count($rcmail->imap->decode_address_list($args['headers']['Cc']))
+
count($rcmail->imap->decode_address_list($args['headers']['Bcc']));
if($recipients > $rcmail->config->get('limit_recipients')){
if($rcmail->config->get('limit_recipients_log')){
$this->log("Limit Recipients: " . $recipients . " > " .
$rcmail->config->get('limit_recipients') . " --> " . $_SESSION['username'] .
" --> IP: " . $this->getVisitorIP());
}
$this->add_texts('localization/');
$rcmail->output->command('display_message',sprintf(rcube_label('limit_recipients_msg','limit_recipients'),$rcmail->config->get('limit_recipients')),'error');
$rcmail->output->send('iframe');
}
return $args;
}
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi,
158 Apache:
159 -------
160 To enable these features in apache the following modules need to be enabled:
161 * mod_compress
162 * mod_expire
163 * mod_headers
I thought mod_compress is part of Lighttpd only. Isn't it mod_deflate for apache? I can't find mod_compress in my apache 2.2 installation.
Regards,
Roland
_______________________________________________
List info: http://lists.roundcube.net/dev/
1. Shouldn't 'create_identity' hook be called after 'create_user' (in
rcube_user::create)?
2. E.g. in rcube_user::create() we have:
$data = $rcmail->plugins->exec_hook('create_user', array('user'=>$user,
'user_name'=>$user_name, 'user_email'=>$user_email));
Do you plan to add possibility to stop function execution after
executing a hook inside of it?
3. In mail/compose.inc we have now in rcmail_save_attachment function:
'data' => $message->get_part_content($pid),
I think attachments could and should be handled via file pointer.
--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/dev/
I made some changes to the plugin doc to reflect recent changes. Hope
everyone is ok with them.
Cor
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi,
I've a problem with loading the plugin local config file.
My config (config.inc.php) in the root dir of my plugin:
<?php
// enable / disable yubikey authentication
$rcmail_config['yubikey'] = TRUE;
// yubikey API key & ID needed to access the web service API
// can be had at: https://api.yubico.com/get-api-key/
$rcmail_config['yubikey_api_id'] = '';
$rcmail_config['yubikey_api_key'] = '';
?>
When I'm calling $this->load_config('config.inc.php') or $this-
>load_config(), the function always returns false and I found the
following error message in the error log ...
[01-Jun-2009 11:26:44 +0200] PHP Error: Failed to load config from /
Users/oliver/Sites/trunk/roundcubemail/plugins//yubikey_auth/
config.inc.php (GET /~oliver/trunk/roundcubemail/?
_task=settings&_action=keep-
alive&_t=1243848404670&_remote=1&_=1243848404671&_unlock=0)
I first tought that the double slash in the path was wrong and so I
changed the code in rcube_plugin.php to ....
//$this->home = $api->dir . DIRECTORY_SEPARATOR . $this->ID;
$this->home = $api->dir . $this->ID;
... but now I'm getting the same error message with the correct path ...
Error message:
[01-Jun-2009 11:35:55 +0200] PHP Error: Failed to load config from /
Users/oliver/Sites/trunk/roundcubemail/plugins/yubikey_auth/
config.inc.php (GET /~oliver/trunk/roundcubemail/?
_task=settings&_action=logout)
Does anybody has some idea about this issue?
Regards,
Oliver
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi Devs,
do you plan to implement the following (IMO standard) features during v0.3 development or should they better be implemented as a plugin?
#1 - Forward message as attachment
#2 - Copy message to folder (currently only "move" is available)
#3 - Attach vCard according to identity
#4 - Select Range/Invert Selection in message list (I like it and am used to that feature from Squirrel)
#5 - Expand/Collapse all folders in folder list
I'm in process to update MyRoundCube - which has all those features - to use your fantastic plugin API.
I have to take care about my ressources and won't spend time on things which might be already on your ToDo's.
Thank you.
Regards,
Roland
_______________________________________________
List info: http://lists.roundcube.net/dev/