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
Matthew Wilson
4a3121960f
removal of dumpSession.
2006-01-26 05:39:16 +00:00
Matthew Wilson
2069da5fdb
tons of bug fixes.
2006-01-18 14:41:12 +00:00
Matthew Wilson
09483e18c5
a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily.
2006-01-16 22:45:21 +00:00
Matthew Wilson
f2cccdff9f
more oodles of changes.
2006-01-15 18:19:44 +00:00
Matthew Wilson
65823b1f53
oodles of fixes.
2006-01-15 15:56:17 +00:00
Matthew Wilson
19bce8eaf6
bunches o syntax fixes.
2006-01-14 21:06:52 +00:00
JT Smith
a3adaee3a0
removing unnecessary use lines
2006-01-12 22:27:20 +00:00
JT Smith
1e5034acd6
refactored storage api to handle new session stuff
2006-01-12 19:15:34 +00:00
Colin Kuskie
01d95a265e
new i18n api requiring $session
2006-01-12 17:49:20 +00:00
JT Smith
b3974c0cd5
refactored WebGUI::HTMLForm api to use new session system
2006-01-11 16:53:02 +00:00
JT Smith
9520b4ce48
migrating datetime api for session
2006-01-10 17:06:41 +00:00
JT Smith
a194408513
changing copyright year
2006-01-09 23:51:04 +00:00
JT Smith
d470a7cdd4
more session related changes
2006-01-09 20:43:02 +00:00
JT Smith
2866a2c873
converting assets to new session system
2006-01-02 03:12:54 +00:00
Colin Kuskie
caeff5db5f
fixing more broken i18n labels
2005-12-05 14:52:54 +00:00
Colin Kuskie
01dcd2b416
fix broken i18n labels and add i18n labels to Matrix
2005-12-05 05:31:07 +00:00
Colin Kuskie
903ccd0777
manual merge of changes from 6.7.8 for File,Image assets
2005-10-31 04:41:38 +00:00