diff options
-rw-r--r-- | app/models/info_request.rb | 7 | ||||
-rw-r--r-- | todo.txt | 16 |
2 files changed, 11 insertions, 12 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 6b823c4b4..e1c75dd2a 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -21,7 +21,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: info_request.rb,v 1.103 2008-05-08 12:24:31 francis Exp $ +# $Id: info_request.rb,v 1.104 2008-05-08 22:56:27 francis Exp $ require 'digest/sha1' require File.join(File.dirname(__FILE__),'../../vendor/plugins/acts_as_xapian/lib/acts_as_xapian') @@ -106,6 +106,11 @@ public end write_attribute(:url_title, unique_url_title) end + # Remove spaces from ends (for when used in emails etc.) + def title + title = read_attribute(:title) + kitle.strip + end # Email which public body should use to respond to request. This is in # the format PREFIXrequest-ID-HASH@DOMAIN. Here ID is the id of the @@ -1,14 +1,5 @@ Museum aliases -Later Solr ----------- - -Use spelling correction for public bodies - -highlight word docs text - -Edits to outgoing/incoming/title won't be reindexed - FOI requests to use to test it ============================== @@ -63,11 +54,12 @@ Editing status in admin interface isn't putting it in info request events Later ===== +Highlight text search finds in word docs +Edits to outgoing/incoming/title won't be reindexed in Xapian + Internet explorer bug with HTML for Elena http://www.whatdotheyknow.com/request/_the_infection_rates_of_orthopae -Strip spaces on titles for email alerts - New updates for the request 'Suicide rates ' - CSV export of lists of emails for admins Plot graph of new request rate @@ -105,6 +97,7 @@ Add lots more UNIQUE indices Merge workflow into one stream - find information, if you can't find it then request it. so just search is on front page, with popular stuff below a la Google Directory +Use spelling correction for public bodies search? Only show "is email right" footer the first time a new request is sent to that email? @@ -202,6 +195,7 @@ Simple Digg style "I lke this request" button Editable user profile, including photo upload +Show documents inline (word docs etc.) Julian's PDF excerpting thing for highlighting paragraphs and convert Word Docs to PDFs too |