aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
Commit message (Collapse)AuthorAgeLines
* Don't pass latest_status param to locale switching links on view requests pageMatthew Landauer2013-02-12-2/+1
|
* Don't pass latest_status param to locale switching links. Fixes #789Matthew Landauer2013-02-12-3/+1
|
* Retain filter settings when redirecting a public body to its canonical urlMatthew Landauer2013-02-12-1/+1
|
* Pass parameters to method rather explicitlyMatthew Landauer2013-02-12-13/+13
|
* Inline methodMatthew Landauer2013-02-12-8/+4
|
* Simplify param_exists methodMatthew Landauer2013-02-12-1/+1
|
* Mark popup banner as html_safeLouise Crow2013-02-08-1/+1
|
* Mark flash string with markup in it as html safe.Louise Crow2013-02-08-1/+1
|
* Mark flash with markup in it as html safe.Louise Crow2013-02-08-1/+1
|
* Merge remote-tracking branch ↵Louise Crow2013-02-07-1/+0
|\ | | | | | | 'openaustralia_github/email_fix_on_contact_page' into develop
| * Fix email link on contact page after escaping changesMatthew Landauer2013-02-07-1/+0
| |
* | Merge remote-tracking branch ↵Louise Crow2013-02-01-1/+1
|\ \ | | | | | | | | | 'openaustralia_github/backport_rails_3_mailer_fix' into develop
| * | Rename mailer method to avoid naming conflict in Rails 3Matthew Landauer2013-01-25-1/+1
| |/
* / Try to be a little nicer by setting the correct content_type for the atom feedMatthew Landauer2013-02-01-1/+1
|/
* Fix typo.Louise Crow2013-01-17-1/+1
|
* Remove interlock as it's not compatible with Rails 3 and is unmaintainedHenare Degan2013-01-18-61/+54
|
* html escaping fixMatthew Landauer2013-01-15-1/+1
|
* Merge remote-tracking branch 'mysociety/develop' into rails_xssMatthew Landauer2013-01-15-50/+94
|\
| * Limit pagination on similar pages in line with new upper limit on page offset.Louise Crow2012-12-17-0/+2
| |
| * Only serve up 'similar' pages up to the offset we use for list.Louise Crow2012-12-17-0/+5
| |
| * Merge branch 'hotfix/authenticate-and-expire-download-zips' into developLouise Crow2012-12-13-11/+37
| |\
| | * Remove any download zip files when a request's cached files are expired.Louise Crow2012-12-13-0/+8
| | |
| | * Put download zips in a predictable location - sharded folders based on ↵Louise Crow2012-12-13-1/+9
| | | | | | | | | | | | request ID, rather than distributing them across the download directories by the generated SHA. Preserve the uniqueness of the subdirectory.
| | * Use helper method for download path, and use Rails.root instead of file ↵Louise Crow2012-12-13-1/+5
| | | | | | | | | | | | location.
| | * Check that a request is publicly visible before generating a download link.Louise Crow2012-12-13-9/+15
| | |
| | * Don't offer or allow viewing of an HTML version of a response attachment if ↵Louise Crow2012-12-13-0/+6
| | | | | | | | | | | | the request is hidden, or requester_only. Google docs viewer won't be able to access it, and our own conversion process currently can produce image files that will then be publicly viewable directly from the webserver (see config/httpd.conf). If necessary we can revisit this code to enable admins and requesters to view the HTML version created by our own conversion without adding these files to a path that is served directly by the web server.
| * | Don't offer or allow viewing of an HTML version of a request if it is ↵Louise Crow2012-12-13-0/+6
| | | | | | | | | | | | hidden, or requester_only. Google docs viewer won't be able to access it, and our own conversion process currently produces image files that will then be publicly viewable. If necessary we can revisit this code to enable admins and requesters to view the HTML version created by our own conversion without adding these files to a path that is served directly by the web server.
| * | Remove redundant method.Louise Crow2012-12-04-1/+1
| | |
| * | The absence of an API key in an API request should be a permission denied ↵Louise Crow2012-12-03-36/+36
| | | | | | | | | | | | error, so that notification emails don't get sent.
| * | Give the implicit default locale in a URL without locale precedence over the ↵Louise Crow2012-11-28-2/+7
| | | | | | | | | | | | session in the case where the default locale is not being included in URLs. This allows the user to return to the default locale.
* | | Escaping fixes involving the unpleasant mix of translations, html and string ↵Matthew Landauer2013-01-03-3/+3
|/ / | | | | | | interpolation
* | Merge remote-tracking branch 'origin/feature/isolate-mail-handling' into developLouise Crow2012-11-20-2/+1
|\ \
| * | Use mail handler method to get mail object from raw data when redelivering a ↵Louise Crow2012-11-15-2/+1
| | | | | | | | | | | | mail from the admin interface.
* | | Merge remote-tracking branch 'openaustralia_github/style_error_pages_fix' ↵Louise Crow2012-11-19-7/+4
|\ \ \ | | | | | | | | | | | | into develop
| * | | Fix styling of error page with current themesMatthew Landauer2012-11-16-7/+4
| | |/ | |/|
* | | Remove debugging action that could easily DOS a serverHenare Degan2012-11-18-6/+0
| |/ |/|
* | Re-route model code that accesses the mail object from field via wrapper methodsLouise Crow2012-11-15-2/+2
| |
* | Add wrapper method so that admin_request_controller doesn't access mail ↵Louise Crow2012-11-15-1/+1
|/ | | | object directly.
* Move methods used only in admin controllers to admin_controller.rbLouise Crow2012-10-30-24/+24
|
* If we're doing admin authentication internally, don't bother with the ↵Louise Crow2012-10-30-7/+15
| | | | request environment, set the admin_name on the session instead.
* Redirect calls to admin_http_auth_user to more generic wrapper ↵Louise Crow2012-10-30-16/+20
| | | | admin_current_user
* Merge remote-tracking branch ↵Louise Crow2012-10-29-0/+2
|\ | | | | | | 'openaustralia_github/sorting_requests_front_page' into develop
| * Always have the newest events at the top of the listMatthew Landauer2012-10-26-0/+2
| |
* | Handle the default blank string passed by Configuration moduleLouise Crow2012-10-25-1/+1
| |
* | Handle a blank convert command more explicitly.Louise Crow2012-10-25-1/+1
|/
* Merge remote-tracking branch ↵Louise Crow2012-10-25-1/+1
|\ | | | | | | 'openaustralia_github/follow-all-requests-description' into develop
| * Add a full stop to the end of this sentenceHenare Degan2012-10-18-1/+1
| |
* | Extract methodMatthew Landauer2012-10-24-32/+1
| |
* | Don't keep recalculating the request statusLouise Crow2012-10-23-14/+15
| |
* | Fix bug where visitors from overseas visit a site which is not officially ↵Matthew Landauer2012-10-19-2/+3
| | | | | | | | live yet