Revisions for ansel/scripts/ansel.php

Location: [ Horde ] / ansel / scripts / ansel.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.26 (+3 -2 lines) 08/07/2008 09:43 AM Michael Rubinsky mrubinsk

More gettext string clean up, standardization etc...

1.25 (+2 -2 lines) 08/03/2008 03:25 PM Michael Rubinsky mrubinsk

need an empty() check here

1.24 (+2 -2 lines) 06/05/2008 12:13 AM Michael Rubinsky mrubinsk

Change Ansel_Image#vfspath to Ansel_Image#getVFSPath to be more inline
with other method names

1.23 (+14 -12 lines) 05/06/2008 07:56 PM Michael Rubinsky mrubinsk

Well, here goes. Another sweeping change to the data storage in Ansel.
This commit has Ansel using the new Horde_Share hierarchical sql driver,
and thus requires Horde_Share_sql_hierarchical.php which is now in FW_3.

To upgrade an existing installation, you need to first run the
2008-04-28_add_sql_share_tables.sql script on your database, and then run
then *_sql_share_migration.php script which will move all the gallery data
completely out of the datatree for good!  This script will not delete any
data unless you tell it to.  Also be aware that if you have hacked ansel's
config to use seperate datatree tables for ansel then you will need to edit
the script with the correct table names.

1.22 (+2 -2 lines) 04/20/2008 08:55 PM Michael Rubinsky mrubinsk

Move the createGallery() method to the Ansel_Storage class where it really
belongs.

1.21 (+2 -2 lines) 02/06/2008 05:22 PM Michael Rubinsky mrubinsk

Statically cache Ansel_Storage::getImage() calls since they can often
be called multiple times per page load and from different scopes. Also
have to add reference operators now to be sure that only a single copy of
the image object is ever operated on per page load in PHP4.

Bug: 6219
Submitted by: Duck

1.20 (+26 -14 lines) 01/18/2008 03:29 AM Jan Schneider jan

Wrapping

1.19 (+5 -5 lines) 01/15/2008 08:31 PM Michael Rubinsky mrubinsk

The mother of all Ansel commits.  This removes all the gallery attributes
from the datatree, leaving only permissions and hierarchical information in
datatree.

To upgrade, first run the 2008_01_07_add_galleries.sql script to create
the gallery table and then run the sql_galleries.php script.  The script
does *NOT* delete any data from the datatree - it only creates the new
structure. Another (upcoming) upgrade script will remove the data from
the datatree once this is more thoroughly tested.

Bug: 6101

1.18 (+12 -12 lines) 12/16/2007 10:31 AM Jan Schneider jan

Standardize on using 'photos' instead of 'images'.

1.17 (+6 -9 lines) 12/02/2006 02:22 AM Chuck Hagenbuch chuck

A few more fixes as I find them.

1.16 (+3 -3 lines) 11/30/2006 06:33 PM Jan Schneider jan

Log error message.
Fix undefined variable notice.

1.15 (+41 -22 lines) 06/10/2006 09:21 PM Chuck Hagenbuch chuck

Add creation of subgalleries, setting gallery owners, and setting
image captions to the ansel.php CLI.
Bug: 3986
Submitted by: dorm@dorm.org

1.14 (+13 -13 lines) 08/16/2005 05:15 PM Matt Selsky selsky

Fix quote style.

1.13 (+3 -3 lines) 05/29/2005 08:20 PM Chuck Hagenbuch chuck

small simplifications

1.12 (+7 -10 lines) 05/29/2005 01:23 PM Chuck Hagenbuch chuck

- Call Horde_CLI::init() before importing any configs to avoid fatal errors
- remove duplicative includes, etc, since we load Ansel's base.php.

1.11 (+6 -6 lines) 04/26/2005 01:29 AM Matt Selsky selsky

Fix up phpdoc and don't use array_push() if we don't need it.

1.10 (+41 -22 lines) 02/26/2005 09:34 PM Chuck Hagenbuch chuck

Allow listing contents of galleries. Definitely admin focused, gives
filename and VFS location.

1.9 (+6 -8 lines) 02/20/2005 03:07 AM Ben Chavet ben

Started messing with the UI to make it work better with the "groupby" pref.

1.8 (+1 -13 lines) 11/12/2004 11:11 PM Chuck Hagenbuch chuck

Automatic rotating of images based on exif information.

Submitted by: Brian Templeton <kaetzchen@gmail.com>

1.7 (+10 -4 lines) 09/02/2004 12:00 AM Chuck Hagenbuch chuck

Minor cleanup, try to be more memory efficient.

1.6 (+2 -2 lines) 07/15/2004 08:25 AM Jan Schneider jan

Fix indention.

1.5 (+2 -2 lines) 07/15/2004 08:22 AM Jan Schneider jan

wrapping

1.4 (+13 -10 lines) 07/09/2004 03:38 PM Chuck Hagenbuch chuck

Need full path here (Duck <duck@obala.net>); make sure $gallery is set.

1.3 (+13 -70 lines) 05/26/2004 05:22 PM Chuck Hagenbuch chuck

Start consolidating some duplicate code with Ansel::createGallery() and
Ansel::getImageFromFile().

(Vijay Mahrra <webmaster@stain.net>).

1.2 (+118 -25 lines) 05/19/2004 03:28 PM Chuck Hagenbuch chuck

From Vijay Mahrra <vijay@mahrra.com>:

this is a patch to the ansel cli script i submitted earlier which adds a further
option to upload all files in a directory.  this will need further work to add
recursively and create sub-galleries etc.

i created two new functions, one is getImageFromFile() reads a file (if it's a
valid image) into an array that ansel understands.  perhaps this should be in
the main ansel library or maybe we need a new class that extends ansel called
Ansel_CLI that has such file functions?

the other function performs most of the new functionality - it reads the files
in a dir, checks if they're valid images, and if so attempts to store them in
the selected gallery.

any comments and feedbacks would be great on how to improve and extend the cli

1.1 05/17/2004 08:14 PM Chuck Hagenbuch chuck

[cjh] Command line interface to Ansel
(Vijay Mahrra <vijay.mahrra@es.easynet.net>).