Admin DC | 22 Aug 02:37 2014

[RCD] Error on Moving/Copying messages from INBOX to nested folders within INBOX; works from INBOX to other Top_Level folders

Hello,

I first tried posting this with my gmail and didn't see it showing up on 
the archive. So I wanted to make sure this went through so I used a 
non-free email domain.

If I created a duplicate thread I apologize.

Now on to the issue at hand.

We just oddly started experiencing this issue. We've spent quite a bit 
of time troubleshooting with logging increased on both our IMAP servers 
(Debian Wheezy 7.6 64bit with dovecot vers 2.1.7-7+deb7u1 )

I am absolutely able to reproduce this on numerous accts, even with 
logging up to 8 we do not see any "ERROR" or any reason why the copy and 
expunge would fail.

Our production copy of webmail was older (0.9-rc), so I suspected 
possibly it was a bug or something wrong with that version, so we 
created a "ourwebmail-new.foo.com" domain and do an inplace upgrade on 
our database (to preserve our address book and other client info), with 
no issues on upgrade to v 1.0.2

Currently we have been diffing a successful copy/move and an 
unsuccessful copy/move and just cant figure out what's going on

To sum up:

INBOX to SOME_RANDOM_FOLDER has copy/move WORKING
(Continue reading)

Thomas Bruederli | 20 Aug 09:14 2014
Picon

[RCD] Message compose Zen mode

Hello folks

We have a pending ticket [1] for the upcoming Roundcube 1.1 release
which asks for more space when composing messages. My proposition was
to add a Zen mode as some of you might know from github. I have now
implemented this in a separate branch 'dev-zenmode' in the Roundcube
git repository and I'd like to hear your comments on this. So if you
have a git checkout somewhere, please quickly switch to the
'dev-zenmode' branch and have a look.

Thanks!
Thomas

[1] http://trac.roundcube.net/ticket/1489198
_______________________________________________
Roundcube Development discussion mailing list
dev <at> lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev

Cor Bosman | 17 Aug 16:47 2014
Picon
Picon

[RCD] searching

Hey all, im playing with searching and an FTS enabled mail server (dovecot) with 1.2 million emails. This
works very well. But i wish there was a way to allow the full power of imap searching in roundcube. Roundcube
only seems to allow a very limited set.

For instance, in dovecot I can do:   SEARCH FROM COR TO ROUNDCUBE BODY FOOBAR 

This will give me all emails matching From:*cor* , To:*roundcube* where anywhere in the body it says
foobar. And with FTS lucene engine this is fast :)

Would it be an idea to allow the keyword raw, so you could say in the roundcube search box:  raw:FROM COR TO
ROUNDCUBE BODY FOOBAR  , which passes that search string unaltered to the backend imap server?

Cor

_______________________________________________
Roundcube Development discussion mailing list
dev <at> lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev

Cor Bosman | 15 Aug 11:33 2014
Picon
Picon

[RCD] prefs hostname revisited

Hey all, every so often we have this discussion about the hostname in the preferences db. It is quite a hassle
for us to have the imap hostname be part of the preferences. For instance, we allow some customer service
people to impersonate customers, and only 1 specific imap server allows impersonation, which is only
accessible through internal networks. But then we cant have these customer service people actually
interact with settings..

I went into the code a bit, and maybe this is a workable solution. There seems to be only 2 times when the
hostname is used to interact with the db. One in rcube_user::query(), and one in rcube_user::create().

Interestingly, create() has a plugin hook, which allows you to modify the hostname. But query() does not.

The code that calls query() is in rcmail.php.

>         $host     = rcube_utils::idn_to_ascii($host);
>         $username = rcube_utils::idn_to_ascii($username);
> 
>         // user already registered -> overwrite username
>         if ($user = rcube_user::query($username, $host)) {
>             $username = $user->data['username'];
>         }

What if we add a plugin hook there (or actually in query()), so you can modify the created hostname during
login? That way, this can all be done using plugins and people that want to can set a static hostname for preferences.

Cor

_______________________________________________
Roundcube Development discussion mailing list
dev <at> lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev
(Continue reading)

Rosali | 15 Aug 07:50 2014
Picon

Re: [RCD] Plugin API register task

Am 2014-08-14 18:28, schrieb Thomas Bruederli:
> On Thu, Aug 14, 2014 at 3:52 PM, Rosali <myroundcube <at> mail4us.net> 
> wrote:
>> Hello Devs,
>> 
>> I don't understand how I should handle $this->register_task.
>> 
>> I have noticed if a plugin is running on its own task then it behaves
>> strange.
>> 
>> I think it is best to give an example:
>> 
>> [...]
>> 
>> So, what am I doing wrong? How do I have to register the action in a 
>> plugin
>> so that they are properly recognized while staying on a task which is
>> registered/owned by another plugin?
> 
> I guess looking at the request dispatching routine [1] clarifies the
> situation. First it checks is_plugin_task() and only if it isn't, the
> 'plugin.' prefix is checked. We might change the order of these checks
> and give precedence to 'plugin.*' actions but I can't imagine the
> side-effects such a change might have.
> 
> A work-around for your particular situation could be to execute
> rcmail.http_post('mail/plugin.carddav-addressbook-sync') or
> rcmail.http_post('foo/plugin.carddav-addressbook-sync') in order to
> not hit a task that is registered by a plugin.

(Continue reading)

Rosali | 14 Aug 15:52 2014
Picon

[RCD] Plugin API register task

Hello Devs,

I don't understand how I should handle $this->register_task.

I have noticed if a plugin is running on its own task then it behaves 
strange.

I think it is best to give an example:

I inlude a javascript file into each task which triggers an AJAX sync 
request as follows:

{{{
         rcmail.http_post(
           'plugin.carddav-addressbook-sync',
           '',
           rcmail.env.task == 'addressbook' ? 
rcmail.display_message(rcmail.gettext('addressbook_sync_loading', 
'carddav'), 'loading') : false
         );
}}}

If this request is executed f.e. in Kolab's calendar task I get an 
error:

PHP Error: No handler found for action 
calendar.plugin.carddav-addressbook-sync in 
C:\xxxx\program\lib\Roundcube\rcube_plugin_api.php on line 462 (POST 
/?_task=calendar&_action=plugin.carddav-addressbook-sync?_task=&_action=)

(Continue reading)

Lorenzo Petracchi | 13 Aug 09:27 2014
Picon

[RCD] adding transparent managesieve-vacation tests

Let managesieve-vacation plugin insert default tests in every users sieve
script, without the users see them on UI? Or do I need to modify the code
for this?

default tests to insert:
if allof (not exists
["list-help","list-unsubscribe","list-subscribe","list-owner","list-post","l
ist-archive","list-id","Mailing-List"], not header :is "Precedence"
["list","bulk","junk"], not header :matches "To" "Multiple recipients of*")

so I need to have something like this:

require ["vacation"];
# rule:[Vacanze]
if allof (not exists
["list-help","list-unsubscribe","list-subscribe","list-owner","list-post","l
ist-archive","list-id","Mailing-List"], not header :is "Precedence"
["list","bulk","junk"], not header :matches "To" "Multiple recipients of*")
{
    vacation :days 7 :addresses
["roundcube-test <at> unifi.it","rc-test <at> unifi.it"] :subject "assenza" text:
-- risposta automatica --

Sono assente. ciao
.
;
}

_______________________________________________
Roundcube Development discussion mailing list
(Continue reading)

Rosali | 12 Aug 07:16 2014
Picon

[RCD] Database cache

Does Roundcube its own garbage collection for expired entries in 'cache' 
table or do I have take care on my own for that?

_______________________________________________
Roundcube Development discussion mailing list
dev <at> lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev

Thomas Bruederli | 21 Jul 08:45 2014
Picon

[RCD] Update 1.0.2 released

Dear Roundcube users

We're proud to announce the second service release to update the
stable version 1.0 of Roundcube webmail. It contains some bug fixes
and improvements we considered important for the long term support
branch of Roundcube. See the full changelog here:
http://trac.roundcube.net/wiki/Changelog

It's considered stable and we recommend to update all productive
installations of Roundcube with this version. Download it from
http://roundcube.net/download.

Please do backup before updating!

Kind regards,
Thomas
_______________________________________________
Roundcube Development discussion mailing list
dev <at> lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev

Alex Brandt | 12 Jul 00:50 2014

[RCD] Docker Integration

Hey Guys,

I've been looking into making docker integration easier in 
Roundcube and was wondering if work along these lines would be 
welcome in a pull request.  The changes I would want as part of 
the docker integration are 1) a Dockerfile that can build and run 
roundcube and 2) environment variable reading for configuration 
values.

I've started some work in this direction but wanted to see if it's 
something that's interesting to the project as well.  Let me know 
if I should send a pull request or open a bug.

Thanks,

--

-- 
Alex Brandt
Cloud Evangelist for Rackspace
http://blog.alunduil.com
_______________________________________________
Roundcube Development discussion mailing list
dev <at> lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev
Scott Kramer List | 26 Jun 01:55 2014

[RCD] spell check on reply [Feature Request]

Option to only spell check your portion of the response on a reply, instead on the entire thread, or what ever follows?
_______________________________________________
Roundcube Development discussion mailing list
dev <at> lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev


Gmane