Revisions for whups/lib/Query.php

Location: [ Horde ] / whups / lib / Query.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.74 (+2 -2 lines) 10/15/2008 06:16 AM Jan Schneider jan

MFB: 1.73.2.1

1.73.2.1 FRAMEWORK_3 (+2 -2 lines) 10/15/2008 06:10 AM Jan Schneider jan

Fix ticking attribute checkboxes when editing attribute queries.

1.73 (+107 -14 lines) 09/15/2008 09:26 AM Jan Schneider jan

Correctly implement editing of date criteria.
Bug: 7274

Tags: FRAMEWORK_3, WHUPS_1_0, WHUPS_1_0_RC2

1.72 (+26 -1 lines) 09/02/2008 09:29 AM Jan Schneider jan

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

1.71 (+5 -1 lines) 07/10/2008 02:23 PM Jan Schneider jan

Add RSS feed for queries. We still need to link to them from somewhere.

1.70 (+8 -5 lines) 07/10/2008 12:22 PM Jan Schneider jan

Reorganize query scripts to allow pretty urls.

1.69 (+58 -4 lines) 07/10/2008 11:49 AM Jan Schneider jan

Add query slugs. Reordering scripts for rewrite support in a minute.

1.68 (+315 -3 lines) 07/06/2008 09:18 AM Jan Schneider jan

Start implementing editing of query elements.
Setting the forms works already, but is not enabled yet, because saving is
still missing.

1.67 (+34 -24 lines) 07/06/2008 05:57 AM Jan Schneider jan

Nuke global variable.

1.66 (+3 -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.65 (+2 -2 lines) 04/17/2008 10:45 AM Chuck Hagenbuch chuck

Last two $conf['shares'] typos.

1.64 (+1 -398 lines) 03/06/2008 06:03 AM Jan Schneider jan

Split out query forms.

1.63 (+4 -4 lines) 06/28/2007 02:05 PM Chuck Hagenbuch chuck

[cjh] Allow turning off a user's ability to edit share permissions (Request #4054).

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

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

1.61 (+4 -4 lines) 06/15/2007 11:24 AM Chuck Hagenbuch chuck

Rename $GLOBALS['whups'] references to $GLOBALS['whups_driver']

1.60 (+10 -12 lines) 06/15/2007 11:22 AM Chuck Hagenbuch chuck

Rename $whups to $whups_driver

1.59 (+1 -6 lines) 02/07/2007 06:54 PM Jan Schneider jan

Remove unused property.

1.58 (+275 -217 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.57 (+5 -6 lines) 01/16/2007 03:30 PM Chuck Hagenbuch chuck

remove unneeded refs

1.56 (+3 -2 lines) 01/08/2007 03:22 PM Chuck Hagenbuch chuck

Temporary fix for queries, from Duck.

1.55 (+6 -5 lines) 11/21/2006 10:57 AM Chuck Hagenbuch chuck

Fixes for attribute queries.

1.54 (+14 -24 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.53 (+8 -8 lines) 01/13/2006 12:37 PM Jan Schneider jan

More access keys in tabs.

1.52 (+2 -2 lines) 01/01/2006 04:12 PM Jan Schneider jan

Happy new year\!

1.51 (+2 -2 lines) 11/18/2005 10:45 PM Chuck Hagenbuch chuck

I guess everyone was kidding when they said you should use curly
braces for string offsets. This is, if anything, relevant to PHP6 (and
E_STRICT warnings under 5.1), but may as well just get rid of it.

1.50 (+2 -2 lines) 10/12/2005 11:48 PM Matt Selsky selsky

ws

1.49 (+2 -2 lines) 09/09/2005 03:22 PM Matt Selsky selsky

Simpler test for non-empty arrays

1.48 (+19 -3 lines) 08/24/2005 09:56 AM Jan Schneider jan

Allow to search for versions.

1.47 (+19 -54 lines) 08/24/2005 08:49 AM Jan Schneider jan

Simplify query editor by not requiring to select a ticket type first. Instead
we provide all states, priorities, and attributes for all types at once now.

1.46 (+3 -2 lines) 08/23/2005 03:11 PM Jan Schneider jan

Another reference

1.45 (+2 -2 lines) 08/23/2005 03:10 PM Jan Schneider jan

Reference.

1.44 (+7 -5 lines) 08/23/2005 01:32 PM Jan Schneider jan

Reference.

1.43 (+2 -2 lines) 07/07/2005 07:02 AM Jan Schneider jan

Only included attributes into query that are ticked.

1.42 (+1 -7 lines) 07/02/2005 10:10 PM Matt Selsky selsky

"@access public" is redundant.

1.41 (+2 -2 lines) 06/22/2005 09:32 PM Matt Selsky selsky

Clean up class variable phpdoc.

1.40 (+6 -14 lines) 06/19/2005 10:34 PM Chuck Hagenbuch chuck

Calling reset leads to an internally inconsistent query object. Use New Query instead.
Bug: 2094

1.39 (+7 -7 lines) 04/28/2005 01:44 PM Matt Selsky selsky

Don't use array_push() if we don't need to.

1.38 (+4 -3 lines) 03/21/2005 04:26 PM Chuck Hagenbuch chuck

open the perms editor in a new window if the onclick javascript isn't
run. should work for both js (nicer) and non-js now.

1.37 (+251 -107 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.36 (+48 -13 lines) 02/11/2005 05:09 PM Chuck Hagenbuch chuck

[cjh] Queries can now be deleted (Bug #1193).

1.35 (+9 -3 lines) 01/19/2005 09:07 AM Jan Schneider jan

Sanity check loaded queries.

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

Happy New Year

1.33 (+22 -11 lines) 12/18/2004 08:34 PM Chuck Hagenbuch chuck

[cjh] Allow inserting explicit Type filters into Query Builder queries
(Bug: #434).

- also note some brokenness with some of the text operators, fix
another for pgsql, disable one that doesn't seem to useful (case
sensitive text matching?), and reorganize the query display pages a
bunch.

1.32 (+25 -1 lines) 12/18/2004 07:20 PM Chuck Hagenbuch chuck

few more @package tags

1.31 (+60 -25 lines) 12/18/2004 07:20 PM Chuck Hagenbuch chuck

lots of phpdoc still needed, but at least mush comments into the right
format.

1.30 (+2 -2 lines) 07/09/2004 11:12 AM Chuck Hagenbuch chuck

Fix some things that don't need to be references.

1.29 (+18 -7 lines) 06/01/2004 02:16 PM Chuck Hagenbuch chuck

Add Queue to the possible query builder criteria.

1.28 (+3 -3 lines) 05/25/2004 02:21 PM Chuck Hagenbuch chuck

Fix honoring of checkboxes for whether to search summary, comments,
or both.

1.27 (+45 -7 lines) 04/27/2004 06:03 PM Chuck Hagenbuch chuck

Add ability to search for tickets by what group owns them.

1.26 (+3 -8 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.25 (+2 -2 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.24 (+25 -25 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.23 (+2 -2 lines) 01/01/2004 11:18 AM Jan Schneider jan

Happy new year everyone.

1.22 (+6 -4 lines) 11/22/2003 08:44 PM Chuck Hagenbuch chuck

Re-work how we handle custom form renderers, and hopefully make them a bit
easier to use/more useful.

Horde_Form_Renderer::_renderForm() no longer bails out with a custom renderer
and calls a render() method, which doesn't actually exist in the base class.
Instead, there is a Horde_Form::getRenderer() method (which replaces
Horde_Form::getCustomRenderer()) that simply returns the correct renderer
for the form. You then just use that instead of $renderer = &new Horde_Form_Renderer()
- the base class will return a basic Horde_Form_Renderer for you.

In the custom form renderer class itself, you just extend the Horde_Form_Renderer
class and override any methods that you want to alter, instead of necessarily
having to re-write the whole render() loop.

I've updated every occurrance of any of this code that I can find to take
advantage of this new architecture, and made a few minor tweaks while I
was at it. Also, some phpdoc comments for the custom renderer stuff.

1.21 (+2 -2 lines) 10/30/2003 06:38 PM Jan Schneider jan

PHP 5 fixes.

1.20 (+14 -17 lines) 08/07/2003 04:43 PM Chuck Hagenbuch chuck

Fix a bunch of query builder stuff; you can search by owners again now.

1.19 (+8 -7 lines) 08/07/2003 04:19 PM Chuck Hagenbuch chuck

fix some terminology

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

Fix license URL.

1.17 (+32 -39 lines) 03/27/2003 12:06 AM mdjukic

use the new Form.php syntax for setting up variables

1.16 (+24 -24 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.15 (+2 -2 lines) 01/03/2003 07:47 AM Jan Schneider jan

Bump year.

1.14 (+5 -3 lines) 11/24/2002 10:33 PM rec

Added an api method to execute a batch of queries, returning the results
either as just the ticket ids, or as the full details.

Fixed the getTicketsByProperties method when $munge is false

1.13 (+62 -11 lines) 11/23/2002 05:34 PM rec

Added parameterised queries
Split the execute query function into it's own page (runquery.php) - this
can take a query= getvar naming a query to load and execute
Fix the sql query driver to allow searches on more than one attribute or
comment by joining into the other tables more than once

1.12 (+81 -17 lines) 11/19/2002 07:50 PM rec

Added searching attributes to the Query Builder.
Implemented the rest of the text search types for executing queries.
Slight changes to the results page when executing queries.

1.11 (+43 -40 lines) 11/01/2002 10:27 AM Chuck Hagenbuch chuck

Fix a bunch of query builder stuff, including being able to change the
ticket type.

1.10 (+10 -17 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.9 (+2 -3 lines) 10/28/2002 03:03 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.8 (+15 -15 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.7 (+26 -76 lines) 07/16/2002 08:56 PM Chuck Hagenbuch chuck

Fix the Query Builder. Not everything, but probably everything that _used_ to
work, and a bunch - like actually executing the query and getting tickets back -
that didn't, all work now.

1.6 (+41 -67 lines) 07/16/2002 02:54 PM Chuck Hagenbuch chuck

Whups now uses the FormSprocket:: API for all form handling.

1.5 (+8 -8 lines) 02/20/2002 01:05 PM Chuck Hagenbuch chuck

update Form constructors

1.4 (+50 -27 lines) 01/24/2002 07:37 PM Chuck Hagenbuch chuck

more work on types/modules linkage, fix query builder to some extent
(REC, you probably need to look at this), style, etc.

1.3 (+365 -318 lines) 01/24/2002 06:32 PM Chuck Hagenbuch chuck

oodles of style

1.2 (+37 -37 lines) 01/02/2002 01:05 PM Jan Schneider jan

Add basic gettext framework. Far from complete as is Whups.

1.1 11/22/2001 07:27 PM rec

Ok, this is a bit of a big commit, I'll be more incremental in future.

Changes to the look - it's a bit more horde like now.
Changes to the forms, as much html as possible has moved out of the forms
and into the renderer.  Forms also know how to execute themselves, which
is a better design.
Changes to the ui, especially the details page.  The four edit ticket forms
have moved to links at the bottom and the forms only appear when you
actually want to perform that action.

Biggest addition - the Advanced Query Builder.  This is more complex - I'll
describe it in a mail to the whups list in a bit.