The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.47

  • =over
  • =item
  • Implement support for caching the results of the actions, using any of the L<Cache::Cache> family of modules. In tests (see F<t/benchmark.t>) this can yield a 20% or greater speed benefit. See L<SVN::Web/"Data cache"> for details of how to enable the cache and configure cache related options.
  • =item
  • Support Subversion repo directories and files that have spaces or other characters that should be URI escaped in their names. Fixes rt#19093, reported by <gbloice@gmail.com>.
  • =item
  • Commented out the references to L<Template::Plugin::Clickable> and L<Template::Plugin::Clickable::Email> in the config file that is generated by C<svnweb-install>. This stops log files filling up with warnings if they're not present. The lines remain, commented out, as a suggestion for users.
  • =item
  • Improved the modperl2 support, fixing rt#19004, rt#18437, and rt#18346 (Garrison Hoffman <garrison@codefix.net>, <cpan@rickster.com>, Thomas Nagel <me@thomasnagel.com>).
  • =back
  • =head2 0.46, released Mar 9, 2006
  • =over
  • =item
  • Fixed a bug in C<svnweb-server>. The L<CGI> module is now always used when running under this server, instead of L<CGI::Fast>. This should fix problems if you are trying to use C<svnweb-server> on a host with L<CGI::Fast> installed.
  • =back
  • =head2 0.45, released Mar 8, 2006
  • =over
  • =item
  • Fixed a bug that broke mod_perl support.
  • =back
  • =head2 0.44, released Mar 8, 2006
  • =over
  • =item
  • When browsing the repository the F<trac> templates now include age of the file, expressed as {seconds, minutes, hours, days, weeks, months, years} since the file was last modified.
  • =item
  • The C<revision>, C<log>, C<view>, and C<rss> actions are much more conservative with memory when processing commits that changed a large number of files. Fixes rt#17359, reported by Dietrich Streifert <dietrich.streifert@visionet.de>.
  • =item
  • Included support for running under mod_perl2 as well as mod_perl1. Fixes rt#17085 and rt#17350. Based on a patch from Garrison Hoffman <garrison@codefix.net>.
  • =item
  • Fixed a bug when running under mod_perl -- the HTTP headers were not being sent. Some browsers could cope with this, others just displayed the raw HTML. Reported by Dominic Mitchell <dom@happygiraffe.net>.
  • =item
  • Entering a revision number that does not exist will now generate a localised error message. Fixes rt#17822, reported by <gk5885@kickstyle.net>
  • =item
  • The L<SVN::Web::Revision> action will now not show diffs between file revisions if either revision of the file has a non-text MIME type. Fixes rt#17625, reported by Mike Ellery <mikee@s2technologies.com>.
  • =item
  • Fixed some bugs in C<svnweb-server>. Option parsing works properly, fixing rt#17347 (reported by <miyagawa@cpan.org>) and the C<--net-server> option is now honoured.
  • =item
  • C<svnweb-install> should now work if any directories in the install path contain regexp metacharacters in the filename. Fixes rt#17282, reported by <CORION@cpan.org>. It also emits warnings if copying files or making directories during the install process fails, fixing rt#17283.
  • =back
  • =head2 0.43, released Jan 25, 2006
  • =over
  • =item
  • Fix a syntax error in the config file generated by svnweb-install.
  • =item
  • Fix the instructions and code for running under mod_perl.
  • =item
  • When viewing an HTML diff, include a link to the plain text equivalent.
  • =item
  • Showing diffs when viewing a revision is now optional, but defaults to on.
  • =item
  • Require Exception::Class 1.22 or above. Versions below lack the necessary C<caught()> syntax.
  • =item
  • Improve the installation and configuration documentation.
  • =item
  • Include C<svnweb-server>, a simple web server to make it easier for people to get started with SVN::Web.
  • =back
  • =head2 0.42, released Dec 16, 2005
  • =over
  • =item
  • Throw exceptions instead of die()ing on almost all errors. Catch the exceptions and generate much friendlier error messages. Error messages are now easy to localise.
  • =item
  • When viewing a diff, the I<trac> templates show the two revision numbers being compared, and include a link allowing the user to reverse the order of the diff.
  • =item
  • The syntax for specifying permitted actions, and the classes that implement them, has changed. See L<UPDATING> for more information. This mechanism also allows for easy configuration of per-action options.
  • =item
  • A (partial) French localisation has been supplied by Cyril Brulebois.
  • =item
  • Any C<svn:externals> properties that are set on a directory are now shown when browsing that directory.
  • =item
  • When viewing a file's revision log, you can now select two arbitrary revisions and get a diff showing the changes between those revisions. Fixes rt#15813.
  • =item
  • If you only have one repository configured then the C<list> action can be configured to immediately redirect to browsing that repository, saving the user from having to click through an intermediate page. See L<SVN::Web::List> for more information.
  • =back
  • =head2 0.41, released Nov 4, 2005
  • =over
  • =item
  • Introduce a [% base_uri %] variable so templates can refer to files relative to the directory that C<svnweb-install> was run in. Fix a hardcoded reference to my home directory in a template.
  • =item
  • Update some of the packaging files, which were out of date.
  • =back
  • =head2 0.40, released Nov 4, 2005
  • =over
  • =item
  • Maintainership handed from Chia-ling Kao to Nik Clayton.
  • =item
  • Overhauled the templates, so the out-of-the-box experience is much nicer.
  • =item
  • Add a C<view> action that shows the contents of a file, along with the most recent log message.
  • =item
  • More customisation options, making it easier to add or remove actions from the list of things that SVN::Web is allowed to do.
  • =item
  • Added huge swathes of information to the documentation. It should now be much easier for anyone else to contribute code and/or templates to SVN::Web.
  • =item
  • A fix for rt#12431. URLs without trailing slashes are fixed.
  • =item
  • A mechanism to 'stack' Template Toolkit filters. You can easily run log messages through an arbitrary number of filters, without causing problems if one or more of the filters is not installed.
  • =item
  • Inline display of some content from the repository where appropriate (e.g., viewing an image works properly).
  • =item
  • Fixed a bug that meant the results from the automated tests weren't valid. Fixed the bugs that this uncovered.
  • =item
  • Added tests to ensure that the generated HTML is valid.
  • =back

Documentation

simple webserver for SVN::Web

Modules

Subversion repository web frontend
SVN::Web action to browse a Subversion repository
SVN::Web action to checkout a given file
SVN::Web action to show differences between file revisions
SVN::Web action to list available repositories
SVN::Web action to show log messages for a repository path
SVN::Web action to generate an RSS feed
SVN::Web action to view a repository revision
automated web testing for SVN::Web
SVN::Web action to view a file in the repository
exceptions for SVN::Web
base class for SVN::Web::actions