| Commit message (Collapse) | Author | Age | Lines |
|
|
|
| |
Picks these up in `rake notes` and adds semantic meaning
|
|
|
|
|
|
|
|
|
| |
Extract checking whether a user is banned from making Comments on an
InfoRequest to a filter in CommentController.
Removes responsibility from the #new method.
Adds a missing spec.
|
|
|
|
|
|
|
|
|
|
| |
Fixes https://github.com/mysociety/alaveteli/issues/662
If /annotate/request/:url_title is accessed when comments are disabled
an exception is incorrectly thrown.
Conditionals should be used for control flow, so now the action
redirects to the info_request path and displays a notice.
|
| |
|
|
|
|
| |
Closes #30.
|
|
|
|
|
|
| |
external request.
Fixes #563.
|
|
|
|
|
|
|
|
|
| |
The ad hoc specification of fixtures has been an ongoing source
of bugs in the tests. The straw that broke the camel’s back is
that 7c6eb09 requires the fixtures to be loaded in order (i.e.
children before their parents), and it would have been a painful
process to reorder all the dozens of different fixture lists,
but the test system ought to be more reliable this way.
|
| |
|
|
|
|
| |
:public_bodies fixture is, because the PublicBody objects do not work as expected without it.
|
| |
|
| |
|
| |
|
|
|