Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Merge branch 'body-statistics' into rails-3-develop | Louise Crow | 2013-09-04 | -1/+79 |
|\ | ||||
| * | Reduce the number of public bodies per graph | Mark Longair | 2013-08-20 | -1/+1 |
| | | | | | | | | | | | | | | | | It seems to be difficult to customize the display of the tick labels (see the body-statistics-rotated-label branch for an as-yet-not-working alternative) so for the moment just reduce the number of public bodies shown per graph from 10 to 8. | |||
| * | Add a config option to enable the public body statistics page | Mark Longair | 2013-08-20 | -0/+4 |
| | | ||||
| * | Refactor calculation of statistics | Mark Longair | 2013-08-20 | -77/+48 |
| | | | | | | | | | | | | Move the calculation of statistics on public bodies into the PublicBody model, so that there's less logic in the controller. | |||
| * | Make the minimum requests for statistics configurable | Mark Longair | 2013-08-20 | -1/+3 |
| | | | | | | | | This adds the MINIMUM_REQUESTS_FOR_STATISTICS config option. | |||
| * | Add a page with experimental statistics on public bodies | Mark Longair | 2013-08-20 | -1/+102 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The statistics on the status of the requests to a particular public body are too slow to calculate on-the-fly, so this commit adds: * Extra columns on public_bodies to store counts of the successful, not held, and overdue request counts for each public body. * A rake task which should be run periodically to update the overdue request count column. If Javascript is not available, the summary statistics are shown as tables. If Javascript is available, graphs are drawn with Flot. | |||
* | | Serve admin.js as a static file | Mark Longair | 2013-08-21 | -5/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | admin.js was being generated from a view so that the config variable ADMIN_PUBLIC_URL could be used to direct AJAX requests in the admin interface correctly. ADMIN_PUBLIC_URL was necessary for WhatDoTheyKnow when the admin interface was proxied over SSL, while the rest of the site was non-SSL. Now that the whole site is served over SSL, however, the proxy for the admin interface is not longer used and ADMIN_PUBLIC_URL / ADMIN_BASE_URL have been removed. As a result, admin.js is now being generated from a Rails view unnecessarily, and at some performance cost. This commit moves admin.coffee and admin.js to the public directory, so they will be served more efficiently. In addition, this commit removes admin.coffee / admin.js from public/javascripts/ where there was a second (and different) version that now appears to be unused. | |||
* | | Merge remote-tracking branch ↵ | Louise Crow | 2013-08-20 | -8/+5 |
|\ \ | |/ |/| | | | 'openaustralia_github/fix-production-diagnostic-messages' into rails-3-develop | |||
| * | Make method name clearer | Henare Degan | 2013-08-10 | -3/+3 |
| | | ||||
| * | Don't show diagnostic messages when request is simply local | Henare Degan | 2013-08-10 | -6/+3 |
| | | | | | | | | | | | | This fixes the scenario when Alaveteli is behind a proxy in production Resolves #1039 | |||
* | | Merge branch 'feature/further-request-event-fixes' into rails-3-develop | Louise Crow | 2013-08-15 | -4/+6 |
|\ \ | ||||
| * | | Set the calculated state on external requests. | Louise Crow | 2013-08-15 | -0/+2 |
| | | | | | | | | | | | | Set to 'waiting_response' on creation, to match the displayed state. | |||
| * | | Make admin edits affect info_request_event described_states. | Louise Crow | 2013-08-15 | -4/+4 |
| |/ | | | | | | | | | | | | | Make sure that admin edits changing the described state of an info request are reflected in the latest_status and status values of info request events so that the info requests are retrieved correctly in status-based searches. | |||
* | | Try to convert csv files of public bodies into utf-8 before importing them. | Louise Crow | 2013-08-14 | -1/+1 |
| | | ||||
* | | Fix for #566. Also fix wrong identifier being used in text. | Louise Crow | 2013-08-13 | -1/+1 |
|/ | ||||
* | Remove unused line of code | Louise Crow | 2013-07-30 | -1/+0 |
| | ||||
* | Handle the case of a name that hits the character limits and has been ↵ | Louise Crow | 2013-07-29 | -2/+2 |
| | | | | suffixed with a number. | |||
* | Merge branch 'feature/similar-fixes' into rails-3-develop | Louise Crow | 2013-07-23 | -6/+0 |
|\ | ||||
| * | Change concatenated header and title strings to full, properly escaped ↵ | Louise Crow | 2013-07-22 | -6/+0 |
| | | | | | | | | strings that are available for translation. Fixes #1003. | |||
* | | Merge remote-tracking branch ↵ | Louise Crow | 2013-07-23 | -0/+10 |
|\ \ | |/ |/| | | | | | | | | | 'openaustralia_github/tests_set_described_state' into rails-3-develop Conflicts: spec/models/info_request_spec.rb | |||
| * | Now record a state_update event *whenever* a user classifies a request | Matthew Landauer | 2013-04-20 | -0/+10 |
| | | ||||
* | | Respond to a (currently unsupported) json request for a public body list ↵ | Louise Crow | 2013-06-20 | -1/+3 |
| | | | | | | | | with a 406, not a 500 caused by a missing template. | |||
* | | Add pagination to the list of requests on the admin page for a public body | Louise Crow | 2013-06-20 | -0/+3 |
| | | ||||
* | | Merge remote-tracking branch 'openaustralia_github/app_version_api_feature' ↵ | Louise Crow | 2013-06-18 | -1/+14 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | into rails-3-develop Conflicts: app/controllers/application_controller.rb app/controllers/general_controller.rb config/routes.rb | |||
| * | | Add publicly accesible json api to query alaveteli and ruby version. ↵ | Matthew Landauer | 2013-02-24 | -1/+9 |
| | | | | | | | | | | | | Implements #834 | |||
| * | | Extract method | Matthew Landauer | 2013-02-24 | -1/+6 |
| | | | ||||
* | | | Merge branch 'hotfix/0.11.0.13' into rails-3-develop | Louise Crow | 2013-06-17 | -1/+4 |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: spec/mailers/outgoing_mailer_spec.rb | |||
| * | | | Explicitly set I18n.locale in set_gettext_locale in order to get Rails to ↵0.11.0.13hotfix/0.11.0.13 | Louise Crow | 2013-06-17 | -1/+4 |
| | | | | | | | | | | | | | | | | expire the template cache and trigger a lookup. | |||
* | | | | Merge commit '0.11.0.8' into rails-3-develop | Louise Crow | 2013-06-11 | -4/+1 |
|\| | | | ||||
| * | | | Cache a user's profile photo rather than repulling it each time.hotfix/0.11.0.8 | Louise Crow | 2013-06-11 | -0/+1 |
| | | | | ||||
| * | | | Only render the popup banner in the layout where it's actually used. | Louise Crow | 2013-06-11 | -4/+0 |
| | | | | ||||
| * | | | We're assuming feed urls without format suffixes should serve up atom/xml, ↵0.11.0.4hotfix/0.11.0.4 | Louise Crow | 2013-06-05 | -0/+3 |
| | | | | | | | | | | | | | | | | so ignore any format from content negotiation in favour of that default. | |||
* | | | | Allow the donation url to be configured. Closes #909. | Louise Crow | 2013-06-07 | -2/+12 |
| | | | | ||||
* | | | | We're assuming feed urls without format suffixes should serve up atom/xml, ↵ | Louise Crow | 2013-06-05 | -0/+3 |
| | | | | | | | | | | | | | | | | so ignore any format from content negotiation in favour of that default. | |||
* | | | | Remove support for theme stylesheet inclusion via template deprecated in ↵ | Louise Crow | 2013-06-05 | -6/+0 |
| | | | | | | | | | | | | | | | | version 0.5. Closes #972. | |||
* | | | | Merge branch 'release/0.11' into rails-3-develop | Louise Crow | 2013-06-04 | -13/+23 |
|\| | | | ||||
| * | | | Handle json requests for hidden info requests. | Louise Crow | 2013-06-03 | -12/+19 |
| | | | | ||||
| * | | | For non-HTML requests, just return the response code for now. | Louise Crow | 2013-06-03 | -1/+4 |
| | | | | ||||
* | | | | Merge remote-tracking branch ↵ | Louise Crow | 2013-06-04 | -19/+31 |
|\ \ \ \ | | | | | | | | | | | | | | | | 'openaustralia_github/more_info_on_report_request' into rails-3-develop | |||
| * | | | | User needs to choose a reason | Matthew Landauer | 2013-03-22 | -4/+12 |
| | | | | | ||||
| * | | | | Rename parameter used in routes and controller | Matthew Landauer | 2013-03-22 | -2/+2 |
| | | | | | ||||
| * | | | | Rename controller actions | Matthew Landauer | 2013-03-22 | -2/+2 |
| | | | | | ||||
| * | | | | Move reporting actions to their own controller | Matthew Landauer | 2013-03-22 | -22/+23 |
| | | | | | ||||
| * | | | | Extract method | Matthew Landauer | 2013-03-22 | -3/+1 |
| | | | | | ||||
| * | | | | Only allow posts for reporting request. Don't try redirection when not logged in | Matthew Landauer | 2013-03-22 | -9/+5 |
| | | | | | ||||
| * | | | | Posted reason and message gets sent out in the email | Matthew Landauer | 2013-03-22 | -1/+1 |
| | | | | | ||||
| * | | | | Only allow reporting a request when logged in | Matthew Landauer | 2013-03-22 | -0/+5 |
| | | | | | ||||
| * | | | | Add first pass at page for reporting a request | Matthew Landauer | 2013-03-22 | -0/+4 |
| | | | | | ||||
* | | | | | Merge remote-tracking branch ↵ | Louise Crow | 2013-06-04 | -14/+19 |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | 'openaustralia_github/inline_search_method_refactor' into rails-3-develop | |||
| * | | | | | Tiny refactor | Matthew Landauer | 2013-03-25 | -5/+2 |
| | | | | | |