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
Matthew Wilson
4a3121960f
removal of dumpSession.
2006-01-26 05:39:16 +00:00
Matthew Wilson
9c7e8699a2
tons more fixes. getting closer to gamma.
2006-01-21 21:12:14 +00:00
Matthew Wilson
fa5439b099
lots o fixes
2006-01-21 19:00:27 +00:00
JT Smith
fd3fb924f3
added search indexer
2006-01-20 21:18:09 +00:00
Colin Kuskie
1fdc49b3bf
Storage constructors need session variables
2006-01-18 21:43:01 +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
65823b1f53
oodles of fixes.
2006-01-15 15:56:17 +00:00
Colin Kuskie
edfaa153b9
end of test program sweeps for dictionary lookups via subroutine instead
...
of object method.
2006-01-15 02:34:50 +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
JT Smith
877bf082a0
migrating paginator api to new session system
...
fixed a few old style session vars
2006-01-12 17:24:06 +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
Matthew Wilson
e4bf3c60b0
fixing some typos. also the File/Storage bug. also fixing the changelogs.
2006-01-03 05:12:51 +00:00