aboutsummaryrefslogtreecommitdiffstats
path: root/public
Commit message (Collapse)AuthorAgeLines
* Add (and use) minified versions of the Flot JavascriptMark Longair2013-10-15-0/+4
|
* Work around a bug in yui-compressorMark Longair2013-10-15-3/+3
| | | | | | jquery.flot.axislabels.js fails to minify with yui-compressor due to a bug in it relating to delete being a keyword - we can work around this by using the ['delete'] syntax instead.
* Add a tooltip to each bar of the public body stats graphsMark Longair2013-10-15-1/+35
| | | | | Since the rotated public body names on the x-axis may be difficult to read, it's helpful to have them in a tooltip as well.
* Make bars in public body statistics charts clickableMark Longair2013-10-15-0/+13
| | | | | | | | | Now if you click on the bar representing statistics for a particular public body, it will take you to that public body's page. In addition, the bars are highlighted when you hover over them.
* Rotate labels on the x-axis by 90 degreesMark Longair2013-10-15-1/+207
| | | | | | This commit adds the tickrotor extension to Flot, which allows rotated labels for public bodies. This extension is licensed under either MPL 1.1, GPL 2.0 or LGPL 2.1.
* Update flot to a development versionMark Longair2013-10-15-92/+3431
| | | | | | This updates flot to version 0c2f6e3, which should be shortly before the release of 0.8.2. This is required for the tickrotor extension (allowing rotated public body names on the x-axis).
* Merge branch 'feature/hide-individual-responses' into rails-3-developLouise Crow2013-09-17-1/+3
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile app/views/admin_request/edit_outgoing.html.erb config/packages doc/CHANGES.md doc/INSTALL.md spec/models/info_request_spec.rb spec/models/public_body_spec.rb
| * Extract out code for making a request summary fileLouise Crow2013-09-16-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Render the show template within the current thread rather than making another request - we're going to need to use the current session in order to know what do include in the zip file, now that we have more fine-grained visibility of messages. Also, this will mean we can use this functionality in single threaded contexts, and test it more easily. Don't display profile photos as this would require another process, and hide other icons so we don't need to include them. Use render_to_string as a more standard way of rendering templates to a string for further manipulation.
* | Remove unused stylesheetsLouise Crow2013-09-11-309/+0
| |
* | Merge branch 'body-statistics' into rails-3-developLouise Crow2013-09-04-0/+666
|\ \
| * | Refactor calculation of statisticsMark Longair2013-08-20-0/+5
| | | | | | | | | | | | | | | | | | Move the calculation of statistics on public bodies into the PublicBody model, so that there's less logic in the controller.
| * | Refer to Javascript object members more idiomaticallyMark Longair2013-08-20-12/+12
| | | | | | | | | | | | | | | Crockford / JSLint suggests using dot notation for referring to members of objects where possible.
| * | Add excanvas for support of graph-drawing on IE8 and beforeMark Longair2013-08-20-0/+1
| | | | | | | | | | | | This is as suggested in the Flot documentation.
| * | Add a page with experimental statistics on public bodiesMark Longair2013-08-20-0/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Add a Flot extension for drawing axis labelsMark Longair2013-08-15-0/+451
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suprisingly, there is not support in base Flot for drawing axis labels - one solution is to use the flot-axislabels plugin from: https://github.com/markrcote/flot-axislabels This plugin is also MIT-licensed.
| * | Add the flot Javascript graph drawing library version 0.8.1Mark Longair2013-08-15-0/+92
| |/ | | | | | | | | | | From the full distribution, this only includes the basic libary and the component for plotting error bars. (Flot is MIT licensed.)
* | Merge remote-tracking branch 'origin/admin-js-static' into rails-3-developLouise Crow2013-08-28-24/+56
|\ \
| * | Serve admin.js as a static fileMark Longair2013-08-21-24/+56
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Add unobtrusive javascript gem.Louise Crow2013-08-22-0/+393
| | | | | | | | | | This is to provide the js side of Rails built-in helpers using the jquery framework rather than prototype.
* | Remove prototype javascript files.Louise Crow2013-08-22-9265/+0
|/ | | | We don't seem to be using them, we seem to be using jquery.
* Remove support for theme stylesheet inclusion via template deprecated in ↵Louise Crow2013-06-05-1/+0
| | | | version 0.5. Closes #972.
* Change wording on button to start request for a particular authorityMatthew Landauer2013-04-11-5/+0
|
* Merge remote-tracking branch 'mysociety/develop' into rails-3-developHenare Degan2013-03-14-1/+1635
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile Gemfile.lock app/controllers/admin_request_controller.rb app/controllers/admin_track_controller.rb app/controllers/request_controller.rb app/controllers/services_controller.rb app/helpers/link_to_helper.rb app/mailers/request_mailer.rb app/models/application_mailer.rb app/models/info_request.rb app/views/admin_censor_rule/edit.html.erb app/views/admin_censor_rule/new.html.erb app/views/admin_public_body/_form.html.erb app/views/admin_public_body/_locale_selector.html.erb app/views/admin_public_body/_one_list.html.erb app/views/admin_public_body/edit.html.erb app/views/admin_public_body/list.html.erb app/views/admin_public_body/new.html.erb app/views/admin_request/_incoming_message_actions.html.erb app/views/admin_request/edit.html.erb app/views/admin_request/edit_comment.html.erb app/views/admin_request/edit_outgoing.html.erb app/views/admin_request/list.html.erb app/views/admin_request/list_old_unclassified.html.erb app/views/admin_request/show.html.erb app/views/admin_track/_some_tracks.html.erb app/views/admin_track/list.html.erb app/views/admin_user/edit.html.erb app/views/admin_user/list.html.erb app/views/admin_user/show.html.erb app/views/general/_footer.html.erb app/views/general/exception_caught.html.erb app/views/help/contact.html.erb app/views/layouts/default.html.erb app/views/public_body/_alphabet.html.erb app/views/request/_request_listing_single.html.erb app/views/request/_sidebar.html.erb app/views/request/new.html.erb app/views/request/show.html.erb app/views/request_mailer/external_response.rhtml app/views/request_mailer/fake_response.rhtml config/environment.rb config/environments/production.rb config/routes.rb spec/controllers/admin_censor_rule_controller_spec.rb spec/controllers/request_controller_spec.rb spec/controllers/track_controller_spec.rb spec/helpers/link_to_helper_spec.rb spec/mailers/request_mailer_spec.rb spec/models/info_request_spec.rb spec/spec_helper.rb spec/views/public_body/show.html.erb_spec.rb spec/views/request/show.html.erb_spec.rb vendor/plugins/rails_xss/lib/rails_xss/erubis.rb
| * Make default maintenance page html5Matthew Landauer2013-03-07-1/+2
| |
| * Replace use of <big> tag with <span class="big">Matthew Landauer2013-03-07-0/+4
| |
| * Rename assets for admin interface directoryMatthew Landauer2013-02-19-0/+0
| |
| * No need to set the admin icon pathsMatthew Landauer2013-02-19-2/+4
| |
| * Merge in adminbootstraptheme 323d704ab4f1ffe31f20fcabeaf030c462dfbadf into ↵Matthew Landauer2013-02-19-0/+1627
| | | | | | | | main project
* | Merge branch 'develop' into rails-3-spikeHenare Degan2013-02-15-3/+23
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile Gemfile.lock app/controllers/general_controller.rb app/controllers/track_controller.rb app/models/outgoing_message.rb app/models/public_body.rb app/models/user.rb app/views/general/frontpage.rhtml config/environment.rb config/initializers/inflections.rb config/initializers/mime_types.rb db/migrate/094_remove_old_tags_foreign_key.rb lib/timezone_fixes.rb spec/models/request_mailer_spec.rb spec/views/request/list.rhtml_spec.rb
| * Remove FF button padding, use linear gradient for gradient on buttons in ↵Louise Crow2013-01-28-2/+21
| | | | | | | | browsers that support it - with image backgrounds, we get tied up in issues about the line-height of input elements, which FF sets using !important. Fixes https://github.com/mysociety/whatdotheyknow-theme/issues/53
| * WDTK-256- Link to this widget retain permalink focus Nathan Jenkins2013-01-23-1/+2
| |
* | These should be long unusedHenare Degan2012-12-11-44/+0
| |
* | Run the Rails 3 generatorHenare Degan2012-12-11-2169/+4172
|/
* Move styling of popup close buttons to stylesheet so they can be more easily ↵Louise Crow2012-11-28-0/+4
| | | | overriden by themes.
* Remove duplication in quote marks imagesMatthew Landauer2012-11-14-0/+0
|
* Stop the height of the html view header changing with the browser windowMatthew Landauer2012-11-08-1/+1
|
* Tidy up request type options line on requests search formMatthew Landauer2012-11-01-0/+9
|
* Make twitter widget fit inside sidebarMatthew Landauer2012-10-31-7/+1
|
* Keep content of signin and signup forms within their parent divsMatthew Landauer2012-10-18-1/+5
|
* Update references to point to the mySociety repo.Louise Crow2012-08-29-1/+1
|
* Serve cached attachments directly from cacheRobin Houston2012-07-18-0/+1
|
* Style the search button with CSS so it can be overridden in themesSeb Bacon2012-07-13-1/+14
|
* Ensure the alert banner on every page is hidden if the relevant cookie is setSeb Bacon2012-07-13-3/+8
|
* Further tweaks to "follow" functionality UI / look and feelSeb Bacon2012-05-30-3/+20
|
* Tweaks to wording and layout of "follow" options.Seb Bacon2012-05-30-3/+15
|
* Support "following" functionality:Seb Bacon2012-05-30-0/+7
| | | | | | * Change "email me about stuff" wording to "follow" throughout * Introduce a new flag that the user can set, which controls if they get email alerts * Add a new link to a "wall" for logged in users where they can see a feed of all the things they're following
* First stab at new feature. Adds new box in sidebar for reporting an issue, a ↵Seb Bacon2012-05-24-1/+1
| | | | | | new "needs admin attention"-type state to InfoRequests, a flag indicating that a request has ever been marked as needing admin attention, and a controller method and route for setting this state & flag. Also adds the reason something needs admin attention to the subject of the email that gets sent to administrators. Neeeds tests.
* Bump jquery to latest versionSeb Bacon2012-05-23-18/+4
|
* remove files that could easily live in a theme, so people can choose to ↵Seb Bacon2012-05-23-5164/+195
| | | | deploy it or not while it's still immature
* Merge from wombleton:feature/440_sparkly_admin_cssSeb Bacon2012-05-23-195/+5456
| | | | | | | Includes a couple of additional fixes: * Remember to HTML-quote things that could come from users * Fix form post action for editing users