Author Topic: Global search on all imap folders  (Read 15643 times)

Offline diablo81

  • Newbie
  • *
  • Posts: 8
Global search on all imap folders
« on: January 17, 2011, 04:18:01 PM »
I cannot find a plugin that can search all imap folders or better I found this one roundcubeplugin-allfoldersearch - Project Hosting on Google Code , but I had problems with it. Is there another plugin for global search?

Thank you all.

Offline stremblay

  • Newbie
  • *
  • Posts: 9
Re: Global search on all imap folders
« Reply #1 on: May 23, 2013, 11:25:24 AM »
I am working on it,
it should work again soon.

I am 3/4 done with updating the code...

Stay tuned!

Offline stremblay

  • Newbie
  • *
  • Posts: 9
Re: Global search on all imap folders
« Reply #2 on: June 20, 2013, 05:05:21 PM »
Ok all work done,
all folder search for IMAP is in working order... BETA release.

Thanks to submit me the bugs...


Offline stremblay

  • Newbie
  • *
  • Posts: 9
Re: Global search on all imap folders
« Reply #3 on: June 23, 2013, 09:22:43 AM »
Latest version can always be found here:
https://code.google.com/p/roundcubeplugin-allfoldersearch/

Offline krelvinaz

  • Jr. Member
  • **
  • Posts: 22
Re: Global search on all imap folders
« Reply #4 on: September 21, 2013, 10:22:20 AM »
I needed this ability so I took a look at this.  The info is a bit sparse so what I did may not have been correct.

Created directory in plugins called allfoldersearch

Put into that two files:
  all_folder_search.php
  client.js

Modified the various file as indicated on the page.

app.js is a quandary... the actual file appears to be obfuscated.  There is an app.js.src which is not, am I supposed to update that and then do something to get the app.js to update??  copy it over??  Not very clear.

And then updated plugins in the config for allfoldersearch

Result is that I was unable to then view any message, just fetching forever.... had to back it out.

 

Offline krelvinaz

  • Jr. Member
  • **
  • Posts: 22
Re: Global search on all imap folders
« Reply #5 on: October 03, 2013, 09:25:17 AM »
I've been successfully using RoundCube now as my primary mail program for sometime now.  But the one missing feature of the program is the inability to search across folders.  This makes it way too time consuming to find an important mail that is stored in mail folders without know which folder it is in. 

A common requirement would be to look for all messages with a keyword in the subject line to see when a project started, and who had responded to the messages.  This could span years worth of email in a multitude of folders.

I've tried applying this several times without any success.

o Modify program/js/app.js  (2 places)
o Modify index.php
o Modify program/steps/mail/search.inc
o Modify program/steps/mail/list.inc
o Modify program/steps/mail/mark.inc
o Place the two scripts in plugins/allfoldersearch (all_folder_search.php and client.js)
o enable plugin in config/main.inc.php

Reload the Web App in browser.

Go to the Inbox... see the inbox mail, down at the bottom of the screen it either says.

Loading....  or  Refreshing...

Forever.  Doesn't stop.

Click on a message, nothing shows up but the prompt at the bottom says the same... Loading or Refreshing forever.

Even though the plugin is in the config settings for plugin, it does not show up as a loaded plugin though.

This is the one "feature" missing from Roundcube that prevents letting any of my clients to use it.  They all make use of folders extensively, and the inability to search across folders make it a non-starter. All of these clients would be moving over from Squirrel Mail which has this feature built in.

Others have apparently been able to do this, but I can't get it to work.  There is nothing in the error log.

Ref: Roundcube Webmail 0.9.4
« Last Edit: October 03, 2013, 09:32:36 AM by krelvinaz »

Offline stremblay

  • Newbie
  • *
  • Posts: 9
Re: Global search on all imap folders
« Reply #6 on: November 14, 2013, 09:02:59 AM »
krelvinaz,

It work fine on my side, as I am the one that modify the code to make it work on the new Roundcube.

Did you took the lastest version on https://code.google.com/p/roundcubeplugin-allfoldersearch/ ??


Offline stremblay

  • Newbie
  • *
  • Posts: 9
Re: Global search on all imap folders
« Reply #7 on: November 14, 2013, 09:05:53 AM »
Oh, and in the left of the "Search box" If you click on the magnify glass, do you see the option "All folder" checked?

Offline tin

  • Newbie
  • *
  • Posts: 2
Re: Global search on all imap folders
« Reply #8 on: January 31, 2014, 01:46:18 AM »
From the Google Code page:
Quote
Update coming soon that will get rid of the need for all of these additional hooks!

How soon is soon? Days? Weeks? Long since forgotten about?

Offline stremblay

  • Newbie
  • *
  • Posts: 9
Re: Global search on all imap folders
« Reply #9 on: January 31, 2014, 08:50:13 AM »
I use it on a regular basis since I've updated the code.

Yes the hook are a pain to install, but it take 2 minutes.

So yes it's forgotten pretty much, as it's perfectly working with a 2 minutes install. Instead of spending hours to find a way around.


Offline tin

  • Newbie
  • *
  • Posts: 2
Re: Global search on all imap folders
« Reply #10 on: January 31, 2014, 08:33:25 PM »
Yes the hook are a pain to install, but it take 2 minutes.
So yes it's forgotten pretty much, as it's perfectly working with a 2 minutes install. Instead of spending hours to find a way around.

2 minutes is a bit optimistic. Took me about 20 minutes just now. And it still doesn't work.
I'm assuming it's not working because the "all_folder_search" files aren't in the right place, but there's nothing saying what to do with them at all. I stuck them in a folder called "all_folder_search" in the plugins folder, and added "all_folder_search" to the plugins array in the roundcube config...

I think the documentation needs some work - I'd do it, but I've got no idea what to do yet.

Offline stremblay

  • Newbie
  • *
  • Posts: 9
Re: Global search on all imap folders
« Reply #11 on: January 31, 2014, 09:28:34 PM »
The plugin folder is named all_folder_search
and you have to include it in your "plugins" config/main.inc.php

Once the plugin is loaded, when you click on the magnify glasses at the right of the "Search" in roundcube. You will see in that "Magnify glass" menu a new entry "All Folders"

Offline krelvinaz

  • Jr. Member
  • **
  • Posts: 22
Re: Global search on all imap folders
« Reply #12 on: February 18, 2014, 02:16:41 AM »
Does this work with 0.95?

Offline rino88au

  • Newbie
  • *
  • Posts: 1
Re: Global search on all imap folders
« Reply #13 on: November 04, 2014, 12:09:45 AM »
Ok, I have installed and I have added all the hooks but it is not working

All folders is showing up under the search menu but it doesn't search all folders for sure

Are you sure this is working 100%?
« Last Edit: November 04, 2014, 12:56:28 AM by rino88au »

Offline hpx70

  • Newbie
  • *
  • Posts: 1
Re: Global search on all imap folders
« Reply #14 on: November 06, 2014, 06:41:54 AM »
Too much hassle and does not work properly.
lists the emails it has found, but when I click on an email, it opens another one!

I suggest using advanced_search.