7 years agoRemove logging
Ross Jones []
Remove logging

7 years agoForce debugging logging for external libs and disables publisher/dataset
Ross Jones []
Force debugging logging for external libs and disables publisher/dataset

Because of the issue in #854, we've temporarily disabled the publisher and
datasets views of the site-usage data until we can resolve the issue.

7 years agoMerge branch 'master' of github.com:datagovuk/ckanext-ga-report
Ross Jones []
Merge branch 'master' of github.com:datagovuk/ckanext-ga-report

7 years ago[854] Better error handling for download failure and a fix for publisher hierarchy navigation
Ross Jones []
[854] Better error handling for download failure and a fix for publisher hierarchy navigation

7 years ago[#777] Refactor to handle core template changes
Tom Rees []
[#777] Refactor to handle core template changes

7 years ago[#469] Moved Modernizr.js in here. Only used in this repo.
Tom Rees []
[#469] Moved Modernizr.js in here. Only used in this repo.

8 years ago[601] Make sure only active datasets are shown in popular datasets on publisher homepage
Ross Jones []
[601] Make sure only active datasets are shown in popular datasets on publisher homepage

8 years ago[385] Use page_heading helper function consistently
Tom Rees []
[385] Use page_heading helper function consistently

8 years ago[423] Handle many more graphing edge-cases.
Tom Rees []
[423] Handle many more graphing edge-cases.

Prepare graphs for an expected time period (since July 2012) rather than for the time period found in the DB, which can be reduced to absurdity with certain queries. Graphs always have a consistent X-axis, ugly logic to combine disparate data series can be removed.

On 'Publisher' and 'Dataset' tabs, always graph the *top 20* series regardless of the month currently rendered in the table. This makes more sense from a useability POV.

Finally, some client side error checking was improved.

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

8 years ago[403] Fix rickshaw choking if there is an empty 'Others' series.
Tom Rees []
[403] Fix rickshaw choking if there is an empty 'Others' series.

8 years ago[403] Rickshaw graph always renders all series, no matter which month is selected.
Tom Rees []
[403] Rickshaw graph always renders all series, no matter which month is selected.

8 years ago[403] Fix rickshaw choking if there is an empty 'Others' series.
Tom Rees []
[403] Fix rickshaw choking if there is an empty 'Others' series.

8 years ago[403] Rickshaw graph always renders all series, no matter which month is selected.
Tom Rees []
[403] Rickshaw graph always renders all series, no matter which month is selected.

8 years ago[304] most_popular_datasets can render a preview image
Tom Rees []
[304] most_popular_datasets can render a preview image

8 years ago[304] Don't show No Graph Loaded text on Publishers page.
Tom Rees []
[304] Don't show No Graph Loaded text on Publishers page.

8 years ago[304] No need to declare a content_class any longer.
Tom Rees []
[304] No need to declare a content_class any longer.

8 years ago[304] Restyled sidebar
Tom Rees []
[304] Restyled sidebar

8 years ago[304] Remove minornavigation elements from ga-report extension.
Tom Rees []
[304] Remove minornavigation elements from ga-report extension.

8 years ago[noticket] Hide momentary flash of text on sparkline cells.
Tom Rees []
[noticket] Hide momentary flash of text on sparkline cells.

8 years ago[329] Rebase hashchange tab code on core plugin developed for ticket 329.
Tom Rees []
[329] Rebase hashchange tab code on core plugin developed for ticket 329.

8 years ago[321] Added month selector. Colorising graphs in Safari and IE.
Tom Rees []
[321] Added month selector. Colorising graphs in Safari and IE.

8 years ago[321] Redraw sparklines on tab refresh
Tom Rees []
[321] Redraw sparklines on tab refresh

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

8 years ago[162] Force browers to refresh JS and CSS with revamp.
David Read []
[162] Force browers to refresh JS and CSS with revamp.

8 years ago[162] Subtle hinting that graph legends can be toggled.
Tom Rees []
[162] Subtle hinting that graph legends can be toggled.

8 years ago[162] Assertions were overzealous. Code can handle more broken data now.
Tom Rees []
[162] Assertions were overzealous. Code can handle more broken data now.

8 years ago[273] Change alignment of numeric values in tables.
Tom Rees []
[273] Change alignment of numeric values in tables.

8 years ago[172] Maintain current month when navigating around Analytics sections.
Tom Rees []
[172] Maintain current month when navigating around Analytics sections.

8 years ago[162] Cleaning up IE7 issues.
Tom Rees []
[162] Cleaning up IE7 issues.

8 years ago[162] Rearranging ga_reports graphs per ticket feedback. Series are sensibly ordered. Page is restructured.
Tom Rees []
[162] Rearranging ga_reports graphs per ticket feedback. Series are sensibly ordered. Page is restructured.

8 years ago#167 Refactoring controller's logic to create better Percentage graphs
Tom Rees []
#167 Refactoring controller's logic to create better Percentage graphs

8 years ago#167 Togglable graph legend. Disabled mouseover.
Tom Rees []
#167 Togglable graph legend. Disabled mouseover.

8 years ago#167 Reverted modifications to libraries. Wrote rickshaw_ie7_shim.js to get libs loading without errors on IE7.
Tom Rees []
#167 Reverted modifications to libraries. Wrote rickshaw_ie7_shim.js to get libs loading without errors on IE7.

8 years ago#167 Patching to make render error-free in IE7. Modernizr is used to disable libraries.
Tom Rees []
#167 Patching to make render error-free in IE7. Modernizr is used to disable libraries.

8 years ago#167 Fixing for /dataset and /publishers
Tom Rees []
#167 Fixing for /dataset and /publishers

8 years ago#167 JS development of hashchange-dependant tabbing mechanism, and of Rickshaw graphs with separate legends.
Tom Rees []
#167 JS development of hashchange-dependant tabbing mechanism, and of Rickshaw graphs with separate legends.

8 years agoA fix for the copy and paste error that accounts for #211
Ross Jones []
A fix for the copy and paste error that accounts for #211

8 years agoMerge branch 'master' of github.com:datagovuk/ckanext-ga-report
Ross Jones []
Merge branch 'master' of github.com:datagovuk/ckanext-ga-report

8 years agoFixed problem with counting current position
Ross Jones []
Fixed problem with counting current position

8 years ago[xs] #219 Improved punctuation.
David Read []
[xs] #219 Improved punctuation.

8 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

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

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

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

8 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).

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

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

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

8 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.

8 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.

8 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.

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

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

8 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.

8 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.

8 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.

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

8 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).

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

8 years agoMinor tweaks
Ross Jones []
Minor tweaks

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

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

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

8 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

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

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

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

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

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

8 years agoTypoe
Ross Jones []
Typoe

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

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

8 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

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

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

8 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.

8 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

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

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

8 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

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

8 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

8 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.

8 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.

8 years agoActually returning the score instead of 0
Ross Jones []
Actually returning the score instead of 0

8 years agoMerge branch 'master' of github.com:datagovuk/ckanext-ga-report
Ross Jones []
Merge branch 'master' of github.com:datagovuk/ckanext-ga-report

8 years agoAdded new method to get a recent score for a dataset
Ross Jones []
Added new method to get a recent score for a dataset

8 years agoSort the dataset report by views, since we only display that now.
David Read []
Sort the dataset report by views, since we only display that now.

8 years agoChanges to fix some issues around bounces and presentation
Ross Jones []
Changes to fix some issues around bounces and presentation

8 years agoFixed merge conflict
Ross Jones []
Fixed merge conflict

8 years agoChanged to pageviews instead of unique pageviews
Ross Jones []
Changed to pageviews instead of unique pageviews

8 years agoImproved bounce rate stuff.
David Read []
Improved bounce rate stuff.

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

8 years agoFix display of publisher in Featured Dataset.
David Read []
Fix display of publisher in Featured Dataset.

8 years agoChecking for duplicate "All" stats
Ross Jones []
Checking for duplicate "All" stats

8 years agoMerge branch 'master' of github.com:datagovuk/ckanext-ga-report
Ross Jones []
Merge branch 'master' of github.com:datagovuk/ckanext-ga-report

8 years agoHandling duplicate urls in ga_url processing
Ross Jones []
Handling duplicate urls in ga_url processing

8 years agomerge
David Read []
merge

8 years agoTidy logging.
David Read []
Tidy logging.