aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
Commit message (Collapse)AuthorAgeLines
* 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
|
* Reformat for readability.Louise Crow2012-09-13-1/+3
|
* Use faster csv for public body cvs generation, eagerly load tags and ↵Louise Crow2012-09-12-8/+7
| | | | translations.
* Merge branch 'develop' of ssh://git.mysociety.org/data/git/public/alaveteli ↵Louise Crow2012-09-11-14/+45
|\ | | | | | | into develop
| * Add a since_date parameter to the API feedRobin Houston2012-09-10-11/+35
| |
| * API errors should be JSONRobin Houston2012-09-04-3/+10
| | | | | | | | | | | | | | | | | | | | The API was returning Rails (HTML) errors for certain error conditions, which is inconvenient because it makes it difficult for the client to extract the error message. This patch changes add_correspondence to return JSON errors (still with suitable HTTP status codes) for two common exceptional conditions, and adds tests.
* | Use new, more efficient methods in request game page.Louise Crow2012-09-11-9/+4
| |
* | Record a status update by someone other than the request owner as a request ↵Louise Crow2012-09-11-6/+6
|/ | | | classification.
* Don't allow status updates on external requests from the front end interface ↵Louise Crow2012-08-23-1/+14
| | | | | | (they can still be changed from the admin interface). Final part of fix for #562.
* Don't error on a request to followup an external request.Louise Crow2012-08-23-0/+7
| | | | Partial solution to #562.