Forgot to add timeline template.

Forgot to add timeline template.

<% @title = "Timeline" %>

<%=h @events_title%>

Week
| Month
| All time

<% last_date = nil %>
<% for event in @events %>
    <% if last_date != event.created_at.to_date %>
        <% if last_date.nil? %>

        <% end %>

<%= simple_date(event.created_at) %>

    <% else %>

    <% end %>
    <% last_date = event.created_at.to_date %>

    '<%= link_to h(event.info_request.title), main_url(request_url(event.info_request)) %>'
    <% if event.event_type == 'edit' %>
        was edited by administrator <%=h event.params[:editor] %>.
        <% for p in ['title', 'prominence', 'described_state', 'awaiting_description']
                if event.params[p.to_sym] != event.params[('old_'+p).to_sym]
                    %> Changed <%=p%> from '<%=h event.params[('old_'+p).to_sym]%>' to '<%=h event.params[p.to_sym] %>'. <%
                end
           end
        %>
    <% elsif event.event_type == 'edit_outgoing' %>
        <% outgoing_messages = OutgoingMessage.find(:all, event.params[:outgoing_message_id].to_i) %>
        had outgoing message edited by administrator <%=h event.params[:editor] %>.
        <% if outgoing_messages.size > 0 %>
            <% outgoing_message = outgoing_messages[0] %>
            <% for p in ['body']
                    if event.params[p.to_sym] != event.params[('old_'+p).to_sym]
                        %> Changed <%=p%> from '<%=h event.params[('old_'+p).to_sym]%>' to '<%=h event.params[p.to_sym] %>'. <%
                    end
               end
            %>
        <% else %>
            Missing outgoing message, internal error.
        <% end %>
    <% elsif event.event_type == 'response' %>
        <% incoming_message = event.incoming_message %>
        received
        <%= link_to 'a response',
            main_url(show_response_url(:id => incoming_message.info_request.id, :incoming_message_id => incoming_message.id, :only_path => true)) %>

        from <%=h event.info_request.public_body.name %>.
    <% elsif event.event_type == 'sent' %>
        was initially sent to <%=h event.params[:email]%> at <%=h event.info_request.public_body.name %>.
    <% elsif event.event_type == 'resent' %>
        had the request resent to <%=h event.params[:email]%> at <%=h event.info_request.public_body.name %>.
    <% elsif event.event_type == 'followup_sent' %>
        had a follow up message sent to <%=h event.info_request.public_body.name %>.
    <% else %>
        had '<%=event.event_type%>' done to it, parameters <%=h event.params_yaml%>.
    <% end %>
<% end %>
<% if not @events.empty? %>

<% end %>

error: pathspec 'app/views/admin/timeline.rhtml' did not match any file(s) known to git


Add tooltip to 'Create Forum' checkbox when creating new Project

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/evinoca/clockingit.git/'


fixed the tabindex issue on login that kept biting me. i assumed pressing tab in the password field would move to the "login" button. instead it went to the login link, which reloaded the page.

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/graysky/tourbus.git/'


jhu layout as example

jhu layout as example

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<title>Umlaut Find It | <%= @page_title %></title>
 <%= stylesheet_link_tag 'basic' %>

<%= render(:partial => "layout_helpers/resolve_head_content" ) %>

<%= render(:partial => "layout_helpers/resolve_body_open" ) %>

  <%= image_tag('/local/header.gif', :style=>"float: left;")
  %>
  <%= render :partial=>"help" %>

URL:
        <% url = permalink_url(request, @user_request) %>
        <%= link_to url, url %>

    <%= @content_for_layout %>

  FindIt service provided by <%= link_to 'Johns Hopkins Libraries', 'http://webapps.jhu.edu/jhuniverse/libraries/' %> | Powered by Umlaut, using services from <%= link_to 'SFX', 'http://www.exlibrisgroup.com/sfx.htm' %>, <%= link_to 'CrossRef', 'http://www.crossref.org' %>, <%= link_to 'Amazon', 'http://www.amazon.com' %>, <%= link_to 'OCLC Worldcat', 'http://www.worldcat.org' %>, and others.  <%= link_to '[S]', 'http://sfx.library.jhu.edu:8000/jhu_sfx?' + (hash_to_querystring(@user_request.original_co_params) if @user_request) %>

error: pathspec 'app/views/layouts/local/jhu_resolve.rhtml' did not match any file(s) known to git


trying to get our ical feeds working with GCal.


Show Ruby version

Show Ruby version

<% @title = "Debug" %>

<%=@title%>

You are <%= h @http_auth_user %>

Version numbers

RUBY_VERSION <%=h RUBY_VERSION %>

Rails::VERSION::STRING <%=h Rails::VERSION::STRING%>

TMail::VERSION::STRING <%=h TMail::VERSION::STRING%>

Xapian::version_string <%=h Xapian::version_string%>

Spec::VERSION::STRING <%=h Spec::VERSION::STRING%>

Spec::Rails::VERSION::STRING <%=h Spec::Rails::VERSION::STRING%>

Configuration

environment: <%=h Rails::configuration.environment %>

environment_path: <%=h Rails::configuration.environment_path %>

framework_paths: <%=h Rails::configuration.framework_paths.to_yaml %>

Environment variables

<% for k,v in @request_env %>

<%=h k%>	<%=h v%>

<% end %>

Parameters

<% for k,v in params %>

<%=h k%>	<%=h v%>

<% end %>

Session

<% for k,v in session %>

<%=h k%>	<%=h v%>

<% end %>

<% @title = "Debug" %>

<%=@title%>

You are <%= h @http_auth_user %>

Version numbers

Rails::VERSION::STRING <%=h Rails::VERSION::STRING%>

TMail::VERSION::STRING <%=h TMail::VERSION::STRING%>

Xapian::version_string <%=h Xapian::version_string%>

Spec::VERSION::STRING <%=h Spec::VERSION::STRING%>

Spec::Rails::VERSION::STRING <%=h Spec::Rails::VERSION::STRING%>

Configuration

environment: <%=h Rails::configuration.environment %>

environment_path: <%=h Rails::configuration.environment_path %>

framework_paths: <%=h Rails::configuration.framework_paths.to_yaml %>

Environment variables

<% for k,v in @request_env %>

<%=h k%>	<%=h v%>

<% end %>

Parameters

<% for k,v in params %>

<%=h k%>	<%=h v%>

<% end %>

Session

<% for k,v in session %>

<%=h k%>	<%=h v%>

<% end %>


Add some nice blind animations to the content edit page

git-svn-id: 70ab0960c3db1cbf656efd6df54a8f3de72dc710@1309 820eb932-12ee-0310-9ca8-eeb645f39767

<%= error_messages_for 'article' %>

  Title:

  <%= text_field 'article', 'title'  %>
  (<%= link_to_function "» edit permalink",
          update_page { |page| page.visual_effect(:toggle_blind, "permalink", :duration => 0.5) } %>)

  Permalink:

  <%= text_field 'article', 'permalink'  %>

  Body:

  <%= text_area 'article', 'body', :rows => 25, :style => 'width: 48%;'  %>

<%= markup_help_popup @article.text_filter, "Markup Help" %>

  Categories:

  <select id="categories" name="categories[]" multiple="multiple" size="10" style="width:250px;">
  <%= options_from_collection_for_select(@categories, "id", "name", @selected) %>
  </select>

  Tags:

  <%= text_field 'article', 'keywords'  %>

<%= link_to_function "Toggle Extended Content (+/-)",
      update_page { |page| page.visual_effect(:toggle_blind, "extended", :duration => 0.5) } %>
  <div id="extended"<%- if @article.extended.blank? -%> style="display:none;"<%- end -%>>
  Extended:

  <%= text_area 'article', 'extended', :rows => 30, :style => 'width: 48%;'  %>

<%= link_to_function "Toggle Advanced Options (+/-)",
      update_page { |page| page.visual_effect(:toggle_blind, "advanced", :duration => 0.5) } %>

Allow comments: <%= check_box 'article', 'allow_comments'  %>

Allow trackbacks: <%= check_box 'article', 'allow_pings'  %>

Published:<%= check_box 'article', 'published'  %>

Textfilter: <%= select 'article', 'text_filter', text_filter_options %>

Publish at:<%= datetime_select 'article', 'published_at', :include_blank => true  %>

<%= link_to_function "Attachments (+/-)", update_page { |page| page.visual_effect(:toggle_blind, "attachments", :duration => 0.5) } %>

  <%= render :partial => 'admin/content/attachment', :locals => { :attachment_num => 1, :hidden => false } -%>

<%= error_messages_for 'article' %>

  Title:

  <%= text_field 'article', 'title'  %>
  (<%= link_to_function "» edit permalink", "Toggle.display('permalink')" %>)

  Permalink:

  <%= text_field 'article', 'permalink'  %>

  Body:

  <%= text_area 'article', 'body', :rows => 25, :style => 'width: 48%;'  %>

<%= markup_help_popup @article.text_filter, "Markup Help" %>

  Categories:

  <select id="categories" name="categories[]" multiple="multiple" size="10" style="width:250px;">
  <%= options_from_collection_for_select(@categories, "id", "name", @selected) %>
  </select>

  Tags:

  <%= text_field 'article', 'keywords'  %>

  Add Extended Content

  Extended:

  <%= text_area 'article', 'extended', :rows => 30, :style => 'width: 48%;'  %>

Toggle Advanced Options (+/-)

Allow comments: <%= check_box 'article', 'allow_comments'  %>

Allow trackbacks: <%= check_box 'article', 'allow_pings'  %>

Published:<%= check_box 'article', 'published'  %>

Textfilter: <%= select 'article', 'text_filter', text_filter_options %>

Publish at:<%= datetime_select 'article', 'published_at', :include_blank => true  %>

Attachments (+/-)

  <%= render :partial => 'admin/content/attachment', :locals => { :attachment_num => 1, :hidden => false } -%>


Combined header

Combined header

<title><%= (@cms_page_info ? @cms_page_info[:page_title] : @title) ||  "CMS" %></title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW, NOCACHE">

<%= stylesheet_link_tag 'common' %>
<link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>
<%= theme_stylesheet_link_tag  "admin_design", :media => 'all' %>
<%= theme_stylesheet_link_tag  "admin_framework", :media => 'all' %>
<script> var AUTH_TOKEN = "<%= form_authenticity_token.to_s %>";</script>

<%= remote_script 'ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js' %>
<%= remote_script 'ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js' %>
<%= stylesheet_link_tag "/javascripts/jquery/le-frog/jquery-ui-1.8.4.custom.css" %>

<script>
   $j = jQuery.noConflict();
</script>
<%= javascript_include_tag 'jaction' %>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>

<% unless @no_legacy_cs %>
<%= javascript_include_tag "overlib/overlib" %>
<%= javascript_include_tag :defaults %>

<%= javascript_include_tag "builder" %>
<%= javascript_include_tag "slider" %>
<%= javascript_include_tag "swfobject" %>
<%= javascript_include_tag "tiny_mce/tiny_mce" %>
<%= javascript_include_tag 'redbox' %>
<% end -%>
<%= javascript_include_tag 'active_table' %>
<%= javascript_include_tag 'shortcut' %>

<%= @header if @header %>
<%= @extra_header if @extra_header %>
<% if @js_header -%>
  <% @js_header.uniq.each do |js| -%>
    <% if js.to_s.include?('http://') -%>
      <script src="<%= vh js %>" type='text/javascript'></script>
    <% else -%>
      <%= javascript_include_tag js %>
    <% end -%>
  <% end -%>
<% end -%>
<% if @css_header -%>
  <% @css_header.uniq.each do |css| -%>
    <%= stylesheet_link_tag css %>
  <% end -%>
<% end -%>

error: pathspec 'app/views/application/_header.rhtml' did not match any file(s) known to git


Patch from bousquet to make small fix to admin panel. fixes #58

git-svn-id: 70ab0960c3db1cbf656efd6df54a8f3de72dc710@207 820eb932-12ee-0310-9ca8-eeb645f39767

Tasks:

<%= link_to 'Back to blog', :controller => "/" %>

Blog settings

  <%= start_form_tag %>

General settings

    <% for field in @fields -%>

      <%= field.desc %>

      <%= settings_field field %>

    <% end %>

Spam Protection settings

    <% for field in @sp_fields -%>

      <%= field.desc %>

      <%= settings_field field %>

    <% end %>

    <%= save %>

  <%= end_form_tag %>

Tasks:

<%= link_to 'Back to blog', :controller => "/" %>

  <%= start_form_tag %>

Blog settings

General settings

    <% for field in @fields -%>

      <%= field.desc %>

      <%= settings_field field %>

    <% end %>

Spam Protection settings

    <% for field in @sp_fields -%>

      <%= field.desc %>

      <%= settings_field field %>

    <% end %>

    <%= save %>

  <%= end_form_tag %>


Don't break Overview on deletion of user that has edited the Wiki


Slight wording change

Slight wording change

<% @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.

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 made 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?

Not using this site. 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.

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 questions

Who gets to see my email address?

We will not disclose your email address to anyone, including the public
authority you are sending a request to, unless we are obliged to by law,
or you ask us to. 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?

Yes, you can (although we encourage you to use your real name,
see the question just above). 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.  Saying that, you can avoid the problem
by simply making your pseudonym look like a real person's name, as there is no
general obligation to prove your identity.

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."

What will you do to me if I annotate requests with nonsense?

It won't be pretty :).

Seriously, 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, content-free political discussions are not allowed, but
do post a link to a suitable forum elsewhere.

For example, if you think you know the reason someone posted a request,
and you don't approve of it, do not write a complex rant in the annotation.
Instead, simply write a short sentence, and link to another website which
already explains it in detail.

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 got 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 copyright 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?

Freedom of Information responses contain public information, which anybody could
easily request again from the public authority. Therefore,
there is no reason they shouldn't be published on the Internet. There are lots
of benefits - everything from preventing duplicate requests, to getting the public
more involved and interested in the work of government.

Are the people making requests real people?

Yes. The people are real people, for whom we have a verified email address
unique to each person.

Each request made by each person is also given a unique email, so that we
can keep track of and publish the responses. 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.

Won't I be breaking copyright law by sending a response that you then publish?

No, you will simply be replying to an FOI request by email (the "expressed
preference" of the requester, under
section
11(1) of the Freedom of Information Act). That we are later republishing your
response is a separate matter of copyright law, and not something which FOIA lists
as a reason for rejecting a request.

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.

<% @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.

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 made 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?

Not using this site. 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.

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 questions

Who gets to see my email address?

We will not disclose your email address to anyone, including the public
authority you are sending a request to, unless we are obliged to by law,
or you ask us to. 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?

Yes, you can (although we encourage you to use your real name,
see the question just above). 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.  Saying that, you can avoid the problem
by simply making your pseudonym look like a real person's name, as there is no
general obligation to prove your identity.

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."

What will you do to me if I annotate requests with nonsense?

It won't be pretty :).

Seriously, 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, content-free political discussions are not allowed, but
do post a link to a suitable forum elsewhere.

For example, if you think you know the reason someone posted a request,
and you don't approve of it, do not write a complex rant in the annotation.
Instead, simply write a short sentence, and link to another website which
already explains it in detail.

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 got 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 copyright 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?

Freedom of Information responses contain public information, which anybody could
easily request again from the public authority. Therefore,
there is no reason they shouldn't be published on the Internet. There are lots
of benefits - everything from preventing duplicate requests, to getting the public
more involved and interested in the work of government.

Are the people making requests real people?

Yes. The people are real people, for whom we have a verified email address
unique to each person.

Each request made by each person is also given a unique email, so that we
can keep track of and publish the responses. But if it says the same name
on two requests, they were made by the same person.

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.

Won't I be breaking copyright law by sending a response that you then publish?

No, you will simply be replying to an FOI request by email (the "expressed
preference" of the requester, under
section
11(1) of the Freedom of Information Act). That we are later republishing your
response is a separate matter of copyright law, and not something which FOIA lists
as a reason for rejecting a request.

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.


Tweak formatting and wording a bit.

Tweak formatting and wording a bit.

<% @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 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 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.

<% @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 for accessing official information is very
similar to that to the rest of the UK, however there are a few notable differences (especially around time limits for compliance and
pseudonyms).  The Scottish Information Commissioner's website
contains specific guidance on the Scottish legislation.

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 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.


Oops, forgot to add the view.

Oops, forgot to add the view.

<% @title = :account_manager_title.t %>

<% form_tag(:action => "manager") do %>
  <%= :account_manager_ids.t %>
    <%= text_field_tag('ids', @users.map(&:id).map(&:to_s).join(', '), :size => 40) %>

  <%= :account_manager_login.t %>
    <%= text_field_tag('login', '', :size => 40) %>

  <%= :account_manager_name.t %>
    <%= text_field_tag('name', '', :size => 40) %>

  <%= :account_manager_email.t %>
    <%= text_field_tag('email', '', :size => 40) %>

  <input type="submit" value="<%= :SUBMIT.l %>" />

  <% if !@users.empty? %>

        <%= :ID.t %>
        <%= :LOGIN_NAME.t %>
        <%= :FULL_NAME.t %>
        <%= :EMAIL_ADDRESS.t %>
        <%= :PASSWORD.t %>
        <%= :account_manager_verified.t %>
        <%= :account_manager_last_login.t %>
        <%= :account_manager_actions.t %>

      <% for user in @users %>

          <%= user.id %>
          <%= h(user.login) %>
          <%= h(user.name) %>
          <%= text_field_tag("email_#{user.id}", user.email, :size => 20) %>
          <%= text_field_tag("password_#{user.id}", '', :size => 20) %>
          <%= if user.verified
              user.verified.web_date
            else
              check_box_tag("verified_#{user.id}", :checked => !!user.verified)
            end %>
          <%= user.last_login ? user.last_login.web_date : '' %>

            <%= link_to(:account_manager_alert.t, :action => 'create_alert', :id => user.id) %> |
            <%= link_to(:account_manager_bonus.t, :controller => 'observer',
                        :action => 'change_user_bonuses', :id => user.id) %>

      <% end %>

    <input type="submit" value="<%= :SUBMIT.l %>" />

  <% end %>
<% end %>

error: pathspec 'app/views/account/manager.rhtml' did not match any file(s) known to git


again

again

error: pathspec 'app/views/admin/mediamaids/index.rhtml' did not match any file(s) known to git


remove band option from forgot password

remove band option from forgot password


layout fixes

layout fixes

Abrechnung

<% form_remote_for :cash_register, @register, :update => 'cash', :url => { :action => 'calculate_cash' } do |f| %>

	<% for i in [ 200, 100, 50, 20, 10, 5, 2, 1, 0.5, 0.2, 0.1, 0.05 ] %>

		<%=h i %>:
		<%= f.text_field "cash_#{i}", :size => 4, :style => "text-align: right" %>

	<% end %>

		Total:

		<%= submit_tag 'Ausrechnen' %>

<% end %>

<% form_for :day, @day, :url => { :action => 'update', :id => @day } do |f| %>

		Tag
		<%= f.text_field 'date', :label => 'Tag' %>

		Bar
		<%= f.text_field 'cash', :label => 'Bar' %>

		Karten
		<%= f.text_field 'cards', :label => 'Karten' %>

		Trinkgeld
		<%= f.text_field 'tip', :label => 'Trinkgeld' %>

		Abweichung
		<%= f.text_field 'error', :label => 'Abweichung' %>

		<%= submit_tag 'Abschliessen' %>

<% end %>

Abrechnung

<% form_remote_for :cash_register, @register, :update => 'cash', :url => { :action => 'calculate_cash' } do |f| %>

	<% for i in [ 200, 100, 50, 20, 10, 5, 2, 1, 0.5, 0.2, 0.1, 0.05 ] %>

		<%=h i %>:
		<%= f.text_field "cash_#{i}", :size => 4 %>

	<% end %>

		Total:

		<%= submit_tag 'Ausrechnen' %>

<% end %>

<% form_for :day, @day, :url => { :action => 'update', :id => @day } do |f| %>

		Tag
		<%= f.text_field 'date', :label => 'Tag' %>

		Bar
		<%= f.text_field 'cash', :label => 'Bar' %>

		Karten
		<%= f.text_field 'cards', :label => 'Karten' %>

		Trinkgeld
		<%= f.text_field 'tip', :label => 'Trinkgeld' %>

		Abweichung
		<%= f.text_field 'error', :label => 'Abweichung' %>

		<%= submit_tag 'Abschliessen' %>

<% end %>


hを使うよう修正。

hを使うよう修正。

git-svn-id: d766b2a131eb5d649bacb6a45bc0bcd899bdfdb3@439 c938ebee-df10-0410-95fc-be8c4b0ebdd5

<%= format_date_full(@date)%>

          支出
          ￥<%= number_with_delimiter(@total_expense)%>
          収入
          ￥<%= number_with_delimiter(@total_income)%>
          <%= h @account.name%>の残高
          ￥<%= number_with_delimiter(@balance_at_the_end)%>

      <% if @deals.empty? %>

記入がありません。

      <% else %>

              摘要
              出金
              入金
              残高

            <%= number_with_delimiter(balance = @balance_at_the_start) %>

          <% for deal in @deals %>
            <% if deal.kind_of?(Deal) %>
              <% # 明細、左欄、右欄を用意する %>
              <% target_entry = deal.account_entries.detect{|e| e.account_id == @account.id} %>
              <% balance += target_entry.amount if target_entry %>
              <% target_entry ||= deal.account_entries.detect{|e| e.account.type_in? :asset}%>
              <% sub_summary = deal.account_entries.detect{|e| e != target_entry}.account.name %>
              <% if target_entry.amount <= 0 %>
                <% left_entry = target_entry %>
                <% right_entry = nil %>
              <% else %>
                <% left_entry = nil %>
                <% right_entry = target_entry %>
              <% end %>

                <%= deal.daily_seq %>	<%= h deal.summary%>	<%= h sub_summary %>
                <% if target_entry.account_id == @account.id %>
                  <%= number_with_delimiter(left_entry.amount * -1) if left_entry %>
                  <%= number_with_delimiter(right_entry.amount) if right_entry %>
                  <%= number_with_delimiter(balance) %>
                <% else %>
                  <% if left_entry %>
                    * <%= number_with_delimiter(left_entry.amount * -1)%>
                    <%= h left_entry.account.name%>から
                  <% else %>
                    <%= h right_entry.account.name%>へ
                    * <%= number_with_delimiter(right_entry.amount)%>
                  <% end %>
                  -
                <% end %>

            <% else # 残高 %>

                <%= deal.daily_seq%>	残高記入

                <% balance = deal.account_entries[0].balance %>
                <%= number_with_delimiter(balance) %>

            <% end %>
          <% end %>

            <%= number_with_delimiter(balance) %>

      <% end %>

<%= format_date_full(@date)%>

          支出
          ￥<%= number_with_delimiter(@total_expense)%>
          収入
          ￥<%= number_with_delimiter(@total_income)%>
          <%= @account.name%>の残高
          ￥<%= number_with_delimiter(@balance_at_the_end)%>

      <% if @deals.empty? %>

記入がありません。

      <% else %>

              摘要
              出金
              入金
              残高

            <%= number_with_delimiter(balance = @balance_at_the_start) %>

          <% for deal in @deals %>
            <% if deal.kind_of?(Deal) %>
              <% # 明細、左欄、右欄を用意する %>
              <% target_entry = deal.account_entries.detect{|e| e.account_id == @account.id} %>
              <% balance += target_entry.amount if target_entry %>
              <% target_entry ||= deal.account_entries.detect{|e| e.account.type_in? :asset}%>
              <% sub_summary = deal.account_entries.detect{|e| e != target_entry}.account.name %>
              <% if target_entry.amount <= 0 %>
                <% left_entry = target_entry %>
                <% right_entry = nil %>
              <% else %>
                <% left_entry = nil %>
                <% right_entry = target_entry %>
              <% end %>

                <%= deal.daily_seq %>	<%= deal.summary%>	<%= sub_summary %>
                <% if target_entry.account_id == @account.id %>
                  <%= number_with_delimiter(left_entry.amount * -1) if left_entry %>
                  <%= number_with_delimiter(right_entry.amount) if right_entry %>
                  <%= number_with_delimiter(balance) %>
                <% else %>
                  <% if left_entry %>
                    * <%= number_with_delimiter(left_entry.amount * -1)%>
                    <%= left_entry.account.name%>から
                  <% else %>
                    <%= right_entry.account.name%>へ
                    * <%= number_with_delimiter(right_entry.amount)%>
                  <% end %>
                  -
                <% end %>

            <% else # 残高 %>

                <%= deal.daily_seq%>	残高記入

                <% balance = deal.account_entries[0].balance %>
                <%= number_with_delimiter(balance) %>

            <% end %>
          <% end %>

            <%= number_with_delimiter(balance) %>

      <% end %>


Change view to reference new name.

Change view to reference new name.

<% for t in body.tags %>
    <% if t.value %>
        <%= link_to(h(t.name), main_url(list_public_bodies_url(:tag => t.name, :only_path => true))) %>:<%= link_to(h(t.value), main_url(list_public_bodies_url(:tag => t.name_and_value, :only_path => true))) %>
    <% else %>
        <%= link_to(h(t.name), main_url(list_public_bodies_url(:tag => t.name, :only_path => true))) %>
    <% end %>
    (<a href="<%= admin_url('body/list') %>?query=<%= h(t.name)%>">admin)
<% end %>

<% for t in body.public_body_tags %>
    <% if t.value %>
        <%= link_to(h(t.name), main_url(list_public_bodies_url(:tag => t.name, :only_path => true))) %>:<%= link_to(h(t.value), main_url(list_public_bodies_url(:tag => t.name_and_value, :only_path => true))) %>
    <% else %>
        <%= link_to(h(t.name), main_url(list_public_bodies_url(:tag => t.name, :only_path => true))) %>
    <% end %>
    (<a href="<%= admin_url('body/list') %>?query=<%= h(t.name)%>">admin)
<% end %>


Search examples for the front page (issue #153)

error: pathspec 'lib/views/general/_frontpage_search_examples.rhtml' did not match any file(s) known to git


ticket 32 fixed - Created duplicate entry and could not delete it

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/doug-c/rubytime.git/'


Include request port in Timer window url


remove no comments message when a comment is added


Minor Add/Edit show improvements

Minor Add/Edit show improvements


Show machine tags in admin interface

Show machine tags in admin interface

<%= body.public_body_tags.map { |t|
        link_to(h(t.name_and_value), main_url(list_public_bodies_url(:tag => t.name, :only_path => true))) +
            ' (admin)'
    }.join(' ') %>

<%= body.public_body_tags.map { |t|
        link_to(h(t.name), main_url(list_public_bodies_url(:tag => t.name, :only_path => true))) +
            ' (admin)'
    }.join(' ') %>


[ClockingIT @ Only find updator if there is an updator]


credits

credits


Whoops, forgot to add this.

Whoops, forgot to add this.

<% @title = "Details of request '" + h(@info_request.title) + "'" %>

<%="Details of request '" + request_link(@info_request) + "'" %>

Event history

This table shows the technical details of the internal events that happened
to this request on WhatDoTheyKnow. This could be used to generate information about
the speed with which authorities respond to requests, the number of requests
which require a postal response and much more.

Caveat emptor! To use this data in an honourable way, you will need
a good internal knowledge of user behaviour on WhatDoTheyKnow. How,
why and by whom requests are categorised is not straightforward, and there will
be user error and ambiguity. You will also need to understand FOI law, and the
way authorities use it. Plus you'll need to be an elite statistician.  Please
contact us with questions.

<% columns = ['id', 'event_type', 'created_at', 'described_state', 'calculated_state', 'last_described_at' ] %>

  <% for column in @columns%>
    <%= column %>
  <% end %>

<% for info_request_event in @info_request.info_request_events.find(:all, :order => "created_at, id") %>
  <tr class="<%= cycle('odd', 'even') %>">
  <% for column in @columns %>

      <%=h info_request_event.send(column) %>

  <% end %>

<% end %>

Here described means when a user selected a status for the request, and
the most recent event had its status updated to that value. calculated is then inferred by
WhatDoTheyKnow for intermediate events, which weren't given an explicit
description by a user. See the search tips for description of the states.

error: pathspec 'app/views/request/details.rhtml' did not match any file(s) known to git


Show correct date of event, rather than last sent date.

<%  @last_email = nil

    if (correspondence.class.to_s == 'IncomingMessage')
    incoming_message = correspondence%>
    <%= render :partial => 'bubble', :locals => { :body => incoming_message.get_body_for_display(@collapse_quotes) }  %>

    <% if incoming_message.mail.from and (not incoming_message.mail.friendly_from.include?('@')) %>
        <%= incoming_message.mail.friendly_from %> of
    <% end %>
    <%= public_body_link(@info_request.public_body) %>
    <% if incoming_message.contains_information %>
        sent some useful information
    <% else %>
        replied
    <% end %>
    on <%= simple_date(incoming_message.sent_at) %>
    <% if not incoming_message.user_classified %>
        — please <%= link_to "classify this response", classify_request_url(:incoming_message_id => incoming_message.id) %>
    <% end %>

<% elsif (correspondence.class.to_s == 'InfoRequestEvent')
    info_request_event = correspondence
    if info_request_event.event_type == 'sent'
        outgoing_message = OutgoingMessage.find(info_request_event.params[:outgoing_message_id])
        %>
        <%= render :partial => 'bubble', :locals => { :body => outgoing_message.get_body_for_display() }  %>

            <%= user_link(@info_request.user) %>

            <% if outgoing_message.message_type == 'initial_request' %>
                sent the initial request
                <% if outgoing_message.status == 'sent' %>
                    to <%= public_body_link(@info_request.public_body) %>
                    on <%= simple_date(info_request_event.sent_at) %>
                <% elsif outgoing_message.status == 'ready' %>
                    it has not yet been sent
                <% else raise "unknown outgoing_message.status" %>
                <% end %>
            <% else raise "unknown outgoing_message.message_type" %>
            <% end %>

    <% elsif info_request_event.event_type == 'resent' %>

        Sent to <%= public_body_link(@info_request.public_body) %>
        again (perhaps to a new contact address)
        on <%= simple_date(info_request_event.sent_at) %>

    <%
    end
    if ['sent', 'resent'].include?(info_request_event.event_type)
         @last_email = info_request_event.params[:email]
    end
    %>
<% else %>
    <% raise "Unknown correspondence type " + correspondence.class.to_s %>
<% end %>

<%  @last_email = nil

    if (correspondence.class.to_s == 'IncomingMessage')
    incoming_message = correspondence%>
    <%= render :partial => 'bubble', :locals => { :body => incoming_message.get_body_for_display(@collapse_quotes) }  %>

    <% if incoming_message.mail.from and (not incoming_message.mail.friendly_from.include?('@')) %>
        <%= incoming_message.mail.friendly_from %> of
    <% end %>
    <%= public_body_link(@info_request.public_body) %>
    <% if incoming_message.contains_information %>
        sent some useful information
    <% else %>
        replied
    <% end %>
    on <%= simple_date(incoming_message.sent_at) %>
    <% if not incoming_message.user_classified %>
        — please <%= link_to "classify this response", classify_request_url(:incoming_message_id => incoming_message.id) %>
    <% end %>

<% elsif (correspondence.class.to_s == 'InfoRequestEvent')
    info_request_event = correspondence
    if info_request_event.event_type == 'sent'
        outgoing_message = OutgoingMessage.find(info_request_event.params[:outgoing_message_id])
        %>
        <%= render :partial => 'bubble', :locals => { :body => outgoing_message.get_body_for_display() }  %>

            <%= user_link(@info_request.user) %>

            <% if outgoing_message.message_type == 'initial_request' %>
                sent the initial request
                <% if outgoing_message.status == 'sent' %>
                    to <%= public_body_link(@info_request.public_body) %>
                    on <%= simple_date(outgoing_message.sent_at) %>
                <% elsif outgoing_message.status == 'ready' %>
                    it has not yet been sent
                <% else raise "unknown outgoing_message.status" %>
                <% end %>
            <% else raise "unknown outgoing_message.message_type" %>
            <% end %>

    <% elsif info_request_event.event_type == 'resent' %>

        Sent to <%= public_body_link(@info_request.public_body) %>
        again (perhaps to a new contact address)
        on <%= simple_date(info_request_event.sent_at) %>

    <%
    end
    if ['sent', 'resent'].include?(info_request_event.event_type)
         @last_email = info_request_event.params[:email]
    end
    %>
<% else %>
    <% raise "Unknown correspondence type " + correspondence.class.to_s %>
<% end %>


ヘッダーメニュー

ヘッダーメニュー

<li class="<%= menu_active_rex(%r{^/index.html$}) %>">Home

<li class="<%= menu_active("sample1") %>">Sample 1

<li class="<%= menu_active("sample2") %>">Sample 2

<li class="<%= menu_active("about") %>">About

error: pathspec 'project/standard/_smc/templates/menu.rhtml' did not match any file(s) known to git


[ClockingIT @ Add tooltip to hide waiting checkbox]


Respect ADMIN_BASE_URL

Respect ADMIN_BASE_URL

It turns out the admin layout has NEVER respected ADMIN_BASE_URL.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

      <meta http-equiv="content-type" content="text/html;charset=UTF-8" >
      <title><%= site_name %> admin<%= @title ? ":" : "" %> <%=@title%></title>

      <%= javascript_include_tag 'jquery.js', 'jquery-ui.min' %>

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

    <%= link_to 'Alaveteli', main_url('/') %> admin:
    <%= link_to 'Summary', admin_url("") %>
    | <%= link_to 'Timeline', admin_url("timeline") %>
    | <%= link_to 'Stats', admin_url("stats") %>
    | <%= link_to 'Debug', admin_url("debug") %>
    View:
    <%= link_to 'Authorities', admin_url("body/list") %>
    | <%= link_to 'Requests', admin_url("request/list") %>
    | <%= link_to 'Users', admin_url("user/list") %>
    | <%= link_to 'Tracks', admin_url("track/list") %>

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

    <% if flash[:error] %>

<%= flash[:error] %>

    <% end %>

    <% if flash[:notice] %>

<%= flash[:notice] %>

    <% end %>

    <%= yield  %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

      <meta http-equiv="content-type" content="text/html;charset=UTF-8" >
      <title><%= site_name %> admin<%= @title ? ":" : "" %> <%=@title%></title>

      <%= javascript_include_tag 'jquery.js', 'jquery-ui.min' %>

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

    <%= link_to 'Alaveteli', main_url('/') %> admin:
    <%= link_to 'Summary', admin_general_index_path %>
    | <%= link_to 'Timeline', admin_timeline_path %>
    | <%= link_to 'Stats', admin_stats_path %>
    | <%= link_to 'Debug', admin_debug_path %>
    View:
    <%= link_to 'Authorities', admin_body_list_path %>
    | <%= link_to 'Requests', admin_request_list_path %>
    | <%= link_to 'Users', admin_user_list_path %>
    | <%= link_to 'Tracks', admin_track_list_path %>

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

    <% if flash[:error] %>

<%= flash[:error] %>

    <% end %>

    <% if flash[:notice] %>

<%= flash[:notice] %>

    <% end %>

    <%= yield  %>


Forgot

Forgot

Edit basic details of request

<%= error_messages_for 'info_request' %>

<% form_tag '../update/' + @info_request.id.to_s do %>

Title

   <%= text_field 'info_request', 'title', :size => 50  %>

Prominence

   <%= select( 'info_request', "prominence", { "normal" => "normal", "backpage" => "backpage"}) %>

  <%= submit_tag 'Save' %>

Note: To edit the actual request body text, click edit
  next to the specific outgoing message.

<% end %>

<%= link_to 'Show', '../show/' + @info_request.id.to_s %> |
<%= link_to 'List all', '../list' %>

error: pathspec 'app/views/admin_request/edit.rhtml' did not match any file(s) known to git


Help Us Improve box for shows

Help Us Improve box for shows


Update

Update

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/gamegenius/ggmc.git/'


better handling of messed up photos

better handling of messed up photos


Escaping bug. Stopped search for bodies working properly if they had ampersand in their name.

Make requests in public for UK government information

    <% if @public_bodies.size == 0 and @query_made %>

            Sorry! We couldn't find any public authorities with that in their names.
            Either browse them all or
            help us add it.

    <% end %>

    <% form_tag({:action => :frontpage}, :method => 'get', :id => 'public_body_form', :class => 'plaque' ) do %>

            Find the public authority you would like information from:

            <%= text_field_with_auto_complete 'public_body', 'query', {}, { :skip_style => true, :frequency => 0.1,
                :after_update_element =>
                  "function(element,value) {
                      parent.window.location = '/?public_body[query]=' + encode(element.value)
                  }"
                } %>

            Type to search e.g. Health, Business, Scotland

            <%= submit_tag "Search" %>

        <% if @public_bodies.size > 0 %>

                    Public authorities found
                <% for public_body in @public_bodies %>

                        <%= link_to h(public_body.name), new_request_to_body_url(:public_body_id => public_body.id.to_s) %>

                <% end %>

        <% end %>

            Can't find it? Browse all or ask us to add it.

    <% end %>

Explore government information that others received

    <% if @xapian_object.results.empty? %>

None yet.

    <% else %>
        <% for result in @xapian_object.results %>
            <% if result[:model].class.to_s == 'InfoRequestEvent' %>
                <%= render :partial => 'request/request_listing_via_event', :locals => { :event => result[:model], :info_request => result[:model].info_request } %>
            <% else %>

Unexpected search result type <%=result[:model].class.to_s%>

            <% end %>
        <% end %>
    <% end %>

<%=link_to "More recent successful responses", request_list_url(:view => 'successful') %>

    <% form_tag({:action => "search_redirect"}, {:id => "search_form"}) do %>

           <%= text_field_tag 'query', params[:query], { :size => 20 } %>
           <%= submit_tag "Search" %>

    <% end %>

Make requests in public for UK government information

    <% if @public_bodies.size == 0 and @query_made %>

            Sorry! We couldn't find any public authorities with that in their names.
            Either browse them all or
            help us add it.

    <% end %>

    <% form_tag({:action => :frontpage}, :method => 'get', :id => 'public_body_form', :class => 'plaque' ) do %>

            Find the public authority you would like information from:

            <%= text_field_with_auto_complete 'public_body', 'query', {}, { :skip_style => true, :frequency => 0.1,
                :after_update_element =>
                  "function(element,value) {
                      parent.window.location = '/?public_body[query]=' + element.value
                  }"
                } %>

            Type to search e.g. Health, Business, Scotland

            <%= submit_tag "Search" %>

        <% if @public_bodies.size > 0 %>

                    Public authorities found
                <% for public_body in @public_bodies %>

                        <%= link_to h(public_body.name), new_request_to_body_url(:public_body_id => public_body.id.to_s) %>

                <% end %>

        <% end %>

            Can't find it? Browse all or ask us to add it.

    <% end %>

Explore government information that others received

    <% if @xapian_object.results.empty? %>

None yet.

    <% else %>
        <% for result in @xapian_object.results %>
            <% if result[:model].class.to_s == 'InfoRequestEvent' %>
                <%= render :partial => 'request/request_listing_via_event', :locals => { :event => result[:model], :info_request => result[:model].info_request } %>
            <% else %>

Unexpected search result type <%=result[:model].class.to_s%>

            <% end %>
        <% end %>
    <% end %>

<%=link_to "More recent successful responses", request_list_url(:view => 'successful') %>

    <% form_tag({:action => "search_redirect"}, {:id => "search_form"}) do %>

           <%= text_field_tag 'query', params[:query], { :size => 20 } %>
           <%= submit_tag "Search" %>

    <% end %>


Need to specify javascript type in script tags

<%= render :partial => 'help/alpha_notice' %>

Make requests for information from the UK Government

    <% if @public_bodies.size == 0 and @query_made %>

            Sorry! We couldn't find any public bodies with that in their names.
            Either browse them all or
            ask us to add the one you want.

    <% end %>

    <% form_tag({:action => :frontpage}, :method => 'get', :id => 'public_body_form', :class => 'plaque' ) do %>

            Find the public body you would like information from:

            <%= text_field_with_auto_complete 'public_body', 'query', {}, { :skip_style => true, :frequency => 0.1,
                :after_update_element =>
                  "function(element,value) {
                      parent.window.location = '/?public_body[query]=' + element.value
                  }"
                } %>

            Type to search e.g. Health, Business, Scotland

            <%= submit_tag "Search" %>

        <% if @public_bodies.size > 0 %>

                    Public bodies found
                <% for public_body in @public_bodies %>

                        <%= link_to h(public_body.name), new_request_to_body_url(:public_body_id => public_body.id.to_s) %>

                <% end %>

        <% end %>

            Can't find it? Browse all or ask us to add it.

    <% end %>

Explore information that others requested

    <%= render :partial => 'request_listing', :locals => { :info_requests => @info_requests } %>

View all information


Escape error details to avoid XSS potential

 <% if @status == 404 %>

<%= _("Sorry, we couldn't find that page") %>

<%= _("The page doesn't exist. Things you can try now:")%>

<%= _("Check for mistakes if you typed or copied the address.")%>

<%= _("Search the site to find what you were looking for.")%>
      <% form_tag({:controller => "general", :action => "search_redirect"}, {:id => "search_form"}) do %>
             <%= text_field_tag 'query', params[:query], { :size => 30 } %>
             <%= submit_tag _("Search") %>
      <% end %>

 <% else %>

<%= _("Sorry, there was a problem processing this page") %>

<%= _('You have found a bug.  Please contact us to tell us about the problem', :contact_url => help_contact_path) %>

 <% end %>

<%= _('Technical details') %>

<%= h(@exception_class ? @exception_class : _("Unknown")) %>

<%= h(@exception_message) %>

 <% if @status == 404 %>

<%= _("Sorry, we couldn't find that page") %>

<%= _("The page doesn't exist. Things you can try now:")%>

<%= _("Check for mistakes if you typed or copied the address.")%>

<%= _("Search the site to find what you were looking for.")%>
      <% form_tag({:controller => "general", :action => "search_redirect"}, {:id => "search_form"}) do %>
             <%= text_field_tag 'query', params[:query], { :size => 30 } %>
             <%= submit_tag _("Search") %>
      <% end %>

 <% else %>

<%= _("Sorry, there was a problem processing this page") %>

<%= _('You have found a bug.  Please contact us to tell us about the problem', :contact_url => help_contact_path) %>

 <% end %>

<%= _('Technical details') %>

<%=@exception_class ? @exception_class : _("Unknown")%>

<%=@exception_message %>


ActionItem392: s/h2/h1/

ActionItem392: s/h2/h1/

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

<% if @article %>

    <%= icon('cms') %>
    <%= link_to profile.identifier, :action => 'index' %>
    <%= @article.hierarchy.map {|item| " / " + ((item == @article) ? item.name : link_to(item.name, :id => item.id)) } %>

<% else %>

    <%= icon('cms') %>
    <%= _('Content management') %>

<% end %>

<% button_bar(:style => 'margin-bottom: 1em;') do %>
  <% parent_id = ((@article && @article.allow_children?) ? @article : nil) %>
  <%= button :add, _('New folder'), :action => 'new', :type => 'Folder', :parent_id => parent_id %>
  <%= lightbox_button('new', _('New article'), :action => 'new', :parent_id => parent_id) %>
<% end %>

  <%# header %>

    <%= _('Name') %>
    <%= _('Type') %>
    <%= _('Actions') %>

  <%# folders %>
  <% for folder in @folders %>

        <%= image_tag(icon_for_article(folder)) %>
        <%= link_to folder.name, :action => 'view', :id => folder.id %>

        <%= folder.class.short_description %>

        <%= link_to _('Properties'), :action => 'edit', :id => folder.id %>
        <%= link_to _('Public view'), folder.url %>
        <%= link_to _('Delete'), { :action => 'destroy', :id => folder.id }, :method => :post, :confirm => _('Are you sure that you want to remove this folder? Note that all the items inside it will also be removed!') %>

  <% end %>

  <%# non-folder subitems %>
  <% unless @folders.empty? %>

  <% end %>
  <% for item in @subitems %>

        <%= image_tag(icon_for_article(item)) %>
        <%= link_to item.name, :action => 'edit', :id => item.id %>

        <%= item.class.short_description %>

        <%= link_to _('Edit'), :action => 'edit', :id => item.id %>
        <%= link_to _('Public view'), item.url %>
        <%= link_to _('Delete'), { :action => 'destroy', :id => item.id }, :method => :post, :confirm => _('Are you sure that you want to remove this item?') %>

  <% end %>

  <% if @subitems.empty? || @folders.empty? %>

<%= _('None') %>

  <% end %>