aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
Commit message (Collapse)AuthorAgeLines
* 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.
* | 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
* | Inline temporary variableMatthew Landauer2012-10-19-3/+2
|/
* Merge remote-tracking branch ↵Louise Crow2012-10-17-1/+1
|\ | | | | | | 'openaustralia_github/fix_count_inconsistencies' into develop
| * Don't show internal admin authority on auto generated list on home pageMatthew Landauer2012-10-17-1/+1
| |
* | Merge branch 'release/0.6.7' into developLouise Crow2012-10-17-1/+1
|\ \ | |/ |/|
| * Bugfix - fixed cut and paste error.Louise Crow2012-10-17-1/+1
| |
* | Handle the case where the blog feed already has querystring parameters.Louise Crow2012-10-11-1/+3
|/
* Remove svn tags that are out of date as we are now using gitMatthew Landauer2012-10-09-34/+0
|
* Merge remote-tracking branch 'openaustralia_github/configuration_refactor' ↵Louise Crow2012-10-01-37/+29
|\ | | | | | | | | | | | | into develop Conflicts: config/general.yml-example
| * Inline ConfigHelper force_registration_on_new_requestMatthew Landauer2012-09-25-1/+1
| |
| * Extract configuration with defaults into one moduleMatthew Landauer2012-09-25-36/+28
| |
* | When the list of requests on the frontpage is being filled out with not just ↵Matthew Landauer2012-09-29-0/+3
| | | | | | | | | | | | successful requests make the text and the link reflect that
* | Use new info_requests_count counter cache column on public body when ↵Louise Crow2012-09-26-2/+1
|/ | | | generating front page.
* Merge remote-tracking branch 'openaustralia_github/calendar_days' into developLouise Crow2012-09-24-1/+3
|\
| * Make the way number of days are calculated (either by calendar or working ↵Matthew Landauer2012-09-24-1/+2
| | | | | | | | days) configurable
| * Make HolidayController#due_date use configuration REPLY_LATE_AFTER_DAYSMatthew Landauer2012-09-24-1/+2
| |
| * Rename methodMatthew Landauer2012-09-24-1/+1
| |
* | Add an option to disable comments on a requestRobin Houston2012-09-19-1/+11
|/ | | | Closes #30.
* Paginate the timeline to allow it to render in a reasonable amount of time. ↵Louise Crow2012-09-13-8/+51
| | | | In order to avoid sorting large numbers of objects in order to get the right order of combined events across the two model types, get the overall order first from the database and then populate the slice we're interested in.
* Paginate the list of old unclassified requests.Louise Crow2012-09-13-1/+12
|