aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
Commit message (Collapse)AuthorAgeLines
* Merge remote-tracking branch ↵Louise Crow2013-03-13-84/+84
|\ | | | | | | | | | | | | | | | | | | | | 'openaustralia_github/one_support_email_on_admin_attention_state' into develop Conflicts: Gemfile.lock app/controllers/request_controller.rb app/models/request_mailer.rb app/views/admin_general/index.rhtml spec/models/request_mailer_spec.rb
| * Remove deleted action from list of actionsMatthew Landauer2013-03-06-2/+2
| |
| * Now direct changes of state to error_message and requires_admin to a new ↵Matthew Landauer2013-03-06-9/+30
| | | | | | | | page asking for more info
| * Can also record a message when posting to RequestController#describe_stateMatthew Landauer2013-03-05-1/+2
| |
| * Remove code added previously because on the wrong trackMatthew Landauer2013-03-05-22/+0
| |
| * Don't allow external requests to have their state changedMatthew Landauer2013-03-04-0/+7
| |
| * Record who changes the stateMatthew Landauer2013-03-04-1/+1
| |
| * Refactor functionality from controller to modelMatthew Landauer2013-03-04-12/+0
| |
| * Fix bug when user not owner of request changing state to requires_admin ↵Matthew Landauer2013-03-04-1/+1
| | | | | | | | email should come from user making the change
| * Use Ability::can_update_request_state? in RequestController#describe_stateMatthew Landauer2013-03-04-5/+4
| |
| * Inline temporary variablesMatthew Landauer2013-03-04-6/+2
| |
| * No need for instance variables in action without viewMatthew Landauer2013-03-04-34/+34
| |
| * Extract method that knows who can update the state of a requestMatthew Landauer2013-03-03-4/+6
| |
| * Can update status when request is old and unclassifiedMatthew Landauer2013-03-03-1/+1
| |
| * admin user can change statusMatthew Landauer2013-03-03-1/+1
| |
| * only can make the change as the owner of a requestMatthew Landauer2013-03-03-1/+1
| |
| * Add basic authentication to new actionMatthew Landauer2013-03-03-9/+4
| |
| * Switch to pretty urlsMatthew Landauer2013-03-02-1/+1
| |
| * Add authenticationMatthew Landauer2013-03-02-2/+15
| |
| * New request controller action for requires_admin state with messageMatthew Landauer2013-03-02-0/+5
| |
| * Inline methodMatthew Landauer2013-03-02-1/+1
| |
| * Refactor state logicMatthew Landauer2013-03-02-35/+36
| |
| * Use routes to only allow post to RequestController#describe_stateMatthew Landauer2013-03-02-6/+0
| |
* | Merge remote-tracking branch 'openaustralia_github/make-links-relative' into ↵Louise Crow2013-03-06-5/+5
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop Conflicts: app/controllers/admin_request_controller.rb app/models/request_mailer.rb app/views/admin_general/index.rhtml app/views/admin_general/stats.rhtml app/views/admin_public_body/_one_list.rhtml app/views/admin_public_body/_tags.rhtml app/views/admin_public_body/show.rhtml app/views/admin_request/show.rhtml app/views/admin_user/show.rhtml app/views/layouts/admin.rhtml app/views/public_body/show.rhtml app/views/request/new.rhtml
| * Use absolute urls when redirectingMatthew Landauer2013-02-15-2/+2
| |
| * Rename named routes for categorisation game as they clash with request_url & ↵Matthew Landauer2013-02-15-1/+1
| | | | | | | | request_path helpers
| * Redirects should be done with absolute urlsMatthew Landauer2013-02-15-15/+15
| |
| * Rename helper methodMatthew Landauer2013-02-15-17/+17
| |
| * Redirects should be done with absolute urlsMatthew Landauer2013-02-15-1/+1
| |
| * Rename helper methodMatthew Landauer2013-02-15-1/+1
| |
* | Don't pass latest_status param to locale switching links on view requests pageMatthew Landauer2013-02-12-2/+1
| |
* | Pass parameters to method rather explicitlyMatthew Landauer2013-02-12-1/+1
|/
* Mark flash string with markup in it as html safe.Louise Crow2013-02-08-1/+1
|
* Remove interlock as it's not compatible with Rails 3 and is unmaintainedHenare Degan2013-01-18-16/+11
|
* Merge remote-tracking branch 'mysociety/develop' into rails_xssMatthew Landauer2013-01-15-11/+33
|\
| * 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
| |
| * Put download zips in a predictable location - sharded folders based on ↵Louise Crow2012-12-13-1/+4
| | | | | | | | 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/+1
| | | | | | | | 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.
* | Escaping fixes involving the unpleasant mix of translations, html and string ↵Matthew Landauer2013-01-03-3/+3
|/ | | | interpolation
* 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
|
* Don't keep recalculating the request statusLouise Crow2012-10-23-14/+15
|
* Remove svn tags that are out of date as we are now using gitMatthew Landauer2012-10-09-2/+0
|
* Inline ConfigHelper force_registration_on_new_requestMatthew Landauer2012-09-25-1/+1
|
* Extract configuration with defaults into one moduleMatthew Landauer2012-09-25-7/+6
|
* 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.