Revisions for whups/search.php

Location: [ Horde ] / whups / 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.124 (+3 -4 lines) 09/18/2008 10:24 AM Michael Rubinsky mrubinsk

Don't allow *only* a queue_id to signify an existing search since this
will be set if only a single queue exists in Whups (to avoid the select menu).
Use a flag to indicate we are returning to an existing search instead.

Tags: WHUPS_1_0

1.123 (+2 -2 lines) 09/17/2008 01:05 PM Michael Rubinsky mrubinsk

revert

1.122 (+3 -2 lines) 09/17/2008 12:35 PM Michael Rubinsky mrubinsk

Only attempt to validate the form if it was submitted. Avoids errors on
each date field about all date components not being selected.

1.121 (+17 -11 lines) 09/15/2008 08:21 AM Jan Schneider jan

Add date properties in an AND branch when saving as query.

Tags: WHUPS_1_0_RC2

1.120 (+45 -3 lines) 09/02/2008 09:29 AM Jan Schneider jan

Add date search criteria (Duck <duck@obala.net>, Request #7274).

1.119 (+46 -22 lines) 07/10/2008 05:59 PM Jan Schneider jan

Add button to save searches as queries (Request #5921).

1.118 (+2 -2 lines) 07/10/2008 04:52 PM Jan Schneider jan

Add missing argument.

1.117 (+2 -2 lines) 06/24/2008 06:25 PM Jan Schneider jan

Limit Robert's copyright to the years of his contributions. We should really find him.

Tags: WHUPS_1_0_RC1

1.116 (+7 -8 lines) 04/06/2008 07:25 AM Jan Schneider jan

Show public queries if not authenticated.

1.115 (+36 -35 lines) 02/19/2008 12:25 AM Chuck Hagenbuch chuck

[cjh] Combine Type and Category selects in search form (php@ideacode.com,
Request #4928).

Greatly simplifies a few things, too.

1.114 (+2 -3 lines) 01/06/2008 07:00 PM Chuck Hagenbuch chuck

@define -> define

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

Happy New Year

1.112 (+5 -5 lines) 12/28/2007 05:49 PM Chuck Hagenbuch chuck

Fix searches from queue summary page

1.111 (+5 -5 lines) 12/08/2007 10:44 AM Michael Rubinsky mrubinsk

Refactor SavedQueries class out of template file and into Whups_View_SavedQueries

1.110 (+1 -4 lines) 12/07/2007 01:40 PM Michael Rubinsky mrubinsk

remove commented out code

1.109 (+10 -5 lines) 12/07/2007 01:30 PM Michael Rubinsky mrubinsk

Start moving older template code into a Whups_View_* structure

1.108 (+2 -2 lines) 11/28/2007 11:45 AM Chuck Hagenbuch chuck

Fix searching all categories when no categories are selected.
Bug: 5929

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

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

1.106 (+3 -3 lines) 06/15/2007 11:22 AM Chuck Hagenbuch chuck

Rename $whups to $whups_driver

1.105 (+2 -2 lines) 06/15/2007 10:48 AM Chuck Hagenbuch chuck

Always use $_SESSION['whups'] as the container for our session data.

1.104 (+1 -40 lines) 01/17/2007 10:40 PM Chuck Hagenbuch chuck

remove deprecated saveSearch() call.

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

[cjh] Remove saved searches (Request #4897).

1.102 (+2 -2 lines) 01/17/2007 09:38 PM Chuck Hagenbuch chuck

Move query data to a dedicated table, just use shares to manage query
permissions.

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

Happy New Year

1.100 (+4 -2 lines) 01/01/2007 07:42 PM Jan Schneider jan

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

1.99 (+3 -3 lines) 08/02/2006 11:17 PM Matt Selsky selsky

Change form methods to "get" to allow easier bookmarking of searches.

1.98 (+4 -9 lines) 07/18/2006 11:20 PM Chuck Hagenbuch chuck

no searching by id in saved searches, and make saved search links work again

1.97 (+5 -44 lines) 07/12/2006 11:33 PM Chuck Hagenbuch chuck

Add the search form to the lib/Forms collection; remove search by id since the upper-right-hand box provides that, and hide queue selection if there's only one queue.

1.96 (+8 -8 lines) 06/23/2006 12:18 AM Chuck Hagenbuch chuck

- remove unnecessary singleton
- block ticket search results are now dynamically sortable
- remove some unused constants

1.95 (+2 -2 lines) 03/04/2006 11:41 PM Chuck Hagenbuch chuck

Batch of Horde_Form::singleton() removals.

1.94 (+2 -1 lines) 01/08/2006 03:11 PM Chuck Hagenbuch chuck

[cjh] "My Bugs" page is now a Horde_Block layout (Request #3202).

1.93 (+3 -3 lines) 01/01/2006 04:12 PM Jan Schneider jan

Happy new year\!

1.92 (+9 -4 lines) 10/19/2005 07:08 PM Chuck Hagenbuch chuck

save summary criteria in search results qUrl and saved search url.
Bug: 2814

1.91 (+6 -6 lines) 08/23/2005 03:37 PM Jan Schneider jan

These uppercase variable names always annoyed me.

1.90 (+22 -21 lines) 07/25/2005 11:34 AM Chuck Hagenbuch chuck

put search url into the session for guests, too.

1.89 (+77 -80 lines) 07/24/2005 11:22 PM Chuck Hagenbuch chuck

[cjh] Add a link to return to the list of search results, along with the
previous/next links (Bug #1751).
[cjh] Fix the Quicksearch links.

1.88 (+1 -2 lines) 06/09/2005 05:16 PM Matt Selsky selsky

Revert.

1.87 (+2 -1 lines) 06/09/2005 03:30 PM Matt Selsky selsky

Add ability to search by ticket requester.

Bug: 1916

1.86 (+2 -2 lines) 05/23/2005 04:22 PM Chuck Hagenbuch chuck

"after the patch to honor creator permissions, the ticket search page
no longer allows users to search queues they don't have PERMS_READ on.
They should be allowed to search for their tickets.  Attached is a
patch that fixes this."

Submitted by: tmerritt (at) email (dot) arizona (dot) edu

1.85 (+2 -4 lines) 05/11/2005 05:42 PM Chuck Hagenbuch chuck

Fix a bunch of places where we were either unnecessarily calling
isValid() in addition to validate(), or where we weren't checking
validate() at all.

1.84 (+2 -2 lines) 04/02/2005 12:26 AM bo

fix varname

1.83 (+5 -4 lines) 03/19/2005 10:02 PM Chuck Hagenbuch chuck

[cjh] Queries are stored as Horde_Share objects with full permissions.
(Bug #1481).
[cjh] Delete queue permissions when deleting a queue (Bug #1462).

1.82 (+2 -1 lines) 02/11/2005 10:58 AM Chuck Hagenbuch chuck

Fix some broken html

1.81 (+1 -2 lines) 02/10/2005 04:10 PM Chuck Hagenbuch chuck

remove @version

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

Happy New Year

1.79 (+3 -2 lines) 11/03/2004 03:42 PM Chuck Hagenbuch chuck

On second thought, better not to pollute common-header.inc with the menu.

1.78 (+2 -5 lines) 11/03/2004 03:30 PM Chuck Hagenbuch chuck

Use new <ul> menu. Consolidates things even a bit more.

1.77 (+14 -6 lines) 10/24/2004 01:55 AM bo

make saved searches work again.
Possibly not the cleanest way to do this, but it works.
Bug: 634

1.76 (+3 -3 lines) 10/18/2004 08:46 PM Chuck Hagenbuch chuck

Registry::getParam() -> Registry::get().

1.75 (+3 -44 lines) 10/12/2004 09:42 PM Chuck Hagenbuch chuck

Since it's currently not working anyway, I'm going to go ahead and
commit this removal of the clients code from Whups. This way we'll
have a clean slate going forward.

1.74 (+2 -3 lines) 09/12/2004 12:58 AM Chuck Hagenbuch chuck

This variable isn't needed.

1.73 (+6 -16 lines) 07/24/2004 03:03 PM Chuck Hagenbuch chuck

Ticket creation is now wrapped in lib/Ticket.php too. No ticket email
is sent inside the SQL driver anymore; all email notification will be
handled by Whups_Ticket::. At the moment, no email will be
sent. Adding emails back is the next step.

1.72 (+2 -3 lines) 07/08/2004 01:51 PM Chuck Hagenbuch chuck

Search.php doesn't exist anymore.

1.71 (+55 -2 lines) 07/06/2004 11:43 AM Chuck Hagenbuch chuck

More progress, cleanup, slimming, and updates. This is getting closer
to finished, but still isn't really tested. Need to get it into CVS so
I can hack at it on other machines, though.

1.70 (+4 -2 lines) 06/08/2004 03:04 PM Chuck Hagenbuch chuck

[cjh] Add a 'summary' search option in the basic search form (Bug #269).

1.69 (+1 -2 lines) 05/24/2004 04:07 PM Chuck Hagenbuch chuck

[cjh] Add previous/next navigation when there's a current list of search
results to navigate through.

1.68 (+7 -5 lines) 05/11/2004 05:28 AM Jan Schneider jan

Don't try to show saved queries and searches for guests.

1.67 (+2 -2 lines) 04/28/2004 03:00 PM Chuck Hagenbuch chuck

We need to urldecode() $QUERY_STRING first.

1.66 (+7 -5 lines) 04/27/2004 05:54 PM Chuck Hagenbuch chuck

We need a ? at the beginning of the url for removeParameter to work on it.

1.65 (+6 -2 lines) 04/27/2004 04:27 PM Chuck Hagenbuch chuck

Add a list of a user's saved queries on the search and mybugs pages -
should include links to edit/delete them too, eventually; right now
it just runs them.

1.64 (+4 -2 lines) 04/08/2004 02:35 PM Chuck Hagenbuch chuck

- don't need a whole new line for "Clear Saved Searches"
- make sure there's a little space between tables

1.63 (+2 -2 lines) 04/07/2004 10:43 AM Chuck Hagenbuch chuck

No more HORDE_LIBS.

1.62 (+2 -4 lines) 04/06/2004 01:26 AM bo

remove this (it's not used any more)

1.61 (+6 -7 lines) 04/05/2004 11:10 PM Chuck Hagenbuch chuck

This *should* finish off the Module -> Queue conversion, including in
the SQL. Needs to be tested and ironed out before being ported to
dev.horde.org and marked done, though.

1.60 (+7 -7 lines) 03/11/2004 04:01 PM Chuck Hagenbuch chuck

Use Queue instead of Module. Database fields have not been
touched. I've tested this, but it's also possible that some forms may
need to be tweaked to work, and that the UI may still say "module" in
some places.

1.59 (+3 -2 lines) 02/26/2004 08:02 AM eraserhd

* Use Variables::getDefaultVariables() instead of Horde_Form::getDefaultVars()
* Delete Horde_Form::getDefaultVars()
* Make sure that appropriate files require 'Horde/Variables.php'

1.58 (+5 -5 lines) 02/25/2004 11:19 PM eraserhd

* Delete Horde_Form_Vars::, use Variables:: instead.
* Delete Horde_Form_Renderer_rows::, was only used by Hermes and depends on
Horde_Form_Vars:: cruft.

1.57 (+2 -2 lines) 01/28/2004 08:27 AM mdjukic

more double ;

1.56 (+2 -2 lines) 01/17/2004 05:57 PM Jan Schneider jan

All footers look the same, so why not use only one.

1.55 (+2 -2 lines) 01/13/2004 10:44 PM Chuck Hagenbuch chuck

These are by no means private constants. Remove the weird leading _
(it was my idea in the first place, for the record. Dunno why).

1.54 (+3 -3 lines) 01/01/2004 11:17 AM Jan Schneider jan

Happy new year everyone.

1.53 (+2 -2 lines) 12/06/2003 09:01 AM bo

Centralise tests for the existence of a Whups client source.

1.52 (+12 -2 lines) 10/30/2003 11:39 PM Chuck Hagenbuch chuck

Rework the Links driver to use categories instead of a custom sql table,
from Bo Daley <bo@tilda.com.au>

Big patch, some things may break/need to be tweaked. Here's Bo's description:

Attached is a first shot at reworking the Links API to use categories instead of
its own SQL driver. I haven't yet taken this as far as it can go, but already
it has resulted in a significant performance improvement for pages in my system
with large numbers of linked clients. (some of the pages that were previously
taking 20-30 seconds -- eg. the Whups search page -- are now down to about 5
seconds, which makes them a bit more usable).

Things that should be noted before this gets committed:

* I modified Turba so that the backend's read() function returns an array of
contact objects rather than just a single object (which speeds up handling of
large lists of objects). I don't know any ldap so this change will break the
ldap backend unless someone can make the same change to
turba/lib/Driver/ldap.php

* I've included a script (migrate_links.php) that creates links in the new
structure for people who were using clients in Whups. It doesn't update links
for other apps that might have been using Links but I can probably add that in
too if anyone needs it.

* reverse links don't seem to be working just yet. I'll get onto this soon.

more soon... hopefully i haven't missed anything else..(!!)

1.51 (+6 -4 lines) 10/14/2003 05:07 AM Jan Schneider jan

This patch silences a warning on the ticket search results page when
no clients were selected for searching.

Submitted by: Bo Daley <bo at tilda dot com dot au>

1.50 (+6 -6 lines) 09/16/2003 07:08 PM Jan Schneider jan

Use the new Util:: class.

1.49 (+15 -9 lines) 08/13/2003 09:18 PM Chuck Hagenbuch chuck

Make sure clients functionality disables itself if the clients/ API
isn't there.

Submitted by: Bo Daley <bo@tilda.com.au>

1.48 (+9 -15 lines) 08/08/2003 08:55 AM Chuck Hagenbuch chuck

Move more of whups to the updated client access through Turba.

Submitted by: Bo Daley <bo@tilda.com.au>

1.47 (+19 -2 lines) 08/07/2003 10:28 AM Chuck Hagenbuch chuck

Allow searching tickets by client.

Submitted by: Bo Daley <bo@tilda.com.au>

1.46 (+4 -4 lines) 07/07/2003 10:32 AM Chuck Hagenbuch chuck

Always show saved searches.

1.45 (+5 -4 lines) 06/23/2003 10:57 PM Chuck Hagenbuch chuck

[cjh] Allow clearing of all or individual searches (Bo Daley
<bo@tilda.com.au>).

1.44 (+22 -2 lines) 06/20/2003 04:13 PM Chuck Hagenbuch chuck

Implement searching based on ticket type.

Submitted by: Bo Daley <bo@tilda.com.au>

1.43 (+3 -3 lines) 05/23/2003 09:21 AM Chuck Hagenbuch chuck

Another batch of menu.php -> ::menu() changes.

1.42 (+2 -2 lines) 04/26/2003 08:28 PM Chuck Hagenbuch chuck

Fix license URL.

1.41 (+2 -6 lines) 04/05/2003 05:40 AM mdjukic

new horde_form syntax

1.40 (+3 -3 lines) 03/11/2003 11:06 PM Chuck Hagenbuch chuck

Fix a formvars problem.

1.39 (+21 -3 lines) 02/04/2003 12:09 AM Chuck Hagenbuch chuck

- Handle saved searches with categories specified correctly
- Some shorter menu items

1.38 (+6 -6 lines) 01/29/2003 12:29 PM Chuck Hagenbuch chuck

Use $whups instead of $backend to avoid potential naming clashes
between apps (at least, make them much less likely).

1.37 (+3 -3 lines) 01/13/2003 08:21 AM mdjukic

use the new reset button code available in Horde_Form, these are the few places where it seems to make sense to include a reset button

1.36 (+2 -2 lines) 01/03/2003 07:47 AM Jan Schneider jan

Bump year.

1.35 (+2 -2 lines) 11/22/2002 06:52 PM Chuck Hagenbuch chuck

Start converting some redirects to just require statements where we
can. This saves some loading of libraries and variable setup, and
saves an HTTP redirect as well.

Comments on this? I'm thinking of trying to do it in more places, to
streamline our app flow a bit.

1.34 (+7 -3 lines) 11/18/2002 12:13 PM Chuck Hagenbuch chuck

- make some comment fields not required in Whups
- fix some problems in Hermes
- change how multienums are handled - don't need [] in the name anymore
  ([] now is ONLY used for the row renderer)
- add category to the whups search form.
- add the ability to assign tickets to someone on ticket creation.

1.33 (+2 -13 lines) 11/17/2002 01:07 PM rec

Move the search result column definitions into a common function.

1.32 (+4 -1 lines) 11/15/2002 06:03 PM Chuck Hagenbuch chuck

Fix searching when an id isn't specified.

1.31 (+2 -1 lines) 11/11/2002 08:10 PM Chuck Hagenbuch chuck

Cosmetic patches from Brian Keifer <brian@valinor.net>.

1.30 (+8 -7 lines) 10/31/2002 11:26 PM Chuck Hagenbuch chuck

- Token:: renamed to Horde_Token:: for consistency and future packaging
- Horde_Forms now use Horde_Token by default to prevent them from
  being reloaded.
- A bunch of Whups bugs fixed
- A few minor Horde_Form ones, too.

1.29 (+6 -4 lines) 10/29/2002 05:56 PM Jan Schneider jan

Don't save searches of guest users.

1.28 (+2 -2 lines) 10/28/2002 03:02 PM Chuck Hagenbuch chuck

More flexible permissioning; distinguish between who can add to a
module and whoc an search it (_PERMS_READ vs. _PERMS_EDIT, which you
must have to add a new ticket).

Also, more permissions checks in various places, and better error
checking (permissions and otherwise) when viewing a ticket, so that
non-existant tickets or ones you shouldn't have permissions to view
are caught better.

1.27 (+7 -7 lines) 10/22/2002 05:08 PM Chuck Hagenbuch chuck

[cjh] Search results can now specify the results title header.
[cjh] Reports currently lacks pretty graphs, but now shows more useful
      information - all assigned and requested tickets.
[cjh] Fix usage of Horde_Form_Vars:: class.

1.26 (+3 -3 lines) 09/24/2002 06:59 PM Chuck Hagenbuch chuck

phase 2: complete the renaming of FormSprocket:: to Horde_Form:: and
GraphSprocket:: to Horde_Graph::

1.25 (+29 -22 lines) 08/25/2002 04:48 PM Chuck Hagenbuch chuck

Better enforcement of permissions on modules, especially
during searches.

1.24 (+1 -5 lines) 07/18/2002 03:20 PM Michael M Slusarz slusarz

Prefs:: automatically saves dirty prefs at the end of a request.

1.23 (+5 -8 lines) 07/17/2002 04:31 PM Chuck Hagenbuch chuck

- whups now has a standard horde menu
- add an Options screen
- fix a bunch of bugs
- convert to the Notification framework
- remove a bunch of unneeded code.

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