Revisions for imp/search.php

Location: [ Horde ] / imp / 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
2.200 (+3 -3 lines) 09/24/2008 11:41 PM Michael M Slusarz slusarz

Remove javascript files that live in Horde proper.

2.128.2.31 FRAMEWORK_3 (+21 -2 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_3, IMP_4_3_RC2, IMP_4_2_1_RC1

2.199 (+21 -2 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.

2.128.2.30 FRAMEWORK_3 (+68 -177 lines) 06/09/2008 07:59 PM Michael M Slusarz slusarz

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

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

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

2.197 (+111 -156 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.

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

MFH: Add ability to search by size.

2.128.2.28 FRAMEWORK_3 (+2 -2 lines) 05/25/2008 08:10 AM Jan Schneider jan

MFH: 2.196

Tags: IMP_4_2

2.196 (+2 -2 lines) 05/25/2008 08:06 AM Jan Schneider jan

We can't use Horde::label() here because it removes access keys,
a.k.a. underlines unconditionally.
Bug: 6745

2.195 (+10 -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).

2.128.2.27 FRAMEWORK_3 (+14 -2 lines) 04/06/2008 08:20 AM Jan Schneider jan

MFH: 2.194

Tags: IMP_4_2_RC4

2.194 (+14 -2 lines) 04/06/2008 07:52 AM Jan Schneider jan

Link back to folder.

2.128.2.26 FRAMEWORK_3 (+2 -2 lines) 03/21/2008 05:52 PM Matt Selsky selsky

MFH: 2.193

2.193 (+2 -2 lines) 03/21/2008 05:40 PM Matt Selsky selsky

Use delete icon on search page for removing criteria.

Bug: 6515
Submitted by: Liam Hoekenga <liamr@umich.edu>

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

Happy New Year

Tags: IMP_4_2_RC3, IMP_4_2_RC2

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

Happy New Year

2.128.2.24 FRAMEWORK_3 (+231 -169 lines) 12/20/2007 08:59 AM Jan Schneider jan

Merge from HEAD.

2.191 (+3 -1 lines) 11/14/2007 05:28 AM Michael M Slusarz slusarz

Do a smarter job of loading some libraries - we pretty much will always need
IMAP.php, while Template/Help is only needed when viewing via imp (they
are not needed when using dimp/mimp).

Tags: BEFORE_MERGE_3_2, IMP_4_2_RC1

2.190 (+5 -2 lines) 11/05/2007 06:51 AM Jan Schneider jan

I removed too much. Fix editing search fields.

Bug: 5856

2.189 (+2 -10 lines) 10/17/2007 07:16 PM Jan Schneider jan

This always annoyed me: remove default search field preference and show all common fields instead.

2.188 (+1 -2 lines) 08/01/2007 12:11 AM Chuck Hagenbuch chuck

Jon has assigned his copyrights to The Horde Project.

Tags: IMP_4_2_ALPHA

2.187 (+2 -2 lines) 06/27/2007 01:23 PM Jan Schneider jan

Bump year, looks like a missed a few last time.

2.186 (+1 -2 lines) 06/20/2007 03:33 PM Michael M Slusarz slusarz

Bug: 5307
Inline PHP-generated javascript to avoid cross-domain leaking.

2.185 (+7 -7 lines) 03/08/2007 08:01 PM Jan Schneider jan

MFB: Escape variables.

2.184 (+2 -2 lines) 02/17/2007 01:59 PM Matt Selsky selsky

Look for js.php files in the right place.

2.183 (+3 -3 lines) 02/16/2007 02:12 PM Michael M Slusarz slusarz

Bug: 4867
[mms] Change 'Important' flag to 'Flagged For Followup' and clear the flag
after a reply (Request #4867).

2.182 (+7 -9 lines) 01/07/2007 02:15 PM Michael M Slusarz slusarz

Improvements to addInlineScript() usage.

2.128.2.23 FRAMEWORK_3 (+4 -4 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

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

Happy New Year

2.180 (+11 -9 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.

2.179 (+11 -2 lines) 12/27/2006 02:39 AM Michael M Slusarz slusarz

Remove PHP code from search JS file.

2.178 (+1 -2 lines) 12/18/2006 03:26 PM Chuck Hagenbuch chuck

- Load template engine in base.php since it's used pretty much everywhere.
- Use IMP_Template everywhere, not Horde_Template
- No reason to use Template/Template.php, just use lib/Template.php.

2.177 (+16 -18 lines) 12/15/2006 02:16 AM Michael M Slusarz slusarz

No need for if flag in templates anymore

2.176 (+2 -1 lines) 12/04/2006 12:10 PM Michael M Slusarz slusarz

Convert to prototype

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

coding standards: don't use is_null().

2.174 (+2 -2 lines) 07/20/2006 11:34 AM Matt Selsky selsky

Fix date picker.
Element id attributes cannot contain '[' or ']'.

Bug: 4171

2.173 (+3 -3 lines) 07/06/2006 12:19 AM Michael M Slusarz slusarz

Bug: 4065
Add folder size display to folders page.

2.172 (+1 -2 lines) 05/31/2006 05:29 PM Michael M Slusarz slusarz

Refactor code so Auth_imp:: only deals with authenticating to the IMAP server.
Auth_imp no longer automatically opens a connection to the current mailbox. We
must now manually call IMP_IMAP::changeMbox() anytime we are working with the
IMAP stream and require a connection to a mailbox.  Much cleaner, and should
eliminate any issues with clearing the 'recent' flag incorrectly.

2.171 (+2 -7 lines) 05/20/2006 12:15 AM Michael M Slusarz slusarz

No need to have a separate "Edit search query" view since this is what we
always do for non Virtual Folder editing.  Just populate the fields and act
like we are doing a regular query creation.

2.128.2.22 FRAMEWORK_3 (+5 -5 lines) 05/08/2006 11:55 PM Michael M Slusarz slusarz

Bug: 3897
MFH 2.170

Tags: IMP_4_1_3, IMP_4_1_2

2.170 (+5 -5 lines) 05/08/2006 11:51 PM Michael M Slusarz slusarz

Bug: 3897
Don't use references here.

2.169 (+4 -4 lines) 05/01/2006 04:15 PM Karsten Fourmont karsten

The invisible commit: remove stray whitespace at end of line.

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

Remove deprecated assign by reference for new object instantiations.

2.128.2.21 FRAMEWORK_3 (+2 -2 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

2.167 (+2 -2 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.

2.128.2.20 FRAMEWORK_3 (+3 -2 lines) 04/15/2006 02:00 PM Michael M Slusarz slusarz

MFH 2.166

2.166 (+3 -2 lines) 04/15/2006 01:59 PM Michael M Slusarz slusarz

$search should never be empty, but if it is, default to values that won't leave
us with a bunch of undefined errors.

2.165 (+5 -6 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.

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

standardize my e-mail address

2.163 (+16 -2 lines) 03/05/2006 07:50 PM Michael M Slusarz slusarz

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

2.128.2.19 FRAMEWORK_3 (+2 -6 lines) 02/14/2006 08:29 PM Michael M Slusarz slusarz

MFH: Allow searching with POP servers again.

Tags: IMP_4_1_1, IMP_4_1

2.162 (+1 -7 lines) 02/14/2006 08:26 PM Michael M Slusarz slusarz

no longer needed

2.161 (+13 -8 lines) 02/14/2006 08:18 PM Michael M Slusarz slusarz

There's no reason we shouldn't allow searching with POP.  Thus fix new
search code to allow us to search INBOX with POP servers.

2.160 (+2 -2 lines) 02/12/2006 08:43 PM Michael M Slusarz slusarz

Add IMP_JAVASCRIPT constant.

2.159 (+2 -2 lines) 02/10/2006 05:05 PM Michael M Slusarz slusarz

Move all javascript specific files to templates/javascript/src.  Allows us to
1) compress JS code, 2) keep javascript files separate from presentation
files.
Add header comments to all JS files.

2.128.2.18 FRAMEWORK_3 (+4 -4 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.

Tags: IMP_4_1_RC3, IMP_4_1_RC2

2.158 (+4 -4 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.

2.157 (+2 -6 lines) 01/23/2006 12:03 PM Michael M Slusarz slusarz

Apparently you can use gettext tags inside an HTML tag.  I don't know why I
thought otherwise.

2.128.2.17 FRAMEWORK_3 (+10 -6 lines) 01/20/2006 01:12 AM Michael M Slusarz slusarz

MFH: Add ability to edit search queries.

2.128.2.16 FRAMEWORK_3 (+2 -5 lines) 01/20/2006 01:04 AM Michael M Slusarz slusarz

MFH: create_vfolder not used (really commit it this time)

2.156 (+13 -10 lines) 01/20/2006 01:01 AM Michael M Slusarz slusarz

MFH: 'create_vfolder' not used

2.155 (+3 -7 lines) 01/20/2006 12:49 AM Michael M Slusarz slusarz

the 'create_vfolder' case is never used.

2.128.2.15 FRAMEWORK_3 (+2 -4 lines) 01/19/2006 04:28 PM Michael M Slusarz slusarz

MFH: Fix template error

2.154 (+3 -5 lines) 01/19/2006 04:10 PM Michael M Slusarz slusarz

Fix template error

2.128.2.14 FRAMEWORK_3 (+2 -2 lines) 01/18/2006 09:06 PM Michael M Slusarz slusarz

logic flip

2.128.2.13 FRAMEWORK_3 (+2 -2 lines) 01/18/2006 12:53 PM Eric Rostetter ericr

* Another typo

2.128.2.12 FRAMEWORK_3 (+2 -2 lines) 01/18/2006 12:52 PM Eric Rostetter ericr

* fix typo

2.128.2.11 FRAMEWORK_3 (+4 -13 lines) 01/18/2006 12:06 AM Michael M Slusarz slusarz

MFH: 2.153 (partial)

2.153 (+4 -14 lines) 01/18/2006 12:05 AM Michael M Slusarz slusarz

remove unused template variable
Don't get too fancy - just use 'Inbox' as the default search.

2.128.2.10 FRAMEWORK_3 (+31 -38 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.

2.152 (+2 -2 lines) 01/17/2006 02:22 AM Michael M Slusarz slusarz

small tweak

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

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

2.150 (+3 -3 lines) 01/16/2006 11:13 PM Michael M Slusarz slusarz

Fix parameters passed in when creating virtual folder.
Fix message returned after creating virtual folder.

2.149 (+31 -40 lines) 01/16/2006 03:36 PM Michael M Slusarz slusarz

Bug: 3255
Merge after: 1 week
Rewrite of IMP_Search:: and IMP_VFolder::.  We shouldn't need a separate
vfolder library as the vfolder stuff is simply a subset of our searching
code.
Problems with old code: It was impossible to know for sure whether we were
currently in a virtual mailbox vs. just a search mailbox since there was
no location we could reliably check for this.  Now, IMP_Search does all the
work for us - $imp_search will always be available and global if we are using
IMAP.
I realize this is a lot of changes during the RC phase, but necessary since
there were multiple bugs/issues I have found that could not be fixed without
this change (e.g. Bug 3255).  I'm going to give this a few days of testing in
HEAD before I merge so dont expect it in 4.1 immediately.

2.148 (+11 -11 lines) 01/14/2006 06:27 PM Michael M Slusarz slusarz

Clean up some html formatting.  Use IMP_Template:: to workaround
Horde_Template BC limitations (ifs in nested loops).

2.147 (+2 -2 lines) 01/04/2006 02:30 AM Michael M Slusarz slusarz

Convert menu generation to Horde_Template - is now output by calling
IMP::menu().

2.146 (+45 -102 lines) 01/04/2006 02:05 AM Michael M Slusarz slusarz

build these widgets in the template, not the script.
only load IMP_Folder:: if needed.
Fix undefined variable error.

2.145 (+2 -2 lines) 01/04/2006 01:12 AM Michael M Slusarz slusarz

Fix 'not' handling.

2.144 (+162 -47 lines) 01/01/2006 11:17 PM Michael M Slusarz slusarz

Convert search page to Horde_Template::.

2.128.2.9 FRAMEWORK_3 (+4 -4 lines) 01/01/2006 04:28 PM Jan Schneider jan

Happy new year

Tags: IMP_4_1_RC1

2.143 (+4 -4 lines) 01/01/2006 04:10 PM Jan Schneider jan

Happy new year\!

2.142 (+2 -2 lines) 12/12/2005 11:38 AM Chuck Hagenbuch chuck

@define

2.128.2.8 FRAMEWORK_3 (+2 -2 lines) 11/02/2005 12:06 PM Matt Selsky selsky

MFH: cannot

2.141 (+2 -2 lines) 11/02/2005 11:43 AM Matt Selsky selsky

cannot

2.128.2.7 FRAMEWORK_3 (+29 -76 lines) 10/18/2005 08:13 AM Jan Schneider jan

Merged from HEAD

2.140 (+19 -72 lines) 09/28/2005 01:46 AM Michael M Slusarz slusarz

Bug: 2650
Added preference to define the default search field.

Tags: BEFORE_MERGE_3_1

2.128.2.6 FRAMEWORK_3 (+13 -1 lines) 09/02/2005 12:49 AM Michael M Slusarz slusarz

MFH: fields.inc - 1.17; CHANGES - 1.832; search.php - 2.139

Tags: IMP_4_0_5, IMP_4_0_4, IMP_4_0_4_RC2

2.139 (+13 -1 lines) 09/02/2005 12:37 AM Michael M Slusarz slusarz

Add entire message search to search page.

2.138 (+2 -2 lines) 08/12/2005 12:16 AM Michael M Slusarz slusarz

Bug:
Submitted by:
Merge after:
Removed 'folders', 'namespace, and 'hierarchies' parameters.
Additionally, use correct delimiter depending on the current namespace (since
each namespace can have a different delimiter).

PLEASE NOTE: THIS COMMIT CHANGES A *LOT* OF CODE - code that has been in
IMP for years and has been tweaked until it works on 99.9% of the systems.  The
new code, when fully debugged, is much better in that it conforms to RFC 2342
and removes the confusing 'namespace', 'hierarchies', and 'folders' parameters.
However, especially with systems that use a non-blank personal namespace, this
code is woefully untested at this point.  If you value having a system that
may be able to work the next few days, DO NOT UPDATE FROM CVS.

This commit does not address issues with IMAP_Tree and namespaces either.  I
want to stabilize this code first before I tackle that issue.  There are
serious BC issues to be resolved with fixing/upgrading that code...

Finally, this change will most likely render all mailbox preferences/identity prefs that are currently storing a mailbox value invalid.  This is because the
old way we stored these values (without the namespace information tacked onto
the front) is no longer valid in IMP since there is no more concept of a
"default" namespace.  I will probably have to work on an upgrade script that
will automatically preface all mailbox values in prefs with either a user
specified string or with the value of the default namespace.

Please track bugs at http://bugs.horde.org/ticket/?id=2422

2.137 (+2 -1 lines) 08/02/2005 12:56 PM Michael M Slusarz slusarz

space for clarity

2.128.2.5 FRAMEWORK_3 (+1 -7 lines) 07/02/2005 11:42 PM Matt Selsky selsky

MFH: Remove unneeded "@access public".
Wrapping.

Tags: IMP_4_0_4_RC1

2.136 (+1 -7 lines) 07/02/2005 11:23 PM Matt Selsky selsky

Remove unneeded "@access public".
Wrapping.

2.128.2.4 FRAMEWORK_3 (+16 -17 lines) 05/10/2005 10:56 PM Matt Selsky selsky

MFH: Remove "optional" from phpdoc.

2.135 (+16 -17 lines) 05/10/2005 10:49 PM Matt Selsky selsky

Remove "optional" from phpdoc.

2.134 (+2 -2 lines) 04/27/2005 08:23 PM Jan Schneider jan

[jan] Improve rendering for right-to-left languages, add right-to-left
specific theme (Amirkabir MetaNET Ltd.).

2.133 (+2 -3 lines) 03/21/2005 10:43 AM Chuck Hagenbuch chuck

Fix parse error.
Submitted by: Rick Emery <rick@emery.homelinux.net>

2.132 (+7 -1 lines) 03/18/2005 07:13 PM Michael M Slusarz slusarz

Make sure special Virtual Folders can never be edited.

2.128.2.3 FRAMEWORK_3 (+11 -8 lines) 01/26/2005 01:22 AM Michael M Slusarz slusarz

MFH: search.php - 2.131; CHANGES - 1.719

Tags: IMP_4_0_3, IMP_4_0_3_RC1, IMP_4_0_2, IMP_4_0_2_RC1

2.131 (+11 -8 lines) 01/26/2005 01:15 AM Michael M Slusarz slusarz

Make sure we show "container" folders in the folder list.

2.128.2.2 FRAMEWORK_3 (+7 -2 lines) 01/18/2005 10:00 PM Michael M Slusarz slusarz

Bug: 1160
MFH: search.php - 2.130; CHANGES - 1.716

2.130 (+7 -2 lines) 01/18/2005 09:54 PM Michael M Slusarz slusarz

Bug: 1160
Require virtual folders to have a label.

2.129 (+4 -4 lines) 01/03/2005 09:34 AM Jan Schneider jan

Happy New Year

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