Code Monkey home page Code Monkey logo

expression-search's Introduction

Expression Search / GMailUI

Expression Search is a Thunderbird addon that add search features like Gmail

Powerful message searching through expressions. Type "from:fred to:tom" to see all messages from Fred to Tom in the current view. Support 'regular expressions' and 'click to search'.

The Addon can be installed from AMO: https://addons.thunderbird.net/en-US/thunderbird/addon/gmailui/

Documentation for the latest version can be found at: https://cdn.rawgit.com/wangvisual/expression-search/master/content/help.html

Documentation for the original version (0.1~0.6) can be found at: http://sites.google.com/site/kmixter/gmailui

Add-ons created/maintained by me:

expression-search's People

Contributors

jibe-b avatar jpfleury avatar stdedos avatar wangvisual avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

expression-search's Issues

header (regex) usage ?

Hi

Can you give me the usage of: header (regex) ?

should i start like that ("recipient" is used in the expression)

recipients:\.*?([,]).*?\1{1}

or like that (argument "recipients" before the expression)

recipients:.*?([,]).*?\1{1}

can i add any argument or have you limited arguments to a special list like: 
To, From, ccList etc

Original issue reported on code.google.com by [email protected] on 7 Jun 2014 at 10:13

Search only after pressing Enter

Hi,

Right now, search is run while typing after a very short laps of time. Is there a way to run it only after we hit Enter?

Thanks a lot for this very useful addon.

0.9.1.-let-fixed cannot be installed

Hi,
the lastet update cannot be installed, neither from Thunderbird add-on manager, nor by downloading from AMO. Both attempts end with error message.

Search for attachment name not working

It seems like "filename/fi/fn/file" do not work at all. any instructions how to use it properly or a quick fix if it really is a bug would be awesome.

Allow html code filtering...

The tb's internal body filtering system allows filtering the html code,
for body (regex), please allow me to filter in the html code (tags included)
section, for a more precise filtration.

Thank you

Original issue reported on code.google.com by [email protected] on 29 May 2014 at 10:48

Express Search not working in Menubar, small in ToolBar

If I change options to show Expression Search in the Menubar I don't see it, 
instead I see the first attachment.

If I put it in the Toolbar it makes the search box much smaller than I like. 
See 2nd attachment.

Thanks!


ExpressionSearch 0.8.3
Thunderbird 
Windows XP SP3




Original issue reported on code.google.com by [email protected] on 3 Mar 2012 at 2:28

Attachments:

Inverted search?

Maybe I am missing something but it seems that we currently cannot exclude something from search?
E.g. find all messages that are not from [email protected]?

I tried 'not', '~', '!', '-' as operators but none seemed to work.

Thanks!

header regex usage for filters..

I tried my first expression with & without ^anything$
using this method that you've given to me:
header(regex) matches /regex/modifiers
(i chose to move to trash)

Filter Name: To matches: More than two emails 
(recognized by the use of a second ",")


Header regex - matches

/(To|Cc|Bcc):\ .+?,(\n)?.+?,/gm

& then this:
/.+?To:\ .+?,(\n)?.+?,.+?/gm

& this:
/To:\ .+?,(\n)?.+?,/gm

nothing works ..

I even tested my expression..

http://regex101.com/r/gW4gO3


Original issue reported on code.google.com by [email protected] on 24 Jun 2014 at 2:34

Invalid results included

Using the 2017-04-05 version with TB 45.8.0, the search term "rma" returns 938 of the 1650 messages in my inbox. Many of the so-called results do not contain that term at all and nearly all of the rest only contain that term within other words (for example: information). This seems incredibly wrong.

2017_04_21_14_30_00_inbox_exchange_mozilla_thunderbird

2017_04_21_14_29_15_inbox_exchange_mozilla_thunderbird

make help more visible

It would probably help a lot of new users (including me) to make it more 
obvious that there is help available under options. I actually was digging 
through the source looking for the search terms before I realized there was 
real help.

I would suggest the following:

Indicate that help is available in the extension description on AMO. Right now 
you just link to the old doc which implies that is all the help there is.

Add a help button next to the expression field with an option to turn it off. I 
think most new users will happily trade some space for quick access to the 
search terms.

If you don't have a help button, launch help on first install or at least a tab 
with a link to launching help.

Thanks!

Original issue reported on code.google.com by [email protected] on 28 Aug 2011 at 4:24

New option to filter both base64 & unencoded messages


Opera,

I never know if i'm going to receive a base64 or normal email .. .

So i can't select the right open in filters between
"Filter before junk classification" 
&
"Filter after junk classification" (to obtain a decoded version of b64)

Please allow me to select in the filters:

"Filter before & after junk classification"

Original issue reported on code.google.com by [email protected] on 29 May 2014 at 10:46

Feature-Request: negate search expressions.

Feature Request: Negate search or search expressions to get all emails do not 
match the criteria.

e.g. it would be helpful if I could filter for unreplied messages by using 
something like
not:status:Replied
or status:not:Replied

Alternatively, having negated status keywords would also work, but would be 
more specific.

Original issue reported on code.google.com by [email protected] on 4 Jul 2013 at 2:49

Cntl-Enter Does not search all folders

What steps will reproduce the problem?
1. Type 'f:skip' in the search field

See all messages from skip in the view.

2. Hit cntl-enter

See all messages in view, unfiltered.


What is the expected output? What do you see instead?
See all messages from skip in all folders.  Instead I see all messages in the 
view, unfiltered.


What version of the product are you using? On what operating system?
Ubuntu 12.04
Thunderbird 12.0.1
Latest version of Expression Search


Please provide any additional information below.

The filtering works great for the current view, but when I try to expand it to 
all folders using the documented cntl-enter, it does not work.


Original issue reported on code.google.com by [email protected] on 6 Jun 2012 at 12:09

Search results invisible in non-standard folder views

When folder view is set to e.g. „View > Folders > Favourites“, then a global Expression Search seems to be delivering no results, simply because the ExpressionSearch folder is invisible. I’m not sure this is the intended behaviour – I would find it more intuitive if the folder automatically became visible at that point.

[A possible workaround is of course to add the folder to the favourite folders.]

Unbale to find IP's from 'Recieved:' headers

What steps will reproduce the problem?
1.use IMAP Folders
2.Add header "Received" to the "Search more headers"
3.Use headerre:Received=/^.*10.*$/ as the searcher

What is the expected output? What do you see instead?

I woudl have expected the IP to be shown that had the value 10 in it

What version of the product are you using? On what operating system?

Thunderbird 24.3.0 
Linux
Addon - 0.8.8

Do you see any errors in Error Console?
No


Please provide any additional information below.

When I use:

headerre:Received=/^.*$/

This works fine, it find everything, yet when I try to find a specific IP in 
the headers I'm unable to. 

Is there a specific JS regex that needs to be used to find the IP only.   An 
example, "received line" would be:

Received: from m10-46-65-193.cus3.tele2.bk ([10.46.65.193])

(IP changed)

Thanks in advance!

Original issue reported on code.google.com by [email protected] on 23 Jun 2014 at 2:43

Search for Today

If I type "date:today", please filter the results based on the current date.

If I type "date:yesterday", please filter the results based on previous date.

If I type "date:week", please filter the results using the date range of 1 week 
ago until today.

If I type "date:month", please filter the results using the date range of 1 
month ago until today.

Original issue reported on code.google.com by [email protected] on 19 Apr 2012 at 7:12

Search for senders "in adressbook" or "not in adressbook"

I just found your great extension and quickly found myself wanting to search for senders "not in adressbook". I think this is a great way to clean up an e-mail folder from junk quickly. Is this something that could be easily added?

Search is VERY slow and makes UI unusable

When I type anything in the search box, TB UI almost freezes for a rather long period of time. Few results come up almost immediately, but I have to wait for the rest.

Windows Task Manager shows that Thunderbird uses 27% of processor, which means it uses one core to its full power. I cannot do anything until the search is over.

Maybe you should make it multithreaded? Or at least move search out of a UI thread - it is really bad. And even a little progress bar would be great, something like "Searching through 1234/10000".

Regex issue (missing argument)

Please implement this in your regex registry, it's part of the regex registry, 
and it means, "case-insensitive":

(?ism)


Example:

http://regexr.com/v1?38mmb

Thanks

Original issue reported on code.google.com by [email protected] on 29 May 2014 at 10:11

The importance of accessing the email's code fo filtering content

I started this:

http://stackoverflow.com/questions/24225324/matches-all-types-of-web-addresses-b
esides-those-following-a-specific-tag/24244708?iemail=1&noredirect=1#24244708

-it's the reason why i'm limited in javascript. i posted that regex 
many times & nobody has a fix..

But nevertheless & even though it's complicated to change 
the regex engine as you've told me.

Being able to treat the content of emails is important.

The reason why having access to emails code is that, it gives people the 
ability to create precise filters, if i couldn't access the email's code, i 
wouldn't need regex filters ...... .

for ex: people can't set the lentgh of urls filtering on the html result only, 
the simple internal tb's body filter is enough to filter url strings.

So please, don't abandon this issue.

Original issue reported on code.google.com by [email protected] on 18 Jun 2014 at 8:50

Search for position/folder

Hi, I didn't find a way to search by folder (column "position" in the search results). Position: or "Folder:" seems not work. How to do that?
thanks a lot

Giuse

Error when using "b" and "br" at the same time

When using b and br at the same time, it takes so much resources than all my system slows down (almost freezes) for minutes, and I have a lot of errors popping up:

errors

I must manually stop search. Example of search causing problem:

date:2016-05-10 b:term1 br:term2

If I search only date:2016-05-10, it's fast, there are only about 80 results. If I search date:2016-05-10 b:term1, it's also fast, there are about 25 results. If I search date:2016-05-10 br:term2, it's fast, there's only 1 result.

I use Expression Search / Google Mail UI 1.0 (last update 2016-04-28) and Thunderbird 45.2.0 on Xubuntu 16.04 64-bit.

body search doesn't work for message moved into folder?

I have Thunderbird 45.4.0 on Linux, and Expression Search 1.0 dated 4/28/2016.

If I either move a message from another folder into my inbox, or I drag-and-drop an EML file from my desktop into my inbox, and then I try to do a search for a word in the body of the message, expression search doesn't find the message.

The same message is found by expression search if it is in my inbox because it was emailed to me.

Searches on the sender, recipients, or subject of the message work just fine; it's just the body search that doesn't work.

If I repair the folder, after the repair the body search works.

The messages in question do show up in a Thunderbird global search; they're just not showing up in expression search results.

Enhancement: allow regex for any field

Great extension!  Thanks for making this.   I would like to use regular 
expressions in any field.  For example, I may need to see emails from only two 
specific sites locations within the company.  A search expression such as 
"re:from:\.(wv|nc)@mycompany.com" could accomplish this, where the "re:" prefix 
indicates the following search should use regex.
Thanks and Best Regards,

Original issue reported on code.google.com by [email protected] on 19 Mar 2012 at 11:07

Issues with 45.0 ?

There seems to be an issue starting with Tunderbird 45.0, expression-search is not working anymore. Looks like it's not being loaded by thunderbird during start. I've tried deactivation/ re-activation, re-installation from within thunderbird, downloading and reinstall from github. All show no effect. THX.

Search not working

What steps will reproduce the problem?
1.
2. enter any search (e.g. from:tom)
3.

What is the expected output? What do you see instead?

No search occurs.  A popup occurs with "please type keywords to search"
(thunderbirds Quicksearch still works fine)

What version of the product are you using? On what operating system?

MacOS 10.7.5, Thunderbird 17.0.5

Please provide any additional information below.

I've tried multiple settings none of which I could get to work. 
In the error consolse it shows
Timestamp: 5/5/13 9:07:05 PM
Warning: XUL box for _moz_generated_content_before element contained an inline 
#text child, forcing all its children to be wrapped in a block.
Source File: chrome://messenger/content/messenger.xul
Line: 0

Original issue reported on code.google.com by [email protected] on 6 May 2013 at 3:10

Search tags / tag status

An enhancement request: search for tags, and for "no tags" (so I can see the 
messages I don't consider important enough to have tagged).

Original issue reported on code.google.com by [email protected] on 12 Jul 2012 at 6:33

Displaced Expression Search Textbox

What steps will reproduce the problem?
1. I use vertical view layout so I got two columns, left one for the email 
threads and the right one for the message pane.
2. When I start the Thunderbird, the icon filters got their text at the side so 
it's pushing the textbox far to the right side, hiding half of its length.
3. If I play around a little with the column width, then the icon texts would 
disappear and finally the textbox would be placed correctly.

It would be nice if you put in an option to completely hide icon texts so the 
textbox would showed correctly from the very beginning.

Extension Version: Expression Search / Google Mail UI 0.8.3
OS: Windows 7

Original issue reported on code.google.com by [email protected] on 1 Feb 2012 at 1:54

Search by "Order Received" field

This field isn't present in the e-mail headers, but seems to be internal to TB database. Is it possible to search against it? If it is, documentation doesn't make the "how" clear.

Conflict with TaQuilla

What steps will reproduce the problem?
1. Install TaQuilla 0.3.3
2. Search anything using Expression Search

What is the expected output? What do you see instead?
I am expecting to see the selected printable column as Expression Search does 
without TaQuilla extension. I have a lot of new column with strange names

What version of the product are you using? On what operating system?
I am using Thunderbird 31.0 with Expression Search 0.8.8 on a Linux CentOS 6.3

Do you see any errors in Error Console?
Nothing specific.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 29 Aug 2014 at 9:55

Tooltip colors make the tips hard to read

What steps will reproduce the problem?

1. View the tooltips (Ctrl-Shift-K)


What is the expected output? What do you see instead?

Expected: Clear, easy-to-read type.
Instead: Type that is exceedingly difficult to read.


What version of the product are you using? On what operating system?
Version 0.8.8. Ubuntu 14.04.

Please provide any additional information below.

Perhaps the easiest to read would be black type on a white background. Black on 
a very light grey can also work. White on black is another possible choice, but 
it works well only in somewhat larger type sizes.

There is no need for the tips to be in different colors.

A shorter line length would also be better. 

Thank you for the excellent plugin.







Original issue reported on code.google.com by [email protected] on 30 Dec 2014 at 2:14

Attachments:

NS Error Failure

What steps will reproduce the problem?
1. Send/Receive
2. Notice popup at lower right
3. Check error console

What is the expected output? What do you see instead?

Timestamp: 7/17/2013 4:23:17 PM
Error: Caught Exception NS_ERROR_FAILURE: Component returned failure code: 
0x80004005 (NS_ERROR_FAILURE) [nsIMsgSearchSession.pauseSearch]
JS frame :: resource://expressionsearch/ExpressionSearchFilter.js :: _match :: 
line 251

Source File: resource://expressionsearch/ExpressionSearchFilter.js
Line: 251

What version of the product are you using? On what operating system?
0.8.6 on Win7

Please provide any additional information below.
Seems to have started after latest Thunderbird upgrade (17.0.7)

Original issue reported on code.google.com by [email protected] on 18 Jul 2013 at 4:17

Help document window is transparent

When I click on the "View help document" link on the preferences window, it 
pops up a new window displaying the help document, but the background of the 
window is completely transparent, which makes reading the text nearly 
impossible.

Expression Search v0.8.4
Thunderbird v17.0
MacOSX v10.7.4

Original issue reported on code.google.com by [email protected] on 4 Dec 2012 at 2:47

Allow other bindings for Click2Search

Both available bindings for Click2Search involve the right mouse button, which 
brings up the context menu when performing the Click2Search.

Most of the times I use Click2Search, my next step is selecting all matched 
messages.  I would like this to just be Ctrl-A, but as it is now, I have to 
click elsewhere to discard the context menu, then click in the messages pane, 
because now that pane has lost focus (even if the previous dismissal click is 
in that pane), then Ctrl-A.

I would add that Ctrl-LeftClick isn't appropriate because under MacOSX, that 
emulates a RightClick.

Expression Search v0.8.4
Thunderbird v17.0
MacOSX v10.7.4

Original issue reported on code.google.com by [email protected] on 4 Dec 2012 at 2:54

Does not do Server-Side Search for All Folders for IMAP online

What steps will reproduce the problem?
1. Setup your IMAP in Thunderbird in online mode (no messages stored locally, 
local indexing (gloda) is not used
2. Install expression-search
3. Do a normal search on the "account" for some mails inside a folder, by right 
clicking the mail account and choosing "search messages" (CTRL_SHIFT_F) and 
"run search on server". 
4. Do the same on expression-search box and extend search to all folder 

What is the expected output? What do you see instead?
I would expect that expression-search would search the whole account just like 
CTRL_SHIFT_F search does when you choose the account in "search messages in" 
selection box.
However, it seems expression-search, when proposes to do search on all folders 
by pressing "enter", utilizes the "gloda" mechanism rather than the 
CTRL_SHIFT_F server-side search. Accordingly, as gloda does not have anything 
to index (online IMAP), nothing is returned. Search is not sucessful.

What version of the product are you using? On what operating system?
Thunderbird 17.04, Windows 7 x64, EXpression Search 0.8.4.

Please provide any additional information below.
With the current setup, when using online IMAP and not storing message contents 
in Thunderbird, I can only search with Expression-Search in one folder only. 
When I ask it to extend the search to all folders, the gloda search window 
appears and of course finds nothing. It shall rather use the conventional 
search mechanism invoked by CTRL_SHIFT_F and extend search to the top level of 
that account (at least, or with configuration).

Original issue reported on code.google.com by [email protected] on 29 Mar 2013 at 8:02

Absolute 'age' rather than up to minute

I'm using the 0.9.1-letfixed version and I've created a smart folder which should give me only messages from yesterday
screen shot 2016-04-22 at 13 55 30

overall it works out fine but it's matching the yesterday up to the minute.

I'd rather have it as an absolute. So if today is 22nd April all the messages of 21st April regardless of the time. Currently it gives me exactly 24hrs behind.

Maybe it's already possible but I didn't find how.

Add header search

It would be brilliant if ES allowed searching through headers like - 
header:RCVD_IN_BRBL_LASTEXT. 

Thanks

Original issue reported on code.google.com by [email protected] on 30 Nov 2011 at 5:06

Type error when ExpressionSearch folder is active

When I do a global expression search (Ctrl+Enter) while the Expression Search Folder is active (from a previous search), I get the following exception:

Caught Excepton TypeError: rootFolder.getFolderWithFlags(...) is null
ExpressionSearchChrome.createQuickFolder@chrome://expressionsearch/conten/es.js:515:20
ExperssionSearchFilter.appendTerms@resource://expressionsearch/ExpressionSearchFilter.js:396:1
MFS_createSearchTerms@resource://gre/modules/quickFilterManager.js:515:11
MFS_createSearchTerms@resource://gre/modules/quickFilterManager.js:162:1
QFBM_updateSearch@chrome://messenger/content/quickFilterBar.js:589:7
QFMB__deferredInvocUpdateSearch@chrome://messeenger/content/quickFilterBar.js:572:5'

[I'm not sure this whether this is relevant, but note the apparent typo in the third line – ExperssionSearchFilter instead of ExpressionSearchFilter.]

Can't hide Quick Filter Bar

As mentioned in a review, if I put the Expression Search widget in the ToolBar, it is impossible to hide the Quick Filter Bar. Thunderbird simply doesn't allow it (in the menu: View... Toolbars... Quick Filter Bar). The empty bar keeps taking up space above the list of mails. (TB 31.5.0 and 31.6.0 on OS X 10.10.2)

I've put some screenshots below:
visible quick search bar Visible Quick Search Bar, taking up space between ToolBar and mail list

menu View menu, where the checkmark at "Quick Filter Bar" can't be deselected

settings The settings for the extension.

Increase max length ?

Hello,

could you add an option in the preference GUI to increase max_length of the search field ?
I succeed to do it by editing "esQuickFilterBar.xul" but it's not very handy!

Thks

Howto use regex in the BODY of the message?

What steps will reproduce the problem?
1. search for Numbers 0-4 in the message body with regex
2. body: regex:/([0-4])/
3. all: r:/([0-4])/

What is the expected output? What do you see instead?
-> All the messages, who includes a number from 0 to 4 in the body

What version of the product are you using? On what operating system?
-> 0.8.3, Win7 Ultimate, TB 12.0.1

Please provide any additional information below.
-> What should the syntax be to search for some string/numbers in the BODY of 
the message (only in the body or in the body too).


Original issue reported on code.google.com by [email protected] on 30 May 2012 at 12:24

search in all accounts ?

Hello, I just started using Expression search and I'm really gland that I found this plugin.
However, I'm using 2 IMAP accounts as well as many local folders. It seems to me that CTRL-ENTER will only search messages in all folders in the current account. Would it be possible to have expression-search look in all folders of all accounts, e.g. when hitting CTRL-ENTER for a second time ? The normal Thunderbird search box does search across all accounts.
Best
Olifair

from search, interpret quotes

What steps will reproduce the problem?
    searching for [ from:"first middle last" ] does not match person with name [ first middle last ] ( [ from:first ] matches, but, looking for this feature to differentiate between contacts with same first and last name but different middle names)

What is the expected output? What do you see instead?
    expected output are emails from 'first middle last',
actual output is no results

What version of the product are you using? On what operating system?
    expression-search 0.8.6 on Thunderbird 24.0 on Windows 8 x64

Do you see any errors in Error Console?
    No (cleared before searching to limit to relevant results)

Please provide any additional information below.
    I'm unsure if the issue is only within the 'from' search operator, or others as well. Personally I've found it intuitive to use quotes to group search results regardless of the operator being used (since that's how gmail search works)

Original issue reported on code.google.com by [email protected] on 3 Oct 2013 at 10:18

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.