I'm working currently on improvements of check_recent action. There's a
'new_messages' hook called. This hook contains 'count' variable. I'd
like to remove this variable for better performance. My questions are
for those of you that are using this hook. Do you need the count of new
messages, do you rely on this value in some way?
--
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,
I have been using Roundcube for a little while now and I'm very impressed,
in most cases it gives a lot more control over other webmail projects and
the user interface is very friendly.
There is just a little annoyance with the mail view in that the headers
move when scrolling through the messages. I've got 'Show preview pane' set
so the bottom half of the screen is taken up by that. This almost always
results the a scrollbar appearing when the message list is full. The
headers (Subject, Sender, Date etc.) also scroll with the messages so if
you are at the bottom of the window it's difficult to tell what the columns
mean. Would it be possible to have the headers fixed so that it only
scrolls though the messages?
I did a little digging and came across a solution
http://www.imaputz.com/cssStuff/bigFourVersion.html
I know this is quite a minor issue but I think it would improve on an
already great interface. I did a little tweaking using Firebug and managed
to get it to work on Roundcube. I would be willing to work on and submit a
patch if others are happy with this. I am unsure of the procedure of
submitting feature requests so I thought I would query here first.
Sami
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi,
In r3575 static functions were added to the password plugin for handling
the processing of the username into local and domain parts. Before this was
just done by splitting on the '@'. There are a few other plugins which use
a similar feature. Would it be worth adding these functions to the core so
all plugins can use the same ones?
I think it would be better from a user's point of view if they all behaved
the same and a single set of functions in the core would be an easy way to
do this.
Thanks,
Phil
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hello,
I have a couple of patches to make roundcube work with Apaches
authentication stuff, esp. Kerberos authentication.
This cannot be done with a plug-in alone as in the general case there is
no password roundcube could use to authentication against an
imap/pop/smtp/ldap server, so most of the patches implement SASL proxy
authentication.
If you are interested, is it ok to post these patches on the list and if
so should I post one at a time or all at once ?
Ciao
Andi
_______________________________________________
List info: http://lists.roundcube.net/dev/
The attachment contains the updated Ukrainian translation (labels.inc file).
--
Best Regards,
Volodymyr M. Kononenko,
Ukraine, ITS NTUU "KPI"
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/Pd/FLCIqEbV/labels.tar.gz
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, all these plugins create a calendar instance by: Now I have
to insert before parent::__contstruct ... $rcmail =
rcmail::get_instance();
$rcmail->config->set('db_table_contacts',
$rcmail->config->get('db_table_collected_contacts')); Otherwise it will use
the default contacts table. Is this a bug or intended behavior? Regards,
Roland
_______________________________________________
List info: http://lists.roundcube.net/dev/
Dear subscribers
A new major release is now available for deep testing. With this version we
fixed over 50 bugs and added new features like threaded message listing and
contact groups support as well as many little improvements that make e-mail
reading with Roundcube an even better experience.
While it's still called a beta release we consider it to be stable enough
for productive environments. However the new features may have some minor
issues which we are happy to hear about.
Download the 0.4-beta version now from http://roundcube.net/download
A complete list of changes can be found as usual at
http://trac.roundcube.net/wiki/Changelog
Attention: Please note that the database schema has changed. Therefore you
should carefully read the UGRADING instructions and make sure you apply the
according SQL statements from SQL/*.update.sql to your database. Run
bin/update.sh to see what needs to be done.
Have fun!
Thomas
_______________________________________________
List info: http://lists.roundcube.net/dev/
On Sun, 25 Apr 2010 16:16:00 +0200, fakessh <fakessh(a)fakessh.eu> wrote:
> On Sun, 25 Apr 2010 00:38:17 +0200, fakessh <fakessh(a)fakessh.eu> wrote:
>> On Sat, 24 Apr 2010 06:00:55 +0200, fakessh <fakessh(a)fakessh.eu> wrote:
>>> On Thu, 22 Apr 2010 17:58:43 +0200, fakessh <fakessh(a)fakessh.eu>
wrote:
>>>> On Thu, 22 Apr 2010 13:15:42 +0200, "A.L.E.C" <alec(a)alec.pl> wrote:
>>>>> fakessh wrote:
>>>>>
>>>>>> [root@r13151 ~]# diff --text -u
>> /home/ftpchrootshell/fakessh/sasl.txt
>>>
>>>>>
>>>>> BTW, http://trac.roundcube.net/ticket/1486647 ;)
>>
>>
>> pecl pam suffers from a known bug that prevents the proper use of
driver
>> pam
>> that is right
>>
>> http://pecl.php.net/bugs/bug.php?id=16995
>>
after further research it is necessary to type ctrl D.
how to write in this code
_______________________________________________
List info: http://lists.roundcube.net/dev/
On Thu, 22 Apr 2010 08:16:10 +0200, "A.L.E.C" <alec(a)alec.pl> wrote:
> fakessh wrote:
>
>> http://svn.php.net/viewvc/pecl/pam/trunk/README?view=markup
>
>> can you give me a simple example using this API
>
> something like that
>
> function password_save($currpass, $newpass)
> {
> if (extension_loaded("pam")) {
> if (pam_chpass($_SESSION['username'], $currpass, $newpass)) {
> return PASSWORD_SUCCESS;
> }
> }
> return PASSWORD_ERROR;
> }
I just finished the patch for pam
I do not know if you want to quickly implement
must make changes in files and installation documentation
short, the patch is simple
You may want to be more change in any case it is working perfectly on my
0.3.1 release
[root@r13151 ~]# diff --text -u /home/ftpchrootshell/fakessh/sasl.txt
/home/roundcube/www/plugins/password/drivers/sasl.php
--- /home/ftpchrootshell/fakessh/sasl.txt 2010-04-22
11:34:10.000000000 +0200
+++ /home/roundcube/www/plugins/password/drivers/sasl.php 2010-04-22
11:26:33.000000000 +0200
@@ -18,6 +18,16 @@
function password_save($currpass, $newpass)
{
+ if ( !extension_loaded('pam') && !extension_loaded('pam_auth') )
+ if ( !dl('pam.so') && !dl('pam_auth.so') )
+ echo( "PHP PAM module cannot be loaded" );
+ if ( pam_auth ($_SESSION['username'],$currpass) )
+ return;
+ if (pam_chpass($_SESSION['username'], $currpass, $newpass))
+ return PASSWORD_SUCCESS;
+ //return PASSWORD_ERROR;
+
+
$curdir = realpath(dirname(__FILE__));
$username = escapeshellcmd($_SESSION['username']);
$args =
rcmail::get_instance()->config->get('password_saslpasswd_args', '');
@@ -37,8 +47,5 @@
'message' => "Password plugin: Unable to execute
$curdir/chgsaslpasswd"
), true, false);
}
-
- return PASSWORD_ERROR;
}
-
?>
_______________________________________________
List info: http://lists.roundcube.net/dev/
Alec tipped me to look at the rcube_template::button method, which
handles the use of labels. Unfortunately with those icons that are
created as a "link" type, no label is possible. When I specify no type
(like in the #taskbar div), there's no change. Perhaps some
inheritance or overriding is done elsewhere that changes this
behaviour for the #mailboxcontrols div. I haven't really found the
time to look into this. Perhaps some CSS tweaking in a plugin could do
the trick, in combination with javascript DOM manipulation. I'd love
to use a plugin which changes the default behaviour. Plugins like that
make upgrades very easy.
Perhaps I'll spend some time on a plugin that uses javascript to
change some of those elements in the DOM. I like the icons, they add
something to the user experience, instead of only text labels. But
only icons, that's not really an improvement for user experience. And
user experience is one of the main features that sets RC apart from
all the other webmail clients.
Br.
Dennis
Op 22 apr 2010, om 18:17 heeft Emerson Pinter het volgende geschreven:
> I use labels in all buttons, all screens.
> I have one div after "<roundcube:container name="toolbar"
> id="messagetoolbar" />" and a roundcube:container (exclusive for the
> labels) inside this div. In this div there's one <span> (with the
> label)
> for each button. If I need to add a new button from a plugin (example,
> archive plugin), I have to modify the plugin to add the label inside
> my
> label container (is positioned after all existent labels). The label
> positions are controlled using clear and float attributes.
>
>
> --
> Emerson Pinter
>
> On Thu, 22 Apr 2010 09:44:43 +0200, Dennis Ortsen <dortsen(a)gmail.com>
> wrote:
>> Hi everyone,
>>
>> I guess it's been discussed before, but I can't find any recent (last
>> 6 months) discussions about it: text labels around (besides, below)
>> images/icons in the default skin. We're using 0.3.1-stable BTW.
>>
>> The only icons that have text labels besides them are in the #taskbar
>> div at the top right of the default skin. Judging from the template
>> for the taskbar, I would guess its pretty easy to add text labels on
>> other icons. For instance around those in the #mailboxcontrols div.
>> Instead of the default:
>>
>> <roundcube:button command="expunge" type="link" title="compact"
>> class="buttonPas expunge" classAct="button expunge" classSel="button
>> expungesel" content=" " />
>>
>> I added label="expunge":
>>
>> <roundcube:button command="expunge" label="expunge" type="link"
>> title="compact" class="buttonPas expunge" classAct="button expunge"
>> classSel="button expungesel" content=" " />
>>
>> Adding a label tag doesn't have any result, though the same syntax is
>> used in the #tasbar:
>>
>> <roundcube:button command="mail" label="mail" class="button-mail" />
>>
>> What am I missing here?
>>
>> thanks in advance,
>>
>> Br.
>>
>> Dennis
>> _______________________________________________
>> List info: http://lists.roundcube.net/dev/
> Esta mensagem pode conter informações confidenciais, privilegiadas
> ou privadas.
> Caso não seja o destinatário, favor apagá-la e notificar o remetente.
> Saiba que o uso impróprio das informações existentes é estritamente
> proibido, sendo tratado conforme as normas da empresa e a legislação
> em vigor.
_______________________________________________
List info: http://lists.roundcube.net/dev/
Heya,
I am trying to implement a plugin to filter out some folders on the imap server (public_html, www, etc). The plugin hook list_folders seems just the right one (Triggered whenever a list of the mailboxes is requested from the IMAP class. If no plugin returns a list, the default list is retrieved.), but it seems that this plugin hook is not working as expected.
I can successfully filter out the "problematic" folders in mail view, but not in the manage_folders setting page.
Is this a feature or a bug?
The problem is that manage_folders plugin hook is not capable of deleting the certain rows from html_table object (I could write a new plugin to build html_table with "right" folders, but I would rewrite almost the whole manage_folders function).
Thank you in advance,
regards, Jernej
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi,
The plain blue, green, and red used to display quoted text (in
<blockquote>) in the default skin look a little out of place amongst the
muted colours used for icons and other elements. I've substituted them for
"Sky Blue", "Plum", and "Scarlet Red" from the Tango icon project's palette
and slightly lightened the background. The result (attached) doesn't look
too bad to me. I tried "Chameleon" (green) as well but that was a bit
weird.
(Tango palette:
http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines#Color_Palette )
I think the colour of hyperlinks (which IIRC is the browser default and
usually plain blue again) could also use a similar change.
I haven't filed a ticket since this is largely subjective, and I'd like to
know what other people's preferences would be. I guess this might also have
minor consequences for colour-blind users.
-Albert
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/2x/D6EDeBei/roundcube-blockquote.pnghttp://detached.gigo.com/rc/2x/D6EDeBei/roundcube-blockquote.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/
I filed the following issue when I tried switching to RoundCube:
http://trac.roundcube.net/ticket/1486568#comment:3
...which as just been closed with a wontfix. Fair enough, bug trackers
aren't the place for discussion, so I'm here as I'm curious what the
design decision/objection is to letting users save their sent mails into
their Inbox?
Saving into the inbox is how I use my email account so threaded views
display in context, without it RoundCube isn't a viable option for me,
which is a shame, as it's a very nice client.
Admittedly, it also seems to be missing a threaded view, but that's
another issue.
- Jamie
_______________________________________________
List info: http://lists.roundcube.net/dev/
On Thu, 22 Apr 2010 12:29:07 +0200, "A.L.E.C" <alec(a)alec.pl> wrote:
> fakessh wrote:
>
>> according API
>> pam_auth() required before pam_chpass()
>
> API doesn't say this
>
>> it does not work without pam_auth()
>
> Are you sure?
YES
I just take the test by commenting lines in question "does not work
anymore"
pam_auth() required before pam_chpass() in php
Sorry, I have no testing environment, but c code of
> pam_chpass() contains pam_authenticate() call, so maybe it's not
> required to call pam_auth()
>
> http://svn.php.net/viewvc/pecl/pam/trunk/pam.c?view=markup#l291
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi everyone,
I guess it's been discussed before, but I can't find any recent (last
6 months) discussions about it: text labels around (besides, below)
images/icons in the default skin. We're using 0.3.1-stable BTW.
The only icons that have text labels besides them are in the #taskbar
div at the top right of the default skin. Judging from the template
for the taskbar, I would guess its pretty easy to add text labels on
other icons. For instance around those in the #mailboxcontrols div.
Instead of the default:
<roundcube:button command="expunge" type="link" title="compact"
class="buttonPas expunge" classAct="button expunge" classSel="button
expungesel" content=" " />
I added label="expunge":
<roundcube:button command="expunge" label="expunge" type="link"
title="compact" class="buttonPas expunge" classAct="button expunge"
classSel="button expungesel" content=" " />
Adding a label tag doesn't have any result, though the same syntax is
used in the #tasbar:
<roundcube:button command="mail" label="mail" class="button-mail" />
What am I missing here?
thanks in advance,
Br.
Dennis
_______________________________________________
List info: http://lists.roundcube.net/dev/
On Tue, 20 Apr 2010 14:09:07 +0200, "A.L.E.C" <alec(a)alec.pl> wrote:
> fakessh wrote:
>
>> I try to implement the change password plugin
>> I just watched
>> http://trac.roundcube.net/browser/trunk/plugins/password
>> it does not seem to have an option to change password when using
dovecot
>> I do not use sql or ldap. I use pam to store my password through the
>> authentication to postfix and dovecot:
>> my passwords are login or plain text
>> if so, can you enlighten me how to use the change password plugin
>
> I don't know if there is a plugin or driver for PAM passwords change.
>
> You need a command line tool for changing passwords e.g. chpasswd and
> use it in PHP. For example see 'sasl' driver from 'password' plugin.
> Programmers can take a look at http://www.unicom.com/sw/web-chpass. Also
> virtualmin (which we support in virtualmin driver) probably is working
> with PAM.
thank you A.L.E.C
thanks you all users
I just look at the code
http://trac.roundcube.net/browser/trunk/plugins/password/drivers/sasl.php
to integrate easily into roundcube
it is simply necessary to modify the code web-chpass and the executable c
nipasswd
then plugin with a part in c
I'm afraid of writing this piece of c, I just perl
the c is entirely taken from http://www.unicom.com/sw/web-chpass
I am afraid to make mistakes in writing c
them
what someone feels able to write this plugin derives from nipasswd
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hello again!!
I've finally developed this plugin. You can find it at the RoundCube
plugins repository, http://trac.roundcube.net/wiki/Plugin_Repository ,
or directly on SourceForge,
http://sourceforge.net/projects/rolespermission/ . Read documentation
for installation instructions (as easy as normal for plugins).
There already are some feature request I have created. They are
questions and proposals for RoundCube core developers. One, the most
important (I think) is a inter-plugins communication solution other
than the JavaScript. For going everything OK, I think plugins may be
able to define other plugins default variables and/or functions. I
mean, this plugin needs other plugins variable "permissions", where
other plugins should define their own permissions. From now on, this
plugin defines a global variable to link to its instance, so other
plugins can register permissions with a public function inside their
__construct function. Nasty, I think.
So here is a plugin and an open debate.
Best regards,
emi
2010/4/14 till <till(a)php.net>:
> I think its a great idea!
>
> On Apr 14, 2010 11:48 AM, "emi" <emidaruma(a)gmail.com> wrote:
>
> Hi there!!
> I'm making a plugin which does nothing but add an API and a
> preferences section to let other plugins distinguish between different
> kinds of users, what normally is called "User roles". A user may
> belong to none, one or multiple roles. Roles may be, for example,
> "Administrator", "Boss", etc. After this, other plugins may use this
> relationships to give some special rights to some users, not all of
> them.
>
> This could be used, for example, to do what now is done via
> config.inc.php. Can be also used for an infinity of cases: "Can add
> contacts to global address", "Can do a webconference", "Can define new
> calendars", etc.
>
> My idea to do so is that other plugins may declare permissions (for
> example, "Can configure MyPlugin"). Then, the master of the
> installation or those who have "Change permissions" rights could
> assign this permission to some role(s). This idea is just copied from
> Drupal, but surely it is used in many more programs.
>
> Do anybody has contributions/ideas/wishes for this plugin? Do any
> plugin developer see this is a good idea?
>
> Best regards,
> emi
> _______________________________________________
> List info: http://lists.roundcube.net/dev/
>
_______________________________________________
List info: http://lists.roundcube.net/dev/
The nb_NO translation has been updated and is now complete with all
current strings.
--
Best regards,
Odd Henriksen
RoundCube user
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/Zr/jWfbngRu/labels.inchttp://detached.gigo.com/rc/Zr/jWfbngRu/messages.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/
Here is the japanese updated translation.
---
Taka
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/XD/csjvKmhN/japanese.tar.gz
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 would like to get involved with RoundCube development and thought I would
try to add this feature: http://trac.roundcube.net/ticket/1486636
Before I begin, I would like to check if this feature is actually desirable
to the dev team?
My initial thought on how to implement this would be:
Add three new config settings - ban_ip_enabled, ban_ip_threshold,
ban_ip_length
Add a new SQL table (banned_ips) with three fields - "ip",
"failed_login_count" and "expiry_time"
Make two modifications to program/include/rcmail.php:
~ line 613: after a failed login attempt failed_login_count is
incremented for this IP, and the expiry_time is set to (now + ban_ip_length)
~ line 551: before checking if the user/hostname is valid, check that
'SELECT count(banned_ip) FROM banned_ips where IP=$remote_ip and
failed_login_count > $ban_ip_threshold and expiry_time > NOW()' returns 0
ban_ip_enabled would be checked before performing either of the checks
above.
I would appreciate comments/suggestions on this approach. Also, I am not
quite sure of the best way to clear out the expired entries from the
banned_ips table. Is there some internal RC mechanism for performing tasks
(in this case, issuing a SQL query to delete old entries) at specified
intervals?
Cheers,
Mike
_______________________________________________
List info: http://lists.roundcube.net/dev/