Commit graph

230 commits

Author SHA1 Message Date
Peter Bittner
c7b14bdf5c Drop Python 3.2 support
Refactor Travis CI configuration

Add flake8 checks, address all complaints
2017-10-16 12:11:23 +02:00
Bodnar Bogdan
9df1182877 Fix exception message 2017-08-16 10:41:09 +02:00
Bodnar Bogdan
22403f9a03 Fix uservoice tests
Rewrite test_empty_key in the same way as in the other modules.
Delete test_overridden_empty_key, because the Node (In this case, the UserVoiceNode) should not be created if there is no configuration initially.
2017-08-16 10:40:56 +02:00
Bodnar Bogdan
add3baff74 Fix holding config variable in database through proxy objects
A config variable may not necessarily be None when not configured. Can be stored in the database with the help of proxy objects, which can  return the None value when accessed.
For example, to integrate with jazzband/django-constance.
2017-08-15 17:52:12 +02:00
Daniel Vitiello
67ee8bdb50 Updated regex for Intercom APP_ID and tests for Intercom 2017-02-15 16:32:29 -06:00
Garrett Robinson
6f1db73026 Address review comments from @bittner
- Remove comments from Piwik tracking JS
- Remove unnecessary wrapping from lines in tests
2017-01-13 18:09:01 -08:00
Garrett Robinson
7ef1c9fd31 Update Piwik tracking code
Updates Piwik TRACKING_CODE to be based on the latest tracking code from
https://developer.piwik.org/guides/tracking-javascript-guide.
2017-01-13 12:48:09 -08:00
Garrett Robinson
6eeb809ea2 Fix unit tests 2017-01-11 20:22:34 -05:00
Garrett Robinson
212394a30d Use protocol-relative URL for Piwik fallback img
Avoids mixed content issues when using django-analytical on sites served
over HTTPS. Using a protocol-relative URL is also recommended in the
Piwik documentation: https://issues.piwik.org/344.

Fixes #96.
2017-01-11 19:45:15 -05:00
Joost Cassee
d9b482b8c7 Bump version to 2.2.2 and update changelog 2016-10-01 14:58:31 +02:00
Ian Ramsay
4221a1a3ed Added optional port to Piwik domain path 2016-09-30 10:02:57 -04:00
Joost Cassee
1cd95cd77b Update changelog and bump version to 2.2.1 2016-05-27 10:34:35 +02:00
Steve Schwarz
d579ec2be0 Corrected key name 2016-05-26 21:42:56 -05:00
Joost Cassee
eadd182fd0 Update changelog and bump version to 2.2.0 2016-05-25 20:22:15 +02:00
Joost Cassee
fb24d003f2 Merge pull request #92 from buildingenergy/master
Add woopra to window for SPA analytics
2016-05-25 20:16:07 +02:00
Aleck Landgraf
109de4c1d7 removes crud per PR comments 2016-05-25 10:43:11 -07:00
Joost Cassee
0da24961a6 Update changelog and bump version to 2.1.0 2016-05-25 10:44:18 +02:00
Nikolay Korotkiy
8b232d06cb Add support for the Raiting@Mail.ru service 2016-05-25 11:05:01 +03:00
Aleck Landgraf
20e6a38163 updates to the latest woopra snippet which adds woopra to the window for tracking custom events, like SPA routing 2016-05-24 14:37:54 -07:00
Nikolay Korotkiy
fa034b0b10 Add support for the Yandex.Metrica service 2016-05-20 09:16:27 +03:00
Joost Cassee
b9953ba629 Merge pull request #89 from saschwarz/gaflags
Google Analytics _set*SampleRate and _set*CookieTimeout
2016-05-19 10:11:15 +02:00
Joost Cassee
4ceb9aa2f1 Merge pull request #91 from bittner/feature/remove-obsolete-reinvigorate-net
Remove Reinvigorate template tag, tests and docs
2016-05-19 10:09:30 +02:00
Steve Schwarz
7a6f24173b Added GA SAMPLE_RATEs and COOKIE_TIMEOUTs 2016-05-18 23:30:56 -05:00
Peter Bittner
849c551d55 Remove dead code (unsupported Python 2.6) 2016-05-19 00:04:15 +02:00
Peter Bittner
83312e01f9 Remove Reinvigorate template tag, tests and docs
Closes #82
2016-05-18 23:41:58 +02:00
Peter Bittner
0a4a9b7220 Fix W0622 (redefined-builtin), correct white space 2016-05-18 23:13:03 +02:00
Peter Bittner
66f4aea54a Fix W0612 (unused-variable) x3, correct white space 2016-05-18 23:12:29 +02:00
Peter Bittner
7847d22f95 [GoSquared] Remove settings override with no effect 2016-05-18 15:34:18 +02:00
Peter Bittner
709b8edcf4 [GoSquared] Test user is None in _identify 2016-05-18 14:58:41 +02:00
Peter Bittner
f832ec6179 Remove dead code (unsupported Python/Django versions) 2016-05-18 14:51:52 +02:00
Peter Bittner
14c1772641 [Woopra] Fix code smell "redefine built-in" and flake8 complaints 2016-05-18 14:10:25 +02:00
Peter Bittner
a1d3bbc09f [Spring Metrics] Fix code smell "redefine built-in" and flake8 complaints 2016-05-18 14:10:25 +02:00
Peter Bittner
9e6f7c8723 [Intercom] Fix code smell "redefine built-in" and flake8 complaints 2016-05-18 14:10:25 +02:00
Peter Bittner
56bcb46bb2 [GoSquared] Fix code smell "unused import" and flake8 complaints 2016-05-18 14:10:25 +02:00
Peter Bittner
54b7dfce2c [Google Analytics] Fix code smell "redefine built-in" and flake8 complaints 2016-05-18 14:10:25 +02:00
Peter Bittner
ea6b49f354 [Crazy Egg] Fix code smell "redefine built-in" and flake8 complaints 2016-05-18 14:10:25 +02:00
Joost Cassee
50bebf3181 Update copyright dates and fix history include 2016-01-16 23:38:01 +01:00
Joost Cassee
586b164084 Bump version to 2.0.0 2016-01-16 23:10:53 +01:00
Joost Cassee
de1d29f3c9 Fix missing max_length in test user identity field 2016-01-06 15:22:38 +01:00
Joost Cassee
f84872a0ab Merge branch 'django19' of https://github.com/hobarrera/django-analytical
Conflicts:
	tox.ini
2016-01-06 14:58:43 +01:00
Joost Cassee
cf9c581de1 Merge pull request #75 from orcasgit/custom-username
support alternative username fields
2016-01-06 14:46:04 +01:00
Peter Bittner
2510333c5d Allow local host names for Piwik servers
Closes #76
2016-01-04 17:49:48 +01:00
Hugo Osvaldo Barrera
9144118f80 Add missing apps to chartbeat tests settings 2015-12-21 14:26:39 -03:00
Hugo Osvaldo Barrera
f8b820c1db Only import django.contrib.site if it's in use
Since django1.7, importing models for uninitialized apps is not
supported, so Site if the app has been configured/initialized.
2015-12-21 14:26:39 -03:00
Hugo Osvaldo Barrera
d7fcdb0346 Make mixpanel dj19-compatible
Looks like django>=1.9 uses `token` somewhere for simpletags, so use
`_token` for our own to avoid it getting overwritten.
2015-12-21 14:26:39 -03:00
Hugo Osvaldo Barrera
d42e6d348b Escape performable tags
See this entry[1] in the django 1.9 release notes for details.

[1]: https://docs.djangoproject.com/en/1.9/releases/1.9/#simple-tag-now-wraps-tag-output-in-conditional-escape
2015-12-21 14:26:39 -03:00
Hugo Osvaldo Barrera
b833f37f95 Tests migrate instead of syncdb
The latter is obsolete and have been replaced by the former.
2015-12-21 14:26:39 -03:00
Brad Pitcher
5af731ab9d support custom username fields 2015-12-20 09:40:08 -08:00
Brad Pitcher
4273525668 override internal ips with empty list 2015-12-17 13:48:24 -08:00
Hugo Osvaldo Barrera
7f039cce3f Remove bogus import 2015-12-06 11:37:11 -03:00