diff options
-rw-r--r-- | app/models/contact_validator.rb | 4 | ||||
-rw-r--r-- | app/models/incoming_message.rb | 4 | ||||
-rw-r--r-- | app/models/info_request.rb | 4 | ||||
-rw-r--r-- | app/models/info_request_event.rb | 4 | ||||
-rw-r--r-- | app/models/outgoing_message.rb | 4 | ||||
-rw-r--r-- | app/models/post_redirect.rb | 4 | ||||
-rw-r--r-- | app/models/public_body.rb | 5 | ||||
-rw-r--r-- | app/models/public_body_tag.rb | 4 | ||||
-rw-r--r-- | app/models/user.rb | 4 | ||||
-rw-r--r-- | app/models/user_info_request_sent_alert.rb | 4 | ||||
-rw-r--r-- | todo.txt | 45 |
11 files changed, 29 insertions, 57 deletions
diff --git a/app/models/contact_validator.rb b/app/models/contact_validator.rb index 4df57d064..ce306ddbd 100644 --- a/app/models/contact_validator.rb +++ b/app/models/contact_validator.rb @@ -1,5 +1,5 @@ # == Schema Information -# Schema version: 41 +# Schema version: 43 # # Table name: contact_validators # @@ -15,7 +15,7 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: contact_validator.rb,v 1.5 2008-03-12 16:07:13 francis Exp $ +# $Id: contact_validator.rb,v 1.6 2008-03-18 19:18:51 francis Exp $ class ContactValidator < ActiveRecord::BaseWithoutTable column :name, :string diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index c2633df94..306c9b9e8 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -1,5 +1,5 @@ # == Schema Information -# Schema version: 41 +# Schema version: 43 # # Table name: incoming_messages # @@ -18,7 +18,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: incoming_message.rb,v 1.66 2008-03-17 10:48:46 francis Exp $ +# $Id: incoming_message.rb,v 1.67 2008-03-18 19:18:51 francis Exp $ # TODO diff --git a/app/models/info_request.rb b/app/models/info_request.rb index fb8c513e7..a6ec8d80b 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -1,5 +1,5 @@ # == Schema Information -# Schema version: 41 +# Schema version: 43 # # Table name: info_requests # @@ -22,7 +22,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.68 2008-03-17 18:53:30 francis Exp $ +# $Id: info_request.rb,v 1.69 2008-03-18 19:18:51 francis Exp $ require 'digest/sha1' diff --git a/app/models/info_request_event.rb b/app/models/info_request_event.rb index 4e55aa0be..7093c808d 100644 --- a/app/models/info_request_event.rb +++ b/app/models/info_request_event.rb @@ -1,5 +1,5 @@ # == Schema Information -# Schema version: 41 +# Schema version: 43 # # Table name: info_request_events # @@ -16,7 +16,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: info_request_event.rb,v 1.21 2008-03-16 23:32:11 francis Exp $ +# $Id: info_request_event.rb,v 1.22 2008-03-18 19:18:51 francis Exp $ class InfoRequestEvent < ActiveRecord::Base belongs_to :info_request diff --git a/app/models/outgoing_message.rb b/app/models/outgoing_message.rb index e12d91e65..f802de5d7 100644 --- a/app/models/outgoing_message.rb +++ b/app/models/outgoing_message.rb @@ -1,5 +1,5 @@ # == Schema Information -# Schema version: 41 +# Schema version: 43 # # Table name: outgoing_messages # @@ -21,7 +21,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: outgoing_message.rb,v 1.35 2008-03-13 11:29:47 francis Exp $ +# $Id: outgoing_message.rb,v 1.36 2008-03-18 19:18:51 francis Exp $ class OutgoingMessage < ActiveRecord::Base belongs_to :info_request diff --git a/app/models/post_redirect.rb b/app/models/post_redirect.rb index b38a63644..c2b2383d9 100644 --- a/app/models/post_redirect.rb +++ b/app/models/post_redirect.rb @@ -1,5 +1,5 @@ # == Schema Information -# Schema version: 41 +# Schema version: 43 # # Table name: post_redirects # @@ -25,7 +25,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: post_redirect.rb,v 1.22 2008-03-12 16:07:13 francis Exp $ +# $Id: post_redirect.rb,v 1.23 2008-03-18 19:18:51 francis Exp $ require 'openssl' # for random bytes function diff --git a/app/models/public_body.rb b/app/models/public_body.rb index bdea3e7cd..10e66c1b6 100644 --- a/app/models/public_body.rb +++ b/app/models/public_body.rb @@ -1,5 +1,5 @@ # == Schema Information -# Schema version: 41 +# Schema version: 43 # # Table name: public_bodies # @@ -7,7 +7,6 @@ # name :text not null # short_name :text not null # request_email :text not null -# complaint_email :text # version :integer not null # last_edit_editor :string(255) not null # last_edit_comment :text not null @@ -22,7 +21,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: public_body.rb,v 1.39 2008-03-17 11:57:27 francis Exp $ +# $Id: public_body.rb,v 1.40 2008-03-18 19:18:51 francis Exp $ require 'csv' require 'set' diff --git a/app/models/public_body_tag.rb b/app/models/public_body_tag.rb index bab41660f..8fe1f86fa 100644 --- a/app/models/public_body_tag.rb +++ b/app/models/public_body_tag.rb @@ -1,5 +1,5 @@ # == Schema Information -# Schema version: 41 +# Schema version: 43 # # Table name: public_body_tags # @@ -15,7 +15,7 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: public_body_tag.rb,v 1.3 2008-03-12 16:07:13 francis Exp $ +# $Id: public_body_tag.rb,v 1.4 2008-03-18 19:18:51 francis Exp $ class PublicBodyTag < ActiveRecord::Base validates_presence_of :public_body diff --git a/app/models/user.rb b/app/models/user.rb index d3af629c3..31d33a3ce 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1,5 +1,5 @@ # == Schema Information -# Schema version: 41 +# Schema version: 43 # # Table name: users # @@ -20,7 +20,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: user.rb,v 1.37 2008-03-15 04:19:04 francis Exp $ +# $Id: user.rb,v 1.38 2008-03-18 19:18:51 francis Exp $ require 'digest/sha1' diff --git a/app/models/user_info_request_sent_alert.rb b/app/models/user_info_request_sent_alert.rb index 1e629fd58..cddb14b3a 100644 --- a/app/models/user_info_request_sent_alert.rb +++ b/app/models/user_info_request_sent_alert.rb @@ -1,5 +1,5 @@ # == Schema Information -# Schema version: 41 +# Schema version: 43 # # Table name: user_info_request_sent_alerts # @@ -16,7 +16,7 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: user_info_request_sent_alert.rb,v 1.4 2008-03-12 16:07:13 francis Exp $ +# $Id: user_info_request_sent_alert.rb,v 1.5 2008-03-18 19:18:51 francis Exp $ class UserInfoRequestSentAlert < ActiveRecord::Base belongs_to :user @@ -6,12 +6,10 @@ Search for successful requests now has bogus date order :( Doesn't fit in with paradigm of request / incoming message being separate objects. Perhaps we should be indexing events or maybe index success/failure by type known for message? +Successful requests should have success date as date in search results. -Search by tags on public bodies - -Check cron jobs are running - - +As a result fix up sorting in general +Make /list be search FOI requests to use to test it @@ -29,40 +27,23 @@ BAILII - relationship with law courts, robots.txt ? Next ==== -Make clear about DPA vs. FOI -Hidden flag - - -Page of new responses - so I don't have to go into email - Need something to mark contact as bad, e.g. for university of huddersfield -This is knackered: -http://foi.mysociety.org/request/14/response/44/attach/3/Marie's%20letter.tif - -Maybe do history of tags? - -Update test code +Add all new stuff to test code till it has reasonable coverage Search and replace text "FOI" and "Freedom of Information" out the way more - but put it in the title tag "public body" --> "public authority"? -download.bin knackered in this one -http://www.whatdotheyknow.com/request/contracts_or_options_with_kimber - Adam's woes: http://foi.mysociety.org/request/18/response/31 - No doubt leaks email address via download.bin :( -And Tom's woes: +Tom's request to Parliament: http://foi.mysociety.org/request/8 -Also: Consider removing login links from notifications of new responses - Consider password change code in relation to this -Sort the requests by when something last happened to them (this needs thought as to what -sort orders we need) -Sort by due date +Consider removing login links from notifications of new responses +Consider password change code in relation to this Send email to remind people to classify Send email to tell admins something isn't classified @@ -76,8 +57,6 @@ Later This search gives a runtime error: "19 hours -Search date ranges http://lucene.apache.org/java/docs/queryparsersyntax.html (at Louise's mail) - Preview when sending followups - especially people need to see quoting/subject when sending "my response is late" @@ -98,8 +77,6 @@ in sidebar of request Start a petition about this request Share this request on Facebook -Successful requests should have success date as date in search results. - Tell application developer if working days table not up to date, and needs updating @@ -121,7 +98,7 @@ Generic alerting/tracking system including - new requests, new good responses etc. - new responses to a particular request -Requests with related content +Requests with related content (via Lucene compare document search somehow?) Blog posts / Wikipedia articles about this request Remember me box @@ -131,21 +108,16 @@ Remember me box Screen scrape this and add link to it on the public body page http://www.ico.gov.uk/Home/tools_and_resources/decision_notices.aspx - (10:32:14) richard: you just need to count the number of rows of text and compare it to the number of rows in the textbox (10:32:29) richard: then increase the height of the textbox by 1em-ish (10:32:52) Matthew: their function is called autogrow_textarea() by the way, if you just want to look at it... thanks :) I won't do it now as there are more important things, I was just accidentally impressed - Read wiki page lots http://www.mysociety.org/moin.cgi/FreedomOfInformation And comments on proposal http://www.mysociety.org/2006/04/04/freedom-of-information-archive/ -For grey hints in input fields -http://pauldowman.com/projects/fieldhints/ - Hyperlink Section 1(3) to the act http://www.whatdotheyknow.com/request/49/response/86 and to guidance notes @@ -188,6 +160,7 @@ Quoting fixing TODO: http://www.whatdotheyknow.com/request/64/response/102 http://www.whatdotheyknow.com/request/55/response/96 http://www.whatdotheyknow.com/request/71/response/108 + http://www.whatdotheyknow.com/request/police_powers_to_inform_car_insu Sources of public bodies ======================== |