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