| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
The pages for these search results are extremely slow to load. This
is not an ideal solution by any means. Really we want to dig into why
high offsets are so slow, and whether there's anything we can do to
fix that.
|
|\ |
|
| | |
|
|/ |
|
|\ |
|
| | |
|
|/
|
|
|
|
|
|
| |
rails-i18n [1] does not currently support RW. An
I18n::MissingTranslationData exception is raised when one of the keys is
looked up, so adding the EN strings under the RW key will prevent this.
[1] https://github.com/svenfuchs/rails-i18n
|
|\ |
|
| |
| |
| | |
.0 -> .3 because it wasn’t bumped in previous hotfixes
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Attempting to make the import faster when there are lots of public authorities in the database already
|
|\
| |
| |
| |
| | |
Conflicts:
config/general.yml-example
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
7a3b462f41321034cbdd2c83707f739a442e83c6.
The string with the unsubstituted variable pattern was being made
available for translation, instead of the translatable version.
|
| | |
|
| |\ |
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | | |
It's required in [PublicBody#type_of_authority]( https://github.com/mysociety/alaveteli/blob/rails-3-develop/app/models/public_body.rb#L343-L347)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
They'll result in changed behaviour if people don't act. Also, make
clearer what the previous default for INCOMING_EMAIL_PREFIX.
|
| |\| | |
|
| | |\ \
| | | |/
| | |/| |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now that the form submits to a URL containing the parent object’s id
these are no longer required
See:
- 259a0fd588e198d2a826ef4ac09284c610005387
- d5c7e08d58dc5ad52f16eccd9c456543503e4360
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Use resource-oriented form style, building against the censor rule
instance created in the controller
- Use the URL assigned by the controller based on what the censor rule
is being created against
- Use the new route for the buttons directing the admin to the form
- Use consistent styling for button labelling
- Use each instead of for
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Add linebreaks to break up sections
- Remove unused parentheses
- Use unless instead of if !
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Adds specific routes for creating censor rules associated with an info
request or user.
Creates:
POST /admin/info_requests/:info_request_id/censor_rules(.:format)
GET /admin/info_requests/:info_request_id/censor_rules/new(.:format)
POST /admin/users/:user_id/censor_rules(.:format)
GET /admin/users/:user_id/censor_rules/new(.:format)
Using these routes prevents the ID of the association object being lost
when re-rendering the form on an unsuccessful persistence attempt.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
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!
|
| | | | |
|
| | | | |
|
| | | | |
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
rake gettext:clean didn’t adjust the number of space characters in the
msgid, so _() failed to use the translation.
|
| | | | | |
|
| | |\| |
| | | | |
| | | | |
| | | | | |
ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop
|
| | | |\ \ |
|