Hi,
thanks a lot!
On Mon, 21 Sep 2009 12:29:14 +0200, Nicolai Brogaard <nmb(a)minserver.dk>
wrote:
> On Mon, 21 Sep 2009 00:11:40 +0200, pete <pete(a)teamlupus.hu> wrote:
>> Hi Thomas,
>>
>> thanks for the answer. I feel some misunderstanding there, because what
> i
>> tried to tell that RC only checks for wether safe_mode is on before
> using
>> the set_time_limit function, and this logic fails where the php engine
> not
>> running in safe mode but has the set_time_limit function disabled. The
>> errors are many lines in the log, which makes it's size way bigger than
>> otherwise. AFAIK there is no functionality regression, or other problem.
>>
>> Meanwhile in my installation i did a workaround by enabling safe_mode.
>>
>>
>> On Sat, 19 Sep 2009 14:25:03 +0200, Thomas Bruederli
> <roundcube(a)gmail.com>
>> wrote:
>>> pete wrote:
>>>> hi,
>>>>
>>>> on line 67, it only checks if it runs on safe_mode enabled. Not in
>>>> safe_mode, but with set_time_limit disabled, it produces an error
>>>> message,
>>>> about 10-30 lines for a session of one user.
>>>>
>>> From the documentation of set_time_limit() on php.net:
>>>
>>> This function has no effect when PHP is running in safe mode. There is
> no
>>> workaround other than turning off safe mode or changing the time limit
> in
>>> the php.ini.
>>>
>>> ~Thomas
>
> http://trac.roundcube.net/ticket/1486149
>
> created a ticket.
> attached a patch, hope you like it.
>
> mvh.
> Nicolai Brogaard
--
Péter
XMPP, MSN: peter.laszlo.szabo(a)gmail.com
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hello,
I'm writting a plugin for select host from user's login, so I have to
not show the server box on login form.
If I leave 'default_host' blank at main.inc.php the "Server" box
appears, and if I put something on the config variable the plugin does
not work, because default host takes precedence over the host selected
by the plugin.
Is there a way to hide "server" box on login form without assign a value
to "default_host" or I have found a bug on default_host setting?
Thank you all, nice job :)
Pedro
--
------------------------------------------------------------------------
Pedro R. Benito da Rocha - Servicio de Informatica - Area de Sistemas
Universidad de Burgos (España) E-mail: pedro(a)ubu.es Tel: +34 947258845
------------------------------------------------------------------------
_______________________________________________
List info: http://lists.roundcube.net/dev/
hi,
on line 67, it only checks if it runs on safe_mode enabled. Not in
safe_mode, but with set_time_limit disabled, it produces an error message,
about 10-30 lines for a session of one user.
is it changed in 0.3?
--
Péter
XMPP, MSN: peter.laszlo.szabo(a)gmail.com
_______________________________________________
List info: http://lists.roundcube.net/dev/
I use qmail with vpopmail as mail-server.
vpopmaild can be used to change password among other things.
Using vpopmaild in a vpopmail enviroment, lets vpopmail take care of
database backend. And vpopmail-server and webmail-server can be separated.
I have attached a vpopmaild driver to use with the password plugin.
'vpopmaild.php'.
It is based on vpoppassd.php!
Also included are the new config.inc.
I added to config.inc this:
$rcmail_config['password_driver'] = 'vpopmaild';
// vpopmaild Driver options
// -----------------------
// The host which changes the password
$rcmail_config['password_vpopmaild_host'] = 'localhost';
// TCP port used for vpopmaild connections
$rcmail_config['password_vpopmaild_port'] = 89;
Please review, and commit it to the svn.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/Y3/3h1glqMU/vpopmaild.phphttp://detached.gigo.com/rc/Y3/3h1glqMU/config.inc.php
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 Till,
Why you've commented the line 38 (Header append Cache-Control public
env=!NO_CACHE )
in changeset 2939 (
http://trac.roundcube.net/changeset/2939/trunk/roundcubemail/.htaccess)?
I'm dealing with an apache/1.3 500 error caused by this line (when active).
You've commented
it to prevent this error?
Thank you!
--
Victor Benincasa
_______________________________________________
List info: http://lists.roundcube.net/dev/
I have attached the danish translation for the password plugin.
Please review and include.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/51/kYWRggRH/da_DK.inc
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
Updated Czech translation for Roundcube (labels.inc) and Roundcube
password plugin (cs_CZ.inc).
best regards M.K.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/b8/WXFH7YCb/cs_CZ.inchttp://detached.gigo.com/rc/b8/WXFH7YCb/labels.inc
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,
it's possible choose the redirection page after the login in the:
$this->add_hook('authenticate', array($this, 'authenticate'));
function authenticate($args)
{
if(!empty($_GET['_autologin']))
{
$args['user'] = $_REQUEST['_user'];
$args['pass'] = $_REQUEST['_pass'];
}
return $args;
}
I need this for redirect to the compose message after login if the initial
_action was compose.
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/
Hi all,
I've a addressbook that read from a custom table in a sqlserver database.
Why i see � instead of à?
Same errors in the coding?
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/
Password plugin driver to change passwords using php ssh2 extension and
saslpasswd
Config file plugin options:
$rcmail_config['password_rsasl_ssh_host'] = 'localhost'; //Remote Host
$rcmail_config['password_rsasl_ssh_port'] = 22; //Remote port
$rcmail_config['password_rsasl_ssh_username'] = 'user'; //Remote user
$rcmail_config['password_rsasl_ssh_password'] = 'password'; //Remote
password
$rcmail_config['password_rsasl_command'] = null; //Default:
'/usr/sbin/saslpasswd2 -p
$rcmail_config['password_rsasl_default_domain'] = null; //Default
domain - cyrus imap
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/jS/eQ0TIWEr/rsasl-plugin.patchhttp://detached.gigo.com/rc/jS/eQ0TIWEr/rsasl.phphttp://detached.gigo.com/rc/jS/eQ0TIWEr/password-plugin-new-.tar
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.
This is my first contact on this list and I would like to share with you
this new "feature" :-)
I would like to suggest the "Confirm-Delivery" functionality to Compose
window.
Scenario:
You want to send an e-mail and you need a way to confirm that your
MAILSERVER delivered it successfull to the DESTINATION MAILSERVER.
Many MTAs implement "Succesfull Delivery Report" (POSTFIX for example).
All you (the client) need to do is:
RCPT-TO: xxx(a)yyy.com NOTIFY=SUCCESS
To make it work on RC, I did this:
1) on COMPOSE NEW MESSAGE screen, add a checkBox:
[ ] Confirm Delivery
in skins\default\templates\compose.html:
---------
<td id="delivery-selector">
<roundcube:object name="deliveryCheckBox" form="form"
id="rcmcomposedelivery" /> <label
for="rcmcomposedelivery"><roundcube:label name="confirmdelivery" /></label>
</td>
---------
in program\localization\en_US\labels.inc:
---------
...
$labels['confirmdelivery'] = 'Confirm delivery';
...
---------
in skins\default\mail.css:
---------
#priority-selector,
#receipt-selector,
#delivery-selector
{
padding-left: 30px;
white-space: nowrap;
}
---------
in program\steps\mail\compose.inc:
---------
function rcmail_delivery_checkbox($attrib)
{
global $MESSAGE, $compose_mode;
list($form_start, $form_end) = get_form_tags($attrib);
unset($attrib['form']);
if (!isset($attrib['id']))
$attrib['id'] = 'delivery';
$attrib['name'] = '_delivery';
$attrib['value'] = '1';
$checkdelivery = new html_checkbox($attrib);
$out = $form_start ? "$form_start\n" : '';
$out .= $checkdelivery->show(in_array($compose_mode,
array(RCUBE_COMPOSE_DRAFT, RCUBE_COMPOSE_EDIT))
&& $MESSAGE->headers->mdn_to ? 1 : 0);
$out .= $form_end ? "\n$form_end" : '';
return $out;
}
$OUTPUT->add_handlers(array(
...
'deliverycheckbox' => 'rcmail_delivery_checkbox',
...
));
---------
2) make sendmail.inc collects the user action on new checkbox:
program\steps\mail\sendmail.inc
---------
if (!empty($_POST['_delivery']))
{
$headers['Return-receipt-to'] = $from;
}
---------
3) ask smtp server to generates "success delivery report" for this
message:
in program\include\rcube_smtp.php:
---------
public function send_mail($from, $recipients, &$headers, &$body)
{
if (!is_object($this->conn))
return false;
// we use this special header to know if this message requires delivery
report
$confirm_delivery = eregi("Return-receipt-to",$headers) ?
"NOTIFY=SUCCESS":"";
...
...
// set mail recipients
foreach ($recipients as $recipient)
{
// here:
if
(PEAR::isError($this->conn->rcptTo($recipient,$confirm_delivery))) {
...
---------
And that's it!!
Just for info:
I used "Return-receipt-to" header because I saw it on messages sent by
PegasusMail client.
(when I check the "Confirm Delivery" checkBox in pegasus)
This software is just GREAT !!
thanks!
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi Dev's,
Any objection about using MEDIUMTEXT() instead TEXT field type in "vars"
field of session table?
TEXT type allow only 64KB session strings, but it can be larger under
certain circumstances like
big search results. In a search test (using search box) that returns 4k
messages, my session
string [1] exceeded the column's maximum length and the value is truncated.
It broke the session
system and send the user back to the login screen.
If nobody has any objection, I can provide the patch.
----
[1] Error generated by PHP when session string is broken:
[14-Sep-2009 21:24:44] PHP Warning: *array_merge(): Argument #1 is not an
array* in
/var/www/html/roundcubemail-trunk-r2955/program/include/session.inc on line
82
-----
session.inc line 82:
rcube_sess_serialize(array_merge(*$a_oldvars*,
rcube_sess_unserialize($vars))),
--
Victor Benincasa
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi all,
I had a question. Switching from a horizontal to a vertical mailbox list (a three column layout), would you think this should be done through a plugin or through theme?
I played with it when creating a theme but was thinking that maybe this would be better done through a plugin.
- Aside from the obvious UI changes, to do this well one should really change how the message list table is displayed (since a narrower list doesn't make sense with the same table view). As far as I know, this is beyond what a skin can do.
- In addition, switching the layout makes more sense to do it through Settings > Mailbox View > Main Options rather than by switching themes.
- Lastly, this feature would then, in turn, be also available to any theme.
Any thoughts? Would this make sense to be done through a plugin or do you think this is better left to skins?
Thanks!
PS: I'm not a programmer, so unfortunately I don't know how to do it myself. Would this be hard to do? Any volunteers? ;-)
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi all,
I am migrating address book from horde to roundcube. I have a script called
migrate.php to do the job. I would like to make a button (i.e. next to the
'export contacts in vCard format) that will execute the migrate.php. I have
the button up, but it is disable. I add
<roundcube:button command="importhorde" type="link" class="buttonPas
importhorde" classAct="button importhorde" classSel="button importhorde"
title="importhorde" content=" " />
to skins/templates/addressbook.html
1. How can I make the button enable to click ?
2. How can I make the script running when the button is clicked ?
3. How can I change the icon/images of the button ? It uses the same image
as the 'Add new contact'
Thank you.
_______________________________________________
List info: http://lists.roundcube.net/dev/
I posted the following message to the Roundcube users list but never got a
response. Is there a fix for this?
Thanks,
Jeff
-------- Original Message --------
Subject: Re: [RCU] Deleting Messages
Date: Tue, 08 Sep 2009 11:45:55 -0700
From: Jeff Grossman <jeff(a)stikman.com>
To: Roundcube Users List <users(a)lists.roundcube.net>
On Tue, 08 Sep 2009 11:38:13 -0700, Jeff Grossman <jeff(a)stikman.com>
wrote:
> I am running version 3 and think it is great. I want to thank everybody
> involved on a great release. But, I do have one issue. Maybe it is a
> configuration issue, not sure. I have my messages sorted by date. I
show
> 30 messages per page. If I am on any page besides page 1 and delete a
> message, it will return me back to page 1 of the list instead of back to
> the page I was on. Version 2 did not have this problem.
>
> Thinking about it now this might have to do with the new config option
to
> show the next message on a delete. I have it set to not show me the
next
> message on a delete.
Actually, I just tried just hitting the arrow to take me back to the
message list and it returns me to page 1 also. So, I guess it has nothing
to do with the delete config but just has to do with returning to the
message list will always return you to page 1.
Jeff
_______________________________________________
List info: http://lists.roundcube.net/dev/
Alec,
you will reopen the ticket r2948, I deleted the messages and cache, it's
still the error occurs
Thanks
--
----------------------------------------------------------------
Tiago Gomes Pereira http://www.tiagogomes.eti.br
LPI Certified
LPI ID - LPI000129445
IT Service Management - ITIL FOUNDATION V2
ID - SR341901
algodas(a)gmail.com
_______________________________________________
List info: http://lists.roundcube.net/dev/
L.S.,
I'm currently updating the skin 'GroupVice' to be work with
RoundCube v0.3. I have a question about how to use templates
in combination with a plugin.
I.E.
I want to use some other images for the 'markasjunk' plugin.
How/where do I specify what skin to use for a plugin?
--
Kees de Keizer
kees(a)de-keizer.net
http://www.de-keizer.net/
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hello,
About a week ago I submitted a patch to remove "Add contact" link on
contacts already in address book: http://trac.roundcube.net/ticket/1486097
I have been using it since and it seems to work fine.
I was wondering it you were planning on pushing it into the trunk since
its milestone has been set to "later". I'd be happy to work on the patch
if you think it's not sufficient as is.
Thanks.
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi all,
it's possible to have an example script to attach file to a new email at
runtime?
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/
Hello,
I need to add a new tab into the tabsbar of the settings page. How can I
add it from my plugin ?
If the template_container hook must be used, could you please paste a
sample code ?
Thank you.
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi.
I went through the (quite good) German translation and changed some
strings to use even more common or correct words and phrases.
In "de_DE.patch" you can see all changes I made. Maybe it's interesting
for other Germans, so they can comment on it.
Another small thing: It should be "Deutsch (Deutschland)" or simply
"Deutsch" instead of "Deutsch (Deutsch)". Compared to the English language:
Deutsch (Deutschland) - English (Great Britain)
Deutsch - English
Deutsch (Deutsch) - English (English)
Best regards,
Lars
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/2u/GytLSvXa/labels.inchttp://detached.gigo.com/rc/2u/GytLSvXa/messages.inchttp://detached.gigo.com/rc/2u/GytLSvXa/de_DE.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 all,
This patch against trunk increases the performance of autocomplete address
book searches by only requesting MAXNUM (hardcoded to 15) results be
returned by the backend contact providers (LDAP and SQL). This is in theory
more efficient than fetching the full results list from all available
backends and then pushing individual results into the return list until it
hits MAXNUM contacts.
It also adds a configurable tuning parameter - autocomplete_min_length.
Searches of less than this length (in bytes) are ignored by the autocomplete
provider. This could probably be moved to or duplicated in the
ksearch_get_results JS function, but I have yet to familiarize myself with
that bit of the codebase.
I have backported this to 0.3-stable and tested it on our evaluation host
that's pointed at a production LDAP server with 45k+ entries spread across
multiple OUs, and it seems to work well.
Regards,
-Brandon
_______________________________________________
List info: http://lists.roundcube.net/dev/
Ladies and Gentleman,
I want to know what you think about changing the actual exhibition time
(3 seconds) of message boxes (through display_message() js function).
I think that we can set a timeout based on the amount of words displayed
instead of a generic time that can be faster than some users can read.
Studies [1] shows that the medium reading speed for comprehension is 3-6
words per second. Considering the reaction time, screen readability, difference
between different kind and size of displayed messages (varies with the
language
too), 3 seconds can't be enough in some situations.
We can improve the usability and accessibility for the users by changing
display
time to something more complacent.
It can be provided by a simple/light patch in app.js that I can do, but
first I want
your opinion.
My proposal:
- Exhibition time for short messages (under 5 words): 3500ms
- Time increase rate for each word (after the fifth word): 400ms (1.2sec
every 3 words)
[1] http://en.wikipedia.org/wiki/Reading_%28process%29#Reading_rate
--
Victor Benincasa
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi all,
We've been evaluating a number of different webmail interfaces to replace or
augment our old system developed by a now-departed student. So far we've
been very pleased with Roundcube, but ran into a few things during our tests
that we would like to see fixed or enhanced.
To that end, I've got a few small patches coming, the first of which is
included below. If it would be preferred that I open tickets and attach the
patches to there, I'd be glad to do that instead.
Anyway, we have an LDAP directory with over 45,000 entries in it that we'd
like to use as a backend for the new_user_identity plugin. For various
reasons, we'd like to prevent it from being visible to users. Attached is a
short patch that adds a 'hidden' flag to directory configuration entries.
Regards,
-Brandon
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/QR/xReQ2g7V/hidden-ldap.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/