| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | * | Reduce N+1 queries in RequestGameController#play | Gareth Rees | 2015-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' | ||||
| | * | Minor tidy up | Gareth Rees | 2015-04-27 | -16/+26 | |
| |/ | |||||
| * | Merge branch 'hotfix/0.21.0.22'0.21.0.22 | Gareth Rees | 2015-04-24 | -4/+4 | |
| |\ | |||||
| | * | Bump alaveteli versionhotfix/0.21.0.22 | Gareth Rees | 2015-04-24 | -1/+1 | |
| | | | |||||
| | * | Update Nicaragua translations | Gareth Rees | 2015-04-24 | -3/+3 | |
| |/ | |||||
| * | Bump alaveteli version0.21.0.21hotfix/0.21.0.21 | Louise Crow | 2015-04-23 | -1/+1 | |
| | | |||||
| * | Don't redirect to signin on expiration of a non remember-me session | Louise Crow | 2015-04-23 | -2/+0 | |
| | | | | | In practice, it's just confusing if you've been away from the site. | ||||
| * | Merge branch 'hotfix/0.21.0.20'0.21.0.20 | Gareth Rees | 2015-04-17 | -13/+11 | |
| |\ | |||||
| | * | Bump alaveteli versionhotfix/0.21.0.20 | Gareth Rees | 2015-04-17 | -1/+1 | |
| | | | |||||
| | * | Update Nicaragua translations | Gareth Rees | 2015-04-17 | -12/+10 | |
| |/ | |||||
| * | Merge branch 'hotfix/0.21.0.19'0.21.0.19 | Gareth Rees | 2015-04-16 | -4/+4 | |
| |\ | |||||
| | * | Bump alaveteli versionhotfix/0.21.0.19 | Gareth Rees | 2015-04-16 | -1/+1 | |
| | | | |||||
| | * | Update nicaragua translations | Gareth Rees | 2015-04-16 | -3/+3 | |
| |/ | |||||
| * | Merge branch 'hotfix/0.21.0.18'0.21.0.18 | Gareth Rees | 2015-04-16 | -3/+3 | |
| |\ | |||||
| | * | Bump alaveteli versionhotfix/0.21.0.18 | Gareth Rees | 2015-04-16 | -1/+1 | |
| | | | |||||
| | * | Update Nicaragua translations | Gareth Rees | 2015-04-16 | -2/+2 | |
| |/ | |||||
| * | Merge branch 'hotfix/0.21.0.17'0.21.0.17 | Gareth Rees | 2015-04-16 | -5/+5 | |
| |\ | |||||
| | * | Bump alaveteli versionhotfix/0.21.0.17 | Gareth Rees | 2015-04-16 | -1/+1 | |
| | | | |||||
| | * | Update Nicaragua translations | Gareth Rees | 2015-04-16 | -4/+4 | |
| |/ | |||||
| * | Merge branch 'hotfix/0.21.0.16'0.21.0.16 | Gareth Rees | 2015-04-15 | -26/+23 | |
| |\ | |||||
| | * | Bump alaveteli versionhotfix/0.21.0.16 | Gareth Rees | 2015-04-15 | -1/+1 | |
| | | | |||||
| | * | Update Nicaragua translations | Gareth Rees | 2015-04-15 | -25/+22 | |
| |/ | |||||
| * | Merge branch 'hotfix/0.21.0.15'0.21.0.15 | Gareth Rees | 2015-04-10 | -30/+30 | |
| |\ | |||||
| | * | Bump alaveteli versionhotfix/0.21.0.15 | Gareth Rees | 2015-04-10 | -1/+1 | |
| | | | |||||
| | * | Update nicaragua translations | Gareth Rees | 2015-04-10 | -29/+29 | |
| |/ | |||||
| * | Bump alaveteli version.0.21.0.14hotfix/0.21.0.14 | Louise Crow | 2015-04-10 | -1/+1 | |
| | | |||||
| * | Only use CSRF protection for logged-in users. | Louise Crow | 2015-04-10 | -1/+12 | |
| | | |||||
| * | Add warning about updating search forms to release notes. | Louise Crow | 2015-04-10 | -0/+4 | |
| | | |||||
| * | Use GET for search forms, not POST. | Louise Crow | 2015-04-10 | -11/+32 | |
| | | | | | | | | | | | Now that we use global CSRF authenticity checks, searches were logging logged-in users out as the form is an HTML form, not a Rails-generated form with a CSRF token. So form submission raised an InvalidAuthenticityToken error and reset their session. We could generate the form in Rails, but we also want to minimise the number of non-logged in people who have a session cookie, so that varnish can cache pages extensively. So we don't want to put the CSRF token for the search form in everyone's session. | ||||
| * | Merge branch 'hotfix/0.21.0.13'0.21.0.13 | Gareth Rees | 2015-04-09 | -6/+6 | |
| |\ | |||||
| | * | Bump alaveteli versionhotfix/0.21.0.13 | Gareth Rees | 2015-04-09 | -1/+1 | |
| | | | |||||
| | * | Update nicaragua translations | Gareth Rees | 2015-04-09 | -5/+5 | |
| |/ | |||||
| * | Merge branch 'hotfix/0.21.0.12'0.21.0.12 | Gareth Rees | 2015-04-09 | -13/+13 | |
| |\ | |||||
| | * | Bump alaveteli versionhotfix/0.21.0.12 | Gareth Rees | 2015-04-09 | -1/+1 | |
| | | | |||||
| | * | Update Nicaragua translations | Gareth Rees | 2015-04-09 | -12/+12 | |
| |/ | |||||
| * | Merge branch 'hotfix/0.21.0.11'0.21.0.11 | Gareth Rees | 2015-04-08 | -14/+14 | |
| |\ | |||||
| | * | Bump alaveteli versionhotfix/0.21.0.11 | Gareth Rees | 2015-04-08 | -1/+1 | |
| | | | |||||
| | * | Update Nicaragua translations | Gareth Rees | 2015-04-08 | -13/+13 | |
| |/ | |||||
| * | Merge branch 'hotfix/0.21.0.10'0.21.0.10 | Gareth Rees | 2015-04-08 | -6/+5 | |
| |\ | |||||
| | * | Bump alaveteli versionhotfix/0.21.0.10 | Gareth Rees | 2015-04-08 | -1/+1 | |
| | | | |||||
| | * | Update Nicaragua translations | Gareth Rees | 2015-04-08 | -4/+4 | |
| | | | |||||
| | * | Whitespace update of Croatian translation | Gareth Rees | 2015-04-08 | -1/+0 | |
| |/ | |||||
| * | Merge branch 'hotfix/0.21.0.9'0.21.0.9 | Gareth Rees | 2015-04-08 | -5/+5 | |
| |\ | |||||
| | * | Bump alaveteli versionhotfix/0.21.0.9 | Gareth Rees | 2015-04-08 | -1/+1 | |
| | | | |||||
| | * | Update Nicaragua translations | Gareth Rees | 2015-04-08 | -4/+4 | |
| |/ | |||||
| * | Merge branch 'hotfix/0.21.0.8'0.21.0.8 | Gareth Rees | 2015-04-08 | -72/+75 | |
| |\ | |||||
| | * | Bump alaveteli versionhotfix/0.21.0.8 | Gareth Rees | 2015-04-08 | -1/+1 | |
| | | | |||||
| | * | Update Nicaragua translations | Gareth Rees | 2015-04-07 | -71/+74 | |
| |/ | |||||
| * | Merge branch 'hotfix/0.21.0.7'0.21.0.7 | Louise Crow | 2015-04-07 | -2/+4 | |
| |\ | | | | | | | | | Conflicts: config/initializers/alaveteli.rb | ||||
| | * | Bump alaveteli version.hotfix/0.21.0.7 | Louise Crow | 2015-04-07 | -1/+1 | |
| | | | |||||
