| Commit message (Collapse) | Author | Age | Lines |
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
app/controllers/admin_public_body_controller.rb
app/views/admin_public_body/import_csv.rhtml
spec/controllers/admin_public_body_controller_spec.rb
spec/models/info_request_spec.rb
|
| | |
|
| |
| |
| |
| | |
created with the text of the rule.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
apply rules from its public body.
|
| |
| |
| |
| | |
Apply global rules to every request, not regex rules.
|
| |
| |
| |
| | |
when uploading via CSV)
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
If someone reports an external request as needing administrator
attention, we should email the administrators about it.
Thanks for spotting this, @crowbot.
|
| |
| |
| |
| | |
Closes #554.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also make the InfoRequest#is_old_unclassified? method a little
more conservative, by returning false only is the is_external?
method returns true. This makes it subtly inconsistent with
InfoRequest.find_old_unclassified, but it is better I think to
be subtly inconsistent than to risk breaking things that used
to work.
|
| |
| |
| |
| |
| | |
We certainly do not want to send reminder emails for such requests,
for example, since we do not know the email address to send them to.
|
| |
| |
| |
| | |
We do not send messages for external requests. See #548.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
app/controllers/admin_request_controller.rb
config/httpd.conf
spec/models/info_request_spec.rb
|
| | |
| | |
| | |
| | | |
cache the associated objects for an info request in the file cache which will be served up without authentication.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We have a PDF document that appears to send pdftohtml into a loop
where it creates millions of tiny PDF files and consumes ever-increasing
amounts of memory.
(This document: http://www.whatdotheyknow.com/request/119267/response/296719/attach/5/Document%203.pdf)
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
We have a PDF document that appears to send pdftohtml into a loop
where it creates millions of tiny PDF files and consumes ever-increasing
amounts of memory.
(This document: http://www.whatdotheyknow.com/request/119267/response/296719/attach/5/Document%203.pdf)
|
| |
| |
| |
| | |
doesn't have a PublicBody at the time its slug is being calculated.
|
|/
|
|
| |
CensorRules that aren't attached to a User or Request or Public Body (but don't expose this in the admin UI). Fixes #33
|
| |
|
|
|
|
|
| |
Let’s use 33 bytes consistently for the API key, to avoid an = pad
at the end when it’s base64-encoded.
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
Gemfile.lock
script/handle-mail-replies
script/handle-mail-replies.rb
spec/controllers/request_controller_spec.rb
|
| |\ |
|
| | |
| | |
| | |
| | | |
Otherwise we issue PURGEs every time, for example, we send out email alerts.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
requested the attention, not the user who made the original request.
|
|\ \ \
| |/ /
|/| | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Make the info_request validation a bit more forgiving, so that non-
logged-in users may create requests.
|
| | |
| | |
| | |
| | |
| | | |
Even external requests need to be indexed, for which we need a
slug representing the user.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fail in a less baffling way if the raw email is associated with an
incoming message or an info request that has not yet been saved to
the database.
|
| | |
| | |
| | |
| | | |
That comment makes precisely no sense whatever, any more.
|
| | |
| | |
| | |
| | |
| | | |
Add data model support for “external” requests, i.e. requests added
via the API rather than made using the site.
|
| |/ |
|
|/ |
|
| |
|
|
|
|
|
| |
When a user is notified of a request having been hidden,
BCC the site admin team.
|
|
|
|
|
|
|
| |
It’s weird that there’s so much code here that implicitly
assumes File.dirname(__FILE__) is an absolute path, because
really in general it very much is not! This assumption was
invalidated by the recent bundler-awareness changes.
|
| |
|
|
|
|
|
|
| |
* Change "email me about stuff" wording to "follow" throughout
* Introduce a new flag that the user can set, which controls if they get email alerts
* Add a new link to a "wall" for logged in users where they can see a feed of all the things they're following
|