Apache-Gallery

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


	- Fix mod_perl 1 support that was broken with 0.9 (Michael Legart)

0.9 Sat Sep 11 22:03:20 CEST 2004

	- Handle .thm for all filetypes and not just tiff, gif and png
		(Michael Legart)
	- Make GallerySortBy work for directories (Michael Legart)
	- Make GalleryDirSortBy override GallerySortBy for directories
	  (Andreas Plesner)
	- Report 404 for HEAD requests to non-existing files or directories
	  (Michael Legart)
	- Scale images when they are requested from the cache instead of
	  before the index is displayed. (Michael Legart)
	- Sort pictures the same way when viewing images as when viewing
	  directories (Andreas Plesner)
	- Make the "back" link on the error page work in IE (Michael Legart)
	- Fixed the TITLE tag for folder comments (Ondra Kudlik)
	- New option GalleryUnderscoresToSpaces to convert underscores to
	  spaces in the listing of directories. (Ondra Kudlik)
	- Bugfix for when running outside a virtual host (Jeffrey Hartmann)
	- Support Apache2 on FreeBSD (Jesper Dalberg)
	- Avoid false 404 errors when running under mod_perl 2 (Tom Brown)

0.8 Sun Mar  7 11:22:00 CET 2004

	- Remember choosen width by setting a cookie (Rene Joergensen)
	- Fixed a bug where $EXIFVALUES was left blank if a picture
	  had a comment. (Michael Legart)
	- Fixed a bug where one line comments was showed as $COMMENT
	  (Jesper Skriver)
	- Fixed a bug where comments did not get shown when using
	  the variables exif mode (Thomas L. Kjeldsen)

Changes  view on Meta::CPAN

	  (Don Armstrong)
	- Switched to use Text::Template instead of CGI::FastTemplate,
	  see the UPGRADE file for details. (Don Armstrong)
	- Create copyright notices on pictures using truetype fonts
    instead of png images. Font, color and size can be configured
    (Thomas Petersen, Michael Legart)

0.7 Mon Sep  8 22:30:35 CEST 2003

	- Support mod_perl version 1 and 2 (1.99) (Michael Legart)	
	- Send status code 500 on errors, 404 on file not found and
	  make IE show our own errorpage. (Thomas L. Kjeldsen)
	- Bugfix for directories named "0" (Andreas Plesner Jacobsen)
	- Added "selection mode". Select images with checkboxes and
	  get a list of filenames. (Peter Andreasen)
	- Fix to let the module work with perl 5.005 (Aaron)
	- Do not allow scaling pictures to sizes above their
	  original size (Aaron)
	- Added GalleryUseFileDate option to make A::G show
	  the files timestamps instead of using the EXIF value (Dennis Haney)
	- Remember display size when turning Slideshow off (Hans Joergensen)

lib/Apache/Gallery.pm  view on Meta::CPAN

			$r->filename($file);
			return Apache::Constants::DECLINED();
		}
		
	}

	my $uri = $r->uri;
	$uri =~ s/\/$//;

	unless (-f $filename or -d $filename) {
		show_error($r, 404, "404!", "No such file or directory: ".uri_escape($r->uri, $escape_rule));
		return $::MP2 ? Apache2::Const::OK() : Apache::Constants::OK();
	}

	my $doc_pattern = $r->dir_config('GalleryDocFile');
	unless ($doc_pattern) {
		$doc_pattern = '\.(mpe?g|avi|mov|asf|wmv|doc|mp3|ogg|pdf|rtf|wav|dlt|txt|html?|csv|eps)$'
	}
	my $img_pattern = $r->dir_config('GalleryImgFile');
	unless ($img_pattern) {
		$img_pattern = '\.(jpe?g|png|tiff?|ppm)$'



( run in 1.642 second using v1.01-cache-2.11-cpan-39bf76dae61 )