10 years agoForce a refresh of the oauth token before every request to ensure we do not fail because of that
Ross Jones []
Force a refresh of the oauth token before every request to ensure we do not fail because of that

10 years agoLast fix for missing sidebar on index (global) page
Ross Jones []
Last fix for missing sidebar on index (global) page

10 years agoMissed one when fixing 777 merge
Ross Jones []
Missed one when fixing 777 merge

10 years agoFix the broken 777 merge
Ross Jones []
Fix the broken 777 merge

10 years ago[854] Replace ALL occurrences of publisher with organization
Ross Jones []
[854] Replace ALL occurrences of publisher with organization

10 years ago[854] Replace query for type-"publisher" with type="organization"
Ross Jones []
[854] Replace query for type-"publisher" with type="organization"

10 years ago[854] Fixes unexplained failure with fetching publisher information.
Ross Jones []
[854] Fixes unexplained failure with fetching publisher information.

Whilst we are still using the google lib we only let it do the oauth dance
before we take over making the requests using the python-requests library.

In cases where it fails with a 401 we will retry the request ONCE after
trying to obtain a new token.

Re-enabled all of the relevant links and html blocks that were commented out.

10 years ago[noticket] Temporary change to remove link to publisher site-usage whilst it gets fixed
Ross Jones []
[noticket] Temporary change to remove link to publisher site-usage whilst it gets fixed

10 years agoRemove logging
Ross Jones []
Remove logging

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

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

10 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

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

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

10 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 ago[162] Force browers to refresh JS and CSS with revamp.
David Read []
[162] Force browers to refresh JS and CSS with revamp.

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

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

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

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

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

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

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

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

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

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

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

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

11 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

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

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

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

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
Ross Jones []
Actually returning the score instead of 0

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

11 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

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

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

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

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