Revisions for merk/lib/Categories.php

Location: [ Horde ] / merk / lib / Categories.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.56 (+13 -13 lines) 01/17/2008 04:01 AM Duck duck

Fix permissions and write db

1.55 (+24 -11 lines) 01/03/2008 05:33 AM Duck duck

Fix categories cache whith language change

1.54 (+2 -3 lines) 11/26/2007 03:44 AM Duck duck

Autoloader is already loded so use it.
Remove some unneeded references.

1.53 (+3 -1 lines) 11/10/2007 07:05 AM Duck duck

We don't need to require a default category to be set. If no default category is defined, we show a full items list like in every  common eshop.
Fix bug that double select items.
Declare functions public or private and remove unused hashes.
Use autoload.

1.52 (+3 -3 lines) 11/06/2007 10:03 AM Jan Schneider jan

Copyright assignments.

1.51 (+20 -6 lines) 08/22/2007 10:47 AM Duck duck

Add parents to getFullName()

1.50 (+395 -362 lines) 06/25/2007 12:09 PM Duck duck

move categories out of DT
php5 style methods definition
move vfs path constant to merk object

1.49 (+4 -4 lines) 06/15/2007 12:15 AM Chuck Hagenbuch chuck

$merk => $merk_driver

1.48 (+3 -3 lines) 04/25/2007 10:15 AM Duck duck

Catch right result

1.47 (+3 -6 lines) 01/11/2007 06:07 AM Duck duck

Fix images editing

1.46 (+3 -8 lines) 01/10/2007 10:45 AM Duck duck

Fix configuration key.
Resize images even for categories and sellers.
Add initial upgrade script (it won't delete or change anything).

1.45 (+2 -3 lines) 01/10/2007 09:28 AM Duck duck

Use Horde_Image to resize images to thumbnails and big images.
Store images by ID, to avoid problems with strange filenames (spaces, special characters etc).
Don't load VFS driver on every driver creation, but only when needed (store and edit images).
Open big images and linked Ansel images in a ?big picture? pop-up.
Upgrade script will come soon.

1.44 (+7 -23 lines) 12/08/2006 04:33 AM Duck duck

Move cache out of each object in the global space.
Cache taxes data.

1.43 (+3 -2 lines) 11/12/2006 11:39 AM Duck duck

If no category is selected, instead to leave a the blank page with left tree selection, show all categories images to select from.

1.42 (+23 -80 lines) 08/15/2006 02:07 PM Duck duck

Remove unused methods, update phpdocs and fix cache expire

1.41 (+79 -34 lines) 08/15/2006 01:37 PM Duck duck

Cache categories data

1.40 (+69 -102 lines) 07/23/2006 02:46 PM Duck duck

- Snow category name in the browsing title
- Use vfs direct for category image too
- Remove payment prefs, never implemented
- Actually set the prefs values in the checkout
- Change vfs direct config to be a string so other alias can be specified. For example web-servers with disabled sym-links.
- Combine confusing double addresses
- Some more clean ups and fixes

1.39 (+2 -2 lines) 07/17/2006 02:33 PM Duck duck

Clean up messages and add Slovenian translation

1.38 (+6 -1 lines) 04/15/2006 11:21 PM Chuck Hagenbuch chuck

- make item delivery non-required. Make it Boolean since we have only two
options (default and non-default). This is not used anywhere.
- added item_model field: stores product model IDs. Allows to import/sync data
from client based items databases/categories (bridge from merk to companies
internal ids)
- Categories: suppress errors if the current language used is not present in
categories data (log error and return empty array)
- deleted not used /templates/deliveries/edit.html
- clean up and simplify templates: use more divs, styles, use stripe.js for
lists
Submitted by: Duck <duck@obala.net>

1.37 (+4 -3 lines) 03/27/2006 01:05 PM Chuck Hagenbuch chuck

- avoid erros by skip image selections if the gallery is not set
- added Merk::getLang() select the current locale, since preference value can
be empty
- added "bare" option to Merk::getItems to return unformated items data
- added listCostObject api call
Submitted by: Duck <duck@obala.net>

1.36 (+2 -6 lines) 07/02/2005 10:44 PM Matt Selsky selsky

"@access public" is redundant.
Wrapping.

1.35 (+3 -2 lines) 06/23/2005 04:50 PM Matt Selsky selsky

Clean up phpdoc.

1.34 (+4 -4 lines) 05/26/2005 06:19 PM Matt Selsky selsky

Clean up phpdoc.

1.33 (+10 -11 lines) 05/10/2005 08:34 PM Matt Selsky selsky

Remove "optional" from phpdoc.

1.32 (+2 -2 lines) 04/24/2005 03:18 PM Chuck Hagenbuch chuck

"- clean up nested spaces in the code
- checkout and invoice templates clean up
- stores the tax total value in the invoice table
- correctly display tax in checkout, invoice and invoice print view
- fix state/country mix in the invoice print view"

Submitted by: duck@obala.net

1.31 (+9 -9 lines) 04/11/2005 10:58 AM Chuck Hagenbuch chuck

PHPDoc fixes
Bug: 1743, 1744, 1748, 1749
Submitted by: selsky@columbia.edu

1.30 (+6 -6 lines) 04/05/2005 10:22 AM Chuck Hagenbuch chuck

Assorted html cleanup from Duck <duck@obala.net>.

1.29 (+3 -3 lines) 12/19/2004 11:06 PM Chuck Hagenbuch chuck

use global delete and edit icons.

1.28 (+7 -7 lines) 12/07/2004 02:26 PM Chuck Hagenbuch chuck

- Some more -1 to DATATREE_ROOT changes (these were ints before, which sort of makes my whole point of needing the constant <g>)

- style and ws cleanups that I hit along the way (grepping for -1 gives you a *lot* of files to go through).

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

Instead of hardcoding '-1' in tons of places, use a new constant: DATATREE_ROOT. Much more readable, etc. At the same time, make this an int (-1) instead of the string value ('-1') which was inconsistent with all other datatree ids, buggy, etc.

1.26 (+3 -3 lines) 11/19/2004 01:45 PM Chuck Hagenbuch chuck

- New CSS menu for Merk (Duck <duck@obala.net>)
- I also cleaned up what coding standards stuff I could while I was there.

1.25 (+8 -8 lines) 10/19/2004 11:22 AM mdjukic

Change all references to *.gif images to the new *.png.

1.24 (+3 -3 lines) 10/19/2004 04:11 AM mdjukic

first lot being moved from gif to png

1.23 (+5 -5 lines) 10/18/2004 08:45 PM Chuck Hagenbuch chuck

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

1.22 (+3 -3 lines) 10/18/2004 06:49 AM mdjukic

change getParam('graphics') to getImageDir()

1.21 (+3 -3 lines) 08/18/2004 01:01 PM Jan Schneider jan

!isset() -> empty()

1.20 (+3 -3 lines) 05/20/2004 11:56 AM Jan Schneider jan

Fix package names.

1.19 (+19 -2 lines) 04/27/2004 05:19 AM miki

New function getChildList()

1.18 (+1 -18 lines) 04/26/2004 04:55 AM miki

Code cleanup

1.17 (+11 -0 lines) 04/26/2004 04:48 AM miki

New category delete function

1.16 (+3 -4 lines) 04/26/2004 04:36 AM miki

Fixed saveCategory()

1.15 (+4 -2 lines) 04/25/2004 06:18 AM miki

Fixed image add for new category

1.14 (+4 -3 lines) 04/25/2004 04:48 AM miki

Fixed category parent name

1.13 (+4 -4 lines) 04/23/2004 03:58 AM miki

Call redefined function getName()

1.12 (+5 -5 lines) 04/20/2004 09:20 AM mdjukic

default to horde_datatree as the categories table

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

No more HORDE_LIBS.

1.10 (+22 -19 lines) 02/12/2004 04:20 PM Chuck Hagenbuch chuck

Put in any error handling I could find was needed by poking around without
having created any of the database tables. :)

1.9 (+6 -6 lines) 02/11/2004 09:18 PM mdjukic

change  to

1.8 (+14 -5 lines) 02/06/2004 01:34 AM mdjukic

- add some defaults for table names
- fix some bad passing of variables

1.7 (+4 -4 lines) 01/21/2004 09:09 PM mdjukic

fix root of categories display and some titles

1.6 (+106 -21 lines) 01/21/2004 11:21 AM mdjukic

- load all categories' attributes at init into $this->_attributes
- clean up the function to fetch a localised category name
- add function to fetch a category's image
- add function to fetch a category's subcategories, including link, name and image
- comments

1.5 (+38 -33 lines) 01/21/2004 06:19 AM mdjukic

tweak some names

1.4 (+4 -4 lines) 01/20/2004 07:45 PM mdjukic

use a constant for merk's base vfs path

1.3 (+5 -5 lines) 01/14/2004 05:05 AM mdjukic

fix constants

1.2 (+23 -23 lines) 01/13/2004 11:11 PM mdjukic

fix for new class and paths

1.1 01/13/2004 11:00 PM mdjukic

merk libs