I have been working to add contact groups (database backed) to my
roundcube but I am struggling with the task due to the complexities of
ajax and lack of documentation.
I have managed with some difficulty to implement the majority of it
using the LDAP contact groups code as a starting point, and I am hoping
some people here can point me in the right direction to get the last of
the elements working correctly.
I can create a new contact group in the database using code based on
program/steps/addressbook/save.inc, however I can not figure out how to
update the javascript in real time. In the current form, I have to leave
the addressbook and return to update it.
What do I add to make it update the display?
--
Chris St Denis
Programmer
SmarttNet (www.smartt.com)
Ph: 604-473-9700 Ext. 200
-------------------------------------------
"Smart Internet Solutions For Businesses"
_______________________________________________
List info: http://lists.roundcube.net/dev/
Folder list has a hand pointer, let it be consistent with a message list
to have an arrow pointer.
Index: skins/default/settings.css
===================================================================
--- skins/default/settings.css (revision 1795)
+++ skins/default/settings.css (working copy)
@@ -171,7 +171,7 @@
white-space: nowrap;
border-bottom: 1px solid #EBEBEB;
background-color: #F9F9F9;
- cursor: pointer;
+ cursor: default;
}
#subscription-table tr.virtual td
--
Regards,
Dennis P. Nikolaenko, dennis(a)nikolaenko.ru
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi! I've made a patch which adds vertical splitter + some small fixes.
It needs some work for IE and probably for Safari, but it works fine with:
- Firefox3.0 (focus issue fixed via CSS: -moz-user-select: none),
- Opera9.5 (ad. fixed iframe drag issue: added drag_active flag),
- Konqueror3.5.
Splitter dots are better centered now and #mainscreen division is
required, but it's not a problem, I think.
Some things may be done in better way, but it's working. Feel free to
send corrections ;)
--
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/Xa/J7UfQYt7/vert_splitter.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/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Guys,
I've just checked out trunk so I can have the LDAP write facility for my
addressbooks, however, I've come across a bug.
When you enter your binddn - mine is uid=andy,ou=Users,dc=example,dc=com
- however, the bind_dn field is pre-appended with dn="$bind_dn" - which
breaks the authentication.
I'm looking through the code now to see if I can get rid of the leading
dn= and whether that fixes my problem. Let me know if you have any
other advice.
Regards,
Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkjKb7YACgkQauMjEM4rxIRbngCgpbs/r5ikpVmY4439Ixvu/Jle
L04AnRWZnVn2dGyM2dktlDGNU8Ma9f20
=mJrq
-----END PGP SIGNATURE-----
_______________________________________________
List info: http://lists.roundcube.net/dev/
#1485151 was solved after private talks with ALEC, so now new bug waiting for
some action ...
http://trac.roundcube.net/ticket/1485311
The common office apps formats (m$ and openoffice) are misdetected by libmagic
library and that means that roundcube sends such attachment with wrong
Content-type.
I'm proposing to use plain filename extension based type detection for
commonly misdetected formats. Example patch attached to bugreport.
Opinions?
--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
_______________________________________________
List info: http://lists.roundcube.net/dev/
Patch to update zh_CN localization. Thanks :)
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/mA/MRtfateN/label.inc.patch.bz2
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,
you can have my customized RoundCube for free or a donation to the RoundCube Team. I'm currently catching up with SVN 1748.
http://www.roland-liebl.de
user: demo
pass: demo
It has additional addressbook fields. Check also section usersettings -> addressbook
Let me know
Regards,
Roland
___________
I was disappointed to see that the feature request that most interests me
(adding extra contact details to the address book
http://trac.roundcube.net/ticket/1332930) got moved from 0.2beta to 0.5...
which means it's a LONG way off. In order to encourage development (since
I'm in no way, shape, or form a developer), would it be possible and/or
appropriate to add a bounty for this feature? I don't have a ton of extra
cash (my fiancee is in graduate school), but could offer $75 as incentive
for someone on the list to put in the work.
If you prefer not to do this sort of thing please let me know.
Thanks,
Doug
_______________________________________________
List info: http://lists.roundcube.net/dev/
I was disappointed to see that the feature request that most interests me
(adding extra contact details to the address book
http://trac.roundcube.net/ticket/1332930) got moved from 0.2beta to 0.5...
which means it's a LONG way off. In order to encourage development (since
I'm in no way, shape, or form a developer), would it be possible and/or
appropriate to add a bounty for this feature? I don't have a ton of extra
cash (my fiancee is in graduate school), but could offer $75 as incentive
for someone on the list to put in the work.
If you prefer not to do this sort of thing please let me know.
Thanks,
Doug
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hello,
I received an email today with 232 emails listed in the To: header. Most
of them had accents in the names so there was about 200 encoding emails
in the To: header. The method responsable for this is
decode_mime_string() and is recursive. My server stops recursion at the
150th level. So the email caused PHP to crash and a blank page to be shown.
I wrote the following patch against revision 1732 which will resolve the
issue. I changed the recursion for iteration :
Index: program/include/rcube_imap.php
===================================================================
--- program/include/rcube_imap.php (revision 1732)
+++ program/include/rcube_imap.php (working copy)
@@ -2416,9 +2416,10 @@
function decode_mime_string($input, $fallback=null)
{
$out = '';
+ $work = $input;
- $pos = strpos($input, '=?');
- if ($pos !== false)
+ // Iterate instead of recursing, this way if there are too many values we don't have stack overflows
+ while( strpos($work, '=?') )
{
// rfc: all line breaks or other characters not found
// in the Base64 Alphabet must be ignored by decoding software
@@ -2436,7 +2437,7 @@
$rest = substr($input, $end_pos+2);
$out .= rcube_imap::_decode_mime_string_part($encstr);
- $out .= rcube_imap::decode_mime_string($rest, $fallback);
+ $work = $rest;
return $out;
}
Please include this into trunk of round cube. Additionally, it would be nice if you patched this to the stable version. To patch this to the stable version, you'll want to change rcube_imap.php to rcube_imap.inc before patching. Using patch that comes with gentoo, it patched fine with fuzz.
I tested this patch on trunk and on the stable release 0.1.1. I have noticed that PHP is slow on calling methods statically, so the iteration will be a bit faster than the recursion. :D
Please let me know,
David
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/WA/DcyDmMrV/against-1732.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, developers.
I'm using Roundcube-0.1.1 with some plugins in product environment,
and testing roundcubemail svn version.
I'm confused why we can't use both sql and ldap address book in
roundcube svn version.
----<-- main.inc.php ----
// This indicates which type of address book to use. Possible choises:
// 'sql' (default) and 'ldap'.
// If set to 'ldap' then it will look at using the first writable LDAP
// address book as the primary address book and it will not display the
// SQL address book in the 'Address Book' view.
$rcmail_config['address_book_type'] = 'ldap';
----<----
If i set it to 'sql', and configured ldap address book, it will list
both two in address book panel, but when i click the ldap address
book, it raised database error. If i use only ldap, it works.
How can i use both address book types?
Thanks very much.
--
Zhang Huangbin
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hello,
I need you opinion about http://trac.roundcube.net/ticket/1485151
Does anyone know why http://trac.roundcube.net/changeset/1576 was introduced
(by alec)?
The pear bug mentioned in changelog doesn't explain the change since tspecials
need only escaping, not rfc2184 quoting.
The problem becomes bigger (for me) because it seems that even major email
providers in my country don't support rfc2184 (I'm pinging these). google
mail uses quoted printable there ... which looks wrong.
I'm lost.
--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi. I'm having an issue with large attachments (I've tried with a 5Mb
file) with both RC 0.1-rc2 and 0.2-alpha.
I've setting the PHP max upload size and the files are upload right
(to /tmp and then moved to RC temp/), but sending the message fails
without error (just the "sending message" notification, but nothing
happens). I've also noted that the temp/ directory contains a lot of
files (maybe all the files the users have sent?).
Any clue?
--
Javier Smaldone
javier(a)smaldone.com.ar
_______________________________________________
List info: http://lists.roundcube.net/dev/
sorry, database schema for use with this script
CREATE TABLE IF NOT EXISTS `mailrules` (
`mailrule_id` int(11) NOT NULL auto_increment,
`order` tinyint(4) NOT NULL default '0',
`name` varchar(128) default NULL,
`from` varchar(128) default NULL,
`to` varchar(128) default NULL,
`subject` varchar(128) default NULL,
`cc` varchar(128) default NULL,
`bcc` varchar(128) default NULL,
`replyto` varchar(128) default NULL,
`count` int(10) unsigned NOT NULL default '0',
`user_id` int(10) unsigned NOT NULL default '0',
`location` varchar(128) default NULL,
PRIMARY KEY (`mailrule_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
On Fri, Aug 29, 2008 at 7:55 PM, Roland Liebl <roland(a)liebl.ath.cx> wrote:
> Hello San,
>
> I had a brief look on your patch.
>
> There is a new database table mailrules necessary. Structure?
> Patch for db.php.inc.dist?
>
> Isn't there a template to manage mail rules?
>
> Please send me a complete zip of all modified file.
> Sorry I'm on windows and can't use .patch files at all.
>
> Regards,
> Roland
>
> On Fri, 29 Aug 2008 14:04:24 +0700, San <sansez(a)gmail.com> wrote:
>> from this ticket : http://trac.roundcube.net/ticket/1484890
>>
>> I have modified some function, about filter rules which use search
>> function from rcube_imap.php
>> I think it ok, please use this filter in next version of roundcube
>>
>> filter is the features I like....
>>
>> sorry for my poor English.
>>
>
>
--
Sincerely,
Nantharat Puwarang
Sansez [at] Gmail [dot] com
LPIC-1 : Linux Professional Institute Certified
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi there,
I have coded some stuff, not the way it is discussed at the moment. I started much sooner coding a plugin API.
Test Server: http://www.roland-liebl.de/webmail
user: demo(a)liebl.ath.cx
pass: demo
Download a complete package (based on SVN 1711) @ http://www.roland-liebl.de/dl/roundcube/
Even if you don't like the API please see the features I have implemented: http://www.roundcubeforum.net/showthread.php?t=3389
Most things are worth at least a review. Maybe you want to adapt things which are not hmailserver specific into default RoundCube.
-Roland
_______________________________________________
List info: http://lists.roundcube.net/dev/
from this ticket : http://trac.roundcube.net/ticket/1484890
I have modified some function, about filter rules which use search
function from rcube_imap.php
I think it ok, please use this filter in next version of roundcube
filter is the features I like....
sorry for my poor English.
--
Sincerely,
Nantharat Puwarang
Sansez [at] Gmail [dot] com
LPIC-1 : Linux Professional Institute Certified
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi there,
noticed a problem when replying to mails with X-Priority: 3 -- the
priority of the replying mail would always be set to 5. Reason seems
to be that there are two ways to indicate "normal" priority; set X-
Priority: 3 or just leave it out.
So I modified "program/steps/mail/compose.inc", at line 713:
$sel = isset($_POST['_priority']) ? $_POST['_priority'] :
intval($MESSAGE->headers->priority);
if ($sel == 3) $sel = 0;
$out = $form_start ? "$form_start\n" : '';
Bye,
Philipp.
_______________________________________________
List info: http://lists.roundcube.net/dev/
Do we support both drivers still? I want to use MDB2's matchPattern()
function (for case insensitive addresses searching using PostgreSQL) and
not sure if I must write equivalent for DB driver. If we're not
supporting DB now, the files should be removed from repo.
--
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 wrote a very quick change password form for an hmailserver instance
(http://www.hmailserver.com). It left me wondering what the intent was
for changing passwords in a more pluggable way so that I might make my
quick form more usable and extensible for others.
Thank you for your work,
Court
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hallo,
received an E-Mail with following Date-Line (in Function
iil_C_FetchHeaders, lib/imap.inc):
Date:
=?ISO-8859-1?q?=20Thu=2C=2010=20Jul=202008=2013=3A34=3A50=20+0200=20?=
=?ISO-8859-1?q?=28Westeurop=E4ische=20Normalzeit=29?=
After some research (i'm a noob in E-Mail-Specification) it seems to be
a quoted-printable String (RFC2821). Since it is quoted the followed
function iil_StrToTime can't interpret it properly and so can't extract
the Date. I'm now not sure, but think the Header-information should be
decoded before if the call of iil_StrToTime. I'm not sure if it is a
problem with other Header-Lines which were received in this function.
The same problem can occour also on several other lines in imap.inc
(iil_C_FetchHeaderIndex). Since the Iloha-Library should be replaced
(???) is it still a problem?
_______________________________________________
List info: http://lists.roundcube.net/dev/
I want to clarify that my question wasn't about changing double-click
behavior, it's about reducing/removing the delay for single click
behavior. Right now, there is 1/2 a second delay before loading an
email preview, presumably to prevent redundant loading of the email when
that click was the first of an intended double-click.
If reducing server load is more important than reducing end-user
waiting, it makes sense. At our site, we'd rather use more servers and
deliver a more responsive application.
One thing that we've discovered is that if you don't schedule the single
click behavior and just call it immediately on click, auto-loading the
next message after dragging one to the trash won't work. (When
"flag_for_deletion" = false). However, if you schedule it for 0
microseconds later, it still works.
Can anyone think of other problems with reducing the dblclick_time?
Thanks,
Ziba
On Thu, 14 Aug 2008 16:43:02 -0400, ziba <ziba(a)umich.edu> wrote:
>
>
> Hi,
>
> I'm wondering what the purpose(s) of dblclick_time are as used in
> program/js/app.js:this.msglist_select
>
> It seems clear that it will prevent the message preview from loading
> while the user is about to hit their second click to open the full
> message screen. There is some nice economy there. However, if they
> are just single clicking with the intent to see the preview it adds
> 0.51 seconds before the preview is shown.
>
> Are there other reasons for waiting dblclick_time + 10 after a single
> click to show the preview? If not, I'd side with the faster preview
> time over the economy of not loading the preview before loading the
> whole message.
>--
>
> Ziba Scott
> Web Application Developer
> Web/DB Team, Information Technology Central Services
> The University of Michigan
_______________________________________________
List info: http://lists.roundcube.net/dev/