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
Scott Limmer
27969ba3cc
[ #49 ] Use of builtins module in controller breaks CKAN Version: >= 2.7, <=2.9 compatibility
...
Added version check to controller to control builtins import
2020-11-13 11:12:34 +11: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
kmbn
2074c14c35
Remove unused imports
2017-11-13 11:20:08 +01:00
Gleb
b7238dc8c8
#16 / ga works with default uploader
2017-02-14 10:04:34 +02:00
Gleb
1165fdf22f
#16 / reworking google analytics resource download tracking
2017-02-13 15:56:10 +02:00
Sergey
59cff2f0b1
Revert "Added custom dimensions"
2017-01-25 16:18:57 +02:00
Yan
c7638e31d6
OEHXCDHG-171 GA now uses CloudStorage resource_download method, if it's presents in Ckan plugin list
2016-11-29 10:01:51 +02:00
Sergey Motornyuk
45d97159a7
SXOEHXZDG-103 / custom dimensions
2016-11-16 12:09:34 +02:00
Visar Zejnullahu
a6b27e40d7
Remove calls to get_top_packages
...
get_top_packages is broken, and needs to be rewritten to work with
CKAN 2.*. This is because ckan.authz has been removed in CKAN 2.*
See commit ffa86c010d
2016-02-03 18:21:55 +01:00
amercader
eda687c556
Fix legacy search endpoint, which wasn't calling the parent one
2015-11-20 13:25:39 +00:00
joetsoi
8dd54a1862
fix resource controller import
2015-11-16 00:39:56 +00:00
joetsoi
0652beb2d0
add resource downloads
2015-11-16 00:09:55 +00:00
Alex Sadleir
d2d5a5fc48
Move API analytics thread pool initialisation to plugin configuration
...
One pool should then be available to all controllers avoiding errors with
mod_wsgi under Apache as the number of threads grows infinitely.
2015-02-16 17:52:27 +11:00
Alex Sadleir
803b3f7f81
Use pool of threads and queue for Google Analytics Event Tracking requests
2014-11-05 13:39:53 +11:00
Alex Sadleir
5809f205f5
Use urllib2 timeout for Google Analytics Event Tracking requests
2014-11-05 12:51:51 +11:00
Alex Sadleir
d9f811cea7
PEP8 fixes for Google Analytics Event Tracking for CKAN API
2014-11-05 12:43:24 +11:00
Alex Sadleir
56fbb853a4
Adds Google Analytics Event Tracking to some API calls so that usage
...
of the CKAN API can be reported on via Google Analytics.
2013-11-26 20:26:09 +11:00
John Glover
c9e8a6b5d9
change summary page to use /dataset, not /package
2011-11-29 17:56:47 +00:00
Seb Bacon
c91ab410c0
more refactoring
2011-04-05 10:38:25 +01:00
Seb Bacon
b69d89bf18
big refactor
2011-04-04 17:44:39 +01:00
Seb Bacon
38a1ca95fe
typo
2011-03-03 13:48:12 +00:00
Seb Bacon
66e665dbcc
make sure authz query has a user to work with
2011-03-03 13:45:09 +00:00
Seb Bacon
ed1835a21e
don't return several dimensions; it makes parsing the data more complicated
2011-02-28 18:10:11 +00:00
Seb Bacon
4ad028c44c
[hack] bump controller string to clear cache
2011-02-18 17:17:58 +00:00
Seb Bacon
4634fe5150
rename controller for cache
2011-02-18 11:27:57 +00:00
Seb Bacon
e7093b3f67
return nothing if no GA credentials supplied
2011-02-11 11:24:15 +00:00
Seb Bacon
4d18d1c13d
proof of concept for accessing analytics data from CKAN
2011-02-11 11:21:19 +00:00