Revisions for imp/lib/Search.php

Location: [ Horde ] / imp / lib / Search.php View: Logs | Branches | Statistics
Search Revisions:
Show diffs between and
Show Differences shows diffs to the previous revision. If you select a revision by clicking its row, Show Differences will show the differences to the selected row.
Show Branch:
  Revision Date Author Log Message
1.120 (+1 -13 lines) 10/13/2008 04:51 PM Michael M Slusarz slusarz

More merges from my private dev branch.

1.119 (+3 -1 lines) 09/17/2008 01:55 PM Michael M Slusarz slusarz

Cleanups on some missed items from the removal of IMP_IMAP_Search.

1.118 (+21 -14 lines) 09/17/2008 01:02 AM Michael M Slusarz slusarz

Remove IMP_IMAP_Search:: and IMP_IMAP_Search_Query::.

1.37.10.45 FRAMEWORK_3 (+2 -2 lines) 08/22/2008 12:35 PM Jan Schneider jan

MFH: 1.117

Tags: IMP_4_3, IMP_4_3_RC2

1.117 (+2 -2 lines) 08/22/2008 12:30 PM Jan Schneider jan

Fix phpdoc.

1.37.10.44 FRAMEWORK_3 (+39 -17 lines) 07/16/2008 02:32 AM Michael M Slusarz slusarz

Bug: 6921
MFH:
1.1162    +1 -0      imp/docs/CHANGES
1.116     +39 -17    imp/lib/Search.php
2.199     +21 -2     imp/search.php
1.31      +2 -0      imp/templates/search/search.html

Tags: IMP_4_2_1_RC1

1.116 (+39 -17 lines) 07/16/2008 02:26 AM Michael M Slusarz slusarz

Bug: 6921
Search by size now displayed in KB.
Also, doesn't make sense to have 'not' searches for Size searches.

1.37.10.43 FRAMEWORK_3 (+184 -10 lines) 06/09/2008 07:59 PM Michael M Slusarz slusarz

Bug: 6825
MFH: Improve search page by moving flags into search criteria section.

1.115 (+121 -3 lines) 06/09/2008 07:53 PM Michael M Slusarz slusarz

Bug: 6825
Automatically update old virtual folders to new internal format.

1.114 (+64 -8 lines) 06/06/2008 01:50 AM Michael M Slusarz slusarz

Bug: 6825
Merge after: 1 week
Improve search page by moving flags into search criteria section.

1.37.10.42 FRAMEWORK_3 (+11 -2 lines) 05/26/2008 01:41 AM Michael M Slusarz slusarz

MFH: Add ability to search by size.

1.113 (+11 -2 lines) 05/20/2008 05:49 PM Michael M Slusarz slusarz

Add ability to search by size. Extend IMAP_Search:: to use MessageCache
information when doing the size search (merge to IMP 4.2.1).

1.37.10.41 FRAMEWORK_3 (+6 -2 lines) 03/05/2008 11:13 PM Chuck Hagenbuch chuck

MFH:
1.112     +6 -2      imp/lib/Search.php

Tags: IMP_4_2, IMP_4_2_RC4, IMP_4_2_RC3

1.112 (+6 -2 lines) 03/05/2008 11:11 PM Chuck Hagenbuch chuck

Add request tokens to virtual folder deletion URLs
Bug: 6378

1.37.10.40 FRAMEWORK_3 (+2 -2 lines) 01/21/2008 06:23 PM Jan Schneider jan

MFH: 1.111

Tags: IMP_4_2_RC2

1.111 (+2 -2 lines) 01/21/2008 05:49 PM Jan Schneider jan

"Since" searches include the date.

1.37.10.39 FRAMEWORK_3 (+2 -2 lines) 01/02/2008 06:31 AM Jan Schneider jan

Happy New Year

1.110 (+2 -2 lines) 01/02/2008 06:12 AM Jan Schneider jan

Happy New Year

1.37.10.38 FRAMEWORK_3 (+156 -98 lines) 12/20/2007 08:59 AM Jan Schneider jan

Merge from HEAD.

1.109 (+3 -2 lines) 05/23/2007 01:23 PM Michael M Slusarz slusarz

Fix undefined library errors.

Tags: BEFORE_MERGE_3_2, IMP_4_2_RC1, IMP_4_2_ALPHA

1.108 (+20 -5 lines) 05/23/2007 06:35 AM Michael M Slusarz slusarz

Provide method to run a search without having to mess with search/mailbox
parameters stored in a session.  Allows us to call IMAP_Search with the proper
charset/pop3 parameters without having to duplicate code.

1.107 (+8 -4 lines) 05/08/2007 12:04 PM Michael M Slusarz slusarz

Some additional sanity checking.

1.106 (+2 -2 lines) 05/03/2007 12:04 PM Jan Schneider jan

Store vfolder in the session *after* calling _updateIMPTree(), because this is
going to instantiate IMP_Tree which in returns checks IMP_Search for vfolders
being stored in the session.

1.105 (+2 -23 lines) 03/10/2007 07:20 PM Michael M Slusarz slusarz

Move virtual folder conversion code (a 4.0.x relic) to an upgrade script.

1.104 (+2 -2 lines) 02/25/2007 06:19 AM Jan Schneider jan

Show last searches in reverse order, latest first.

1.103 (+3 -1 lines) 01/04/2007 10:17 PM Chuck Hagenbuch chuck

Initialize variable correctly.
Bug: 4847

1.37.10.37 FRAMEWORK_3 (+2 -2 lines) 01/02/2007 08:54 AM Jan Schneider jan

Happy New Year

Tags: IMP_4_1_6, IMP_4_1_5, IMP_4_1_4, IMP_4_1_4_RC1

1.102 (+2 -2 lines) 01/02/2007 07:47 AM Jan Schneider jan

Happy New Year

1.101 (+2 -2 lines) 01/01/2007 07:41 PM Jan Schneider jan

Assign copyright to The Horde Project for those copyright holders that already agreed to it.

1.100 (+4 -3 lines) 12/27/2006 01:48 AM Michael M Slusarz slusarz

Fix searchQueryText() when using Virtual INBOX/Trash.

1.99 (+38 -16 lines) 12/23/2006 02:47 AM Michael M Slusarz slusarz

Add search term descriptions to search results/virtual folder pages.

1.98 (+4 -4 lines) 11/26/2006 11:43 PM Michael M Slusarz slusarz

Point to correct variable name.

1.97 (+4 -13 lines) 11/26/2006 11:39 PM Michael M Slusarz slusarz

no need to have local imptree object since imptree has a singleton.

1.96 (+13 -9 lines) 09/12/2006 12:05 PM Michael M Slusarz slusarz

no need to rebuild VF list during a session.

1.95 (+3 -9 lines) 09/12/2006 02:00 AM Michael M Slusarz slusarz

Add parameter to getPollList() that allows us to sort list.

1.94 (+3 -3 lines) 09/04/2006 07:21 PM Michael M Slusarz slusarz

Fix some copy/paste errors.

1.93 (+15 -15 lines) 09/04/2006 06:43 PM Michael M Slusarz slusarz

coding standards: don't use is_null().

1.92 (+1 -2 lines) 09/04/2006 06:23 PM Michael M Slusarz slusarz

Remove obsolete since phpdoc tags.

1.37.10.36 FRAMEWORK_3 (+7 -1 lines) 08/07/2006 10:45 AM Michael M Slusarz slusarz

MFH 1.91

Tags: IMP_4_1_3

1.91 (+7 -1 lines) 08/07/2006 10:43 AM Michael M Slusarz slusarz

Sort the Virtual INBOX list.

1.37.10.35 FRAMEWORK_3 (+5 -1 lines) 07/14/2006 01:12 PM Michael M Slusarz slusarz

Bug: 4159
MFH 1.90

1.90 (+5 -1 lines) 07/14/2006 01:11 PM Michael M Slusarz slusarz

Bug: 4159
Submitted by: manuel@mausz.at
query list may be empty.

1.89 (+3 -3 lines) 06/03/2006 01:11 PM Michael M Slusarz slusarz

No more global $imp variable.  Just use $_SESSION['imp'].

1.88 (+3 -2 lines) 06/03/2006 11:55 AM Michael M Slusarz slusarz

Remove 'stream' as a session variable.  it is nothing more than a disguised
global since it doesn't persist between page accesses.
Don't require us to pass the imap stream to several overriden functions since
we can do the necessary stream passing in the overriden functions themselves.

1.37.10.34 FRAMEWORK_3 (+3 -2 lines) 05/10/2006 11:14 AM Michael M Slusarz slusarz

MFH 1.87

Tags: IMP_4_1_2

1.87 (+3 -2 lines) 05/10/2006 11:13 AM Michael M Slusarz slusarz

Use same check for vtrash folder as vinbox folder.

1.86 (+3 -2 lines) 05/10/2006 11:12 AM Michael M Slusarz slusarz

MFB 1.37.10.33

1.37.10.33 FRAMEWORK_3 (+3 -2 lines) 05/10/2006 11:09 AM Michael M Slusarz slusarz

Add another check for a blank vinbox_id entry.

1.85 (+2 -2 lines) 05/09/2006 02:25 AM Michael M Slusarz slusarz

Add option to IMP_Tree::getPollList() to always prune polled list of
non-existant entries.

1.84 (+7 -2 lines) 05/08/2006 11:52 PM Michael M Slusarz slusarz

Bug: 3897
Fix display of date queries in "Recent Searches".

1.37.10.32 FRAMEWORK_3 (+4 -7 lines) 05/05/2006 01:47 PM Michael M Slusarz slusarz

MFH 1.83

1.83 (+4 -7 lines) 05/05/2006 01:43 PM Michael M Slusarz slusarz

Filter out any nav_poll entries that don't exist on the current server.  Saves
us some unnecessary imap_search() calls later.

1.82 (+4 -4 lines) 04/26/2006 12:36 AM Michael M Slusarz slusarz

Remove deprecated assign by reference for new object instantiations.

1.37.10.31 FRAMEWORK_3 (+17 -1 lines) 04/15/2006 07:45 PM Michael M Slusarz slusarz

MFH: Tree.php - 1.101; IMP.php - 1.558; Search.php - 1.81; Session.php - 1.124;
mailbox.php - 2.752; search.php - 2.167

1.81 (+17 -1 lines) 04/15/2006 07:43 PM Michael M Slusarz slusarz

Use IMP_Search::createSearchID() to create canonical query ID, for consistency
sake.
In case a VFolder ID becomes invalid and it is set as the initial_page, default
to INBOX and set the pref to the default INBOX value.

1.37.10.30 FRAMEWORK_3 (+5 -1 lines) 04/15/2006 02:28 PM Michael M Slusarz slusarz

MFH: Added preference to toggle display of Virtual Inbox.

1.80 (+5 -1 lines) 04/15/2006 02:27 PM Michael M Slusarz slusarz

Added preference to toggle display of Virtual Inbox.

1.79 (+2 -2 lines) 04/15/2006 01:52 PM Michael M Slusarz slusarz

MFB 1.37.10.29

1.37.10.29 FRAMEWORK_3 (+2 -2 lines) 04/15/2006 01:51 PM Michael M Slusarz slusarz

We want to assign a new ID when the given string is empty, not just when it
is null.  Might fix some things seen in Bug #3759.

1.37.10.28 FRAMEWORK_3 (+6 -6 lines) 03/22/2006 04:12 PM Michael M Slusarz slusarz

MFH: Search.php - 1.78; CHANGES - 1.920

Tags: IMP_4_1_1

1.78 (+6 -6 lines) 03/22/2006 04:05 PM Michael M Slusarz slusarz

Fix typo - should eliminate duplicate virtual inboxes.
for sanity sake - always set the virtual_id in the session when creating
virtual inbox/trash.

1.77 (+7 -7 lines) 03/15/2006 12:43 PM Chuck Hagenbuch chuck

Use more generic labels for date search criteria (Bug #3448).
HTML cleanup, get rid of a bunch of borders around form elements, especially in IE.

1.76 (+5 -6 lines) 03/12/2006 08:27 PM Michael M Slusarz slusarz

Bug: 1483
Allow user to save per-folder sort preferences.

1.75 (+3 -3 lines) 03/12/2006 03:14 AM Michael M Slusarz slusarz

standardize my e-mail address

1.74 (+55 -13 lines) 03/05/2006 07:50 PM Michael M Slusarz slusarz

Bug: 3337
Initial implementation of "recent search" caching/retrieval.

1.73 (+1 -2 lines) 02/23/2006 05:05 AM Jan Schneider jan

$convert[$key]['search'] is never set, so don't try to unset it.
Michael, what was the intended behaviour here?

1.72 (+5 -5 lines) 02/01/2006 04:27 AM Jan Schneider jan

MFB: 1.37.10.27

1.37.10.27 FRAMEWORK_3 (+5 -5 lines) 02/01/2006 04:12 AM Jan Schneider jan

comment wrapping

Tags: IMP_4_1, IMP_4_1_RC3, IMP_4_1_RC2

1.37.10.26 FRAMEWORK_3 (+2 -14 lines) 01/31/2006 05:52 PM Michael M Slusarz slusarz

Bug: 3374
fix searches.  never have a fixed a bug by removing so much code.

1.37.10.25 FRAMEWORK_3 (+3 -2 lines) 01/30/2006 09:49 PM Michael M Slusarz slusarz

Bug: 3350
MFH 1.71

1.71 (+3 -2 lines) 01/30/2006 09:48 PM Michael M Slusarz slusarz

Bug: 3350
can't use isEditableVFolder() here since it uses the session, which hasn't
been initialized yet.

1.37.10.24 FRAMEWORK_3 (+8 -8 lines) 01/30/2006 03:55 PM Michael M Slusarz slusarz

Looks like IMP_IMAP_Search didn't get added correctly last time (due to my
cvs ineptness).  Add it and make sure we use it everywhere.

1.37.10.23 FRAMEWORK_3 (+2 -4 lines) 01/27/2006 10:35 PM Michael M Slusarz slusarz

MFH 1.70

1.70 (+2 -4 lines) 01/27/2006 10:09 PM Michael M Slusarz slusarz

strip search mbox prefix if necessary here

1.69 (+3 -15 lines) 01/25/2006 11:43 PM Michael M Slusarz slusarz

More BC fixes.  Relying on imap_reopen() in IMAP_Search:: is a bad idea, so
extend the class and deal with all mailbox switching in IMP.

1.68 (+7 -7 lines) 01/25/2006 09:05 PM Michael M Slusarz slusarz

Add IMP_IMAP_Search_Query:: in order to work around BC-breaking bug.
Fix variable in lib/Mailbox.php that broke message lists.

1.37.10.22 FRAMEWORK_3 (+2 -3 lines) 01/25/2006 01:06 AM Michael M Slusarz slusarz

MFH 1.67

1.67 (+2 -3 lines) 01/25/2006 12:59 AM Michael M Slusarz slusarz

simplify and fix logic

1.37.10.21 FRAMEWORK_3 (+11 -23 lines) 01/23/2006 01:42 AM Michael M Slusarz slusarz

MFH 1.66

1.66 (+11 -23 lines) 01/23/2006 01:38 AM Michael M Slusarz slusarz

Re-use existing stream connection for IMAP searches.

1.37.10.20 FRAMEWORK_3 (+2 -2 lines) 01/20/2006 01:12 AM Michael M Slusarz slusarz

MFH: Add ability to edit search queries.

1.65 (+2 -2 lines) 01/20/2006 01:01 AM Michael M Slusarz slusarz

Add ability to edit search queries.

1.37.10.19 FRAMEWORK_3 (+9 -5 lines) 01/19/2006 04:29 PM Michael M Slusarz slusarz

MFH: Convert listVFolders() to listQueries().
Fix listing by virtual folder only.

1.64 (+9 -5 lines) 01/19/2006 04:25 PM Michael M Slusarz slusarz

Convert listVFolders() to listQueries().  Fix listing by virtual folder only.

1.37.10.18 FRAMEWORK_3 (+9 -6 lines) 01/18/2006 11:00 PM Michael M Slusarz slusarz

MFH 1.62, 1.63

1.63 (+2 -3 lines) 01/18/2006 10:58 PM Michael M Slusarz slusarz

Fix isSearchMbox().

1.62 (+8 -4 lines) 01/18/2006 10:49 PM Michael M Slusarz slusarz

More error checking for bad data.

1.37.10.17 FRAMEWORK_3 (+15 -1 lines) 01/18/2006 10:43 PM Michael M Slusarz slusarz

MFH: Mailbox.php - 1.140; Message.php - 1.214; Search.php - 1.61

1.61 (+15 -1 lines) 01/18/2006 10:39 PM Michael M Slusarz slusarz

Add getSearchFolders().

1.37.10.16 FRAMEWORK_3 (+1 -45 lines) 01/18/2006 09:17 PM Michael M Slusarz slusarz

generateSearchUrl() and getSearchParameter() have moved to IMP::.
MFH 1.541 (partial)

1.37.10.15 FRAMEWORK_3 (+2 -4 lines) 01/18/2006 09:05 PM Michael M Slusarz slusarz

MFH 1.60

1.60 (+2 -4 lines) 01/18/2006 09:03 PM Michael M Slusarz slusarz

We do need 'save_vfolder' after all.

1.37.10.14 FRAMEWORK_3 (+27 -2 lines) 01/18/2006 08:43 PM Michael M Slusarz slusarz

Bug: 3291
MFH 1.59

1.59 (+27 -2 lines) 01/18/2006 08:42 PM Michael M Slusarz slusarz

Bug: 3291
Properly convert 4.0 format virtual folders to 4.1+ format virtual folders.

1.37.10.13 FRAMEWORK_3 (+6 -25 lines) 01/18/2006 12:44 AM Michael M Slusarz slusarz

MFH 1.56, 1.57, 1.58

1.58 (+2 -2 lines) 01/18/2006 12:42 AM Michael M Slusarz slusarz

ws *sigh* - although this finally caused me to enter a trailing ws highlighting
macro in my .vimrc.  Does anyone have a vi(m) macro to automatically strip
all trailing ws on saves?

1.57 (+2 -1 lines) 01/18/2006 12:26 AM Michael M Slusarz slusarz

Bug: 3284
Virtual INBOX should not show deleted messages ever (even if marked unseen).

1.56 (+6 -26 lines) 01/18/2006 12:23 AM Michael M Slusarz slusarz

No need to store search UI info for virtual trash/inbox since they are not
editable.

1.37.10.12 FRAMEWORK_3 (+522 -72 lines) 01/17/2006 11:58 PM Michael M Slusarz slusarz

MFH: New IMP_Search:: framework.  Since HEAD and FRAMEWORK_3 are significantly
different in lots of areas, I had to do quite a bit of manual merging -
hopefully I got everything.

1.55 (+5 -5 lines) 01/17/2006 04:18 PM Chuck Hagenbuch chuck

trim ws

1.54 (+10 -12 lines) 01/17/2006 02:17 AM Michael M Slusarz slusarz

Various fixes/enhancements/tweaks for the IMP_Search:: code.

1.53 (+4 -9 lines) 01/16/2006 11:25 PM Michael M Slusarz slusarz

Remove pref value that doesn't exist.
Fix typo.

Only showing the 100 latest revisions. Show all revisions? (may take a while).