aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
Commit message (Collapse)AuthorAgeLines
* 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.
* Merge branch 'release/0.6.3' into developLouise Crow2012-08-22-32/+67
|\ | | | | | | | | | | | | | | Conflicts: app/controllers/admin_public_body_controller.rb app/views/admin_public_body/import_csv.rhtml spec/controllers/admin_public_body_controller_spec.rb spec/models/info_request_spec.rb
| * Rework the temporary storing of a csv file of public body info between a dry ↵Louise Crow2012-08-20-29/+67
| | | | | | | | run and real load. Use a temp file, not the session for the data. Also fixes #503.
| * Whether a rule is a regex rule should not affect the redirect that happens ↵Louise Crow2012-08-14-2/+0
| | | | | | | | after you create it.
| * Fix bug preventing CSV upload. Fixes #525 (needs tests!)Seb Bacon2012-07-19-7/+7
| |
| * Oh dear, a "revert revert revert" that reverts the "revert revert" that ↵Seb Bacon2012-07-17-9/+2
| | | | | | | | | | | | | | | | should never have been pushed in the first place. Sorry! Revert "Revert "Revert "In the API, when parsing posted responses, assume all multipart mail parts that are Tempfiles are attachments""" This reverts commit 49ff1a1c0304cd292d3eae80dc0b91b2f83727b9.
* | Allow external requests to be hidden from the admin interface.Louise Crow2012-08-22-6/+10
| |
* | Use user_name instead of user.name to handle external requests.Louise Crow2012-08-22-4/+7
| |
* | Don't pass a page param of less than one through to Xapian, treat it as a ↵Louise Crow2012-08-21-3/+6
| | | | | | | | param of 1. Fixes #557.
* | Fail with NotFound if request slug doesn't existRobin Houston2012-08-20-23/+13
| | | | | | | | Closes #554.
* | Do not send email for external requestsRobin Houston2012-08-20-1/+1
| |
* | Merge branch 'wdtk' into developLouise Crow2012-08-16-11/+32
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: app/controllers/admin_request_controller.rb config/httpd.conf spec/models/info_request_spec.rb
| * | When displaying attachments, only cache them out to files if they are ↵Louise Crow2012-08-16-3/+12
| | | | | | | | | | | | visible to everyone, so can be served up from a file cache without authentication.
| * | Method spacing.Louise Crow2012-08-16-0/+3
| | |
| * | Fix typo in comment.Louise Crow2012-08-16-8/+17
| | |
* | | Default to dry run and don't raise an error when this page is visited normallyHenare Degan2012-08-11-7/+2
| | |
* | | Revert "Revert "Revert "In the API, when parsing posted responses, assume ↵Robin Houston2012-08-01-9/+2
| | | | | | | | | | | | | | | | | | all multipart mail parts that are Tempfiles are attachments""" This reverts commit 49ff1a1c0304cd292d3eae80dc0b91b2f83727b9.
* | | Move variable restore to an ensure blockRobin Houston2012-08-01-8/+12
| | | | | | | | | | | | | | | | | | I think this whole thing is redundant anyway, since the locale is set at the start of each request, but if we’re going to save/restore this value then we might as well do so correctly.
* | | Set locale even for errorsRobin Houston2012-08-01-0/+7
| |/ |/| | | | | | | | | | | | | | | | | | | The locale was not being set correctly for error pages, causing some order-dependent test failures, e.g.: script/spec spec/controllers/services_controller_spec.rb spec/integration/errors_spec.rb was failing. Many many many thanks to Louise Crow for tracking this one down!
* | Revert "Revert "In the API, when parsing posted responses, assume all ↵Seb Bacon2012-07-17-2/+9
| | | | | | | | | | | | multipart mail parts that are Tempfiles are attachments"" This reverts commit d4a700da1760fc2ba09cf19613a995569e4965ea.
* | Merge branch 'feature/public-body-api-2a' into developRobin Houston2012-07-16-3/+4
|\ \
| * | Revert "In the API, when parsing posted responses, assume all multipart mail ↵Robin Houston2012-07-16-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parts that are Tempfiles are attachments" This change makes the tests fail, I think, and doesn’t have (IMHO) a desperately strong rationale, so let’s try it without for now. This reverts commit 4490482cedf362390b25efe453232ac1b7dfce99.