Colin Kuskie
ddc33b76bb
Swap X and Y in image preview. Fixes bug #11073 .
2009-09-30 11:32:37 -07:00
Graham Knop
fcf73a4d29
remove beta from urls for carousel and imagecropper
2009-09-22 11:21:16 -05:00
Graham Knop
2d28e0c0ba
update YUI to 2.8.0r4
2009-09-21 13:13:24 -05:00
Colin Kuskie
27931774e8
Add POD missing from File and Image. Remove duplicate code in Image that
...
can be inherited from File.
2009-07-05 00:31:20 +00:00
Colin Kuskie
ef4afdb9c8
Remove debug.
2009-06-24 14:39:25 +00:00
Graham Knop
4ec14bc026
some image cropper cleanups
2009-04-30 18:17:12 +00:00
Brian Medley
4c408da55a
Image Asset tests, upgrade package, and code.
...
RSS Limiter tests, upgrade package, and code.
2009-03-23 21:11:10 +00:00
Brian Medley
cdb5421c3c
Seems to be done
2009-03-23 08:41:16 +00:00
Brian Medley
689a8b3e23
checkpoint
2009-03-22 23:56:32 +00:00
Brian Medley
fe54073536
checkpoint
2009-03-22 20:47:46 +00:00
Brian Medley
6acbdc063a
Checkpoint
2009-03-17 20:45:25 +00:00
Brian Medley
8761848ab3
checkpoint
2009-03-05 00:49:35 +00:00
Brian Medley
00cbaa49af
checkpoint
2009-03-03 11:15:39 +00:00
Brian Medley
3e5c9d04ae
Another checkpoint.
2009-02-26 00:02:07 +00:00
Brian Medley
2bbd1c8610
First try at resize of an image.
2009-02-22 20:40:36 +00:00
Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Brian Medley
482267b8af
check point
2009-02-19 18:32:57 +00:00
JT Smith
ee84cc7611
Deprecated WebGUI::Storage::Image. WebGUI::Storage can now do everything
...
WebGUI::Storage::Image can do.
2008-11-26 16:06:18 +00:00
Chris Nehren
36eb8db8fc
add ability to show metadata values in head blocks.
2008-08-21 18:51:16 +00:00
Graham Knop
53bdfda753
fixed: profile photos don't obey max image size
2008-03-28 19:55:03 +00:00
Graham Knop
050128f313
fixed: changing image thumbnail size doesn't resize image
2008-03-07 18:55:46 +00:00
JT Smith
93b5ca16e4
updating copyright year
2008-02-07 23:28:18 +00:00
JT Smith
fa09c41598
replaced return; with return undef;
2008-01-24 21:58:15 +00:00
Doug Bell
5222ad6be1
merged with SVN HEAD
2007-12-18 12:22:37 +00:00
Colin Kuskie
96178fd70c
first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead
2007-12-05 00:30:43 +00:00
Colin Kuskie
1b3d7f0c2b
Refactor out the copied code to resize images based on the max file
...
size from the Admin Settings and create a new method in
Storage::Image.
Build a test to verify that it works correctly.
2007-11-24 05:30:15 +00:00
Doug Bell
7e12c6c2f0
merged with SVN to get friends stuff
2007-10-26 00:50:05 +00:00
Graham Knop
39ad82133a
fix image uploads when not using perl
2007-10-16 20:05:23 +00:00
Doug Bell
5746ded766
Added more tests. Cleaned up the OO of File and Image a bit (removed a healthy bit of unnecessary code from Image). Done with File and Image for the time being...
2007-10-09 07:36:54 +00:00
JT Smith
884953607c
- fix: A bug where it was possible to delete a system page if it were made
...
the child of a non-system page that you had edit rights to.
- api: Added a unified contraints system for the file and image assets.
- fixed several problems with the new attachments control, setup, and tempspace
2007-07-26 16:08:27 +00:00
JT Smith
f6cab15bd0
removed help links that are referring to help that has been moved to the wiki
2007-07-26 04:53:14 +00:00
JT Smith
a7dde82421
updated copyright
2007-07-01 16:09:42 +00:00
Colin Kuskie
7abd54eb94
forward port of double-thumbnail bug. Image was inheriting a Storage object from File, and needed a Storage::Image object
2007-06-23 02:19:38 +00:00
Colin Kuskie
522d87fed2
forward port of File/Image - Storage/Storage::Image object alignment fix
2007-06-22 23:26:13 +00:00
Colin Kuskie
e3092f0aa8
Fixed a bug where due to the lack of a cached Storage object,
...
the assetSize in the db was set wrong. This happened when a File/Image
was added, and when it is committed. Editing the Asset would fix it, but
once it was committed, the files in the Storage area were not added.
List of Changes:
1) Removed setSize from File/Image.pm. It can inherit from File.
2) In Asset::File::processPropertiesFromFormPost, set _storageLocation to the Storage
object. Remove the call to setSize since it's done in ->update
3) In Asset::File::setSize, fetch the current storage object via getStorageLocation.
4) In Asset::File::update, move the call to update after the filesystem work. This
way changes in the size of the permissions file get accounted for.
5) In Asset::update, call setSize after all changes, regardless of whether or not
properties have changed.
6) In Asset::setSize, refactor out the size calculation and update $self's properties
cache so that long running scripts have the right size.
2007-06-13 23:06:44 +00:00
Frank Dillon
9a8207fee0
Fixed bugs in storage causing multiple storage locations to be created any time a file was created or updated. Fixed a bug which prevents files from potentially breaking on operating systems that are not case sensitive.
2007-05-04 19:19:01 +00:00
Colin Kuskie
8b7bafe1ae
fix for editing interfaces to Assets that still display an edit button even if the Asset is edit locked.
2007-04-29 03:16:13 +00:00
Graham Knop
58018d5d69
More image uploading fixes. Copying/pasted code. Should probably be refactored a bit.
2007-04-27 17:12:50 +00:00
Colin Kuskie
2c246c06cc
fix a bug where updating the storageId in File Type assets did not update the cached storageLocation. Also fixed the Thumbnail Macro test
2006-12-09 06:05:26 +00:00
Drake
d0bacc8988
Make File assets work with the exporter. This means not using the streaming
...
mechanism. This isn't optimal; should find a way to use the streaming
mechanism iff we know that there's going to be a live HTTP session on the
other end and not just a filehandle.
2006-10-13 20:01:48 +00:00
JT Smith
f8d22359d5
Images now create revisions as you resize them, so you can roll back to a
...
previous size.
adjusted roy's test because it's not accurate
2006-09-27 21:19:19 +00:00
Roy Johnson
c7a4c73e6b
Changed behavior of Image assets when admin mode is on so that browsing to an images url no longer takes you to the assets edit screen, but rather to the image it's self.
2006-08-27 18:55:14 +00:00
Wouter van Oijen
2d9565775f
POD fixes and removing debug output
2006-07-11 09:05:22 +00:00
Jukka Raimovaara
1f78c2b077
Added internal redirect
...
(Is there a way to get content_type that wouldn't require File::MMagic?)
Apache2::SubRequest's method lookup_file coused segfault in apache, so I scrapped that and used File::MMagic to to content type determing
Also fixed credit and added a currentPage.rankIsN variable to navigation
2006-04-30 13:07:00 +00:00
JT Smith
2f24cd3f3c
[ 1475220 ] some 6.99 templates have double slashes
2006-04-28 16:59:32 +00:00
JT Smith
da9c26d72c
fixed redirect bugs in file, image, and zip archive
...
added cache control headers to style
added cache control headers to snippet
added server side caching to snippet
2006-04-15 16:07:04 +00:00
JT Smith
e4392f7449
new caching system to replace old page cache
2006-04-05 20:46:57 +00:00
JT Smith
b55a7252e8
removed border= from image tags
2006-03-21 21:13:36 +00:00
JT Smith
468c5171cf
changed border= to style="border: for better xhtml compliance
2006-03-04 08:07:17 +00:00
JT Smith
46fa7e78e7
began adding streaming support for view method
2006-01-30 21:26:22 +00:00