Commit graph

130 commits

Author SHA1 Message Date
Graham Knop
8206aeaec5 enhance format of .wgaccess files to provide security for Gallery files 2010-04-15 11:38:58 -05:00
Colin Kuskie
5bd5bb48a9 Central cache access for Assets to handle SSL caching. Fixes bug #11131. 2009-10-20 15:15:38 -07:00
Colin Kuskie
77fc01af38 Do not set a redirect when streaming downloads. fixes file #11029 2009-09-23 21:27:43 -07: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
96af6ed2ce Fix POD, and remove dead label/hoverhelp code which isn't used. 2009-06-01 20:15:21 +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
3e5c9d04ae Another checkpoint. 2009-02-26 00:02:07 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
179e75ef8f Fixes of defaultValue from undef to '', 0 for mysql 5.1 2009-02-20 17:28:23 +00:00
Brian Medley
482267b8af check point 2009-02-19 18:32:57 +00:00
Graham Knop
f3e08f3268 fixed: international characters are corrupted on export 2008-12-03 00:32:43 +00:00
Graham Knop
d9c1f88eab cleaning up some imports 2008-11-24 04:00:46 +00:00
JT Smith
e89d1527fa Added some web services to the Gallery asset to support the use of remote
apps to post photos and create albums.
2008-10-14 01:09:43 +00:00
Chris Nehren
36eb8db8fc add ability to show metadata values in head blocks. 2008-08-21 18:51:16 +00:00
Graham Knop
8f9568c887 fixed: storage locations for some assets in packages not imported correctly 2008-06-20 08:57:20 +00:00
JT Smith
8500c4d506 Cleaned the pollution from the forms system. 2008-04-16 16:11:10 +00:00
Graham Knop
050128f313 fixed: changing image thumbnail size doesn't resize image 2008-03-07 18:55:46 +00:00
Graham Knop
f22646625b package importing fixes 2008-02-08 00:00:13 +00:00
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