| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
The chevron didn't illustrate that the heading had any category
children. The app uses the badge pattern elsewhere.
Adds minor style improvements:
- Pad erb tags
- Use each instead of for
Fixes https://github.com/mysociety/alaveteli/issues/1962
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Not clear to the user why the form field is sometimes present and
sometimes not present.
The Category tag field may only be modified if authorities have not yet
been assigned to the Category. This commit explains this and disables
the field if this is true.
|
|\ \ |
|
| | |
| | |
| | | |
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
|
| | |
|
| |
| |
| |
| | |
Cleans translations added in df11360
|
| | |
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Provides fix for CVE-2014-7829.
|
| |
| |
| |
| |
| | |
962357c tidied the translation but left the translation call (`_()`)
around the variable rather than the string literal.
|
| |
| |
| |
| |
| |
| | |
Further work on redesigning the request process [1] will reword these
lines, so don't make the translators do work for no gain.
[1] https://github.com/mysociety/alaveteli/issues/1526
|
| |
| |
| |
| |
| |
| |
| | |
Further work on redesigning the request process [1] will reword these
lines, so don't make the translators do work for no gain.
[1] https://github.com/mysociety/alaveteli/issues/1526
|
|\ \ |
|
| | |
| | |
| | | |
Prevents the pagination being squashed up against the window edge
|
|\ \ \
| | | |
| | | |
| | | | |
ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Move the “Can’t find an authority” actions on the
/select_authority page to the right of the search
results
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Make it wider
- Add a placeholder
- Translate placeholder and title text
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Align indentation
- Use named path for form url
- Use %Q() to avoid string escaping
- Use :anchor option to link to help page section
- Use symbols for form tag names
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Clicking a search result now takes the user directly to the authority
show page.
Removes the step numbers from the headers as the show page interrupts
the flow and seems pointless to add workarounds in public_body/show just
for this.
|
| |\ \ \ \ |
|
| | | | | | |
|
| | | |/ /
| | |/| | |
|
| |\ \ \ \
| | |/ / /
| |/| | | |
|
| |/ / /
| | | |
| | | |
| | | | |
Shouldn't really 404 on an important/accessible URL
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
2.0.1 depends on sass 3.3.13 (as described here), which causes segfaults
under ruby 1.8.7 on asset precompilation.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
A temporary measure until https://github.com/aquasync/ruby-msg/pull/10
can be merged. ruby-msg and sass (>=3.3) both define their own versions
of OrderedHash (sass only uses its version under Ruby 1.8.7) and they
conflict.
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The original error `ActionView::Template::Error` that this spec was
written to represent (#1406) occurred under ruby 1.8 when the decoded
non-utf-8 string was used in the locale switcher on the 'not found'
error page to generate a url for the alternative locales.
Under Ruby >= 1.9, the error thrown in that situation is an `invalid
byte sequence in UTF-8` error, thrown in the same place - the locale
switcher. However, no error seems to be thrown when the same param is
used in a request in production.
The upgrade to Rails 3.2.20 causes `String.split` to be called on the
request path in `actionpack/lib/action_dispatch/middleware/static.rb` in
order to check for attempts to access files outside the `public`
directory. This means that under Ruby >= 1.9, an `invalid byte sequence
in UTF-8` error will be thrown there in running this spec.
I think a possible solution is to use the `rack-utf8_sanitizer` gem to
provide middleware to strip invalid utf-8 from request URIs and headers
before they're processed by Rails, but it's currently unclear whether
that would have any undesirable side-effects.
|
| | |
| | |
| | |
| | | |
Arbitrary file existence disclosure in Action Pack
|
| | | |
|
| | | |
|
| | | |
|
| |\ \ |
|
|\ \ \ \ |
|
| | |_|/
| |/| |
| | | | |
These will be moved to whatdotheyknow-theme
|
|\ \ \ \
| |/ / /
|/| | |
| | | | |
rails-3-develop
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Introduced in 4f501309ade230f65f4ba45e1d0161e89587d755 but no longer
needed as we don't proxy the admin interface.
|
| |/ / |
|
|\ \ \ |
|
| | | | |
|