Revisions for genie/lib/Genie.php

Location: [ Horde ] / genie / lib / Genie.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.59 (+3 -3 lines) 03/11/2008 11:55 AM Chuck Hagenbuch chuck

don't need references for PHP 5 code.

1.58 (+24 -1 lines) 12/22/2007 09:41 AM Duck duck

Add comments

1.57 (+1 -5 lines) 12/03/2007 10:43 AM Jan Schneider jan

Remove "My Wishlists" item.

1.56 (+31 -1 lines) 12/02/2007 09:14 AM Duck duck

Don't automatically create wishlist. A lot of users just visits the module just to look like without actually use it. So create user default wishlist only when needed (adding item or navigate to wishlist management)

1.55 (+3 -1 lines) 12/02/2007 08:31 AM Duck duck

Skip other steps if no items in list

1.54 (+2 -2 lines) 12/02/2007 06:48 AM Duck duck

Use countShares

1.53 (+10 -7 lines) 12/01/2007 11:53 AM Duck duck

Count lists only once per session

1.52 (+17 -1 lines) 12/01/2007 09:39 AM Duck duck

Add pref to limit the number of shares after wich the special shared wishlist management is needed. Still need to find out a solution to not retreive always all shares.

1.51 (+15 -76 lines) 11/30/2007 06:39 AM Duck duck

Remove other constants - sorting

1.50 (+2 -37 lines) 11/30/2007 06:15 AM Duck duck

First set of constant removal - for actionIDs

1.49 (+5 -24 lines) 11/30/2007 06:03 AM Duck duck

Remove purchased_map global

1.48 (+13 -3 lines) 11/30/2007 05:20 AM Duck duck

Add basic item type definition

1.47 (+5 -2 lines) 11/30/2007 04:32 AM Duck duck

I doubt we will see any other driver than sql. So merge it with main drievr class to not have a file just for the singleton/factory.
Don't store the items list in driver cache as is not used later, just return them and save some memory usage.

1.46 (+6 -6 lines) 11/30/2007 04:09 AM Duck duck

is_a is deprecated, use instanceof

1.45 (+110 -113 lines) 11/30/2007 03:12 AM Duck duck

PHP5 style methos/constants definitions

1.44 (+4 -4 lines) 10/29/2005 01:35 PM Chuck Hagenbuch chuck

There's no reason for the print links to require javascript. Make them
all accessible, make them use popup(this.href). Users with javascript
off will just get a blank window using the printer friendly display
styles; they can hit print themselves.

1.43 (+18 -3 lines) 09/28/2005 02:41 PM Chuck Hagenbuch chuck

Sort blank categories using the translation for "Unfiled".

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

"@access public" is redundant.
Wrapping.
Use proper types in phpdoc.
Specify "@access private" correctly in phpdoc.

1.41 (+3 -2 lines) 06/22/2005 11:01 PM Matt Selsky selsky

Remove extra stuff from @var lines in phpdoc.

1.40 (+67 -20 lines) 05/31/2005 10:04 PM Matt Selsky selsky

Clean up phpdoc.

1.39 (+4 -4 lines) 05/20/2005 11:24 AM Chuck Hagenbuch chuck

track share selection changes

1.38 (+16 -17 lines) 05/11/2005 12:03 AM Matt Selsky selsky

Remove "optional" from phpdoc.

1.37 (+1 -2 lines) 04/20/2005 02:34 AM Matt Selsky selsky

Remove @version.

1.36 (+3 -3 lines) 12/20/2004 10:44 AM Jan Schneider jan

Two more switched key and value.

1.35 (+6 -2 lines) 12/07/2004 02:54 PM Chuck Hagenbuch chuck

My Wishlists link for Genie.

1.34 (+25 -11 lines) 11/21/2004 06:39 AM Jan Schneider jan

New menu.
Submitted by: Roel Gloudemans <roel@gloudemans.info>

1.33 (+3 -3 lines) 10/29/2004 05:10 PM Chuck Hagenbuch chuck

Here's the discussed change to listShares(). $owner is now a restriction on the shares returned instead of a boolean; $userid must still have permission to see them.

1.32 (+2 -5 lines) 08/30/2004 04:34 PM Chuck Hagenbuch chuck

Apps no longer need to call Help::javascript() - and indeed they shouldn't,
since it no longer exists.

1.31 (+2 -148 lines) 05/18/2004 05:49 PM Chuck Hagenbuch chuck

Start moving Genie to the new Pref_CategoryManager code.

1.30 (+3 -3 lines) 05/18/2004 02:16 PM Chuck Hagenbuch chuck

Creating new categories should work again.

1.29 (+4 -51 lines) 05/18/2004 12:26 AM Chuck Hagenbuch chuck

This should take care of storing categories as plaintext in the
backends. When you get this update, you'll start seeing numbers for
all category values. Run the convert_categories scripts and you'll see
the names again.

What will *not* quite work (probably) is adding/deleting categories.

Hope no one minds this going in stages; it's just a *lot* easier that
way.

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

No more HORDE_LIBS.

1.27 (+3 -3 lines) 04/05/2004 10:46 AM Chuck Hagenbuch chuck

Use '' instead of false to avoid problems with using the return value as a
share id/array_key_exists argument.

1.26 (+24 -2 lines) 04/03/2004 03:45 PM Chuck Hagenbuch chuck

Genie::getDefaultWishlists() and similar permissions/guest/default
wishlist fixes.

1.25 (+3 -3 lines) 02/11/2004 05:17 PM Chuck Hagenbuch chuck

move Menu.php to a framework package.

1.24 (+3 -3 lines) 02/07/2004 12:43 PM Jan Schneider jan

Use Identity::singleton().

1.23 (+3 -3 lines) 01/18/2004 06:58 PM Jan Schneider jan

Show notifications only from the requested message stack.

1.22 (+3 -3 lines) 01/15/2004 08:25 PM Jan Schneider jan

Identity moved to framework.

1.21 (+10 -10 lines) 01/14/2004 06:49 AM Jan Schneider jan

Fix Share:: method names.

1.20 (+3 -3 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.19 (+4 -4 lines) 01/13/2004 08:36 PM Chuck Hagenbuch chuck

- Move Category into the framework.
- At the same time, rename the API to DataTree.
- shorten some method names while we're at it.

1.18 (+42 -22 lines) 11/25/2003 04:04 PM Chuck Hagenbuch chuck

[cjh] Guests can now purchase items; they go through a form that requests
their email address so that they can confirm cancelling a gift
if necessary.

Purchase time is now recorded for everyone, and when a user purchases their
own item, their email address gets filled in also.

1.17 (+10 -5 lines) 11/23/2003 12:09 PM Chuck Hagenbuch chuck

- fix handling of categories as was done earlier for Kronolith (give
the user the actual list of categories for the wishlist they're adding
to).

- Show item descriptions in the wishlist overview (takes more space,
but much more end-user friendly).

- More UI tweaks; link Urls in item names and descriptions

- Don't show description tooltips since the description is right there.

1.16 (+38 -33 lines) 11/23/2003 01:11 AM Chuck Hagenbuch chuck

[cjh] Add sorting by item category.
[cjh] Fix filtering by purchased/unpurchased status.

Also:
- A few newer/nicer graphics
- Start some UI tweaks to get it looking a bit sharper and consistent with
other apps.

1.15 (+11 -23 lines) 10/22/2003 03:30 PM Chuck Hagenbuch chuck

Convert Genie to the new nag-inspired driver model, add history tracking, and
associated html cleanups.

1.14 (+4 -4 lines) 09/01/2003 05:59 PM Jan Schneider jan

Simplify driver instantiation even more.

1.13 (+4 -6 lines) 08/22/2003 09:02 PM Jan Schneider jan

No hardcoded params anymore.

1.12 (+3 -3 lines) 06/19/2003 02:47 PM Chuck Hagenbuch chuck

LOG_* constants -> PEAR_LOG_*

1.11 (+3 -3 lines) 06/16/2003 07:12 PM Chuck Hagenbuch chuck

restore print links in menus.

1.10 (+2 -3 lines) 06/11/2003 10:09 AM Chuck Hagenbuch chuck

Cache listShares() calls.

1.9 (+7 -2 lines) 05/31/2003 09:38 PM Chuck Hagenbuch chuck

Better returning/checking of errors in getCategories()/listShares()
calls.

1.8 (+22 -2 lines) 05/23/2003 10:44 AM Chuck Hagenbuch chuck

Last menu.php files.

1.7 (+3 -3 lines) 03/27/2003 06:17 PM Jan Schneider jan

Fix variable scope.

1.6 (+23 -3 lines) 03/04/2003 02:59 PM Chuck Hagenbuch chuck

Nuke the rest of the constants.php files. You'll have to update your
prefs.php files from prefs.php.dist for this one. Yay less file
inclusion.

1.5 (+34 -2 lines) 02/23/2003 08:46 PM Chuck Hagenbuch chuck

- Add an "itemselected" color slightly lighter than the "selected" color
- Sort by price correctly in Genie
- Use new sort direction graphics in Genie
- Only show sort direction graphics on the current column
- Clicking the current sort column header reverses the sort, whether or
not you click the triangle
- The current sort column is now highlighted all the way down, not just
the header.

A bunch of these UI changes could be applied to multiple Horde apps;
I'd appreciate feedback on them and whether we should propogate them.

1.4 (+2 -5 lines) 02/06/2003 01:32 PM Chuck Hagenbuch chuck

Always default to the Unfiled category; much better from a user's
point of view since they can always fix the category later; this
removes one potentially unnecessary task from the task/note/event/item
creation process.

1.3 (+63 -193 lines) 02/06/2003 12:32 AM Chuck Hagenbuch chuck

[cjh] Add a Horde_Block for Genie.
[cjh] Basic adding/listing/viewing/editing/deleting of items works.

1.2 (+5 -14 lines) 01/27/2003 02:15 PM Chuck Hagenbuch chuck

By doing just a bit more in Horde_Share::, we can avoid looping
through the same data again later.

1.1 01/17/2003 03:05 PM Chuck Hagenbuch chuck

Initial Genie commit.