Revisions for merk/lib/Merk.php

Location: [ Horde ] / merk / lib / Merk.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.68 (+4 -4 lines) 12/04/2008 01:59 PM Duck duck

Use Horde_Currencies cache

1.67 (+3 -17 lines) 12/04/2008 10:30 AM Duck duck

Use Horde_Taxes cache

1.66 (+8 -79 lines) 01/30/2008 04:39 AM Duck duck

Move all process form logic into Process class to be in one place and be easily portable to other modules.

1.65 (+5 -2 lines) 01/30/2008 04:15 AM Duck duck

- Convert read the prefs address inside the getInfo call
- Save the default shipping address
- Avoid some warnings

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

Happy New Year

1.63 (+2 -2 lines) 12/10/2007 07:32 AM Duck duck

Ensure passed parameters are integers.

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

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

1.61 (+3 -1 lines) 11/24/2007 11:00 AM Jan Schneider jan

Set email User-Agents.

1.60 (+4 -5 lines) 11/10/2007 07:35 AM Duck duck

Set language once per session not on every page load.
Fix empty cid id in client selection

1.59 (+26 -13 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.58 (+3 -3 lines) 11/06/2007 10:03 AM Jan Schneider jan

Copyright assignments.

1.57 (+2 -2 lines) 07/04/2007 07:25 AM Duck duck

Typo

1.56 (+6 -1 lines) 07/04/2007 04:41 AM Duck duck

Avoid warnings if item has no stock

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

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

1.54 (+52 -28 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.53 (+2 -2 lines) 06/15/2007 12:15 AM Chuck Hagenbuch chuck

$merk => $merk_driver

1.52 (+5 -5 lines) 06/09/2007 03:46 PM Duck duck

Don't use Rdo as array

1.51 (+4 -1 lines) 05/16/2007 11:23 AM Duck duck

Remove delivery option form invoice since now the delivery is only another item in invoice.
Add direct print link to invoice view page.
Add possibility to add taxes and currencies directly from Merk.
Marge company data code form Minerva and Gulliver.

1.50 (+56 -1 lines) 04/28/2007 07:40 AM Duck duck

Move the stock selection fields in a Merk method to avoid  code duplication.
Add a action to notify the user of too much selected quantity even before posting the form.

1.49 (+3 -2 lines) 04/03/2007 06:56 AM Jan Schneider jan

Languages can be empty.

1.48 (+2 -5 lines) 01/28/2007 08:48 AM Duck duck

No need of loading an array

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

Fix images editing

1.46 (+2 -2 lines) 01/10/2007 02:20 PM Duck duck

Finish upgrade script and image display.
Update table structure.

1.45 (+78 -4 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 -20 lines) 01/03/2007 08:51 AM Jan Schneider jan

Use MIME_Mail, untested.

1.43 (+26 -1 lines) 12/08/2006 04:33 AM Duck duck

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

1.42 (+4 -1 lines) 12/03/2006 10:46 AM Duck duck

Continue working on sellers support

1.41 (+5 -1 lines) 12/03/2006 09:28 AM Duck duck

Add sellers list and fix Merk_Driver_sql::getAllItems().

1.40 (+2 -2 lines) 10/03/2006 02:58 PM Duck duck

Move checkout processing in a separate script to have more cleaner code.
Actually save the default billing address in preferences.
Don't require tax for deliveries.
Catch more errors in checkout processing.

1.39 (+4 -1 lines) 09/28/2006 01:51 PM Duck duck

Pass billing information to the payment process.

1.38 (+39 -1 lines) 09/28/2006 12:27 PM Duck duck

Basic authorizationResponse just to send us an email when a invoice status changes

1.37 (+2 -2 lines) 09/28/2006 09:41 AM Duck duck

Detect if payment module is available and the are actually any payment method linked to merk. If so redirect the user to the payment process.

1.36 (+5 -3 lines) 09/27/2006 12:42 PM Duck duck

Added null invoice driver. Disables chart selling activities. So Merk can be used only as a catalog or we can easy temporary disable selling without deactivate it and allow users to browse article while administrating.

1.35 (+7 -4 lines) 09/27/2006 11:49 AM Duck duck

The null stock driver don't support item options. So when adding an article into cart add its item_id not stock_id.

1.34 (+5 -4 lines) 09/06/2006 01:55 PM Duck duck

Implement delivary minimal carts totals.

1.33 (+22 -7 lines) 07/25/2006 02:31 PM Duck duck

Allow to limit shipping/delivery to selected countres

1.32 (+5 -2 lines) 07/25/2006 03:13 AM Duck duck

Fix item image editing

1.31 (+9 -8 lines) 07/24/2006 03:49 PM Duck duck

Add  configure option to supply which currencies to use. Merk::formatPrice() will output all prices in selected format. For example EUR and USD. Or like country which is going to join the European monetary union and all the prices must be listed in our currency (SIT) and EUR.

1.30 (+6 -10 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.29 (+4 -2 lines) 07/20/2006 01:44 AM Duck duck

Move stock functions in a separate driver. To allow different storages, for example one on-line with catalogue an one on company's extranet for stocks updating. Added Null stock driver for supporting shops without stock manipulation.

1.28 (+4 -2 lines) 07/17/2006 07:57 AM Duck duck

Basic support for storing Merk invoices in Minerva.

1.27 (+3 -2 lines) 07/17/2006 04:45 AM Duck duck

Fix link of taxes to incubator
Added getImage to handle image paths merk wide

1.26 (+2 -1 lines) 07/17/2006 03:19 AM Duck duck

Basic permission check in catalog.

1.25 (+15 -11 lines) 06/27/2006 07:31 PM Chuck Hagenbuch chuck

Fix error checking; load Horde_Currencies from its current path.

1.24 (+4 -5 lines) 06/13/2006 02:59 PM Duck duck

Catch DB error in Merk_Driver_sql::getItems.
Move grant commands to the end of merk.sql.
Do not require item description.
Fix currency selection.

1.23 (+18 -94 lines) 06/13/2006 03:41 AM Duck duck

Remove old taxes and currencies code.
Move addTax, getTax and getTaxes directly to Merk_Driver.
Try first currency from current locale info, if is not set, use to default.
Remove not used getCurrencySymbol, getCurrency and calcTax.
Remove deprecated title2 from Horde::link calls.

1.22 (+59 -46 lines) 06/12/2006 09:21 AM Duck duck

Add test.php
Remove it_IT fix in Merk::formatPrice. Italy switched to Euro years ago.
Added Merk::externalFinance to check if Horde_Currencies and Horde_Taxes can be used. If not, fallback to old code.

1.21 (+7 -3 lines) 04/27/2006 12:57 PM Jan Schneider jan

Avoid warning if not languages have been configured.

1.20 (+8 -3 lines) 04/17/2006 11:11 PM Chuck Hagenbuch chuck

- always use Merk::lang()
- if selected lang is not present in config, fall on the first listed
- check for data in two places to avoid warnings
Submitted by: Duck <duck@obala.net>

1.19 (+4 -8 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.18 (+15 -1 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.17 (+2 -2 lines) 09/14/2005 10:03 PM Chuck Hagenbuch chuck

- png, not gif
- add taxes.png (better ideas welcome)

1.16 (+29 -2 lines) 04/18/2005 01:14 PM Jan Schneider jan

- a lot of html clean up, div where posible, menuSpacers...
- tax display fixes
Submitted by:   Duck <duck@obala.net>

1.15 (+6 -4 lines) 04/07/2005 07:39 PM Chuck Hagenbuch chuck

[cjh] Initial taxes support (Duck <duck@obala.net>).

1.14 (+20 -17 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.13 (+8 -3 lines) 11/09/2004 05:44 AM Jan Schneider jan

Error checking.

1.12 (+13 -13 lines) 10/19/2004 11:22 AM mdjukic

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

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

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

1.10 (+12 -12 lines) 10/18/2004 06:49 AM mdjukic

change getParam('graphics') to getImageDir()

1.9 (+22 -4 lines) 04/20/2004 02:28 AM mdjukic

fix it_IT fractions, function get a quick cart summary

1.8 (+2 -26 lines) 04/19/2004 05:49 PM mdjukic

not needed

1.7 (+44 -45 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.6 (+7 -2 lines) 02/12/2004 02:54 AM mdjukic

check for at least the last name in default billing

1.5 (+3 -3 lines) 02/11/2004 08:09 PM mdjukic

fix path to deliveries script

1.4 (+67 -3 lines) 02/11/2004 06:02 PM mdjukic

- add functions to get default billing and shipping arrays
- fix plural/singular

1.3 (+13 -2 lines) 01/21/2004 05:58 AM mdjukic

flag fetching function

1.2 (+5 -2 lines) 01/20/2004 07:45 PM mdjukic

use a constant for merk's base vfs path

1.1 01/13/2004 11:00 PM mdjukic

merk libs