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