Commit Graph

19 Commits

Author SHA1 Message Date
Sergey Motornyuk dc75b4c472 Configure tests 2022-05-06 19:28:52 +03:00
Sergey Motornyuk 7f5c2c03d9 Add config declarations 2022-05-06 19:01:29 +03:00
Sergey Motornyuk af8380070a Black/add assets to package/update pyproject.toml 2021-08-13 12:25:03 +03:00
Mark Calvert 8a5c9c2cbf Added new CKAN configurable value for recent view days 'googleanalytics.recent_view_days'
Default value is still 14 days
This will allow modifying the packages recent view date day delta
2021-03-19 14:02:20 -07:00
Sergey Motornyuk c8089d7017 Migrate cli 2019-11-22 18:08:02 +02:00
Sergey Motornyuk ec9465654e Futurize codebase 2019-11-22 17:02:26 +02:00
Sergey Motornyuk a5be073c04 2.9 support 2019-11-22 16:59:22 +02:00
Sergey Motornyuk 90bc97a326 Use google service account instead of temporary tokens 2017-02-08 15:06:52 +02:00
Sean Hammond b9879ad28d Use g not config in templates
config is no longer available to templates (changed in CKAN core), use g
instead.

This means I have to rename googleanalytics.resource_prefix to
googleanalytics_resource_prefix, because it's now an attribute and can't
have a . in it.

Should probably be using g rather than config to access the setting in
the Python code as well..
2012-12-20 21:39:24 +00:00
Ross Jones 5ad904400b Minor tidy up 2012-10-18 15:15:43 +01:00
Ross Jones 459ff608a6 Fixes to make sure that data collected for reports is working
Make sure we handle the changes to the API to ensure we collect the
dataset and resource information
2012-10-18 15:11:01 +01:00
Ross Jones 2283571562 Attempts to provide support for v3 of the Google Analytics API.
Since version 2 of the Google Analytics API was shelved the download
of previous data was broken.  This commit should, once the oauth dance
has been complete, allow it to work again by changing all of the calls.
See the README for instructions on setting up OAUTH.  Other bug fixes
are:

- Resources views are now clearly identified
- Package Ids are set for /dataset/edit requests
- Updated README
2012-10-18 13:47:30 +01:00
Toby 143dafab45 summary_tracking renames and fixes 2012-04-20 14:46:00 +01:00
Toby db13b0b9cd changes for new internal tracking 2012-04-05 18:12:25 +01:00
John Glover 8906260eb1 update plugin filter method and tests for latest
ckan (with dataset view changes)
2011-11-29 17:39:49 +00:00
Seb Bacon 14f733bd9f factor out database init as separate install step 2011-04-07 10:24:22 +01:00
Seb Bacon bf749dbf5c don't require profile_name option 2011-04-06 10:34:52 +01:00
Seb Bacon fefac7548d add tests, and associated fixage/harness support to main software 2011-04-05 15:08:24 +01:00
Seb Bacon b69d89bf18 big refactor 2011-04-04 17:44:39 +01:00