clean up Static::Simple, remove classdata
[catagits/Catalyst-Plugin-Static-Simple.git] / Changes
CommitLineData
d6d29b9b 1Revision history for Perl extension Catalyst::Plugin::Static::Simple
2
bdf5afa1 30.15
4 - store Mime::Types object in config hash instead of as classdata
5 - cleanup code a bit
6
792411e6 70.14 2006-03-24 11:15:00
8 - Unescape the URI path before looking for the file. This fixes
9 issues with files that have spaces.
10
48791b66 110.13 2005-12-15 10:00:00
12 - Fixed bug in ignore_dirs under win32.
bc5b1283 13 - Doc rewriting
48791b66 14
150.12 (released only with Catalyst)
d38d0ed6 16 - Made prepare_action play nice with other plugins by not short-
17 circuiting.
18 - Added tmpl to the ignored extensions.
e822b965 19 - Fixed security problem if req->path contained '..'.
d38d0ed6 20
210.11 2005-11-13 16:25:00
766f4ce4 22 - Removed the code that set the 304 Not Modified header. This caused
23 problems with IE under Apache.
e358be85 24 - Changed 5.50 writing method to pass an IO::File object directly to
5224ce15 25 $c->res->body.
766f4ce4 26 - This version is included with Catalyst 5.50.
5224ce15 27
be327929 280.10 2005-10-19 17:20:00
2cb3d585 29 - Added tt2 to the list of ignored extensions.
30 - For Catalyst 5.5+, replaced File::Slurp with a buffered read/write
31 process. This will improve memory usage and performance on larger
32 static files.
33 - Removed Apache integration feature. It is slower than serving
34 through Catalyst and as far as I know no one is using it. If you
35 need the best performance, use a separate Location block for static
36 content.
37
df701614 380.09 2005-10-07 13:40:00
8cc672a2 39 - Added new configuration options to improve security:
40 ignore_extensions - keep certain extensions from being static
41 - This option defaults to tt, html, and xhtml to prevent
42 template files from being accessible.
43 ignore_dirs - keep certain dirs from being static
fa43d6b5 44 - include_path is no longer experimental.
8cc672a2 45 - Added support for hiding log output, depends on Cat 5.50.
46 (Marcus Ramberg)
2de14076 47
e37ad815 480.08 2005-09-07 18:50:00
49 - Added tests for everything except Apache support.
2268e329 50
510.07 2005-09-05 21:05:00
52 - POD fixes. (Thomas L. Shinnick)
53
b1d96e3e 540.06 2005-09-05 15:40:00
55 - Moved initial file check into prepare_action so processing can
56 bypass other plugins.
57 - Added error-checking to static dir regexes.
58 - Cleaned up various code as per Best Practices.
59
d6d29b9b 600.05 2005-08-26 12:00:00
61 - Added use_apache option to enable the Apache DECLINED
62 support. Default is disabled as it appears Catalyst is
63 faster at serving the files!
64 - Added a check that Apache's DocumentRoot matches Catalyst's
65 root before serving DECLINED.
66 - Preload MIME::Types index during setup() so it's not built on
67 the first request.
68 - Added a note on performance of Apache vs. Catalyst.
69
700.04 2005-08-22 12:00:00
71 - Fixed bug where static files were searched for on every request
72 even without a file extension.
73 - Fixed bug where files without extensions in defined static dirs
74 were not served with text/plain.
75 - Consolidated the debug log messages.
76
770.03 2005-08-21 23:50:00
78 - Added config option for include_path to allow for multiple
79 directories with static files. This option should be
80 considered experimental!
81 - Documentation cleanups.
82
830.02 2005-08-16 18:00:00
84 - Return DECLINED when running under mod_perl to allow Apache to
85 serve the static file. This is not done when any custom MIME
86 types have been specified, however.
87
880.01 2005-08-11 22:00:00
89 - Initial release.