Revisions for whups/query.php

Location: [ Horde ] / whups / 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.
 
  Revision Date Author Log Message
1.83 (+1 -1 lines) 07/10/2008 12:22 PM Jan Schneider jan

Reorganize query scripts to allow pretty urls.

1.82 (+2 -1 lines) 07/06/2008 11:03 AM Jan Schneider jan

Preserve current path when switching criteria forms.

1.81 (+8 -5 lines) 07/06/2008 10:26 AM Jan Schneider jan

Set radion button to just inserted branch. Make clear that hoisting works on the children.

1.80 (+7 -6 lines) 07/06/2008 10:18 AM Jan Schneider jan

Don't overwrite upper action field with bottom action field.

1.79 (+2 -1 lines) 07/06/2008 09:56 AM Jan Schneider jan

Show second action list on the bottom.

1.78 (+10 -3 lines) 07/06/2008 09:42 AM Jan Schneider jan

Implement editing of query elements.

1.77 (+7 -2 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.76 (+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.75 (+3 -2 lines) 03/06/2008 06:03 AM Jan Schneider jan

Split out query forms.

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

Happy New Year

1.73 (+3 -3 lines) 12/08/2007 12:15 PM Michael Rubinsky mrubinsk

Move classes from queryrenderer.inc template to Horde_Form_Renderer_*
classed in lib/

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

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

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

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

1.70 (+15 -12 lines) 01/16/2007 04:08 PM Chuck Hagenbuch chuck

whitespace; clearer variable names

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

Happy New Year

1.68 (+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.67 (+2 -2 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.66 (+18 -17 lines) 03/29/2006 11:44 PM Chuck Hagenbuch chuck

Remove Horde_Form::singleton calls and other unnecessary references.

1.65 (+3 -3 lines) 02/08/2006 03:55 PM Matt Selsky selsky

echo sprintf == printf

1.64 (+6 -6 lines) 01/13/2006 12:37 PM Jan Schneider jan

More access keys in tabs.

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

Happy new year\!

1.62 (+8 -2 lines) 09/11/2005 12:21 AM Chuck Hagenbuch chuck

Fix a type that was preventing query deletion from working.

1.61 (+1 -11 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.60 (+2 -2 lines) 08/23/2005 03:39 PM Jan Schneider jan

Default to properties criteria.

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

These uppercase variable names always annoyed me.

1.58 (+2 -1 lines) 08/23/2005 03:19 PM Jan Schneider jan

Highlight correct criterion tab.

1.57 (+18 -7 lines) 07/07/2005 06:55 AM Jan Schneider jan

More wrapping.

1.56 (+26 -11 lines) 07/07/2005 06:53 AM Jan Schneider jan

Wrapping

1.55 (+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.54 (+2 -1 lines) 03/21/2005 04:23 PM Chuck Hagenbuch chuck

need to define $queryurl here.

1.53 (+28 -29 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.52 (+39 -30 lines) 02/11/2005 05:09 PM Chuck Hagenbuch chuck

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

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

Happy New Year

1.50 (+3 -9 lines) 12/18/2004 11:02 PM Chuck Hagenbuch chuck

Remove the move and insert query modes from the UI, since those aren't
implemented and I'm not likely to implement them anytime soon.

1.49 (+10 -12 lines) 12/18/2004 08:33 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.48 (+2 -1 lines) 11/03/2004 03:42 PM Chuck Hagenbuch chuck

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

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

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

1.46 (+13 -12 lines) 10/29/2004 11:50 AM Chuck Hagenbuch chuck

Apps using Horde_UI_Tabs should call Horde::applicationUrl() on their own. Makes javascript: urls much simpler to handle, etc.

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

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

1.44 (+1 -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.43 (+5 -2 lines) 04/27/2004 06:03 PM Chuck Hagenbuch chuck

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

1.42 (+2 -2 lines) 04/23/2004 03:15 PM Chuck Hagenbuch chuck

References, wrapping, etc.

1.41 (+2 -2 lines) 04/23/2004 03:13 PM Chuck Hagenbuch chuck

Make sure tabs that aren't active don't look active; small cleanups.

1.40 (+3 -4 lines) 04/23/2004 03:10 PM Chuck Hagenbuch chuck

Don't use $_SESSION['whups_query_form'] until we're sure it's set.

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

No more HORDE_LIBS.

1.38 (+5 -5 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.37 (+16 -16 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.36 (+6 -4 lines) 02/25/2004 02:12 PM eraserhd

* Use Variables:: instead of Horde_Form_Vars:: in UI widgets.

1.35 (+8 -5 lines) 02/22/2004 12:12 AM eraserhd

* Add $vars and $config parameters to widget constructor.
* Update Horde_UI_Widget:: and derived classes to use a Horde_Form_Vars:: to
access the variable space.

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

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

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

Happy new year everyone.

1.32 (+12 -15 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.31 (+2 -2 lines) 11/14/2003 01:59 PM Chuck Hagenbuch chuck

missed a reference to Horde_Actions

1.30 (+12 -12 lines) 11/14/2003 11:12 AM Chuck Hagenbuch chuck

Add the Horde_UI package, with the Horde_UI_Tabs class replacing the
Actions class in Whups, and now available to other Horde apps.

("Jason M. Felice" <jfelice@cronosys.com>)

1.29 (+3 -3 lines) 09/08/2003 11:07 AM Jan Schneider jan

There is now date query atm. Disabled for now.

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

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

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

Fix license URL.

1.26 (+3 -5 lines) 04/15/2003 08:29 AM mdjukic

missed these for a change to the horde_form syntax, but this script still not working right

1.25 (+7 -17 lines) 04/04/2003 09:41 PM mdjukic

new horde_form syntax

1.24 (+14 -14 lines) 02/21/2003 01:20 PM Chuck Hagenbuch chuck

capitalization, style

1.23 (+7 -7 lines) 02/21/2003 11:30 AM Chuck Hagenbuch chuck

tighter row rendering in the query renderer

1.22 (+3 -3 lines) 01/08/2003 01:52 PM Chuck Hagenbuch chuck

elseif cleanup

Submitted by: Marko <marko@oblo.com>

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

Bump year.

1.20 (+5 -7 lines) 12/22/2002 06:44 PM Michael M Slusarz slusarz

Silence session side-effect warnings.

1.19 (+2 -38 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.18 (+17 -3 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.17 (+2 -12 lines) 11/17/2002 01:07 PM rec

Move the search result column definitions into a common function.

1.16 (+8 -11 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.15 (+6 -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.14 (+7 -12 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.13 (+4 -4 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.12 (+1 -2 lines) 07/18/2002 03:20 PM Michael M Slusarz slusarz

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

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

1.10 (+49 -17 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.9 (+17 -22 lines) 07/16/2002 02:54 PM Chuck Hagenbuch chuck

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

1.8 (+1 -3 lines) 06/23/2002 03:27 PM Chuck Hagenbuch chuck

Last bits of $_SESSION cleanup.

1.7 (+7 -7 lines) 04/15/2002 04:59 PM Jan Schneider jan

Next shot of superglobals patch. After MFH is completed I'll commit Horde,
IMP and Nag.

Submitted by: Nuno Loureiro <nuno@eth.pt>

1.6 (+6 -7 lines) 01/25/2002 02:37 PM Chuck Hagenbuch chuck

Beginnings of the admin interface.

1.5 (+24 -21 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.4 (+9 -9 lines) 01/24/2002 02:38 PM Chuck Hagenbuch chuck

use $registry->getParam()
use WHUPS_TEMPLATES
let Types be either global or linked to a specific module.

1.3 (+25 -25 lines) 01/02/2002 01:05 PM Jan Schneider jan

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

1.2 (+1 -2 lines) 12/23/2001 10:53 PM Chuck Hagenbuch chuck

rename Backend to Driver - I think all of the apps are consistent now.

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.