Revisions for ansel/image.php

Location: [ Horde ] / ansel / image.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.158 (+1 -3 lines) 08/13/2008 04:36 PM Michael Rubinsky mrubinsk

remove debug statement

1.157 (+3 -3 lines) 08/09/2008 03:36 PM Michael Rubinsky mrubinsk

rename Ansel_Gallery#coundChildren to Ansel_Gallery#countGalleryChildren to
avoid conflicting with Horde_Share_Object_sql_hierarchical#countChildren

1.156 (+5 -5 lines) 08/07/2008 02:52 PM Michael Rubinsky mrubinsk

hopefully the last round of these gettext string cleanups...

1.155 (+15 -23 lines) 08/07/2008 01:28 PM Michael Rubinsky mrubinsk

Fix grammer, consistent quoting and remove an extra check for PEAR_Error

1.154 (+2 -2 lines) 08/07/2008 12:25 PM Michael Rubinsky mrubinsk

...more language tweaking for gettext strings

1.153 (+5 -5 lines) 08/07/2008 09:43 AM Michael Rubinsky mrubinsk

More gettext string clean up, standardization etc...

1.152 (+2 -2 lines) 08/02/2008 03:46 PM Michael Rubinsky mrubinsk

image(s) -> photo(s)

1.151 (+27 -1 lines) 06/25/2008 02:33 PM Michael Rubinsky mrubinsk

Add ability to replace an existing photo from the property page.

Bug: 6724

1.150 (+20 -2 lines) 06/23/2008 03:59 PM Michael Rubinsky mrubinsk

Initial support for resizing images from the image edit view.
Still needs work, design wise, but the functionality is there.

Bug: 6000

1.149 (+42 -28 lines) 06/22/2008 02:13 PM Michael Rubinsky mrubinsk

Error checking, permission checking, logic cleanup

1.148 (+2 -2 lines) 06/22/2008 01:57 PM Michael Rubinsky mrubinsk

grammer

1.147 (+32 -102 lines) 06/22/2008 01:53 PM Michael Rubinsky mrubinsk

Some more cleanup of the image.php file.
Move the forms into lib/Forms and add some error checking etc...

1.146 (+1 -2 lines) 06/22/2008 01:31 PM Michael Rubinsky mrubinsk

$style is not used anywhere when editing images

1.145 (+95 -12 lines) 06/22/2008 01:08 PM Michael Rubinsky mrubinsk

Initial support for cropping images from within Ansel.

1.144 (+22 -14 lines) 06/20/2008 04:32 PM Michael Rubinsky mrubinsk

comments, wrapping, redirect back to image view on permissions error

1.143 (+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.142 (+7 -13 lines) 05/24/2008 06:48 PM Michael Rubinsky mrubinsk

Get rid of all this 'requestedView' nonsense now that it's fixed the right
way :)

1.141 (+1 -2 lines) 05/19/2008 07:04 PM Michael Rubinsky mrubinsk

This .js file was never used.

1.140 (+5 -2 lines) 05/14/2008 09:36 AM Michael Rubinsky mrubinsk

Attempt to use slugs everywhere we already have a gallery object instantiated
It's not work creating a gallery object *just* to get the slug

1.139 (+7 -6 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.138 (+19 -8 lines) 03/29/2008 04:26 PM Michael Rubinsky mrubinsk

Make sure to pass the requestedView parameter whenever we are requesting
a gallery view url

1.137 (+33 -14 lines) 03/29/2008 02:39 PM Michael Rubinsky mrubinsk

wrapping

1.136 (+2 -2 lines) 03/19/2008 03:50 PM Michael Rubinsky mrubinsk

- Fix image properties page to allow it to close properly via js
- Use popup() js to display the image property page from the image view
instead of just a _blank target.

1.135 (+27 -16 lines) 03/14/2008 08:49 PM Michael Rubinsky mrubinsk

Some more rewrite rules, add lots more Ansel::getUrlFor() calls in place
of Horde::applicationUrl(). Some of these I missed the first time, some
I didn't have the getUrlFor controller ready...

1.134 (+7 -4 lines) 03/10/2008 04:17 PM Michael Rubinsky mrubinsk

- A whole bunch of pretty url generation
- Activate the new Ansel_View_List in place of list.php (list.php will remain
for now until further testing, but it will be removed shortly)
- Added additional rewrite rules so we have pretty urls for the general
groupings as well

1.133 (+84 -43 lines) 03/10/2008 10:52 AM Michael Rubinsky mrubinsk

- Add user pref for automatically watermarking images (Bug: 6412 Submitted by: Duck)
- Don't actually watermark until the screen image is generated.
- Add some more pretty url generation
- cs

1.132 (+3 -3 lines) 03/06/2008 09:35 AM Chuck Hagenbuch chuck

Close popup window after refreshing the parent.
Bug: 6387
Submitted by: duck@obala.net

1.131 (+2 -2 lines) 02/23/2008 06:56 PM Michael Rubinsky mrubinsk

Another place to not decrement the cached image count when removing /
resetting a gallery stack.

1.130 (+19 -1 lines) 02/23/2008 04:32 PM Michael Rubinsky mrubinsk

Make sure the gallery page we are returning to still exists when returning
to the gallery view after deleting or moving images.

1.129 (+14 -14 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.128 (+62 -33 lines) 01/15/2008 08:30 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.127 (+12 -7 lines) 01/04/2008 06:14 PM Michael Rubinsky mrubinsk

Delete all cached prettythumbs here also, not just the currently selected style's
thumb.

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

Happy New Year

1.125 (+2 -2 lines) 12/16/2007 10:43 AM Jan Schneider jan

Fix ngettext call.

1.124 (+2 -2 lines) 12/16/2007 10:40 AM Jan Schneider jan

photo

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

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

1.122 (+13 -1 lines) 12/06/2007 11:47 AM Michael Rubinsky mrubinsk

Force regeneration of any gallery stacks if the default image changes,
since the default image should be placed on top of the stack.

1.121 (+5 -1 lines) 11/24/2007 03:23 PM Michael Rubinsky mrubinsk

Revert the gallery default-type to 'auto' if we are de-selecting the default
flag from the current default image.

1.120 (+2 -2 lines) 11/14/2007 07:42 PM Jan Schneider jan

Return to index.php.

1.119 (+2 -2 lines) 10/17/2007 08:13 PM Michael Rubinsky mrubinsk

Horde_Image has always been using 'center' for this.

1.118 (+42 -11 lines) 06/12/2007 01:20 PM Michael Rubinsky mrubinsk

No need to duplicate code, all non-js tag actions should go through images.php for handling.
Add degraded delete tag links

1.117 (+17 -1 lines) 06/12/2007 11:35 AM Michael Rubinsky mrubinsk

Alright, another round of attempts to allow using the enter key to add tags on image and gallery view, as well as degrade the tag addition when js is not available.
This time, take advantage of the fact the onsubmit is never called when submiting programatically.
Still need to figure out how to degrade the gallery actions properly since in essence, we'll need three different submit buttons (move,copy,delete) - plus, do we really want to allow deletions without the ability to put up a confirmation?

1.116 (+2 -2 lines) 06/09/2007 04:17 PM Michael Rubinsky mrubinsk

Get rid of extra parameter (probably an artifact from data tree images).

1.115 (+34 -1 lines) 05/12/2007 04:13 PM Michael Rubinsky mrubinsk

Implement copying images.

1.114 (+12 -12 lines) 05/01/2007 06:30 PM Jan Schneider jan

No more references.

1.113 (+4 -1 lines) 04/28/2007 05:25 PM Michael Rubinsky mrubinsk

First bit of work on getting tags working in Ansel and is very rough.
This commit basically just implements setting/getting tags and they are only visible on the image's property page for now.
If this is not headed in the right direction, I can back this out, but thought it best to get this in to CVS before continuing with the rest of the implementation...

1.112 (+13 -3 lines) 04/14/2007 05:40 PM Michael Rubinsky mrubinsk

The image properties window now correctly returns and reloads the correct view.

1.111 (+1 -1 lines) 01/02/2007 07:46 AM Jan Schneider jan

Happy New Year

1.110 (+4 -2 lines) 01/01/2007 07:40 PM Jan Schneider jan

Assign copyright to The Horde Project for those copyright holders that already agreed to it.

1.109 (+1 -1 lines) 12/30/2006 05:03 AM Jan Schneider jan

Tweak placeholder.

1.108 (+48 -98 lines) 12/02/2006 02:13 AM Chuck Hagenbuch chuck

Well, here goes. Images are now stored in a set of SQL tables instead
of in the DataTree. See prior commit message for upgrade instructions,
and let me know what you run in to. I'm sure I'll be tweaking things
myself as I upgrade my other galleries and use it more, but for now,
things seem to work.

1.107 (+8 -8 lines) 06/11/2006 12:13 AM Chuck Hagenbuch chuck

Integrate slideshow and image views. Closes bug 3785 by completely
replacing the old slideshow code.

This is a pretty big change, but it seems to be in good
shape. Slideshow won't work without javascript, but next/prev links
degrade properly. What won't work is the properties, edit, delete, and
download full image links when you've used js to navigate between
images in the image view. That's on the todo list in slideshow.js.

1.106 (+5 -1 lines) 04/08/2006 06:41 PM Chuck Hagenbuch chuck

Error checking.

1.105 (+6 -19 lines) 04/03/2006 11:10 AM Chuck Hagenbuch chuck

- Remove download* actions
- Allow specifying a view on the various edit actions.

1.104 (+10 -10 lines) 03/04/2006 11:41 PM Chuck Hagenbuch chuck

Batch of Horde_Form::singleton() removals.

1.103 (+1 -1 lines) 01/01/2006 04:09 PM Jan Schneider jan

Happy new year\!

1.102 (+11 -174 lines) 11/12/2005 10:46 AM Chuck Hagenbuch chuck

Another episode in the gradual splitting out of some of Ansel's larger files.

1.101 (+1 -3 lines) 11/11/2005 02:00 AM Michael M Slusarz slusarz

fread() -> file_get_contents()

1.100 (+3 -7 lines) 09/15/2005 02:25 PM Ben Chavet ben

fix move/copy functions

1.99 (+1 -10 lines) 08/02/2005 10:54 PM Chuck Hagenbuch chuck

- Move image display to smaller, simpler scripts.
- html cleanup

1.98 (+3 -3 lines) 07/18/2005 03:18 PM Matt Selsky selsky

Double-quote gettext strings.

1.97 (+33 -25 lines) 05/31/2005 02:53 PM Chuck Hagenbuch chuck

Catch when a user doesn't select a gallery to move/copy to, both
client and server side.

1.96 (+1 -10 lines) 05/08/2005 03:32 PM Chuck Hagenbuch chuck

- Consistently use Ansel::getBreadCrumbs() (renamed from
Ansel::getNavigation()) on all Ansel pages, and include parent
galleries.

- Put Crop link on image editing toolbar.

- Remove Image Attributes link; exif attributes are shown if the user
turns on the preference.

1.95 (+48 -48 lines) 03/10/2005 12:12 PM Chuck Hagenbuch chuck

checkboxes are only sent if they're checked, so these checks weren't
doing anything.

1.94 (+3 -3 lines) 03/09/2005 10:08 PM Chuck Hagenbuch chuck

'description', not 'desc'

1.93 (+16 -14 lines) 03/08/2005 11:21 PM Chuck Hagenbuch chuck

tweaks, style, etc.

1.92 (+1 -1 lines) 01/03/2005 09:34 AM Jan Schneider jan

Happy New Year

1.91 (+5 -5 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.90 (+2 -1 lines) 12/03/2004 02:32 PM Chuck Hagenbuch chuck

Need to include Exif.php here.

Bug: #934

1.89 (+7 -7 lines) 11/14/2004 11:42 AM Chuck Hagenbuch chuck

Use new menu, remove view/* files that weren't being maintained.

1.88 (+1 -7 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.87 (+2 -1 lines) 11/12/2004 12:12 AM Ben Chavet ben

Add 'mini' image support

1.86 (+9 -13 lines) 10/23/2004 05:09 PM Ben Chavet ben

Don't need delete perms to copy an image

1.85 (+3 -3 lines) 10/19/2004 10:50 PM Ben Chavet ben

Start modifications to require referrencing galleries & images by ID.

At this point, viewing & creating images & galleries works with no errors.
I'm sure there are other features that are broke now, but they should be
fairly straight-forward to fix.  I'm out of time tonight, but this is a
good start.  I should have more time tomorrow night if nobody beats me
to it.

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

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

1.83 (+11 -34 lines) 10/16/2004 01:37 AM Michael M Slusarz slusarz

Various addParameter() optimizations.
Some display/output tweaks.

1.82 (+2 -1 lines) 10/15/2004 07:05 AM Jan Schneider jan

Get rid off Text::toHTML().

1.81 (+4 -4 lines) 09/24/2004 09:04 AM Jan Schneider jan

gettext

Submitted by: Duck <duck@obala.net>

1.80 (+3 -3 lines) 09/05/2004 12:49 PM Jan Schneider jan

[jan] Recursively delete complete directories when deleting images.
[jan] Don't convert image format when downloading the full image.
[jan] Store images with correct file extension in the VFS backend.

Don't forget to run 2004-09-05_add_extensions.php after updating.

1.79 (+6 -6 lines) 09/02/2004 08:17 PM Chuck Hagenbuch chuck

fix numbering

1.78 (+18 -14 lines) 08/16/2004 06:16 PM Chuck Hagenbuch chuck

- Add countGalleries() (duck@obala.net)
- clean up the tiles a bit, add expand/collapse js.

1.77 (+2 -2 lines) 08/15/2004 09:57 AM mdjukic

correct error reporting?

1.76 (+18 -18 lines) 06/06/2004 10:57 PM Ben Chavet ben

Use gallery ID's instead of gallery names in images,
this will make moving images automatic if moving a
gallery

1.75 (+2 -2 lines) 05/25/2004 11:52 AM Jan Schneider jan

Move allowFileUploads() and wasFileUploaded() from Horde:: to Browser::

1.74 (+102 -11 lines) 05/07/2004 05:33 PM Ben Chavet ben

Allow images to be moved & copied to different galleries.

1.73 (+4 -3 lines) 04/07/2004 01:25 PM Chuck Hagenbuch chuck

Better error trapping.

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

No more HORDE_LIBS.

1.71 (+3 -3 lines) 03/31/2004 03:19 PM Jan Schneider jan

Spacing.

1.70 (+10 -2 lines) 03/23/2004 06:40 PM Chuck Hagenbuch chuck

[cjh] Store EXIF data for uploaded images into the backend on upload.
("Heath S. Hendrickson" <heath@outerspaceconsultants.com>).

- plus changelog

1.69 (+38 -5 lines) 03/23/2004 05:31 PM Chuck Hagenbuch chuck

Support more watermark options, and lots of watermark placeholders.
From: "Heath S. Hendrickson" <heath@outerspaceconsultants.com>

1.68 (+2 -2 lines) 03/15/2004 09:51 PM Chuck Hagenbuch chuck

- Allow disabling the Upload button in image variables.
- Do that for the multiple file upload in Ansel.

1.67 (+6 -6 lines) 03/13/2004 11:02 PM Chuck Hagenbuch chuck

trim ws

1.66 (+148 -91 lines) 03/12/2004 12:09 AM Ben Chavet ben

multi-image upload form.  Still needs a little polishing, but it's functional.
Will someone please verify that the zip upload still works?  I've never been
able to successfully upload a zip file.

1.65 (+6 -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.64 (+12 -12 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.63 (+2 -3 lines) 02/13/2004 04:14 PM Chuck Hagenbuch chuck

Remove Server.php; all functionality has migrated elsewhere. It may not all be in its final home, but we'll see.

1.62 (+9 -10 lines) 02/13/2004 01:19 PM Chuck Hagenbuch chuck

Clean up a little and hopefully fix setting of default images on new uploads.

1.61 (+4 -6 lines) 02/12/2004 02:07 PM Chuck Hagenbuch chuck

clean up defaulting of the watermark text

1.60 (+79 -35 lines) 02/12/2004 02:04 PM Chuck Hagenbuch chuck

Popup for setting watermark text ("Heath S. Hendrickson" <heath@outerspaceconsultants.com>).

- also set caption in a new window, and some consistency improvements
in wording and ui.

1.59 (+2 -17 lines) 01/24/2004 11:32 PM Chuck Hagenbuch chuck

[cjh] Link for showing exif data in a popup window
("Heath S. Hendrickson" <heath@outerspaceconsultants.com>).
[cjh] Preference for whether or not to show exif data in the image
view ("Heath S. Hendrickson" <heath@outerspaceconsultants.com>).
[cjh] Support for PHP's native exif_read_data() function
("Heath S. Hendrickson" <heath@outerspaceconsultants.com>).

1.58 (+3 -3 lines) 01/23/2004 07:49 PM Chuck Hagenbuch chuck

Allow users to configure the string they watermark images with.

Submitted by: "Heath S. Hendrickson" <heath@outerspaceconsultants.com>

1.57 (+6 -6 lines) 01/21/2004 02:12 PM Ben Chavet ben

Fix setting the gallery default image.

Only showing the 100 latest revisions. Show all revisions? (may take a while).