11 years agoMakes sure we don't add (and log) when we can't find the dataset for popular, fixes #242
Ross Jones []
Makes sure we don't add (and log) when we can't find the dataset for popular, fixes #242

11 years agoAdds info on 'No data' to fix #219
Ross Jones []
Adds info on 'No data' to fix #219

11 years agoMerge commit 'd0db210'
David Read []
Merge commit 'd0db210'

11 years agoImproved debug logging.
David Read []
Improved debug logging.

11 years agoWhen downloading this month, and specifying this month (rather than "latest"), note that it only goes up to today (instead of the end of the month).
David Read []
When downloading this month, and specifying this month (rather than "latest"), note that it only goes up to today (instead of the end of the month).

11 years ago#167 Render percentages on the site_usage graphs
Tom Rees []
#167 Render percentages on the site_usage graphs

11 years ago#167 Render legends correctly.
Tom Rees []
#167 Render legends correctly.

11 years ago#167 Refactoring graph JS. Added mouseovers.
Tom Rees []
#167 Refactoring graph JS. Added mouseovers.

11 years agoRemove January data from graphs. Allow pages to select their colorscheme.
Tom Rees []
Remove January data from graphs. Allow pages to select their colorscheme.

11 years agoStacked graphs with sane server-side data wrangling working. Percentage mode half-impemented.
Tom Rees []
Stacked graphs with sane server-side data wrangling working. Percentage mode half-impemented.

11 years agoDone integrating graphs onto site_usage/publishers and site_usage/datasets. Including some interesting queries.
Tom Rees []
Done integrating graphs onto site_usage/publishers and site_usage/datasets. Including some interesting queries.

11 years agoRefactor graph code. Querying to build a Top Packages graph.
Tom Rees []
Refactor graph code. Querying to build a Top Packages graph.

11 years agoGraphing dataset downloads.
Tom Rees []
Graphing dataset downloads.

11 years agoRefactoring and tidying Rickshaw code. Placeholder graphs inserted. Front page sparklines are sensibly sorted.
Tom Rees []
Refactoring and tidying Rickshaw code. Placeholder graphs inserted. Front page sparklines are sensibly sorted.

11 years agoFeature #162: Added Rickshaw graphs to most panes of statistics. Needs a little tidying for clarity.
Tom Rees []
Feature #162: Added Rickshaw graphs to most panes of statistics. Needs a little tidying for clarity.

11 years agoFeature #162: Added sparkline graphs to the overview of analytics. Could be query optimised.
Tom Rees []
Feature #162: Added sparkline graphs to the overview of analytics. Could be query optimised.

11 years agoAdded modified version of the JQuery sparkline library.
Tom Rees []
Added modified version of the JQuery sparkline library.

11 years agoImplements downloads counts (for dataset resources) and fixes an issue with 'All' records.
Ross Jones []
Implements downloads counts (for dataset resources) and fixes an issue with 'All' records.

- Fetches the data for downloads (either direct or cached) from when a user clicked on a
Download button. We lookup the resource for this url (based on .url or .cache_url) and
then associate the download count with the package it belongs to.
- Fixes a bug (#211) where the All records are deleted for every url, even if that url was
not fetched (and therefore won't get a new All record).

11 years agoOnly show the months for Downloads that we have
Ross Jones []
Only show the months for Downloads that we have

11 years agoMinor tweaks
Ross Jones []
Minor tweaks

11 years agoMinor tweak to naming
Ross Jones []
Minor tweak to naming

11 years agoUpdate to handle missing downloads data
Ross Jones []
Update to handle missing downloads data

11 years agoError check for potentially missing data
Ross Jones []
Error check for potentially missing data

11 years agoMake sure we total the vals for 'All' rather than just duplicate the entry
Ross Jones []
Make sure we total the vals for 'All' rather than just duplicate the entry

11 years agoRemove write to stdout
Ross Jones []
Remove write to stdout

11 years agoAdds the ability to fetch information on download events
Ross Jones []
Adds the ability to fetch information on download events

11 years agoForce len in avg calc to be a float too
Ross Jones []
Force len in avg calc to be a float too

11 years agoChange bounce calculation to use visitBounceRate rather than calculated
Ross Jones []
Change bounce calculation to use visitBounceRate rather than calculated

11 years agoUpdated count of deleted records
Ross Jones []
Updated count of deleted records

11 years agoTypoe
Ross Jones []
Typoe

11 years agoMinor tweak to see what is going on with delete()
Ross Jones []
Minor tweak to see what is going on with delete()

11 years agoUpdated with more logging
Ross Jones []
Updated with more logging

11 years agoFixing two bugs in one, making sure All are deleted as well as period and fixing a string concat problem
Ross Jones []
Fixing two bugs in one, making sure All are deleted as well as period and fixing a string concat problem

11 years agoModified model for delete() to check != 'All' instead of 'all'
Ross Jones []
Modified model for delete() to check != 'All' instead of 'all'

11 years agoTemplate fix for broken publisher links
Ross Jones []
Template fix for broken publisher links

11 years agoReverted previous change - I found a better way to do the css in DGU.
David Read []
Reverted previous change - I found a better way to do the css in DGU.

11 years agoAdd in <hr> to box titles, in line with DGU style change
David Read []
Add in <hr> to box titles, in line with DGU style change

11 years agoMerge branch 'master' of github.com:datagovuk/ckanext-ga-report
David Read []
Merge branch 'master' of github.com:datagovuk/ckanext-ga-report

11 years agoAvoid problem when testing.
David Read []
Avoid problem when testing.

11 years agoMake sure that the url normalization for social info takes the correct data
Ross Jones []
Make sure that the url normalization for social info takes the correct data

11 years agoMake sure clicking publishers carries the current month across
Ross Jones []
Make sure clicking publishers carries the current month across

11 years agoChange the entry for the current month to include the date that reports are available to.
Ross Jones []
Change the entry for the current month to include the date that reports are available to.

- Requires a migration
alter table ga_stat add column period_complete_day text;
- Makes sure that GA_Stat entries have the period_complete_day set
- Cleans up the template and moves the drop-down to the util template

11 years agoToken is now referenced in the config, making it easier for the gov_daily script to kick off downloads.
David Read []
Token is now referenced in the config, making it easier for the gov_daily script to kick off downloads.

11 years agoAdjust popularity score to take account of number of days in the month.
David Read []
Adjust popularity score to take account of number of days in the month.

11 years agoActually returning the score instead of 0