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/