| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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).
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Move the calculation of statistics on public bodies into
the PublicBody model, so that there's less logic in the
controller.
|
| |
| |
| |
| |
| | |
Crockford / JSLint suggests using dot notation for referring
to members of objects where possible.
|
| |
| |
| |
| | |
This is as suggested in the Flot documentation.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
From the full distribution, this only includes the basic
libary and the component for plotting error bars.
(Flot is MIT licensed.)
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
This is to provide the js side of Rails built-in helpers using the
jquery framework rather than prototype.
|
|/
|
|
| |
We don't seem to be using them, we seem to be using jquery.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
| |
deploy it or not while it's still immature
|
|
|
|
|
|
|
| |
Includes a couple of additional fixes:
* Remember to HTML-quote things that could come from users
* Fix form post action for editing users
|
| |
|
|
|
|
| |
prefilled with the URL, and display it with an icon rather than text. Fixes #172.
|
|\
| |
| |
| | |
conflicts
|
| |\
| | |
| | |
| | | |
to match new wireframes)
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
creating new requests
|
|/ /
| |
| |
| | |
about either (a) a website in their country, or (b) the existence of Alaveteli to help them make one themselves. Closes #124.
|
| | |
|
| |
| |
| |
| | |
temporarily disabled on public body forms
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
| |
Advert at bottom of email alerts.
|
| |
|
|
|