Sean Hammond
a1672cb0ad
Remove googleanalytics_footer
...
It didn't do anything yet and I don't think it will be needed for Google
Analytics Event Tracking with CKAN 2.0 anyway.
2012-10-18 19:46:03 +02:00
Sean Hammond
32e3556d26
Remove event tracking support from CKAN 2.0
...
I'm not going to finish implementing Google Analytics Event Tracking
support for CKAN 2.0 at this point, it can be implemented later if
needed (event tracking with CKAN 1.x should still work).
2012-10-17 17:39:43 +02:00
Sean Hammond
53a778161f
Add CKAN 2.0 templates for Google Analytics tracking
...
Everything should still work as it did with CKAN 1.x templates _if_
ckan.legacy_templates is set in your ini file.
The event tracking javascript (ckanext-googleanalytics.js) still needs
to be updated for CKAN 2.0.
Also there is some code in plugin.py:filter() that adds something to the
package and group pages that I haven't implemented for CKAN 2.0 yet.
Tests need to be updated.
README needs to be updated.
2012-10-17 13:06:31 +02:00
Sean Hammond
8f5d60821f
Add some docstrings
...
Make things slightly easier to follow.
2012-10-16 16:03:41 +02:00
Sean Hammond
dcce83bb31
Fix up imports in plugin.py
...
Follow CKAN coding standards: don't use from foo import bar, but
standard library imports before all other imports and ckan imports after
all other imports.
2012-10-16 15:55:15 +02:00
Sean Hammond
bdef9ea233
Move templates and public to legacy_templates and legacy_public
...
Making way for new CKAN 2.0 templates and scripts to be added.
This shouldn't break existing CKAN 1.x functionality.
2012-10-16 15:39:27 +02:00
John Glover
45a4e5b4d2
Update tests: gasnippet.gacode renamed to gasnippet.header_code.
...
JS should not be added on the dataset view page
any more so remove that test.
2012-07-23 12:11:09 +01:00
John Glover
0cb3944ccd
Merge branch '2551-feature-track-events'
2012-07-23 11:53:00 +01:00
John Glover
df3f575119
Add remaining track events.
2012-07-23 11:48:59 +01:00
John Glover
ffd28f4619
Add first batch of Google Analytics track events.
2012-07-11 16:40:17 +01:00
John Glover
03b4023676
Add 'track_events' config option, tidy up config
...
reading.
2012-07-11 14:34:18 +01:00
John Glover
1fa09bae92
Tidy up imports a bit in plugin.py
2012-07-11 10:38:47 +01:00
amercader
1f534141ed
[ui][xs] Show downloads instead of headers on table headers
2012-05-10 16:47:20 +01:00
amercader
7373e814fd
Merge branch 'enhancement-2251-tracking'
2012-05-10 16:46:32 +01:00
amercader
02644f1d2d
Merge branch 'master' into enhancement-2251-tracking
2012-05-10 15:56:40 +01:00
amercader
a8747809d2
[ui] Update summary page design and links
2012-05-10 13:44:29 +01:00
amercader
8f22a3a3a0
[doc] Update README
2012-05-10 13:43:36 +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
deb99ebdc3
Change 'package' to 'dataset' in report
2011-12-21 11:45:45 +00:00
John Glover
16d5d11b86
Bug fix: download count style should only be added
...
once, at the end of the head section.
2011-12-20 13:16:28 +00:00
John Glover
8176247f10
[1451] Track downloads on resource view page.
...
Don't display download count on that page for now.
2011-12-20 10:56:05 +00:00
John Glover
e104e7eb9e
update genshi code for latest dataset view changes
2011-12-19 09:51:25 +00:00
John Glover
165a3fd055
remove unused import
2011-12-19 09:50:56 +00:00
John Glover
c9e8a6b5d9
change summary page to use /dataset, not /package
2011-11-29 17:56:47 +00:00
John Glover
953b30c73c
remove dead code
2011-11-29 17:46:40 +00: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
John Glover
251f896bc6
update readme for ckan 1.5 version of extension
2011-11-29 17:36:35 +00:00
John Glover
97c8b91ec7
update test_analytics_snippet test for latest
...
CKAN master changes (setting map.explicit to true)
2011-11-29 13:32:03 +00:00
John Glover
1588fbb110
change pip install bitbucket link to github link
2011-11-29 11:04:34 +00:00
John Glover
c2de764a95
change .hgignore to .gitignore
2011-11-29 11:02:09 +00:00
Seb Bacon
5cb20d1d45
cache table reflection (it was *very* slow)
2011-04-10 09:44:44 +01:00
Seb Bacon
11d3777a66
accept non-ascii IRIs
2011-04-10 09:20:49 +01:00
Seb Bacon
ee15b29de8
use sqlalchemy expression language where practical
2011-04-08 11:00:28 +01:00
Seb Bacon
b852e048c6
escape percents in query condition
2011-04-07 16:30:32 +01:00
Seb Bacon
4ad3402ca6
notes about restarting
2011-04-07 10:41:27 +01:00
Seb Bacon
0f1ee343bc
mention activating the plugin
2011-04-07 10:37:47 +01:00
Seb Bacon
14f733bd9f
factor out database init as separate install step
2011-04-07 10:24:22 +01:00
Seb Bacon
8dfa04434f
move local styling to plugin, so we don't override other layout.html files
2011-04-07 09:18:35 +01:00
Seb Bacon
04ea42339a
change 'downloads' wording to be less ambiguous
2011-04-06 12:56:52 +01:00
Seb Bacon
137567b0bf
set show_downloads to True by default
2011-04-06 12:53:59 +01:00
Seb Bacon
7bdd6e7b29
linkify
2011-04-06 12:15:09 +01:00
Seb Bacon
ee3b30338e
grammar
2011-04-06 12:14:18 +01:00
Seb Bacon
93c7a86cfe
make trackPageView come last in list
2011-04-06 12:08:51 +01:00
Seb Bacon
0397483a8c
add 'domain' config option for tracking code
2011-04-06 12:01:21 +01:00
Seb Bacon
0ba01faed2
mention virtualenv
2011-04-06 11:05:00 +01:00
Seb Bacon
aecdaac203
reflect move to OKFN bitbucket repo
2011-04-06 11:02:24 +01:00
Seb Bacon
bf749dbf5c
don't require profile_name option
2011-04-06 10:34:52 +01:00
Seb Bacon
fd851678ba
formatting tweaks
2011-04-06 10:07:58 +01:00
Seb Bacon
f3baf8311a
extra readme (and rename so it's parsed as reStructuredText by bitbucket)
...
--HG--
rename : README.txt => README.rst
2011-04-06 10:05:33 +01:00