Static::Simple 0.17
[catagits/Catalyst-Plugin-Static-Simple.git] / Changes
CommitLineData
d6d29b9b 1Revision history for Perl extension Catalyst::Plugin::Static::Simple
6cc495c4 20.17 2007-05-11 11:00:00
ab02ca0d 3 - Added serve_static_file, to serve a given file as static. (groditi)
d6d29b9b 4
c9dea369 50.16 2007-04-30 15:00:00
c8ee8fd2 6 - Allow all files in directories defined by the config option 'dirs'
7 to be served as static even if the file matches ignore_dirs or
8 ignore_extensions.
9 - Fixed bug where 204 or 304 status codes would result in a 500 error
10 under mod_perl.
c9dea369 11 - Switch to Module::Install.
c8ee8fd2 12
9d557523 130.15 2006-12-08 22:30:00
14 - Quote metacharacters used in $c->config->{dirs} (Vlad Dan Dascalescu)
bdf5afa1 15 - store Mime::Types object in config hash instead of as classdata
16 - cleanup code a bit
17
792411e6 180.14 2006-03-24 11:15:00
19 - Unescape the URI path before looking for the file. This fixes
20 issues with files that have spaces.
21
48791b66 220.13 2005-12-15 10:00:00
23 - Fixed bug in ignore_dirs under win32.
bc5b1283 24 - Doc rewriting
48791b66 25
260.12 (released only with Catalyst)
d38d0ed6 27 - Made prepare_action play nice with other plugins by not short-
28 circuiting.
29 - Added tmpl to the ignored extensions.
e822b965 30 - Fixed security problem if req->path contained '..'.
d38d0ed6 31
320.11 2005-11-13 16:25:00
766f4ce4 33 - Removed the code that set the 304 Not Modified header. This caused
34 problems with IE under Apache.
e358be85 35 - Changed 5.50 writing method to pass an IO::File object directly to
5224ce15 36 $c->res->body.
766f4ce4 37 - This version is included with Catalyst 5.50.
5224ce15 38
be327929 390.10 2005-10-19 17:20:00
2cb3d585 40 - Added tt2 to the list of ignored extensions.
41 - For Catalyst 5.5+, replaced File::Slurp with a buffered read/write
42 process. This will improve memory usage and performance on larger
43 static files.
44 - Removed Apache integration feature. It is slower than serving
45 through Catalyst and as far as I know no one is using it. If you
46 need the best performance, use a separate Location block for static
47 content.
48
df701614 490.09 2005-10-07 13:40:00
8cc672a2 50 - Added new configuration options to improve security:
51 ignore_extensions - keep certain extensions from being static
52 - This option defaults to tt, html, and xhtml to prevent
53 template files from being accessible.
54 ignore_dirs - keep certain dirs from being static
fa43d6b5 55 - include_path is no longer experimental.
8cc672a2 56 - Added support for hiding log output, depends on Cat 5.50.
57 (Marcus Ramberg)
2de14076 58
e37ad815 590.08 2005-09-07 18:50:00
60 - Added tests for everything except Apache support.
2268e329 61
620.07 2005-09-05 21:05:00
63 - POD fixes. (Thomas L. Shinnick)
64
b1d96e3e 650.06 2005-09-05 15:40:00
66 - Moved initial file check into prepare_action so processing can
67 bypass other plugins.
68 - Added error-checking to static dir regexes.
69 - Cleaned up various code as per Best Practices.
70
d6d29b9b 710.05 2005-08-26 12:00:00
72 - Added use_apache option to enable the Apache DECLINED
73 support. Default is disabled as it appears Catalyst is
74 faster at serving the files!
75 - Added a check that Apache's DocumentRoot matches Catalyst's
76 root before serving DECLINED.
77 - Preload MIME::Types index during setup() so it's not built on
78 the first request.
79 - Added a note on performance of Apache vs. Catalyst.
80
810.04 2005-08-22 12:00:00
82 - Fixed bug where static files were searched for on every request
83 even without a file extension.
84 - Fixed bug where files without extensions in defined static dirs
85 were not served with text/plain.
86 - Consolidated the debug log messages.
87
880.03 2005-08-21 23:50:00
89 - Added config option for include_path to allow for multiple
90 directories with static files. This option should be
91 considered experimental!
92 - Documentation cleanups.
93
940.02 2005-08-16 18:00:00
95 - Return DECLINED when running under mod_perl to allow Apache to
96 serve the static file. This is not done when any custom MIME
97 types have been specified, however.
98
990.01 2005-08-11 22:00:00
100 - Initial release.