aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_game_controller.rb
Commit message (Collapse)AuthorAgeLines
* Reduce N+1 queries in RequestGameController#playGareth Rees2015-04-27-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminates the following Bullet warnings: 2015-04-21 11:42:26[WARN] /categorise/play N+1 Query detected user: vagrant InfoRequest => [:public_body] Add to your finder: :includes => [:public_body] N+1 Query method call stack /home/vagrant/alaveteli/app/views/request/_request_listing_single.html.erb:16:in `_app_views_request__request_listing_single_html_erb__949797960_70091194573720' /home/vagrant/alaveteli/app/views/request_game/play.html.erb:46:in `_app_views_request_game_play_html_erb___279307748_70091194720080' /home/vagrant/alaveteli/app/views/request_game/play.html.erb:45:in `each' /home/vagrant/alaveteli/app/views/request_game/play.html.erb:45:in `_app_views_request_game_play_html_erb___279307748_70091194720080' /home/vagrant/alaveteli/app/controllers/application_controller.rb:111:in `record_memory' /home/vagrant/alaveteli/lib/whatdotheyknow/strip_empty_sessions.rb:14:in `call' 2015-04-21 11:42:26[WARN] /categorise/play N+1 Query detected user: vagrant InfoRequest => [:user] Add to your finder: :includes => [:user] N+1 Query method call stack /home/vagrant/alaveteli/app/views/request/_request_listing_single.html.erb:17:in `_app_views_request__request_listing_single_html_erb__949797960_70091194573720' /home/vagrant/alaveteli/app/views/request_game/play.html.erb:46:in `_app_views_request_game_play_html_erb___279307748_70091194720080' /home/vagrant/alaveteli/app/views/request_game/play.html.erb:45:in `each' /home/vagrant/alaveteli/app/views/request_game/play.html.erb:45:in `_app_views_request_game_play_html_erb___279307748_70091194720080' /home/vagrant/alaveteli/app/controllers/application_controller.rb:111:in `record_memory' /home/vagrant/alaveteli/lib/whatdotheyknow/strip_empty_sessions.rb:14:in `call'
* Restrict old_unclassified methods to normal prominence.0.13.0.3hotfix/0.13.0.3Louise Crow2013-09-18-2/+1
| | | | Fixes #1082.
* Change email address in header of source code to hello@mysociety.orgMatthew Landauer2013-03-26-1/+1
|
* Remove svn tags that are out of date as we are now using gitMatthew Landauer2012-10-09-2/+0
|
* Use new, more efficient methods in request game page.Louise Crow2012-09-11-9/+4
|
* Remove trailing whitespace (to make a cleaner forthcoming merge with ↵Seb Bacon2012-05-15-3/+3
| | | | wombleton:feature/440_sparkly_admin_css)
* I18n'd hardcoded WhatDoTheyKnow strings, mostly in mails. Use named variable ↵David Cabo2011-08-11-1/+3
| | | | substitution in gettext strings.
* I18n string for controllersFaton Selishta2011-06-30-5/+5
|
* Fix a bunch of broken links (thanks Alex)Francis Irving2010-10-27-1/+1
|
* Show league table even when complete.Francis Irving2009-10-29-2/+1
|
* Top 10!francis2009-10-19-16/+7
|
* Various tweaks to categorisation display.francis2009-10-14-2/+3
|
* Query didn't work on server.francis2009-10-14-2/+2
|
* League table for classification game.francis2009-10-14-10/+34
| | | | | Show progress of game with Google chart. Don't require login for main game page.
* how different flash if going back to game, vs staying on page of request. ↵francis2009-10-03-2/+1
| | | | Link to request in former case.
* Use default 21 days for old unclassified.francis2009-10-03-2/+2
|
* Add help about not putting allegations in requests.francis2009-08-26-2/+15
| | | | | | | | | | | Add help about not impersonating. Link to game from help. Require login to play request game (probably should show some stuff without login, but is nice to have login before they get to individual request pages) Cope with the game finishing (all being classified). Make action links in game into buttons. Margin at bottom of login page.
* "hidden" option to completely hide requests (from everyone except ↵francis2009-06-23-2/+2
| | | | administrator screens).
* First pass at the 'help us tidy up old uncategorised requests' gametony2009-05-11-0/+28