aboutsummaryrefslogtreecommitdiffstats
path: root/public/javascripts
Commit message (Collapse)AuthorAgeLines
* Move last JS files from public/javascripts/ to app/assets/javascripts/Mark Longair2013-11-26-3638/+0
|
* Switch Javascript (bar admin) to be served with the asset piplineMark Longair2013-11-19-1796/+0
|
* 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 'body-statistics' into rails-3-developLouise Crow2013-09-04-0/+631
|\
| * 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/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+0
|\ \
| * | Serve admin.js as a static fileMark Longair2013-08-21-24/+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.
* | 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.
* Merge branch 'develop' into rails-3-spikeHenare Degan2013-02-15-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * WDTK-256- Link to this widget retain permalink focus Nathan Jenkins2013-01-23-1/+2
| |
* | Run the Rails 3 generatorHenare Degan2012-12-11-2130/+4115
|/
* Ensure the alert banner on every page is hidden if the relevant cookie is setSeb Bacon2012-07-13-3/+8
|
* 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-322/+148
| | | | deploy it or not while it's still immature
* Merge from wombleton:feature/440_sparkly_admin_cssSeb Bacon2012-05-23-148/+614
| | | | | | | Includes a couple of additional fixes: * Remember to HTML-quote things that could come from users * Fix form post action for editing users
* Preserve search text when flipping between result types. Fixes #187.Seb Bacon2011-09-16-0/+8
|
* Modify "link to this" behaviour: make it pop up a box with an input ↵Seb Bacon2011-09-12-1/+34
| | | | prefilled with the URL, and display it with an icon rather than text. Fixes #172.
* Merge branch 'develop' of github.com:sebbacon/alaveteli into develop, fix ↵Seb Bacon2011-09-05-0/+66
|\ | | | | | | conflicts
| * Merge branch 'asktheeu-new-design' into develop (update New Request workflow ↵David Cabo2011-09-01-0/+66
| |\ | | | | | | | | | to match new wireframes)
| | * Move log-in point to before Preview and fix modal sign-in and sign-up redirectsDavid Cabo2011-08-11-0/+11
| | |
| | * New Request wireframe: implemente modal sign-in processDavid Cabo2011-08-02-0/+46
| | |
| | * Adapting New Request flow to new wireframes: added type ahead search when ↵David Cabo2011-07-26-0/+9
| | | | | | | | | | | | creating new requests
* | | Flash a message to users from outside the deployed country, telling them ↵Seb Bacon2011-09-05-83/+50
|/ / | | | | | | about either (a) a website in their country, or (b) the existence of Alaveteli to help them make one themselves. Closes #124.
* | more work in progress on search formsSeb Bacon2011-08-29-44/+94
| |
* | Update admin theme with softer colors and put back list of tags help, ↵David Cabo2011-08-23-0/+102
| | | | | | | | temporarily disabled on public body forms
* | Update jQuery from 1.3 to 1.6.2 (fixes #146)David Cabo2011-08-23-15/+14
|/
* Make cropping workFrancis Irving2010-07-15-0/+5
|
* Centre initial selectionFrancis Irving2010-07-15-3/+17
|
* Cropping interface.Francis Irving2010-07-15-0/+193
|
* Interstitial advertising MP expenses campaign.francis2009-01-19-0/+115
| | | | Advert at bottom of email alerts.
* Migration to Rails 2.1francis2008-09-04-1805/+3707
|
* Default Rails gumph.francis2007-08-01-0/+5380