| Commit message (Collapse) | Author | Age | Lines |
... | |
| | | | |
|
|\ \ \ \ |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Seems more logical to make this one method that figures out what to do
based on file type. Plus, incoming message does so many things, it
seemed like having these related methods be separate would make them
easier to read and understand. Also, email, mobile and login
substitution texts weren't being translated. Finally, I think passing
the censor rules and masks as arguments is a first step in some more
decoupling of models.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem described in http://seclists.org/fulldisclosure/2013/Sep/145
Pattern taken from https://www.coffeepowered.net/2013/09/26/rails-session-cookies/
|
| |/ / /
|/| | |
| | | |
| | | | |
It's also used in the web interface and needs to be escaped there.
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
Include URL and error in notification and log.
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
This sanitises non utf-8 params before they're processed by Rails.
|
|\ \ \ \ \ |
|
| | |_|_|/
| |/| | | |
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Use the per_page parameter to limit the results returned
|
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
Action now supports the `request_from` param as per the Xapian filtering
system to filter search typeaheads by public body
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
It's required in [PublicBody#type_of_authority]( https://github.com/mysociety/alaveteli/blob/rails-3-develop/app/models/public_body.rb#L343-L347)
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Easier to check against the assigned variable, but the spec still fails
because an internal error is raised if the rule is not associated with
a User or InfoRequest
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Direct the (re-rendered) form at the correct route for the association
(or use the generic route if the rule is being created for some other
reason)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Build the CensorRule against the object that is found by an additional
parameter (either :info_request_id or :user_id)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Direct the form at the correct route for the association (or use the
generic route if the rule is being created for some other reason)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Build the CensorRule against the object that is found by an additional
parameter (either :info_request_id or :user_id)
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Note that these specs describe what the system does – not what it
_should_ do!
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Note that these specs describe what the system does – not what it
_should_ do!
|
| | | | |
| | | | |
| | | | |
| | | | | |
Note that these specs describe what the system does – not what it
_should_ do!
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
rails-3-develop
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
PublicBodyCategories
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
interface
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
PublicBodyCategory#load_categories no longer exists, so don't try to
stub it.
Fixes https://github.com/mysociety/alaveteli/issues/1970
|
| | | |
| | | |
| | | | |
Also use double quotes rather than string escaping
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
The spec that covers AdminPublicBodyCategoriesController#index did not
have an expectation
|
| | | |
| | | |
| | | |
| | | |
| | | | |
On an unsuccessful update AdminPublicBodyHeadingsController and
AdminPublicBodyCategoriesController #update should render the #edit
action.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
On a successful update AdminPublicBodyHeadingsController and
AdminPublicBodyCategoriesController #update should redirect to the #edit
action rather than simply rendering the ‘edit’ template.
Fixes https://github.com/mysociety/alaveteli/issues/1977
|
|/ / /
| | |
| | |
| | | |
This commit adds expectations to AdminPublicBodyCategoriesController and
AdminPublicBodyHeadingsController edit actions
|
|\ \ \ |
|