Commit graph

112 commits

Author SHA1 Message Date
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Doug Bell
ec3bc19d77 Added i18n for Gallery (Search) template
Fix: Album description showing up in Photos when photo has no synopsis
fix: Photo now shows correct confirmation screen
fix: Photo now gets auto-committed according to Gallery approval workflow
fix: Formatting problems in Album view
fix: Photo and Album assets now retain their Owner after other users edit them.
fix: Gallery::Utility migration now retains createdBy, creationDate, and ownerUserId.
Testing Gallery::Utility a bit more thoroughly.
fix: Photo EXIF data now gets cached correctly and sanitized for references (since JSON won't store them and they're of no use to us anyway).
2008-01-25 22:34:37 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
JT Smith
b5fdcd482f quick fix for the release 2008-01-24 08:13:06 +00:00
Doug Bell
5222ad6be1 merged with SVN HEAD 2007-12-18 12:22:37 +00:00
Doug Bell
82e9bf8448 Finished? Ready for merge at least. 2007-12-17 22:22:06 +00:00
Colin Kuskie
256b52a0d7 Final state and status fixes.
In these three files, any check for status=archived was removed, since
in each case it is possible that the Asset may want to be viewable
when it is archived, like Files, Posts, etc.
Updated Session/Url.t to remove tests for status=archived.
2007-11-22 18:46:17 +00:00
Doug Bell
673faf9be6 added Image::ExifTool to WebGUI. fixed upgrade script properlike 2007-10-29 22:44:35 +00:00
Doug Bell
32b27d0954 more tests, started Photo development, changed some naming 2007-10-25 06:20:20 +00:00
Doug Bell
983a725558 more tests 2007-10-11 18:45:58 +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
Colin Kuskie
f1efe0d160 convert File, Wobject and Redirect to use addEditLabel 2007-07-21 04:24:56 +00:00
Colin Kuskie
37f6db428f Make Macro/Thumbnail.t more robust by not running downstream tests if
the file does not exist.

Fixed a bug I created by changing the order of update and change comparison
in Asset/File.pm.  This caused Asset/File.t, Asset/File/Image.t and
Macro/Thumbnail.t to fail.
2007-07-01 16:39:24 +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
Martin Kamerbeek
f17c5bc218 fixed: Unable to upload new file to update contents of file asset 2007-05-02 10:06:22 +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
JT Smith
fdf9c65ab5 - fix: a typo in DatabaseLink.pm
- fix: a typo in CleanTempSpace.pm
 - fix: an unhandled exception in Asset/File.pm
2007-04-04 16:03:34 +00:00
JT Smith
fc3f206171 EXPORT- Exporting Files (PDFs, docs, and some pages) 2007-03-07 21:50:25 +00:00
Colin Kuskie
57fc140369 Made file upload use the Form API instead of the Storage API due to name hacks 2007-03-06 03:43:48 +00:00
JT Smith
2ae31ce34b - fix: WeatherData asset not displaying properly
- rfe: Weather-Data not only for US-Cities
 - rfe: WeatherData Asset - Convert to International format
2007-02-25 18:55:10 +00:00
Colin Kuskie
ab6d0d2ce6 fix for file uploading problems in File, Image, FilePile, Graphics (font) and FormHelper 2007-02-16 22:31:53 +00:00
Roy Johnson
8a722e9ae1 Image in trash though visible in article 2007-01-30 20:50:03 +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
JT Smith
bc4125204a - fix: Bug in "Article with Files"
- fix: SQLReport pagination retains op= parameter
 - fix: Invalid MIME type set for images
2006-11-15 22:30:50 +00:00
Drake
c14b75f606 Fix the MIME type bug that I introduced when making File assets work with
the exporter properly.
2006-11-11 00:25:57 +00:00
Drake
0d1c1ea96a Make Asset::getContainer no longer change the session asset. 2006-11-07 00:30:44 +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
Drake
c438d55310 Normalized signature of Asset::duplicate. This involved going through
existing overrides and callers for that method and making sure they followed
the correct signature.  Various related cleanups.

This should fix those bugs with collaboration systems refusing to be copied
or deployed as packages.
2006-09-23 01:33:46 +00:00
Martin Kamerbeek
e3b558fc2b Fixed bugs in navigation template vars and privilege bug in WG::A::File. Also added page.parent.rank tmpl_var to the nav template. 2006-07-19 15:16:53 +00:00
Wouter van Oijen
2d9565775f POD fixes and removing debug output 2006-07-11 09:05:22 +00:00
JT Smith
0733c3a5a5 cleaning up jukka's mess 2006-04-30 16:30:48 +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
19f0f7fd72 more various changes 2006-04-18 21:01:30 +00:00
JT Smith
e262da13f8 files (and subclasses) and posts (and threads) can now export attachments in packages
fixed a couple of bugs
added some error handling and corruption detection
2006-04-13 18:34:35 +00:00
Roy Johnson
f0c6a9e8f6 merging 6.8.8 bugfixes 2006-04-05 21:43:46 +00:00
JT Smith
e4392f7449 new caching system to replace old page cache 2006-04-05 20:46:57 +00:00
JT Smith
9f6a13e022 removed PBtmpl0000000000000003 because it's no longer needed or used 2006-03-23 17:13:21 +00:00
JT Smith
1efaec679a more changes for better xhtml compatibility 2006-03-21 23:31:34 +00:00
JT Smith
b55a7252e8 removed border= from image tags 2006-03-21 21:13:36 +00:00
Matthew Wilson
2384bca6ba - fixed a bug in the File asset that caused file redirects to be cached
incorrectly for Visitor. Thanks to Jukka Raimovaara / Axxion Oy.
2006-03-16 17:22:31 +00:00
Colin Kuskie
97c1039e72 leaked 1 from www_view shows up in Asset output 2006-03-13 17:12:14 +00:00
Colin Kuskie
73bb10d38a place Wobject help,i18n into Asset namespace 2006-03-08 04:18:54 +00:00
JT Smith
46fa7e78e7 began adding streaming support for view method 2006-01-30 21:26:22 +00:00