added link to source forge svn repository.

About

Data

This database contains body size information for many of the largest species to occur within biological groups
over the history of life, from single cells billions of years ago to the blue whale of today. The purpose of collecting
data of this type is to investigate the pattern of maximum body size throughout Earth's history.

Records in the database include size information about plants and animals, such as length and width or body volume; and
additional information such as classification, general environment, and when it lived. The data approved for public viewing are
tied to published scientific sources; are searchable by geologic time periods, organism type, or environment; and can be downloaded
into excel or csv tables.

Technology

Database: PostgreSQL 8.3

Programming Language: Ruby

Web Framework: Ruby on Rails 2.2

Ruby Gems

logging version 0.9.1

postgres-pr version 0.4.0</li.

fastercsv 1.4.0

mislav-will_paginate (2.3.6)

Ruby on Rails Plugins

ActivityScaffold

CountryCodes

US States

Exception Notifier

Rails SQL Views

gchartrb: Ruby wrapper around the Google Chart API

Source Code

Source code is available on source forge under MIT license.

Credits

Concept, content, and scientific requirements: the Phanerozoic Body Size Through Time and Space Working Group, Payne, Jonathan (Stanford University, PI),
Stempien, Jennifer (University of Colorado at Boulder, PI), Kowalewski, Michal (Virginia Polytechnic Institute and State University, PI)

Database and application programming: SciMed Solutions

Technical support and consulting: Xianhua Liu (NESCent)

Education and outreach consulting: Kristin Jenkins (NESCent)

Project oversight: Hilmar Lapp (NESCent)

Publications

Payne,J.L., Boyer, A.G., Brown, J.H., Finnegan, S., Kowaleski, M., Krause, R.A., Lyons, S.k., McClain, C.R., McShea, D.W., Novack-Gottshall, P.M., Smith, F.A., Stempien, J.A., Wang, S.C. 2009.
 Two-phase increase in the maximum size of life over 3.5 billion years reflects biological innovation and environmental opportunity. PNAS Vol106(1):24-27. doi/10.1073/pnas.0806314106

Contact

 The website is maintained by the National Evolutionary Synthesis Center (NESCent).

2024 W. Main Street, Suite A200

Durham, NC 27705-4667

Tel: (919) 668-4551

Fax: (919) 668-9198

Send email to

leading scientists of the working group (bodysize-admin@nescent.org)

report bugs or request technical help (bodysize-help@nescent.org)

About

Data

This database contains body size information for many of the largest species to occur within biological groups
over the history of life, from single cells billions of years ago to the blue whale of today. The purpose of collecting
data of this type is to investigate the pattern of maximum body size throughout Earth's history.

Records in the database include size information about plants and animals, such as length and width or body volume; and
additional information such as classification, general environment, and when it lived. The data approved for public viewing are
tied to published scientific sources; are searchable by geologic time periods, organism type, or environment; and can be downloaded
into excel or csv tables.

Technology

Database: PostgreSQL 8.3

Programming Language: Ruby

Web Framework: Ruby on Rails 2.2

Ruby Gems

logging version 0.9.1

postgres-pr version 0.4.0</li.

fastercsv 1.4.0

mislav-will_paginate (2.3.6)

Ruby on Rails Plugins

ActivityScaffold

CountryCodes

US States

Exception Notifier

Rails SQL Views

gchartrb: Ruby wrapper around the Google Chart API

Source Code

Source code will be available soon on source forge under open source license.

Credits

Concept, content, and scientific requirements: the Phanerozoic Body Size Through Time and Space Working Group, Payne, Jonathan (Stanford University, PI),
Stempien, Jennifer (University of Colorado at Boulder, PI), Kowalewski, Michal (Virginia Polytechnic Institute and State University, PI)

Database and application programming: SciMed Solutions

Technical support and consulting: Xianhua Liu (NESCent)

Education and outreach consulting: Kristin Jenkins (NESCent)

Project oversight: Hilmar Lapp (NESCent)

Publications

Payne,J.L., Boyer, A.G., Brown, J.H., Finnegan, S., Kowaleski, M., Krause, R.A., Lyons, S.k., McClain, C.R., McShea, D.W., Novack-Gottshall, P.M., Smith, F.A., Stempien, J.A., Wang, S.C. 2009.
 Two-phase increase in the maximum size of life over 3.5 billion years reflects biological innovation and environmental opportunity. PNAS Vol106(1):24-27. doi/10.1073/pnas.0806314106

Contact

 The website is maintained by the National Evolutionary Synthesis Center (NESCent).

2024 W. Main Street, Suite A200

Durham, NC 27705-4667

Tel: (919) 668-4551

Fax: (919) 668-9198

Send email to

leading scientists of the working group (bodysize-admin@nescent.org)

report bugs or request technical help (bodysize-help@nescent.org)


ActionItem937: better checkbox

ActionItem937: better checkbox

<%= error_messages_for 'article' %>

<div class='<%= (environment.enabled?('media_panel') ? 'with_media_panel' : 'no_media_panel') %>'>
<% labelled_form_for 'article', @article, :html => { :multipart => true } do |f| %>

  <%= hidden_field_tag("type", @type) if @type %>

  <%= hidden_field_tag('parent_id', @parent_id) if @parent_id %>

  <%= hidden_field_tag('back_to', @back_to) %>

  <%= render :partial => partial_for_class(@article.class), :locals => { :f => f } %>

  <% if environment.is_portal_community?(profile) %>

      <%= check_box(:article, :highlighted) %>
      <%= _('Highlight this article')%>

  <% end %>

  <% button_bar do %>
    <%= submit_button :save, _('Save') %>
  <% end %>

    <%= lightbox_button :help, _('Why categorize?'), :action => 'why_categorize' %>

  <%= select_categories(:article, _('Categorize your article')) %>

  <%= f.text_field('tag_list', :size => 64) %>
  <%= content_tag( 'small', _('Separate tags with commas') ) %>

    <%= options_for_article(@article) %>

  <% button_bar do %>
    <%= submit_button :save, _('Save') %>
    <% if @back_url %>
      <%= button :cancel, _('Cancel'), @back_url %>
    <% elsif @parent_id || @article.parent %>
      <%= button :cancel, _('Cancel'), :action => 'view', :id => @parent_id || @article.parent %>
    <% else %>
      <%= button :cancel, _('Cancel'), :action => 'index' %>
    <% end %>
  <% end %>
<% end %>

<% if environment.enabled?('media_panel') && [TinyMceArticle, Event, EnterpriseHomepage].any?{|klass| @article.kind_of?(klass)} %>
  <%= render :partial => 'media_listing' %>
<% end %>

<%= error_messages_for 'article' %>

<div class='<%= (environment.enabled?('media_panel') ? 'with_media_panel' : 'no_media_panel') %>'>
<% labelled_form_for 'article', @article, :html => { :multipart => true } do |f| %>

  <%= hidden_field_tag("type", @type) if @type %>

  <%= hidden_field_tag('parent_id', @parent_id) if @parent_id %>

  <%= hidden_field_tag('back_to', @back_to) %>

  <%= render :partial => partial_for_class(@article.class), :locals => { :f => f } %>

  <%= f.check_box(:highlighted) if environment.is_portal_community?(profile) %>

  <% button_bar do %>
    <%= submit_button :save, _('Save') %>
  <% end %>

    <%= lightbox_button :help, _('Why categorize?'), :action => 'why_categorize' %>

  <%= select_categories(:article, _('Categorize your article')) %>

  <%= f.text_field('tag_list', :size => 64) %>
  <%= content_tag( 'small', _('Separate tags with commas') ) %>

    <%= options_for_article(@article) %>

  <% button_bar do %>
    <%= submit_button :save, _('Save') %>
    <% if @back_url %>
      <%= button :cancel, _('Cancel'), @back_url %>
    <% elsif @parent_id || @article.parent %>
      <%= button :cancel, _('Cancel'), :action => 'view', :id => @parent_id || @article.parent %>
    <% else %>
      <%= button :cancel, _('Cancel'), :action => 'index' %>
    <% end %>
  <% end %>
<% end %>

<% if environment.enabled?('media_panel') && [TinyMceArticle, Event, EnterpriseHomepage].any?{|klass| @article.kind_of?(klass)} %>
  <%= render :partial => 'media_listing' %>
<% end %>


Added fontWeight and fontSize to search tabs, to show which one is active.

<%
@id = id
run 'search.rb'

def questArea(row)
	z = row[:ZoneOrSort]
	return '' if(!z)
	a = AREA_TABLE[row[:ZoneOrSort]]
	return '' if(!a)
	return "#{a[:name]}"
end
%>

Search results for:
<%=
id[1]
%>

<%= @zones.size %> Zones
<%= @quests.size %> Quests
<%= @creatures.size %> NPCs
<%= @items.size %> Items
<%= @gobjects.size %> Objects

ID	Name

<% @zones.each do |id, name| %>
<%= "
#{id}	"+
"#{name}
" %>
<% end %>

ID	Zone	MinLevel	QuestLevel	Title

<% @quests.each do |row| %>
<%= "
#{row[:entry]}	"+
"#{questArea(row)}	"+
"#{row[:MinLevel]}	"+
"#{row[:QuestLevel]}	"+
"#{row[:title]}
" %>
<% end %>

ID	MinLevel	MaxLevel	Rank	Name	Title

<% @creatures.each do |row| %>
<%= "
#{row[:entry]}	"+
"#{row[:minlevel]}	"+
"#{row[:maxlevel]}	"+
"#{row[:rank]}	"+
"#{row[:name]}	"+
"#{row[:subname]}
" %>
<% end %>

ID	Class	Subclass	Quality	Name	Sell price (copper)

<% @items.each do |row| %>
<%= "
#{row[:entry]}	"+
"#{row[:class]}	"+
"#{row[:subclass]}	"+
"#{row[:quality]}	"+
"#{row[:name]}	"+
"#{row[:sellprice]}
" %>
<% end %>

ID	Type	Name	Script

<% @gobjects.each do |row| %>
<%= "
#{row[:entry]}	"+
"#{row[:type]}	"+
"#{row[:name]}	"+
"#{row[:ScriptName]}
" %>
<% end %>


Update key when the zoom changes, even if the language is not english.

<% content_for :left_menu do %>
<%= link_to_function t('site.key.map_key'), "showKey();" %>
<% end %>


removed plugin refs

removed plugin refs

<!-- questionnaires javascript -->
<%= javascript_include_tag "builder" %>
<%= render :partial => 'externs/controls' %>
<%= javascript_include_tag "plugin_assets/questionnaire_engine/javascripts/extensions.js" %>

<script type="text/javascript" src="/javascripts/questionnaire2.js?c=<%=params[:controller]%>"></script>

<%= javascript_include_tag "plugin_assets/questionnaire_engine/javascripts/calendar.js","lang/calendar-en.js", "calendar-setup.js" %>
<%= stylesheet_link_tag "plugin_assets/questionnaire_engine/stylesheets/calendar/calendar-win2k-1.css" %>

<!-- questionnaires javascript -->
<%= javascript_include_tag "builder" %>
<%= render :partial => 'externs/controls' %>
<%= javascript_include_tag "extensions", :plugin => :questionnaire_engine %>

<script type="text/javascript" src="/javascripts/questionnaire2.js?c=<%=params[:controller]%>"></script>

<%= javascript_include_tag "calendar.js","lang/calendar-en.js", "calendar-setup.js", :plugin => :questionnaire_engine %>
<%= stylesheet_link_tag "calendar/calendar-win2k-1.css", :plugin => :questionnaire_engine %>


Consistently lower case

Consistently lower case

<% "A".upto("Z") do |l| -%>
    <%= link_to_unless (@tag == l), l, list_public_bodies_url(:tag => l.downcase) %>
<% end %>

<% "A".upto("Z") do |l| -%>
    <%= link_to_unless (@tag == l), l, list_public_bodies_url(:tag => l) %>
<% end %>


indentation

indentation

<%
if @potential_coaches_cached_project != project && @viewer.can_modify_profile_in_project(project)
=begin
rails 2.3 seems to have a bug with eager loading

    project_with_staff_loaded1 = Project.find project.id, :include => [
                    { :support_coaches => { :viewer => :persons } },
                    { :project_staffs => { :viewer => :persons } }
                ]
    project_with_staff_loaded2 = Project.find project.id, :include => [
                    { :project_administrators  => { :viewer => :persons } },
                    { :project_directors  => { :viewer => :persons } }
                ]
    potential_coaches = (project_with_staff_loaded1.support_coaches +
                         project_with_staff_loaded1.project_staffs +
                         project_with_staff_loaded2.project_administrators +
                         project_with_staff_loaded2.project_directors).collect { |e| e.viewer }

=end

  potential_coaches = Project.find_all_by_id(project.id).collect{ |p|
    p.support_coaches + p.project_staffs + p.project_administrators + p.project_directors
  }.flatten.collect { |e| e.viewer }

  potential_coaches.sort! { |a,b| a.name <=> b.name }

  @potential_coaches_pairs = potential_coaches.collect { |v| [ v.name, v.id ] }.uniq
  @potential_coaches_pairs << [ Acceptance.support_coach_none, '' ]
  @potential_coaches_cached_project = project
end
%>

<%= select_tag(name,
        options_for_select(@potential_coaches_pairs, current)
    ) %>


ActionItem629: wording review

ActionItem629: wording review

git-svn-id: 43659daf80e124e0b603d67096418e58e4f21099@2371 3f533792-8f58-4932-b0fe-aaf55b0a4547

<%
  # AddThis Button
  if block_given? and File.exists?( RAILS_ROOT + '/config/web2.0.yml')
    opts = YAML.load_file( RAILS_ROOT + '/config/web2.0.yml' )
    if opts['addthis']
      opts = opts['addthis']
%>

<a href="http://www.addthis.com/bookmark.php" id="bt_addThis" target="_blank" onmouseover="return addthis_open(this, '', '[URL]', '<%= escape_javascript( @environment.name()+' :: '+@page.title ) %>')" onmouseout="addthis_close()" onclick="return addthis_sendto()">

<% end; end %>

<%= @page.title %>

  <% if logged_in?  && current_user.person.has_permission?('post_content', profile) %>

      <%= link_to content_tag( 'span', _('Edit') ),
          { :controller => 'cms', :action => 'edit', :id => @page },
          :class => 'button with-text icon-edit' %>
      <%= lightbox_button(:new, _('New publication'), :controller => 'cms', :action => 'new', :parent_id => (@page.folder? ? @page : nil)) %>

  <% end %>

  <%= _("This article's tags:") %>
  <%= @page.tags.map { |t| link_to(t, :controller => 'profile', :profile => @profile.identifier, :action => 'tag', :id => t.name ) }.join("\n") %>

<% if @page.parent && !@page.parent.path.blank? %>

  <%= link_to_document(@page.parent, _('Up')) %>

<% end %>

<% if profile.enterprise? and !profile.enabled? %>

    <%= environment.message_for_disabled_enterprise %>

<% end %>

<%= @page.to_html %>

<% if ! @page.categories.empty? %>

<%= _('Categories') %>

    <%= @page.categories.map {|item| link_to_category(item, false) }.join(", ") %>

<% end %>

<%= @comments.size == 0 ? _('No comments yet') : (n_('One comment', '%{comments} comments', @comments.size)) % { :comments => @comments.size} %>

<%= render :partial => 'comment', :collection => @comments %>
<%= render :partial => 'comment_form' %>

<%
  # AddThis Button
  if block_given? and File.exists?( RAILS_ROOT + '/config/web2.0.yml')
    opts = YAML.load_file( RAILS_ROOT + '/config/web2.0.yml' )
    if opts['addthis']
      opts = opts['addthis']
%>

<a href="http://www.addthis.com/bookmark.php" id="bt_addThis" target="_blank" onmouseover="return addthis_open(this, '', '[URL]', '<%= escape_javascript( @environment.name()+' :: '+@page.title ) %>')" onmouseout="addthis_close()" onclick="return addthis_sendto()">

<% end; end %>

<%= @page.title %>

  <% if logged_in?  && current_user.person.has_permission?('post_content', profile) %>

      <%= link_to content_tag( 'span', _('Edit') ),
          { :controller => 'cms', :action => 'edit', :id => @page },
          :class => 'button with-text icon-edit' %>
      <%= lightbox_button(:new, _('New article'), :controller => 'cms', :action => 'new', :parent_id => (@page.folder? ? @page : nil)) %>

  <% end %>

  <%= _("This article's tags:") %>
  <%= @page.tags.map { |t| link_to(t, :controller => 'profile', :profile => @profile.identifier, :action => 'tag', :id => t.name ) }.join("\n") %>

<% if @page.parent && !@page.parent.path.blank? %>

  <%= link_to_document(@page.parent, _('Up')) %>

<% end %>

<% if profile.enterprise? and !profile.enabled? %>

    <%= environment.message_for_disabled_enterprise %>

<% end %>

<%= @page.to_html %>

<% if ! @page.categories.empty? %>

<%= _('Categories') %>

    <%= @page.categories.map {|item| link_to_category(item, false) }.join(", ") %>

<% end %>

<%= @comments.size == 0 ? _('No comments yet') : (n_('One comment', '%{comments} comments', @comments.size)) % { :comments => @comments.size} %>

<%= render :partial => 'comment', :collection => @comments %>
<%= render :partial => 'comment_form' %>


Update prev/next links in head to work with the new pagination helper.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><%== @title ? @title : Thoth::Config.site.name %></title>
    <base href="<%== Thoth::Config.site.url %>" />

    <%= render_template :css %>

    <link rel="alternate" type="application/atom+xml"
        href="<%= R(MainController, :atom) %>" title="Posts (Atom)" />
    <link rel="alternate" type="application/rss+xml"
        href="<%= R(MainController, :rss) %>" title="Posts (RSS)" />
    <% if @feeds; @feeds.each do |feed| %>
      <link rel="alternate" type="<%== feed[:type] %>"
          href="<%== feed[:href] %>" title="<%== feed[:title] %>" />
    <% end; end %>

    <link rel="home" href="<%== Thoth::Config.site.url %>" />

    <% if @pager %>
      <% if @pager.prev_url %>
        <link id="prev_url" rel="prev" href="<%== @pager.prev_url %>" />
      <% end %>
      <% if @pager.next_url %>
        <link id="next_url" rel="next" href="<%== @pager.next_url %>" />
      <% end %>
    <% end %>

      <%= render_template :header %>

        <%= render_template :sidebar %>

          <%= flashbox('
%value
') %>
          <%= @content %>

      <%= render_template :footer %>

    <%= render_template :js %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><%== @title ? @title : Thoth::Config.site.name %></title>
    <base href="<%== Thoth::Config.site.url %>" />

    <%= render_template :css %>

    <link rel="alternate" type="application/atom+xml"
        href="<%= R(MainController, :atom) %>" title="Posts (Atom)" />
    <link rel="alternate" type="application/rss+xml"
        href="<%= R(MainController, :rss) %>" title="Posts (RSS)" />
    <% if @feeds; @feeds.each do |feed| %>
      <link rel="alternate" type="<%== feed[:type] %>"
          href="<%== feed[:href] %>" title="<%== feed[:title] %>" />
    <% end; end %>

    <link rel="home" href="<%== Thoth::Config.site.url %>" />
    <% if @prev_url %>
      <link id="prev_url" rel="prev" href="<%== @prev_url %>" />
    <% end %>
    <% if @next_url %>
      <link id="next_url" rel="next" href="<%== @next_url %>" />
    <% end %>

      <%= render_template :header %>

        <%= render_template :sidebar %>

          <%= flashbox('
%value
') %>
          <%= @content %>

      <%= render_template :footer %>

    <%= render_template :js %>


ActionItem1139: fixing broken images in editor

Needed to inform TinyMCE about the document base

<%= javascript_include_tag 'tinymce/jscripts/tiny_mce/tiny_mce.js' %>
<script type="text/javascript">
  var myplugins = "searchreplace,print,media,table";
  if (tinymce.isIE) {
    // the paste plugin is only useful in Internet Explorer
    myplugins = "paste," + myplugins;
  }
tinyMCE.init({
        mode : "textareas",
        theme : "advanced",
        relative_urls : false,
        remove_script_host : true,
        document_base_url : <%= environment.top_url.to_json %>,
        plugins: myplugins,
        theme_advanced_toolbar_location : "top",
        theme_advanced_layout_manager: 'SimpleLayout',
        theme_advanced_buttons1 : "print,separator,copy,paste,separator,undo,redo,separator,search,replace,separator,fontsizeselect,formatselect",
        theme_advanced_buttons2 : "bold,italic,underline,strikethrough,separator,bullist,numlist,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,link,unlink,image,table,separator,cleanup,code",
        theme_advanced_buttons3 : "",
        theme_advanced_blockformats :"p,address,pre,h2,h3,h4,h5,h6",
        paste_auto_cleanup_on_paste : true,
        paste_insert_word_content_callback : "convertWord",
        paste_use_dialog: false,
        apply_source_formatting : true,
        language: <%= tinymce_language.inspect %>
        });

function convertWord(type, content) {
  switch (type) {
    // Gets executed before the built in logic performes it's cleanups
    case "before":
      //content = content.toLowerCase(); // Some dummy logic
      break;

    // Gets executed after the built in logic performes it's cleanups
    case "after":
      content = content.replace(/<!--\s*-->/, '');
      break;
  }

  return content;
}
</script>

<%= javascript_include_tag 'tinymce/jscripts/tiny_mce/tiny_mce.js' %>
<script type="text/javascript">
  var myplugins = "searchreplace,print,media,table";
  if (tinymce.isIE) {
    // the paste plugin is only useful in Internet Explorer
    myplugins = "paste," + myplugins;
  }
tinyMCE.init({
        mode : "textareas",
        theme : "advanced",
        relative_urls : false,
        remove_script_host : true,
        plugins: myplugins,
        theme_advanced_toolbar_location : "top",
        theme_advanced_layout_manager: 'SimpleLayout',
        theme_advanced_buttons1 : "print,separator,copy,paste,separator,undo,redo,separator,search,replace,separator,fontsizeselect,formatselect",
        theme_advanced_buttons2 : "bold,italic,underline,strikethrough,separator,bullist,numlist,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,link,unlink,image,table,separator,cleanup,code",
        theme_advanced_buttons3 : "",
        theme_advanced_blockformats :"p,address,pre,h2,h3,h4,h5,h6",
        paste_auto_cleanup_on_paste : true,
        paste_insert_word_content_callback : "convertWord",
        paste_use_dialog: false,
        apply_source_formatting : true,
        language: <%= tinymce_language.inspect %>
        });

function convertWord(type, content) {
  switch (type) {
    // Gets executed before the built in logic performes it's cleanups
    case "before":
      //content = content.toLowerCase(); // Some dummy logic
      break;

    // Gets executed after the built in logic performes it's cleanups
    case "after":
      content = content.replace(/<!--\s*-->/, '');
      break;
  }

  return content;
}
</script>


Don't need paragraph round list.

Don't need paragraph round list.

<% @title = "About" %>

Contact us

If your question isn't answered here, or you just wanted to let us know
    something about the site, contact us.

Contents

Introduction

Making requests

Privacy policy

FOI officers

Credits

Introduction to WhatDoTheyKnow #

What is WhatDoTheyKnow for? #

To help you find out inside information about what the UK government
is doing.

How does the site work? #

You choose the public authority that you would like information from, then
write a brief note describing what you want to know. We then send your request
to the public authority. Any response they make is automatically published on the
website for you and anyone else to find and read.

Why would I bother to do this? #

You pay taxes, and then government does things with the money. All sorts of
things that affect your life, from healthcare through to national defence. Some
it does badly, some it does well. The more we find out about how government
works, the better able we are to make suggestions to improve the things that
are done badly, and to celebrate the things that are done well.

Why would the public authority bother to reply? #

Under Freedom of Information (FOI) law, they have to respond.

Who makes it? #

WhatDoTheyKnow is created and run by mySociety,
and was initially funded by the JRSST Charitable Trust. mySociety is a project of the
registered charity UK Citizens Online Democracy.
If you like what we're doing, then you can
make a donation.

Making requests #

You're missing the public authority that I want to request from! #

Please contact us with the name of the public authority and,
if you can find it, their contact email address for Freedom of Information requests.
If you'd like to help add a whole category of public authority to the site, for example all
primary care trusts or all schools, then please
edit this shared spreadsheet (Google account required).

How quickly will I get a response? #

By law public authorities must respond "promptly", and in any event not later
than 20 working days after receiving your request. The date of that hard limit
is shown on the page for your request. You will be emailed if this date goes by
without a response, so you can send the public authority another note to remind
them that they are breaking the law. Note: If you had to
clarify your request, the clock starts from that date, instead of the date they
received your initial request.

What if I'm not satisfied with the response? #

If you didn't get the information you asked for, or you didn't get it in time,
then read our page 'Unhappy about the response you got?'.

Can you tell me more of the nitty gritty about the process of making requests? #

Have a look at the
access to official information
pages on the Information Commisioner's website.

Can I request information about myself? #

No. Requests made using WhatDoTheyKnow are public, made under the Freedom of
Information Act, and cannot help you find information about a private
individual.

If you would like to know what information a public
authority holds about yourself, you should make a "Subject Access Request" in
private using Data Protection law.  The leaflet Subject
Access - A guide for data subjects (on the Information Commisioner's
website) explains how to do this.

If you see that somebody has included personal information, perhaps
unwittingly, in a request, please contact us
immediately so we can remove it.

I'd like to keep my request secret! (At least until I publish my story) #

WhatDoTheyKnow is currently only designed for public requests. All
responses that we receive are automatically published on the website for anyone
to read.  You should contact the public authority directly if you would like to
make a request in private.  If you're interested in buying a system which helps
you manage FOI requests in secret, then contact us.

Why can I only request information about the environment from some authorities? #

Some public authorities, such as South East Water,
don't come under the Freedom of Information Act, but do come under another law called
the Environmental Information Regulations (EIR). It's a very similar law, so you make a request
to them using WhatDoTheyKnow in just the same way as an FOI request. The only difference
is that on the page where you write you request, it reminds you that you can only
request "environmental information" and tells you what that means. It is quite broad.

So can I request information using EIR from other authorities? #

Yes, just make a Freedom of Information (FOI) request as normal. The
authority has a duty to work out if the Environmental Information Regulations
(EIR) is the more appropriate legislation to reply under.

Privacy policy #

Who gets to see my email address? #

We will not disclose your email address to anyone unless we are obliged to by law,
or you ask us to. This includes the public authority that you are sending a
request to.  They only get to see an email address
@whatdotheyknow.com which is specific to that request.

If you send a message to another user on the site, then it will reveal your
email address to them. You will be told that this is going to happen.

Will you send nasty, brutish spam to my email address? #

Nope. After you sign up to WhatDoTheyKnow we will only send you emails
relating to a request you made, an email alert that you have signed up for,
or for other reasons that you specifically authorise. We will never give or
sell your email addresses to anyone else, unless we are obliged to by law, or
you ask us to.

Why will my name appear publically on the site? #

It means that someone researching the same area can get in touch with you,
and maybe give you more information or ideas relating to your request.  Also,
we're going to publish the response with the name of the civil servant who
wrote it, so it seems only fair that your name should be public too!
Therefore, we encourage you to use your real name, but you may use a pseudonym
if you would like to be anonymous.

So I can make an FOI request using a pseudonym? #

It is good practice for the public authority to reply to an anonymous request,
except in special circumstances such as if they suspect you of making vexatious
requests. See Freedom of Information Good Practice Guidance No 6
for details.  You should refer to this if a public authority attempts to refuse
a request because you used a pseudonym.

However, there are good reasons to use your real name: see the previous
question.  If nothing else, it avoids the risk of an authority being picky,
ignoring the guidance and refusing your request.

They've asked for my postal address! #

If a public authority asks you for your full, physical address, reply to them saying
that section 8.1.b of the FOI Act asks for an "address for correspondence",
and that the email address you are using is sufficient.

The Ministry of Justice has guidance
on this –
"As well as hard copy written correspondence, requests that are
transmitted electronically (for example, in emails) are acceptable
... If a request is received by email and no postal address is given, the email
address should be treated as the return address."

As if that isn't enough, the Information Commissioner's
Hints for Practitioners say
"Any correspondence could include a request for information. If it is written (this includes e-mail), legible, gives the name of the applicant, an address for reply (which could be electronic), and includes a description of the information required, then it will fall within the scope of the legislation."

No no, they need a postal address to send a paper response! #

If an authority only has a paper copy of the information that you want,
they may ask you for a postal address. To start with, try persuading them
to scan in the documents for you. You can even offer to gift them a scanner, which in that particular case
embarrassed the authority into finding one they had already.

If that doesn't work, and you want to provide your postal address privately
in order to receive the documents, then please contact
us.

How do you moderate request annotations? #

Annotations on WhatDoTheyKnow are to help
people get the information they want, or to give them pointers to places they
can go to help them act on it. We reserve the right to remove anything else.

Endless, political discussions are not allowed.
Post a link to a suitable forum or campaign site elsewhere.

FOI officer questions #

I just got here from bottom of an FOI request, what is going on? #

WhatDoTheyKnow is a service run by a charity. It helps ordinary members
of the public make FOI requests, and easily track and share the responses.

The FOI request you received was made by someone using WhatDoTheyKnow. You can
simply reply to the request as you would any other request from an individual.
The only difference is that your response will be automatically published on
the Internet.

If you have privacy or other concerns, please read the answers below.
You might also like to read this page from the top to find out more about what
the site does from the point of view of a user. You can also search the
site to find the authority that you work for, and view the status of
any requests made using the site.

Finally, we welcome comments and
thoughts from FOI officers, please get in touch.

Why are you publishing responses to FOI requests? #

We think there are lots of benefits. Most importantly it will encourage the
public to be more interested and involved in the work of government. We
also hope that it will reduce the number of duplicate requests on any
subject that a public body will receive. Given that Freedom of Information
responses contain public information, which anybody could easily request
again from the public authority, we think there should be no reason not to
publish it widely.

Are the people making requests real people? #

Yes. For the purposes of keeping track of responses we use
computer-generated email addresses for each request. However, before
they can send a request, each user must register on the site with a
unique email address that we then verify. You can search this site and
find a page listing all requests that each person has made.

An email isn't a sufficient address for an FOI request! #

Yes it is. This
letter from the ICO to Rother District Council gives guidance on the matter, specifically
in the context of requests made via WhatDoTheyKnow.

Aren't you making lots of vexatious requests? #

WhatDoTheyKnow is not making any requests. We are sending requests on
behalf of our users, who are real people making the requests.

Look at it like this - if lots of different people made requests from
different Hotmail email addresses, then you would not think that Microsoft were
making vexatious requests. It is exactly the same if lots of requests are made
via WhatDoTheyKnow. Moreover, since all requests are public it is much easier
for you to see if one of our users is making vexatious requests, and for us to
block them when that happens.

If that isn't enough for you, the
letter from the ICO to Rother District Council gives some guidance on the matter.

Isn't it a problem that you publish the names of civil servants and the text of emails? #

Officers or servants responding to requests are doing so on behalf of the
public as part of their job, and we publish their response on that
basis. Usually the names and phone numbers of FOI officers are already
available on authority websites. We also encourage our users to give their real
name too, so it is fair both ways.

Do you publish email addresses or mobile phone numbers? #

We automatically remove email addresses and labelled mobile phone numbers
that are in the email part of responses from public authorities. Please
contact us if we've missed one. We don't currently
remove these from attachments,
such as Word documents.

Can you take down private information about me? #

If you see any information on the site which you'd like us to remove or
hide, then please let us know. We'll then
remove it, provided it is genuinely private information.

Credit where credit is due #

Which people made WhatDoTheyKnow? #

Oh, nearly everyone (and maybe you too)!

    Heather Brooke
    (vampy!) has
    been pushing the idea of a UK FOI archive for years now.

    Both Phil Rodgers and Francis Irving
    entered it in a mySociety competition for ideas for public interest websites to build.

    It won,
    and then Chris Lightfoot (RIP :()
    thought up the wheeze of intercepting email responses to requests and
    automatically publishing them.

    Tom Steinberg got the cash to pay for the site from
    a dead chocolate mogul (thank you!) ...

    ... so that Francis Irving, Angie Ahl, Tommy Martin, Louise Crow, Matthew Somerville
    and Tom Steinberg could do the complex mixture of design and coding to build
    what you see today.

    Thanks particularly to Julian Todd (great blog!),
    Francis Davey, and Etienne Pollard for using the site early on and giving
    feedback (and/or legal advice!), and also to all our other users and
    testers.

    Lots of people have been looking up FOI email addresses, and a few
    volunteering to run the site - most especially Adam McGreggor, Alex
    Skene, John Cross and Tony Bowden.

Finally we couldn't do any of this without those
crazy people who volunteer,
amongst many other things, to do the accounts and fill in our VAT return.

You're all stars.


Allow invitation to public channels as well

<%= @room.name %>

<%= link_to _('Leave Room'),  :action => 'leave', :id => @room.id %>

<% last = nil %>
<% @room.shouts.find(:all, :conditions => ["created_at > ?", tz.now.utc.midnight], :order => "created_at desc", :limit => ((@room.company_id.to_i > 0) ? 50 : 20)).reverse.each do |@shout| %>
  <%= render :partial => 'shout', :locals => {:last => last} %>
  <% last = @shout %>
<% end %>

<%= @room.description if @room.description %>

<%= _('Participants') %>

           <% @room.subscribers.each do |u| %>
             <% if u.online? %>
             <div id="channel-user-<%= u.id %>"><%= "#{u.online_status_name}" %>

             <% end %>
           <% end %>

         <% if @invite_targets.size > 0 %>

         <%= link_to_function _('Invite another user'), "Element.toggle('channel-invite');$('channel-invite-user').focus();" %>

           <%= form_remote_tag :url => { :action => 'invite_ajax', :id => @room.id } ,
           :loading => "Element.show('loading');",
           :complete => "Element.hide('loading');$('channel-invite-user').clear();$('channel-invite-user').focus();"
           %>
           <input type="text" name="invite_user" id="channel-invite-user"/>

           </form>

         <% end %>

<%= form_remote_tag :url => { :action => 'chat_ajax', :id => @room.id } ,
       :loading => "Element.show('loading');",
       :complete => "Element.hide('loading');$('shout_body').clear();$('shout_body').focus();",
       :html => { :id => "shout-input" }
%>

<textarea name="shout[body]" id="shout_body" style="width:100%" rows="2"></textarea>

<input type="submit" name="Send" value="Send" style="vertical-align:top;margin-left:5px;margin-top:1px;">

<%= link_to _('Leave room'),  :action => 'leave', :id => @room.id %>
<%= link_to _('Change room'),  :action => 'list' %>

</form>

<%= @room.name %>

<%= link_to _('Leave Room'),  :action => 'leave', :id => @room.id %>

<% last = nil %>
<% @room.shouts.find(:all, :conditions => ["created_at > ?", tz.now.utc.midnight], :order => "created_at desc", :limit => ((@room.company_id.to_i > 0) ? 50 : 20)).reverse.each do |@shout| %>
  <%= render :partial => 'shout', :locals => {:last => last} %>
  <% last = @shout %>
<% end %>

<%= @room.description if @room.description %>

<%= _('Participants') %>

           <% @room.subscribers.each do |u| %>
             <% if u.online? %>
             <div id="channel-user-<%= u.id %>"><%= "#{u.online_status_name}" %>

             <% end %>
           <% end %>

         <% if @invite_targets.size > 0 && @room.company_id.to_i > 0 %>

         <%= link_to_function _('Invite another user'), "Element.toggle('channel-invite');$('channel-invite-user').focus();" %>

           <%= form_remote_tag :url => { :action => 'invite_ajax', :id => @room.id } ,
           :loading => "Element.show('loading');",
           :complete => "Element.hide('loading');$('channel-invite-user').clear();$('channel-invite-user').focus();"
           %>
           <input type="text" name="invite_user" id="channel-invite-user"/>

           </form>

         <% end %>

<%= form_remote_tag :url => { :action => 'chat_ajax', :id => @room.id } ,
       :loading => "Element.show('loading');",
       :complete => "Element.hide('loading');$('shout_body').clear();$('shout_body').focus();",
       :html => { :id => "shout-input" }
%>

<textarea name="shout[body]" id="shout_body" style="width:100%" rows="2"></textarea>

<input type="submit" name="Send" value="Send" style="vertical-align:top;margin-left:5px;margin-top:1px;">

<%= link_to _('Leave room'),  :action => 'leave', :id => @room.id %>
<%= link_to _('Change room'),  :action => 'list' %>

</form>


Index was not in sync with default_project

git-svn-id: e099d366fb13ea49c9e8e170ced890dab3ea84f7@214 aaa19a3b-e121-0410-9d45-962fd44e537e

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

  <title><%= @node.v_title %></title>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Language" content="fr-fr" />
  <%= stylesheet_link_tag( 'zen', 'search' ) %>
  <%= javascript_include_tag 'prototype', 'effects', 'zena' %>
  <%= uses_calendar %>

<body <%= @su %>>

    <%= lang_links %>
    <%= path_links   %>
    <%= login_link   %>
    <%= visitor_link %>
    <%= search_box   %>

  <%= show_menu      %>
  <%= logo Time.now.utc  %>
  <%= flash_messages %>

  <% home = @node.home || @node %>

<%= calendar(:find=>:news, :size=>:tiny) %>

      <h1 class='s<%= home.v_status %>'>

<%= edit_button(:all, :node=>home) %>

        <%= show(home, :v_title) %>

<%= author(:small, :node=>home) %>

      <%= home[:v_summary] ? show(home, :v_summary) : show(home, :v_text) %>

      <% if hot = @node.hot -%>

      <%= render :partial=>title_partial(hot) %>

        <%= show(hot, :v_summary )%>
        <%= show(hot, :v_text, :text=>''  ) %>

      <% end -%>

        <%= render :partial=>'note/list', :locals=>{:list=>notes(:find=>:all_notes, :order=>'log_at DESC')} %>

      <% if contact = @node.contact %>

        <%= show(contact, :v_text   ) %>

      <% end -%>

        <%= render :partial=>'document/list' %>

        <%= render :partial=>'page/list'     %>

  <%#= css_edit %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

  <title><%= @node.v_title %></title>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Language" content="fr-fr" />
  <%= stylesheet_link_tag( 'zen', 'search' ) %>
  <%= javascript_include_tag 'prototype', 'effects', 'zena' %>
  <%= uses_calendar %>

<body <%= @su %>>

    <%= lang_links %>
    <%= path_links   %>
    <%= login_link   %>
    <%= visitor_link %>
    <%= search_box   %>

  <%= show_menu      %>
  <%= logo Time.now.utc  %>
  <%= flash_messages %>

  <% home = @node.home || @node %>

<%= calendar(:find=>:news, :size=>:tiny) %>

      <h1 class='s<%= home.v_status %>'>

<%= edit_button(:all, :node=>home) %>

        <%= show(home, :v_title) %>

<%= author(:small, :node=>home) %>

      <%= home[:v_summary] ? show(home, :v_summary) : show(home, :v_text) %>

      <% if hot = @node.hot -%>

        <h1 class='s<%= hot.v_status %>'>

<%= edit_button(:all, :node=>hot) %>

          <%= show(hot, :v_title) %>

<%= author(:small, :node=>hot) %>

        <%= hot[:v_summary] ? show(hot, :v_summary) : show(hot, :v_text) %>

      <% end -%>

        <%= render :partial=>'note/list', :locals=>{:list=>notes(:find=>:all_notes, :order=>'log_at DESC')} %>

      <% if contact = @node.contact %>

        <%= show(contact, :v_text   ) %>

      <% end -%>

        <%= render :partial=>'document/list' %>

        <%= render :partial=>'page/list'     %>

  <%#= css_edit %>


Elimina el codigo de la nota.

Elimina el codigo de la nota.

<!DOCTYPE html>
<html lang="<%= I18n.locale %>" prefix="og: http://ogp.me/ns#">

        <% if @title %>
        <title><%=@title%> - <%= site_name %></title>
        <meta property="og:title" content="<%=@title%> - <%= site_name %>" />
        <% else %>
        <title><%= site_name %> - <%= _('Make and browse Freedom of Information (FOI) requests') %></title>
        <meta property="og:title" content="<%= site_name %> - <%= _('Make and browse Freedom of Information (FOI) requests') %>" />
        <% end %>

        <meta property="og:type" content="website" />
        <meta property="og:image" content="http://www.quesabes.org/quesabes-theme/images/logo_cuadrado.png" />

        <link rel="shortcut icon" href="/quesabes-theme/images/favicon.gif">
        <%= stylesheet_link_tag 'main', :title => "Main", :rel => "stylesheet", :media => "all" %>
        <%= stylesheet_link_tag 'fonts', :rel => "stylesheet", :media => "all"  %>
        <%= stylesheet_link_tag 'print', :rel => "stylesheet", :media => "print"  %>
        <% if !params[:print_stylesheet].nil? %>
         <%= stylesheet_link_tag 'print', :rel => "stylesheet", :media => "all"  %>
        <% end %>
        <%= javascript_include_tag 'jquery.js', 'jquery-ui.min','jquery.cookie.js' %>

        <% if @profile_photo_javascript %>

            <link rel="stylesheet" href="/stylesheets/jquery.Jcrop.css" type="text/css" >
        <% end %>

        <%= stylesheet_link_tag 'admin-theme/jquery-ui-1.8.15.custom.css', :rel => 'stylesheet'%>

        <% if @feed_autodetect %>
            <% for feed in @feed_autodetect %>
                <link rel="alternate" type="application/atom+xml" title="<%=h feed[:title] %>" href="<%=h feed[:url]%>">
                <% if feed[:has_json] %>
                    <link rel="alternate" type="application/json" title="JSON version of <%=h feed[:title] %>" href="<%=h feed[:url]%>.json">
                <% end %>
            <% end %>
        <% end %>
        <% if @has_json %>
            <link rel="alternate" type="application/json" title="JSON version of this page" href="<%=h main_url(request.request_uri, '.json') %>">
        <% end %>

        <% if @no_crawl %>
            <meta name="robots" content="noindex, nofollow">
        <% end %>

        <%= render :partial => 'general/before_head_end' %>

    <body <%= "class='front'" if params[:action] == 'frontpage' %>>

        <%= render :partial => 'general/topnav' %>

        <%= render :partial => 'general/orglink' %>

        <% if not (controller.action_name == 'signin' or controller.action_name == 'signup') %>
		<%= render :partial => 'general/usernav' %>

        <% end %>

            <% if flash[:notice] %>

<%= flash[:notice] %>

            <% end %>
            <% if flash[:error] %>

<%= flash[:error] %>

            <% end %>

            <div id="<%= controller.controller_name + "_" + controller.action_name %>" class="controller_<%= controller.controller_name %>">
            <%= yield :layout %>

    <%= render :partial => 'general/footer' %>

    <%= render :partial => 'general/before_body_end' %>

X
  <%= _("Paste this link into emails, tweets, and anywhere else:") %>

  <input type="text">

<!DOCTYPE html>
<html lang="<%= I18n.locale %>" prefix="og: http://ogp.me/ns#">

        <% if @title %>
        <title><%=@title%> - <%= site_name %></title>
        <meta property="og:title" content="<%=@title%> - <%= site_name %>" />
        <% else %>
        <title><%= site_name %> - <%= _('Make and browse Freedom of Information (FOI) requests') %></title>
        <meta property="og:title" content="<%= site_name %> - <%= _('Make and browse Freedom of Information (FOI) requests') %>" />
        <% end %>

        <meta property="og:type" content="website" />
        <meta property="og:image" content="http://www.quesabes.org/quesabes-theme/images/logo_cuadrado.png" />

        <link rel="shortcut icon" href="/quesabes-theme/images/favicon.gif">
        <%= stylesheet_link_tag 'main', :title => "Main", :rel => "stylesheet", :media => "all" %>
        <%= stylesheet_link_tag 'fonts', :rel => "stylesheet", :media => "all"  %>
        <%= stylesheet_link_tag 'print', :rel => "stylesheet", :media => "print"  %>
        <% if !params[:print_stylesheet].nil? %>
         <%= stylesheet_link_tag 'print', :rel => "stylesheet", :media => "all"  %>
        <% end %>
        <%= javascript_include_tag 'jquery.js', 'jquery-ui.min','jquery.cookie.js' %>

        <% if @profile_photo_javascript %>

            <link rel="stylesheet" href="/stylesheets/jquery.Jcrop.css" type="text/css" >
        <% end %>

        <%= stylesheet_link_tag 'admin-theme/jquery-ui-1.8.15.custom.css', :rel => 'stylesheet'%>

        <% if @feed_autodetect %>
            <% for feed in @feed_autodetect %>
                <link rel="alternate" type="application/atom+xml" title="<%=h feed[:title] %>" href="<%=h feed[:url]%>">
                <% if feed[:has_json] %>
                    <link rel="alternate" type="application/json" title="JSON version of <%=h feed[:title] %>" href="<%=h feed[:url]%>.json">
                <% end %>
            <% end %>
        <% end %>
        <% if @has_json %>
            <link rel="alternate" type="application/json" title="JSON version of this page" href="<%=h main_url(request.request_uri, '.json') %>">
        <% end %>

        <% if @no_crawl %>
            <meta name="robots" content="noindex, nofollow">
        <% end %>

        <%= render :partial => 'general/before_head_end' %>

    <body <%= "class='front'" if params[:action] == 'frontpage' %>>

    <%  # Codigo para poner un mensaje popup en todas las paginas.
    =begin

      ACA VA LA NOTA QUE QUEREMOS PONER.

Cerrar

    =end
    %>

        <%= render :partial => 'general/topnav' %>

        <%= render :partial => 'general/orglink' %>

        <% if not (controller.action_name == 'signin' or controller.action_name == 'signup') %>
		<%= render :partial => 'general/usernav' %>

        <% end %>

            <% if flash[:notice] %>

<%= flash[:notice] %>

            <% end %>
            <% if flash[:error] %>

<%= flash[:error] %>

            <% end %>

            <div id="<%= controller.controller_name + "_" + controller.action_name %>" class="controller_<%= controller.controller_name %>">
            <%= yield :layout %>

    <%= render :partial => 'general/footer' %>

    <%= render :partial => 'general/before_body_end' %>

X
  <%= _("Paste this link into emails, tweets, and anywhere else:") %>

  <input type="text">


Corrected problem with EULA.

Corrected problem with EULA.

git-svn-id: f67d969b640da65cb7bc1d229e09fd6d2db44ae1@206 392d7b7b-3f31-0410-9dc3-c95a9635ea79

<% if @user.is_new_user %>
    <%= render :partial => 'eula' %>
<% else %>

Assignments

To begin, click on an assignment from the list above or <%= link_to 'click here', :action => 'view_publishing' %> to set publishing rights for your work.

	    Assignment
	    Course
		Topic
		Current Stage
		Stage Deadline
		Publishing Rights

<% for participant in @participants %>

		<%= link_to participant.assignment.name, :action => 'view_actions', :id => participant %>
	  <%= participant.get_course_string %>
		<%= participant.get_topic_string %>
		<%= StudentAssignmentHelper::get_current_stage(participant.assignment.id) %>
		<%= StudentAssignmentHelper::get_stage_deadline(participant.assignment.id) %>

	  	<%if participant.permission_granted %>granted
			<% else %>denied
			<% end %>

<% end %>

<% end %>

<% if @user.is_new_user == 1 %>
    <%= render :partial => 'eula' %>
<% else %>

Assignments

To begin, click on an assignment from the list above or <%= link_to 'click here', :action => 'view_publishing' %> to set publishing rights for your work.

	    Assignment
	    Course
		Topic
		Current Stage
		Stage Deadline
		Publishing Rights

<% for participant in @participants %>

		<%= link_to participant.assignment.name, :action => 'view_actions', :id => participant %>
	  <%= participant.get_course_string %>
		<%= participant.get_topic_string %>
		<%= StudentAssignmentHelper::get_current_stage(participant.assignment.id) %>
		<%= StudentAssignmentHelper::get_stage_deadline(participant.assignment.id) %>

	  	<%if participant.permission_granted %>granted
			<% else %>denied
			<% end %>

<% end %>

<% end %>


Adding range color as background

Adding range color as background

<% @project = Kalibro::Client::ProjectClient.new.project(@page.name) %>

    <%= _('Name') %>
    <%= @project.name %>

    <%= _('License') %>
    <%= @project.license %>

    <%= _('Description') %>
    <%= @project.description %>

    <%= _('Repository type') %>
    <%= @project.repository.type %>

    <%= _('Repository address') %>
    <%= @project.repository.address %>

    <%= _('Configuration') %>
    <%= @project.configuration_name %>

<% if ! @project.error.nil? %>

<%= _('ERROR') %>

  <% @error = @project.error %>

    <%= "State when error ocurred: #{@project.state}" %>

    <%= @error.message %>

<% @error.stack_trace.each do |trace| %>

<%= "#{trace.declaring_class}.#{trace.method_name}(#{trace.file_name}:#{trace.line_number})" %>

    <% end %>

<% elsif @project.state.end_with? 'ING' %>

    <%= _("Kalibro Service is #{@project.state.downcase} the source code.") %>

    <%= _('Reload the page manually in a few moments.') %>

<% elsif @project.state == 'READY' %>

<%= _('LAST RESULT') %>

  <% @project_result = Kalibro::Client::ProjectResultClient.new.last_result(@project.name) %>
  <% @module_client = Kalibro::Client::ModuleResultClient.new %>

      <%= _('Date') %>
      <%= @project_result.date %>

      <%= _('Load time') %>
      <%= @project_result.formatted_load_time %>

      <%= _('Analysis time') %>
      <%= @project_result.formatted_analysis_time %>

<%= _('Source tree') %>

  <%= @project_result.source_tree.print %>

  <% @module_result = @module_client.module_result(@project.name, @project.name, @project_result.date) %>

<%= _('Metric Result') %>

  <%= _('Module:') %>
  <%=  @module_result.module.name %>

  <%= _('Grade:') %>
  <%=  @module_result.grade %>

    <% @module_result.metric_results.each do |metric_result|  %>

      <%= metric_result.metric.name %>
      <%= metric_result.value %>
      <% range = metric_result.range %>
      <td style="background-color: #<%= range.color[2..-1] %>"><%= range.label %>

    <% end %>

<% end %>

<% @project = Kalibro::Client::ProjectClient.new.project(@page.name) %>

    <%= _('Name') %>
    <%= @project.name %>

    <%= _('License') %>
    <%= @project.license %>

    <%= _('Description') %>
    <%= @project.description %>

    <%= _('Repository type') %>
    <%= @project.repository.type %>

    <%= _('Repository address') %>
    <%= @project.repository.address %>

    <%= _('Configuration') %>
    <%= @project.configuration_name %>

<% if ! @project.error.nil? %>

<%= _('ERROR') %>

  <% @error = @project.error %>

    <%= "State when error ocurred: #{@project.state}" %>

    <%= @error.message %>

<% @error.stack_trace.each do |trace| %>

<%= "#{trace.declaring_class}.#{trace.method_name}(#{trace.file_name}:#{trace.line_number})" %>

    <% end %>

<% elsif @project.state.end_with? 'ING' %>

    <%= _("Kalibro Service is #{@project.state.downcase} the source code.") %>

    <%= _('Reload the page manually in a few moments.') %>

<% elsif @project.state == 'READY' %>

<%= _('LAST RESULT') %>

  <% @project_result = Kalibro::Client::ProjectResultClient.new.last_result(@project.name) %>
  <% @module_client = Kalibro::Client::ModuleResultClient.new %>

      <%= _('Date') %>
      <%= @project_result.date %>

      <%= _('Load time') %>
      <%= @project_result.formatted_load_time %>

      <%= _('Analysis time') %>
      <%= @project_result.formatted_analysis_time %>

<%= _('Source tree') %>

  <%= @project_result.source_tree.print %>

  <% @module_result = @module_client.module_result(@project.name, @project.name, @project_result.date) %>

<%= _('Metric Result') %>

  <%= _('Module:') %>
  <%=  @module_result.module.name %>

  <%= _('Grade:') %>
  <%=  @module_result.grade %>

    <% @module_result.metric_results.each do |metric_result|  %>

      <%= metric_result.metric.name %>
      <%= metric_result.value %>
      <%= metric_result.range.label %>

    <% end %>

<% end %>


remove unused migration_password_change notification view

We've updated the Free Library site. Your password has been changed:

  Username: <%= @user.login %>
  Password: <%= @user.password %>

Please log in at <%= @url %> to change your password.


updated help info on postal replies

updated help info on postal replies

<% @title = "About" %>

Contents

Introduction

Making requests

Privacy policy

FOI officers

Credits

Contact us

If your question isn't answered here, or you just wanted to let us know
    something about the site, contact us.

Introduction to WhatDoTheyKnow #

What is WhatDoTheyKnow for? #

To help you find out inside information about what the UK government
is doing.

How does the site work? #

You choose the public authority that you would like information from, then
write a brief note describing what you want to know. We then send your request
to the public authority. Any response they make is automatically published on the
website for you and anyone else to find and read.

Why would I bother to do this? #

You pay taxes, and then government does things with the money. All sorts of
things that affect your life, from healthcare through to national defence. Some
it does badly, some it does well. The more we find out about how government
works, the better able we are to make suggestions to improve the things that
are done badly, and to celebrate the things that are done well.

Why would the public authority bother to reply? #

Under Freedom of Information (FOI) law, they have to respond.

Who makes it? #

WhatDoTheyKnow is created and run by mySociety,
and was initially funded by the JRSST Charitable Trust. mySociety is a project of the
registered charity UK Citizens Online Democracy.
If you like what we're doing, then you can
make a donation.

Making requests #

You're missing the public authority that I want to request from! #

Please contact us with the name of the public authority and,
if you can find it, their contact email address for Freedom of Information requests.
If you'd like to help add a whole category of public authority to the site, for example all
primary care trusts or all schools, then please
edit this shared spreadsheet (Google account required).

How quickly will I get a response? #

By law public authorities must respond "promptly", and in any event not later
than 20 working days after receiving your request. The date of that hard limit
is shown on the page for your request. You will be emailed if this date goes by
without a response, so you can send the public authority another note to remind
them that they are breaking the law. Note: If you had to
clarify your request, the clock starts from that date, instead of the date they
received your initial request.

What if I'm not satisfied with the response? #

If you didn't get the information you asked for, or you didn't get it in time,
then read our page 'Unhappy about the response you got?'.

Can you tell me more of the nitty gritty about the process of making requests? #

Have a look at the
access to official information
pages on the Information Commisioner's website.

If you're requesting information from a Scottish public authority,
the process is very similar. Notable differences are around time
limits for compliance and pseudonyms.
See the Scottish
Information Commissioner's guidance for details.

Can I request information about myself? #

No. Requests made using WhatDoTheyKnow are public, made under the Freedom of
Information Act, and cannot help you find information about a private
individual.

If you would like to know what information a public
authority holds about yourself, you should make a "Subject Access Request" in
private using Data Protection law.  The leaflet "How to access your information" (on the Information Commisioner's
website) explains how to do this.

If you see that somebody has included personal information, perhaps
unwittingly, in a request, please contact us
immediately so we can remove it.

I'd like to keep my request secret! (At least until I publish my story) #

WhatDoTheyKnow is currently only designed for public requests. All
responses that we receive are automatically published on the website for anyone
to read.  You should contact the public authority directly if you would like to
make a request in private.  If you're interested in buying a system which helps
you manage FOI requests in secret, then contact us.

Why can I only request information about the environment from some authorities? #

Some public authorities, such as South East Water,
don't come under the Freedom of Information Act, but do come under another law called
the Environmental Information Regulations (EIR). It's a very similar law, so you make a request
to them using WhatDoTheyKnow in just the same way as an FOI request. The only difference
is that on the page where you write you request, it reminds you that you can only
request "environmental information" and tells you what that means. It is quite broad.

So can I request information using EIR from other authorities? #

Yes, just make a Freedom of Information (FOI) request as normal. The
authority has a duty to work out if the Environmental Information Regulations
(EIR) is the more appropriate legislation to reply under.

Privacy policy #

Who gets to see my email address? #

We will not disclose your email address to anyone unless we are obliged to by law,
or you ask us to. This includes the public authority that you are sending a
request to.  They only get to see an email address
@whatdotheyknow.com which is specific to that request.

If you send a message to another user on the site, then it will reveal your
email address to them. You will be told that this is going to happen.

Will you send nasty, brutish spam to my email address? #

Nope. After you sign up to WhatDoTheyKnow we will only send you emails
relating to a request you made, an email alert that you have signed up for,
or for other reasons that you specifically authorise. We will never give or
sell your email addresses to anyone else, unless we are obliged to by law, or
you ask us to.

Why will my name appear publicly on the site? #

It means that someone researching the same area can get in touch with you,
and maybe give you more information or ideas relating to your request.  Also,
we're going to publish the response with the name of the civil servant who
wrote it, so it seems only fair that your name should be public too!
Therefore, we encourage you to use your real name, but you may use a pseudonym
if you would like to be anonymous.

So I can make an FOI request using a pseudonym? #

It is good practice for the public authority to reply to an anonymous request,
except in special circumstances such as if they suspect you of making vexatious
requests. See Freedom of Information Good Practice Guidance No 6
for details.  You should refer to this if a public authority attempts to refuse
a request because you used a pseudonym.

However, there are good reasons to use your real name: see the previous
question.  If nothing else, it avoids the risk of an authority being picky,
ignoring the guidance and refusing your request.

For requests to Scottish public authorities you should ideally provide a
real name, especially if you forsee the possibility of complaining later to the
Scottish Information Commissioner - based on
legal advice
they received in 2005, they will not accept complaints where they find out that
the request was originally made under a pseudonym.

They've asked for my postal address! #

If a public authority asks you for your full, physical address, reply to them saying
that section 8.1.b of the FOI Act asks for an "address for correspondence",
and that the email address you are using is sufficient.

The Ministry of Justice has guidance
on this –
"As well as hard copy written correspondence, requests that are
transmitted electronically (for example, in emails) are acceptable
... If a request is received by email and no postal address is given, the email
address should be treated as the return address."

As if that isn't enough, the Information Commissioner's
Hints for Practitioners say
"Any correspondence could include a request for information. If it is written (this includes e-mail), legible, gives the name of the applicant, an address for reply (which could be electronic), and includes a description of the information required, then it will fall within the scope of the legislation."

No no, they need a postal address to send a paper response! #

If an authority only has a paper copy of the information that you want,
they may ask you for a postal address. To start with, try persuading them
to scan in the documents for you. You can even offer to gift them a scanner, which in that particular case
embarrassed the authority into finding one they had already.

If that doesn't work, and you want to provide your postal address privately
in order to receive the documents, mark your request as "They are going to reply by post", and it will
give you an email address to use for that purpose.

How do you moderate request annotations? #

Annotations on WhatDoTheyKnow are to help
people get the information they want, or to give them pointers to places they
can go to help them act on it. We reserve the right to remove anything else.

Endless, political discussions are not allowed.
Post a link to a suitable forum or campaign site elsewhere.

FOI officer questions #

I just got here from bottom of an FOI request, what is going on? #

WhatDoTheyKnow is a service run by a charity. It helps ordinary members
of the public make FOI requests, and easily track and share the responses.

The FOI request you received was made by someone using WhatDoTheyKnow. You can
simply reply to the request as you would any other request from an individual.
The only difference is that your response will be automatically published on
the Internet.

If you have privacy or other concerns, please read the answers below.
You might also like to read this page from the top to find out more about what
the site does from the point of view of a user. You can also search the
site to find the authority that you work for, and view the status of
any requests made using the site.

Finally, we welcome comments and
thoughts from FOI officers, please get in touch.

Why are you publishing responses to FOI requests? #

We think there are lots of benefits. Most importantly it will encourage the
public to be more interested and involved in the work of government. We
also hope that it will reduce the number of duplicate requests on any
subject that a public body will receive. Given that Freedom of Information
responses contain public information, which anybody could easily request
again from the public authority, we think there should be no reason not to
publish it widely.

Are the people making requests real people? #

Yes. For the purposes of keeping track of responses we use
computer-generated email addresses for each request. However, before
they can send a request, each user must register on the site with a
unique email address that we then verify. You can search this site and
find a page listing all requests that each person has made.

An email isn't a sufficient address for an FOI request! #

Yes it is. This
letter from the ICO to Rother District Council gives guidance on the matter, specifically
in the context of requests made via WhatDoTheyKnow.

Aren't you making lots of vexatious requests? #

WhatDoTheyKnow is not making any requests. We are sending requests on
behalf of our users, who are real people making the requests.

Look at it like this - if lots of different people made requests from
different Hotmail email addresses, then you would not think that Microsoft were
making vexatious requests. It is exactly the same if lots of requests are made
via WhatDoTheyKnow. Moreover, since all requests are public it is much easier
for you to see if one of our users is making vexatious requests, and for us to
block them when that happens.

If that isn't enough for you, the
letter from the ICO to Rother District Council gives some guidance on the matter.

Isn't it a problem that you publish the names of civil servants and the text of emails? #

Officers or servants responding to requests are doing so on behalf of the
public as part of their job, and we publish their response on that
basis. Usually the names and phone numbers of FOI officers are already
available on authority websites. We also encourage our users to give their real
name too, so it is fair both ways.

Do you publish email addresses or mobile phone numbers? #

We automatically remove email addresses and labelled mobile phone numbers
that are in the email part of responses from public authorities. Please
contact us if we've missed one. We don't currently
remove these from attachments,
such as Word documents.

Can you take down private information about me? #

If you see any information on the site which you'd like us to remove or
hide, then please let us know. We'll then
remove it, provided it is genuinely private information. In particular, we
will remove remarks that are irrelevantly personal.

Credit where credit is due #

Which people made WhatDoTheyKnow? #

Oh, nearly everyone (and maybe you too)!

    Heather Brooke
    (vampy!) has
    been pushing the idea of a UK FOI archive for years now.

    Both Phil Rodgers and Francis Irving
    entered it in a mySociety competition for ideas for public interest websites to build.

    It won,
    and then Chris Lightfoot (RIP :()
    thought up the wheeze of intercepting email responses to requests and
    automatically publishing them.

    Tom Steinberg got the cash to pay for the site from
    a dead chocolate mogul (thank you!) ...

    ... so that Francis Irving, Angie Ahl, Tommy Martin, Louise Crow, Matthew Somerville
    and Tom Steinberg could do the complex mixture of design and coding to build
    what you see today.

    Thanks particularly to Julian Todd (great blog!),
    Francis Davey, and Etienne Pollard for using the site early on and giving
    feedback (and/or legal advice!), and also to all our other users and
    testers.

    Lots of people have been looking up FOI email addresses, and a few
    volunteering to run the site - most especially Adam McGreggor, Alex
    Skene, John Cross and Tony Bowden.

Finally we couldn't do any of this without those
crazy people who volunteer,
amongst many other things, to do the accounts and fill in our VAT return.

You're all stars.

Can I help out? #

Yes please! We're built out of our supporters and volunteers.

You can make a donation. We're a registered charity.

Find out FOI email addresses of authorities that we're missing.

Write a blog post about either WhatDoTheyKnow or an interesting request that you've
    found. Post about it on a forum that you frequent. Tell friends about it.

If you're
    a programmer, get the
    source code
    and send us patches. It's made in Ruby on Rails.

Read more about volunteering with mySociety.

<% @title = "About" %>

Contents

Introduction

Making requests

Privacy policy

FOI officers

Credits

Contact us

If your question isn't answered here, or you just wanted to let us know
    something about the site, contact us.

Introduction to WhatDoTheyKnow #

What is WhatDoTheyKnow for? #

To help you find out inside information about what the UK government
is doing.

How does the site work? #

You choose the public authority that you would like information from, then
write a brief note describing what you want to know. We then send your request
to the public authority. Any response they make is automatically published on the
website for you and anyone else to find and read.

Why would I bother to do this? #

You pay taxes, and then government does things with the money. All sorts of
things that affect your life, from healthcare through to national defence. Some
it does badly, some it does well. The more we find out about how government
works, the better able we are to make suggestions to improve the things that
are done badly, and to celebrate the things that are done well.

Why would the public authority bother to reply? #

Under Freedom of Information (FOI) law, they have to respond.

Who makes it? #

WhatDoTheyKnow is created and run by mySociety,
and was initially funded by the JRSST Charitable Trust. mySociety is a project of the
registered charity UK Citizens Online Democracy.
If you like what we're doing, then you can
make a donation.

Making requests #

You're missing the public authority that I want to request from! #

Please contact us with the name of the public authority and,
if you can find it, their contact email address for Freedom of Information requests.
If you'd like to help add a whole category of public authority to the site, for example all
primary care trusts or all schools, then please
edit this shared spreadsheet (Google account required).

How quickly will I get a response? #

By law public authorities must respond "promptly", and in any event not later
than 20 working days after receiving your request. The date of that hard limit
is shown on the page for your request. You will be emailed if this date goes by
without a response, so you can send the public authority another note to remind
them that they are breaking the law. Note: If you had to
clarify your request, the clock starts from that date, instead of the date they
received your initial request.

What if I'm not satisfied with the response? #

If you didn't get the information you asked for, or you didn't get it in time,
then read our page 'Unhappy about the response you got?'.

Can you tell me more of the nitty gritty about the process of making requests? #

Have a look at the
access to official information
pages on the Information Commisioner's website.

If you're requesting information from a Scottish public authority,
the process is very similar. Notable differences are around time
limits for compliance and pseudonyms.
See the Scottish
Information Commissioner's guidance for details.

Can I request information about myself? #

No. Requests made using WhatDoTheyKnow are public, made under the Freedom of
Information Act, and cannot help you find information about a private
individual.

If you would like to know what information a public
authority holds about yourself, you should make a "Subject Access Request" in
private using Data Protection law.  The leaflet "How to access your information" (on the Information Commisioner's
website) explains how to do this.

If you see that somebody has included personal information, perhaps
unwittingly, in a request, please contact us
immediately so we can remove it.

I'd like to keep my request secret! (At least until I publish my story) #

WhatDoTheyKnow is currently only designed for public requests. All
responses that we receive are automatically published on the website for anyone
to read.  You should contact the public authority directly if you would like to
make a request in private.  If you're interested in buying a system which helps
you manage FOI requests in secret, then contact us.

Why can I only request information about the environment from some authorities? #

Some public authorities, such as South East Water,
don't come under the Freedom of Information Act, but do come under another law called
the Environmental Information Regulations (EIR). It's a very similar law, so you make a request
to them using WhatDoTheyKnow in just the same way as an FOI request. The only difference
is that on the page where you write you request, it reminds you that you can only
request "environmental information" and tells you what that means. It is quite broad.

So can I request information using EIR from other authorities? #

Yes, just make a Freedom of Information (FOI) request as normal. The
authority has a duty to work out if the Environmental Information Regulations
(EIR) is the more appropriate legislation to reply under.

Privacy policy #

Who gets to see my email address? #

We will not disclose your email address to anyone unless we are obliged to by law,
or you ask us to. This includes the public authority that you are sending a
request to.  They only get to see an email address
@whatdotheyknow.com which is specific to that request.

If you send a message to another user on the site, then it will reveal your
email address to them. You will be told that this is going to happen.

Will you send nasty, brutish spam to my email address? #

Nope. After you sign up to WhatDoTheyKnow we will only send you emails
relating to a request you made, an email alert that you have signed up for,
or for other reasons that you specifically authorise. We will never give or
sell your email addresses to anyone else, unless we are obliged to by law, or
you ask us to.

Why will my name appear publicly on the site? #

It means that someone researching the same area can get in touch with you,
and maybe give you more information or ideas relating to your request.  Also,
we're going to publish the response with the name of the civil servant who
wrote it, so it seems only fair that your name should be public too!
Therefore, we encourage you to use your real name, but you may use a pseudonym
if you would like to be anonymous.

So I can make an FOI request using a pseudonym? #

It is good practice for the public authority to reply to an anonymous request,
except in special circumstances such as if they suspect you of making vexatious
requests. See Freedom of Information Good Practice Guidance No 6
for details.  You should refer to this if a public authority attempts to refuse
a request because you used a pseudonym.

However, there are good reasons to use your real name: see the previous
question.  If nothing else, it avoids the risk of an authority being picky,
ignoring the guidance and refusing your request.

For requests to Scottish public authorities you should ideally provide a
real name, especially if you forsee the possibility of complaining later to the
Scottish Information Commissioner - based on
legal advice
they received in 2005, they will not accept complaints where they find out that
the request was originally made under a pseudonym.

They've asked for my postal address! #

If a public authority asks you for your full, physical address, reply to them saying
that section 8.1.b of the FOI Act asks for an "address for correspondence",
and that the email address you are using is sufficient.

The Ministry of Justice has guidance
on this –
"As well as hard copy written correspondence, requests that are
transmitted electronically (for example, in emails) are acceptable
... If a request is received by email and no postal address is given, the email
address should be treated as the return address."

As if that isn't enough, the Information Commissioner's
Hints for Practitioners say
"Any correspondence could include a request for information. If it is written (this includes e-mail), legible, gives the name of the applicant, an address for reply (which could be electronic), and includes a description of the information required, then it will fall within the scope of the legislation."

No no, they need a postal address to send a paper response! #

If an authority only has a paper copy of the information that you want,
they may ask you for a postal address. To start with, try persuading them
to scan in the documents for you. You can even offer to gift them a scanner, which in that particular case
embarrassed the authority into finding one they had already.

If that doesn't work, and you want to provide your postal address privately
in order to receive the documents, then please contact
us.

How do you moderate request annotations? #

Annotations on WhatDoTheyKnow are to help
people get the information they want, or to give them pointers to places they
can go to help them act on it. We reserve the right to remove anything else.

Endless, political discussions are not allowed.
Post a link to a suitable forum or campaign site elsewhere.

FOI officer questions #

I just got here from bottom of an FOI request, what is going on? #

WhatDoTheyKnow is a service run by a charity. It helps ordinary members
of the public make FOI requests, and easily track and share the responses.

The FOI request you received was made by someone using WhatDoTheyKnow. You can
simply reply to the request as you would any other request from an individual.
The only difference is that your response will be automatically published on
the Internet.

If you have privacy or other concerns, please read the answers below.
You might also like to read this page from the top to find out more about what
the site does from the point of view of a user. You can also search the
site to find the authority that you work for, and view the status of
any requests made using the site.

Finally, we welcome comments and
thoughts from FOI officers, please get in touch.

Why are you publishing responses to FOI requests? #

We think there are lots of benefits. Most importantly it will encourage the
public to be more interested and involved in the work of government. We
also hope that it will reduce the number of duplicate requests on any
subject that a public body will receive. Given that Freedom of Information
responses contain public information, which anybody could easily request
again from the public authority, we think there should be no reason not to
publish it widely.

Are the people making requests real people? #

Yes. For the purposes of keeping track of responses we use
computer-generated email addresses for each request. However, before
they can send a request, each user must register on the site with a
unique email address that we then verify. You can search this site and
find a page listing all requests that each person has made.

An email isn't a sufficient address for an FOI request! #

Yes it is. This
letter from the ICO to Rother District Council gives guidance on the matter, specifically
in the context of requests made via WhatDoTheyKnow.

Aren't you making lots of vexatious requests? #

WhatDoTheyKnow is not making any requests. We are sending requests on
behalf of our users, who are real people making the requests.

Look at it like this - if lots of different people made requests from
different Hotmail email addresses, then you would not think that Microsoft were
making vexatious requests. It is exactly the same if lots of requests are made
via WhatDoTheyKnow. Moreover, since all requests are public it is much easier
for you to see if one of our users is making vexatious requests, and for us to
block them when that happens.

If that isn't enough for you, the
letter from the ICO to Rother District Council gives some guidance on the matter.

Isn't it a problem that you publish the names of civil servants and the text of emails? #

Officers or servants responding to requests are doing so on behalf of the
public as part of their job, and we publish their response on that
basis. Usually the names and phone numbers of FOI officers are already
available on authority websites. We also encourage our users to give their real
name too, so it is fair both ways.

Do you publish email addresses or mobile phone numbers? #

We automatically remove email addresses and labelled mobile phone numbers
that are in the email part of responses from public authorities. Please
contact us if we've missed one. We don't currently
remove these from attachments,
such as Word documents.

Can you take down private information about me? #

If you see any information on the site which you'd like us to remove or
hide, then please let us know. We'll then
remove it, provided it is genuinely private information. In particular, we
will remove remarks that are irrelevantly personal.

Credit where credit is due #

Which people made WhatDoTheyKnow? #

Oh, nearly everyone (and maybe you too)!

    Heather Brooke
    (vampy!) has
    been pushing the idea of a UK FOI archive for years now.

    Both Phil Rodgers and Francis Irving
    entered it in a mySociety competition for ideas for public interest websites to build.

    It won,
    and then Chris Lightfoot (RIP :()
    thought up the wheeze of intercepting email responses to requests and
    automatically publishing them.

    Tom Steinberg got the cash to pay for the site from
    a dead chocolate mogul (thank you!) ...

    ... so that Francis Irving, Angie Ahl, Tommy Martin, Louise Crow, Matthew Somerville
    and Tom Steinberg could do the complex mixture of design and coding to build
    what you see today.

    Thanks particularly to Julian Todd (great blog!),
    Francis Davey, and Etienne Pollard for using the site early on and giving
    feedback (and/or legal advice!), and also to all our other users and
    testers.

    Lots of people have been looking up FOI email addresses, and a few
    volunteering to run the site - most especially Adam McGreggor, Alex
    Skene, John Cross and Tony Bowden.

Finally we couldn't do any of this without those
crazy people who volunteer,
amongst many other things, to do the accounts and fill in our VAT return.

You're all stars.

Can I help out? #

Yes please! We're built out of our supporters and volunteers.

You can make a donation. We're a registered charity.

Find out FOI email addresses of authorities that we're missing.

Write a blog post about either WhatDoTheyKnow or an interesting request that you've
    found. Post about it on a forum that you frequent. Tell friends about it.

If you're
    a programmer, get the
    source code
    and send us patches. It's made in Ruby on Rails.

Read more about volunteering with mySociety.


logo -> picture

logo -> picture


forgot a do

forgot a do

git-svn-id: 86f0fce46016f090801773733838b5fec293694e@67 f0bc2f90-cf15-dc11-b192-0016e6374d05

Here is your RubyURL

		<%= link_to @link.permalink, @link.permalink -%>

Original URL Length:

<%= @link.website_url.length -%> characters

RubyURL Length:

<%= @link.permalink.length -%> characters

shortened by:

<%= @link.website_url.length - @link.permalink.length -%> characters

		<%= link_to 'Create another rubyurl', '/' -%> ↩

<% content_for :rubyurl_link do %>
  <%= link_to @link.permalink, @link.permalink -%>
<% end %>

Here is your RubyURL

		<%= link_to @link.permalink, @link.permalink -%>

Original URL Length:

<%= @link.website_url.length -%> characters

RubyURL Length:

<%= @link.permalink.length -%> characters

shortened by:

<%= @link.website_url.length - @link.permalink.length -%> characters

		<%= link_to 'Create another rubyurl', '/' -%> ↩

<% content_for :rubyurl_link %>
  <%= link_to @link.permalink, @link.permalink -%>
<% end %>


implemented partials for cage list

implemented partials for cage list

<% if @list_all %>
Listing all cages
<% else %>
Listing current cages
<% end %>

<%= render_partial 'cages/cage_list', @cages %>

<%= link_to 'Previous page', { :page => @cage_pages.current.previous } if @cage_pages.current.previous %>
<%= link_to 'Next page', { :page => @cage_pages.current.next } if @cage_pages.current.next %>

<%= link_to 'New Cage', :action => 'new' %>
<% if @list_all %>
<%= link_to 'List Current Cages', :action => 'list' %>
<% else %>
<%= link_to 'List All Cages', :action => 'list_all' %>
<% end %>

<% if @list_all %>
Listing all cages
<% else %>
Listing current cages
<% end %>

    Name
    Bats
    Food
    Owner
    Fed by
    Created
    <% if @list_all %>
      Destroyed
    <% end %>

<% for cage in @cages %>

      <%= link_to cage.name, :action => 'show', :id => cage %>

	<%=h cage.bats.count %>
    <%=h cage.food %>g
    <%=h cage.user ? cage.user.name : "NP" %>
    <%=h cage.fed_by %>
	<%=h nice_date(cage.date_created) %>
  <% if @list_all %>
  <%=h nice_date(cage.date_destroyed) %>
<% end %>
    <%= link_to 'Edit', :action => 'edit', :id => cage %>

	<% if cage.date_destroyed == nil %>
	<%= link_to 'Deactivate', { :action => 'deactivate', :id => cage }, :confirm => 'Are you sure?', :post => true %>
	<% else %>
	<%=  link_to 'Reactivate', { :action => 'reactivate', :id => cage }, :confirm => 'Are you sure?', :post => true %>
    <% end %>

<% end %>

<%= link_to 'Previous page', { :page => @cage_pages.current.previous } if @cage_pages.current.previous %>
<%= link_to 'Next page', { :page => @cage_pages.current.next } if @cage_pages.current.next %>

<%= link_to 'New Cage', :action => 'new' %>
<% if @list_all %>
<%= link_to 'List Current Cages', :action => 'list' %>
<% else %>
<%= link_to 'List All Cages', :action => 'list_all' %>
<% end %>


custom theme support; new default theme to replace wonko.com theme

git-svn-id: 6ed4032d55824b87387cea7ca50eb066630d6e73@38 c93d8143-eb44-0410-8798-7b17b0fd9f9b

<div id="post-<%= @post.id %>" class="post">

      <a href="<%= @post.url %>" rel="bookmark"
          title="Permalink for this article">
        <%= h(@post.title) %>

      <%= @post.created_at(Riposte::Config::TIMESTAMP_LONG) %>

    <%= @post.body_rendered %>

        <% @post.tags.each do |tag| %>

            <a href="<%= tag.url %>" rel="tag"><%= h(tag.name) %>

        <% end %>

      Post a comment

Comments

  <% @post.comments.all.each do |comment| %>
      <div id="comment-<%= comment.id %>" class="comment">

            <a href="<%= comment.url %>" rel="bookmark"
                title="Permalink for this comment"><%= h(comment.title) %>

          <%= comment.body_rendered %>

            <%= comment.created_at(Riposte::Config::TIMESTAMP_LONG) %>

            Posted by
            <% if comment.author_url.empty? %>
              <%= h(comment.author) %>
            <% else %>
              <a href="<%= h(comment.author_url) %>" rel="nofollow">
                <%= h(comment.author) %>

            <% end %>

  <% end %>

<form id="post-comment" class="robots-nocontent"
    action="<%= Rs(:comment, @post.id) %>#post-comment" method="post">
  <% if @preview && @preview.valid? %>
    <fieldset>

            <a href="<%= @post.url %>" rel="bookmark"
                title="Permalink for this comment"><%= h(@preview.title) %>

          <%= @preview.body_rendered %>

            <%= Time.now.strftime(Riposte::Config::TIMESTAMP_LONG) %>

            Posted by
            <% if @preview.author_url.empty? %>
              <%= h(@preview.author) %>
            <% else %>
              <a href="<%= h(@preview.author_url) %>" rel="nofollow">
                <%= h(@preview.author) %>

            <% end %>

    </fieldset>
  <% end %>

  <fieldset>
    <legend>Post a comment</legend>

      Name
      <input type="text" name="author" id="author" maxlength="32"
          title="Enter your name"
          value="<%= h(@author) %>" />

    <% if @preview; @preview.errors.on(:author).each do |error| %>

        <%= h(error) %>

    <% end; end %>

      URL
      <input type="text" name="author_url" id="author_url" maxlength="255"
          title="Enter the URL of your website (optional)"
          value="<%= h(@author_url) %>" />

    <% if @preview; @preview.errors.on(:author_url).each do |error| %>

        <%= h(error) %>

    <% end; end %>

      Title
      <input type="text" class="long" name="title" id="title" maxlength="255"
          title="Enter a title for this comment"
          value="<%= @preview && @preview.title ? h(@preview.title) : '' %>" />

    <% if @preview; @preview.errors.on(:title).each do |error| %>

        <%= h(error) %>

    <% end; end %>

      <textarea name="body" rows="6" cols="60"><%= @preview && @preview.body ? h(@preview.body) : '' %></textarea>

    <% if @preview; @preview.errors.on(:body).each do |error| %>

        <%= h(error) %>

    <% end; end %>

      Basic XHTML (including links) is allowed, just don't try anything fishy.
      Your comment will be auto-formatted unless you use your own
      <p> tags for formatting.

      Don't type anything here unless you're an evil robot:

      <input type="text" id="captcha" name="captcha" maxlength="50" />

      And especially don't type anything here:

      <textarea name="comment" rows="6" cols="60"></textarea>

      <input type="submit" name="action" value="Preview Comment" />
      <input type="submit" name="action" value="Post Comment" />

  </fieldset>
</form>


add preview link

add preview link

git-svn-id: 4158f9403e16ea83fe8a6e07a45f1f3b56a747ab@2151 567b1171-46fb-0310-a4c9-b4bef9110e78

<% @filter = params[:filter].to_s.humanize.downcase %>
<% content_for :action_nav do %>

<%= link_to_remote 'Delete this article', :url => {:action => 'destroy', :id => @article}, :confirm => 'Are you sure you want to delete this article?' %>

  <% if controller.action_name == 'edit' -%>

<%= link_to('Preview', {:action => 'show', :id => @article}, {:target => '_blank'}) %>

  <% end -%>

        <% unless @article.new_record? -%>

<%= link_to 'Edit this article', :action => :edit, :id => @article, :version => nil %>

        <% end -%>
        <% if @article.comments.any? && controller.action_name != 'comments' -%>

<%= link_to "View comments", :controller => 'articles', :action => 'comments', :id => @article %>

        <% end %>
        <% if controller.action_name == 'comments' && @comments.any? -%>

<%= link_to_remote "Delete all #{@filter != 'all' ? @filter : ''} comments", :confirm => "Are you sure you wish to delete all #{@filter != 'all' ? @filter : ''} comments?",
              :url => { :action => 'destroy_comment', :id => @article }, :with => "ArticleForm.getAvailableComments().toQueryString('comment')"
            %>

        <% end -%>

    <% unless controller.action_name == 'comments' %>

Revision:

      <select name="filter" id="revisionnum">
        <option value="0">Newest</option>
        <%= options_from_collection_for_select @article.versions.reverse, :version, :version, params[:version].to_i %>
      </select>

    <% end %>
    <% if controller.action_name == 'comments' -%>

Show comments:

      <select id="comments-view">
        <%= options_for_select ['All', 'Unapproved', 'Approved'], params[:filter].to_s.humanize %>
      </select>

    <% end %>

<% end unless @article.new_record? && @article.comments.empty? -%>

<% @filter = params[:filter].to_s.humanize.downcase %>
<% content_for :action_nav do %>

<%= link_to_remote 'Delete this article', :url => {:action => 'destroy', :id => @article}, :confirm => 'Are you sure you want to delete this article?' %>

        <% unless @article.new_record? -%>

<%= link_to 'Edit this article', :action => :edit, :id => @article, :version => nil %>

        <% end -%>
        <% if @article.comments.any? && controller.action_name != 'comments' -%>

<%= link_to "View comments", :controller => 'articles', :action => 'comments', :id => @article %>

        <% end %>
        <% if controller.action_name == 'comments' && @comments.any? -%>

<%= link_to_remote "Delete all #{@filter != 'all' ? @filter : ''} comments", :confirm => "Are you sure you wish to delete all #{@filter != 'all' ? @filter : ''} comments?",
              :url => { :action => 'destroy_comment', :id => @article }, :with => "ArticleForm.getAvailableComments().toQueryString('comment')"
            %>

        <% end -%>

    <% unless controller.action_name == 'comments' %>

Revision:

      <select name="filter" id="revisionnum">
        <option value="0">Newest</option>
        <%= options_from_collection_for_select @article.versions.reverse, :version, :version, params[:version].to_i %>
      </select>

    <% end %>
    <% if controller.action_name == 'comments' -%>

Show comments:

      <select id="comments-view">
        <%= options_for_select ['All', 'Unapproved', 'Approved'], params[:filter].to_s.humanize %>
      </select>

    <% end %>

<% end unless @article.new_record? && @article.comments.empty? -%>


Added pre tags around error output in rspec_errors template to make the backtrace output useful.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <title><%= title %></title>

<%= title %>

Generated on <%= generated %>.

Overview

Working Files

    <%= percent_bar(working_files_pct) %>

(<%= "#{working_files_len} out of #{all_files_len}" %>)

Non-Working Files

        File
        Error

      <% nonworking_files.each do |file, msg| %>

        <%= file %>

<%=h msg %>

      <% end %>

Working Files

      <% working_files.each do |file, msg| %>

<%= file %>

      <% end %>

    envisioned by Matthew Elder <sseses@gmail.com> MuHaHaHaHa


Display the image of the user who made the diary entry, not that of the currently logged in user...

<%= @title %>

<% if @user.image %>
 <%= image_tag url_for_file_column(@user, "image") %>
<% end %>

<% if @this_user %>
  <% if @user == @this_user %>
    <%= link_to 'New diary post', :controller => 'diary_entry', :action => 'new', :display_name => @user.display_name %>
  <% end %>
<% else %>
  <% if @user %>
    <%= link_to 'New diary post', :controller => 'diary_entry', :action => 'new', :display_name => @user.display_name %>
  <% end %>
<% end %>

Recent diary entries:

<%= render :partial => 'diary_entry', :collection => @entries %>

<%= link_to "Older Entries", { :page => @entry_pages.current.next } if @entry_pages.current.next %>
<% if @entry_pages.current.next and @entry_pages.current.previous %>
|
<% end %>
<%= link_to "Newer Entries", { :page => @entry_pages.current.previous } if @entry_pages.current.previous %>

<%= link_to(image_tag("RSS.gif", :size => "16x16", :border => 0), :action => 'rss') %>
<%= auto_discovery_link_tag(:atom, :action => 'rss') %>

<%= @title %>

<% if @this_user.image %>
 <%= image_tag url_for_file_column(@this_user, "image") %>
<% end %>

<% if @this_user %>
  <% if @user == @this_user %>
    <%= link_to 'New diary post', :controller => 'diary_entry', :action => 'new', :display_name => @user.display_name %>
  <% end %>
<% else %>
  <% if @user %>
    <%= link_to 'New diary post', :controller => 'diary_entry', :action => 'new', :display_name => @user.display_name %>
  <% end %>
<% end %>

Recent diary entries:

<%= render :partial => 'diary_entry', :collection => @entries %>

<%= link_to "Older Entries", { :page => @entry_pages.current.next } if @entry_pages.current.next %>
<% if @entry_pages.current.next and @entry_pages.current.previous %>
|
<% end %>
<%= link_to "Newer Entries", { :page => @entry_pages.current.previous } if @entry_pages.current.previous %>

<%= link_to(image_tag("RSS.gif", :size => "16x16", :border => 0), :action => 'rss') %>
<%= auto_discovery_link_tag(:atom, :action => 'rss') %>