Commit Graph

127 Commits

Author SHA1 Message Date
Sergey Motornyuk 67b599ce1a Add report action 2022-05-07 01:59:15 +03:00
Sergey Motornyuk 86ec2858a5 Add actions 2022-05-06 21:50:26 +03:00
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 b70b26f392 Prepare to v2.10 2022-05-06 17:29:58 +03:00
Sergey Motornyuk b30f5c10c1 Asset order 2021-09-22 14:36:25 +03:00
Sergey Motornyuk 650dbe218d Remove extra this in js module 2021-09-22 14:35:29 +03:00
Sergey Motornyuk af8380070a Black/add assets to package/update pyproject.toml 2021-08-13 12:25:03 +03:00
Mark Calvert 2c0b03f8d7 Fixed copy and paste issue with `self.recent_view_days`.
Updated to correct value `_recent_view_days()`
2021-03-19 14:57:12 -07: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
Konstantin Sivakov 14d4bb7163 Wrap the sql expresion to sqlalchemy text 2021-03-15 10:16:44 +01:00
Sergey Motornyuk 7eda31b181 Unify config vars 2021-02-10 11:09:12 +07:00
Sergey Motornyuk 8d9ea6cd49 Support custom resource.download handlers 2021-02-10 11:00:30 +07:00
Sergey Motornyuk 02dc6f22a5 Standard version check 2021-02-10 09:41:18 +07: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 3e620b574a fix py2 2020-10-22 00:38:13 +03:00
Sergey Motornyuk d11e2efe45 remove future 2020-07-28 23:14:15 +03:00
Sergey Motornyuk 382e5e0620 Encode strings before hashing 2020-01-15 10:47:22 +02:00
Sergey Motornyuk 23abbe05de remove unused prop from plugin 2020-01-15 09:51:06 +02:00
Sergey Motornyuk 83f40f6a0f Do not use pylons 2020-01-15 09:48:16 +02:00
Sergey Motornyuk 1b6e26f5ce IClick support 2019-12-13 16:44:52 +02:00
Sergey Motornyuk f67777c547 Add webassets / some clean-up 2019-12-09 15:23:33 +02:00
Sergey Motornyuk 0951971783 Replace urllib.request with requests 2019-12-06 13:28:13 +02: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
Konstantin Sivakov a365fcdf6d
Merge pull request #37 from kmbn/remove-unused-code
Remove unused imports
2019-02-25 16:06:39 +01:00
Konstantin Sivakov 1ca9431336
Merge pull request #34 from ViderumGlobal/master
Fix error that causes downloading stats from GA to fail
2019-02-25 16:06:27 +01:00
Sergey Motornyuk 274428fe90 Resource download link without filename raises an error
Current extension wraps `resource_download` action but wrapper
makes `filename` argument required, whereas originally it was optional.
Make `filename` optional, update wrapper's name, remove unused imports.
2019-01-10 15:47:08 +02:00
Sergey bc89eef50b
Merge pull request #9 from dadosgovbr/master
fix #5 (global name 'Authorizer' is not defined)
2018-08-23 11:36:27 +03:00
Augusto Herrmann dc31c37683 remove instantiation of deprecated class that wasn't used anyway 2018-08-21 09:26:13 -03:00
Aleksandar Jovanov ebd2d214af Implement User-ID feature 2018-03-14 15:59:59 +01:00
kmbn 2074c14c35 Remove unused imports 2017-11-13 11:20:08 +01:00
kmbn 3feb7e7f7f Fix variable referenced before assignment error 2017-07-25 14:56:40 +02:00
Gleb e49e8bbac7 #22 / no interface needed, function _post_analytics modified 2017-03-27 15:43:39 +03:00
Sergey 4ace99329f Merge pull request #31 from gleb-rudenko/url-ga-parameter
#30 / Extension adds ?_ga=... parameters to all external links
2017-03-27 14:57:45 +03:00
Gleb 3a589bf40e feedback alt 2017-03-27 14:57:12 +03:00
Sergey 6dfadd61d0 Merge pull request #28 from gleb-rudenko/extension-does-not-respect-custom-uploader-implementations
Extension does not respect custom uploader implementations
2017-03-27 14:53:39 +03:00
Gleb 437c4a8646 #30 / Extension adds ?_ga=... parameters to all external links 2017-03-13 15:46:38 +02:00
Sergey f57820fcb2 Merge pull request #27 from insertjokehere/linked_domains_invalid_json
Fix a bug introduced in #25
2017-02-14 11:37:02 +02: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
William Hughes 812b6e6098 Fix a bug introduced in #25
Setting a googleanalytics_fields key to `True` as in #25 causes the
resulting Javascript to also include the literal `True`, which is not
valid. This works around that by setting the key to `'true'` which
when evaluated in an if statement is truthy, serving the same purpose
2017-02-09 16:23:31 +13:00
Sergey Motornyuk 90bc97a326 Use google service account instead of temporary tokens 2017-02-08 15:06:52 +02:00
William Hughes 798bf28b95 Add support for Google Analytics domain linking
This allows for cross-domain tracking. See Google documentation for more detail:
https://support.google.com/analytics/answer/1034342?hl=en
2017-02-03 14:32:49 +13:00
Sergey ece14b8e43 Merge pull request #21 from miguelbgouveia/20-remove-genshi-reference
Remove genshi reference
2017-01-29 00:30:43 +02:00
Martin Burchell 52df40e58b Store fields config value as python dict 2016-09-20 17:39:14 +01:00
Miguel Gouveia 9292140282 Delete the genshi references in orther to use in ckan >= 2.6 versions (delete comments). 2016-09-08 14:13:00 +00:00
Miguel Gouveia ae2f1a58d4 Delete the genshi references in orther to use in ckan >= 2.6 versions. 2016-09-08 14:11:50 +00:00
Martin Burchell a46cc5299c Allow fields to be specified when creating the tracker 2016-07-04 15:46:50 +01:00