From a4f376b6cfb81dbd7c1cb02bb382c7348bd6f4fc Mon Sep 17 00:00:00 2001 From: francis Date: Wed, 1 Jul 2009 11:07:18 +0000 Subject: Change attachment caching code to lower level functions. Make mime types the same for cached and uncached images. Store images from PDF/DOC etc. extraction in correct cache place. Make sure such images are authenticated with permissions to view request. --- lib/tmail_extensions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/tmail_extensions.rb') diff --git a/lib/tmail_extensions.rb b/lib/tmail_extensions.rb index 66bf8bab1..e49e74859 100644 --- a/lib/tmail_extensions.rb +++ b/lib/tmail_extensions.rb @@ -1,10 +1,10 @@ -# models/request_mailer.rb: +# lib/tmail_extensions.rb: # Extensions / fixes to TMail. # # Copyright (c) 2009 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: tmail_extensions.rb,v 1.4 2009-05-21 01:18:45 francis Exp $ +# $Id: tmail_extensions.rb,v 1.5 2009-07-01 11:07:20 francis Exp $ # Monkeypatch! -- cgit v1.2.3