Commit graph

123 commits

Author SHA1 Message Date
Joost Cassee
31ffca4c2f Merge branch 'master' of github.com:jcassee/django-analytical 2011-10-30 17:23:14 +01:00
Joost Cassee
128014db99 Add support for the Spring Metrics service 2011-10-30 17:22:02 +01:00
Joost Cassee
ffde47442d Fix typo in Clicky docs 2011-10-30 16:39:33 +01:00
Joost Cassee
9e9aa950e8 Update changelog and add Uros Trebec to authors 2011-10-06 18:30:42 +02:00
Joost Cassee
9d701f5d34 Cosmetic changes to site speed tracking 2011-10-06 18:29:52 +02:00
Joost Cassee
d78f5f7264 Improve Google Analytics variable test 2011-10-06 18:15:31 +02:00
Joost Cassee
3fa241f3bb Merge pull request #12 from failedguidedog/feat/ga_page_load_time
Add Google Analytics '_trackPageLoadTime' feature
2011-10-06 09:11:44 -07:00
Uros Trebec
fa0e578fdd Added a default setting "PAGE_LOAD_TIME = False" in google_analytics.py templatetags 2011-10-03 20:04:34 +02:00
Uros Trebec
a4b076f9e8 Added a 'test_track_page_load_time' to test '_trackPageLoadTime' enabled by GOOGLE_ANALYTICS_PAGE_LOAD_TIME 2011-10-03 20:04:34 +02:00
Uros Trebec
1eab45d6b2 Added a 'GOOGLE_ANALYTICS_PAGE_LOAD_TIME' option to insert '_trackPageLoadTime' in google_analytics.py templatetag 2011-10-03 20:03:18 +02:00
Joost Cassee
95f0307787 Update changelog and bump version 2011-09-19 22:36:47 +02:00
Joost Cassee
b8ffab47f1 Merge pull request #9 from poswald/master
Allow sending events and properties to KISSmetrics
2011-09-19 13:34:43 -07:00
Paul Oswald
ebfebef65d Rename context var to 'kiss_metrics_properties'; add link to KISSmetrics docs. 2011-09-19 10:04:50 +09:00
Paul Oswald
56653912f1 Add a unit test for KISSmetrics properties 2011-09-18 11:48:36 +09:00
Joost Cassee
bb3b75a1ee Bump version to 0.10.0 2011-09-18 00:36:20 +02:00
Joost Cassee
b9c2b88d22 Merge remote-tracking branch 'edavis/setting-deleted' 2011-09-18 00:12:30 +02:00
Joost Cassee
1ae5d5c4d7 Add multiple domains support for Google Analytics 2011-09-17 23:13:25 +02:00
Eric Davis
264f984421 Clarify where assertRaisesRegexp comes from 2011-09-17 12:29:15 -07:00
Eric Davis
da5f722424 Add tox.ini 2011-09-17 11:27:02 -07:00
Eric Davis
75443cd014 Properly set the exit code when running tests
run_tests returns the number of failed tests.  Supplying this number
to sys.exit lets other programs know if there were any test failures.

Also, run the tests with the default verbosity.
2011-09-17 11:26:19 -07:00
Eric Davis
c88fbd6c75 Make SettingDeleted tests compatible with Python 2.6 and Django 1.2
Using assertRaises as a context manager only became possible in Python
2.7 or when using Django 1.3 (thanks to unittest2).  This change lets
the tests pass when using Python 2.6 and Django 1.2.

Also, test for the existence of assertRaisesRegexp and use it if it
exists, otherwise use assertRaises.
2011-09-17 11:13:15 -07:00
Paul Oswald
f85b62758d Allow setting properties in context; Document properties and events. 2011-09-18 01:07:03 +09:00
Eric Davis
39af53a8c8 Fix recursion error when copying settings._wrapped
https://github.com/jcassee/django-analytical/issues/8 for more information
2011-09-16 16:26:40 -07:00
Eric Davis
96ee34e671 Use assertRaisesRegexp for get_required_setting test 2011-09-16 16:26:40 -07:00
Joost Cassee
f24998ef2d Update changelog 2011-09-16 21:23:28 +02:00
Joost Cassee
be25e2cfd4 Merge remote-tracking branch 'edavis/setting-deleted' 2011-09-16 21:21:19 +02:00
Eric Davis
e8ce3be1b0 Add some tests for SETTING_DELETED 2011-09-12 09:25:46 -07:00
Eric Davis
ac304371f5 Better handle deleting non-existent attributes 2011-09-12 09:17:48 -07:00
Eric Davis
d217672224 Copy the wrapped settings object when creating UserSettingsHolder
This is needed otherwise deleted settings don't get added back for
later tests
2011-09-12 09:16:15 -07:00
Eric Davis
c1926dc77e Clean up docstring for override_settings 2011-09-11 22:34:24 -07:00
Eric Davis
2a1e2d3f68 Delete settings if set to SETTING_DELETED
Prior to this, SETTING_DELETED was successfully returning values but
was raising AnalyticalException because it failed a subsequent regexp
check.

With this, delete the attribute so that settings.KEY raises an
AttributeError, as expected.
2011-09-11 22:31:43 -07:00
Eric Davis
948c6c7b83 Display original class name when using override_settings 2011-09-10 22:17:58 -07:00
Joost Cassee
b6b4a82cac Fix changelog typo 2011-08-27 08:18:19 +02:00
Joost Cassee
56e3d85e15 Bump version in changelog 2011-08-27 08:12:43 +02:00
Joost Cassee
8784df4524 Add support for the SnapEngage service 2011-08-22 23:21:57 +02:00
Joost Cassee
499a9c3cd8 Update changelog and bump version 2011-08-19 07:59:02 +02:00
Julien Grenier
e2e01490dc This is the updated code from the mixpanel API Integration code. (see http://mixpanel.com/api/docs/guides/integration/js) 2011-08-16 14:07:08 -03:00
Joost Cassee
f6a634a64e Small changes to enumerate compatibility
Also update the changelog and version number.
2011-07-21 07:17:01 +02:00
Joost Cassee
861e3b7947 Merge branch 'master' of github.com:jcassee/django-analytical 2011-07-21 07:09:50 +02:00
Joost Cassee
1160a10a3d Add 'and others' to copyright 2011-07-21 07:09:37 +02:00
Joost Cassee
a24682aff3 Merge pull request #5 from rasca/master
Add enumerate function for Python 2.5 compatibility
2011-07-20 22:02:35 -07:00
Iván Raskovsky
a0c6d992ef added python 2.5 compatibility to google_analytics 2011-07-18 15:21:57 -03:00
Joost Cassee
2e4cb7fff9 Update changelog and increment version 2011-07-05 18:01:44 +02:00
Joost Cassee
aa9f1c0a2f Add Eric Davis to contributors 2011-07-05 07:22:06 +02:00
Joost Cassee
d5917b2e89 Update Django docs link to 1.3 2011-07-05 07:21:41 +02:00
Joost Cassee
13d4051592 Merge branch 'master' of github.com:jcassee/django-analytical
Remove settings manager from testcase
2011-07-05 07:12:58 +02:00
Joost Cassee
f0d4a412c2 Test updates for override_settings decorator 2011-07-04 14:07:56 +02:00
Joost Cassee
52e54c8db8 Merge pull request #4 from edavis/tests
Fix tests
2011-07-04 05:02:24 -07:00
Eric Davis
c09e02f833 Use a plain TestCase for the two suites that alter INSTALLED_APPS
And move the syncdb call to setUp in ChartbeatTagTestCaseWithSites
2011-06-29 12:15:10 -07:00
Eric Davis
6187229e3e Add test for CHARTBEAT_AUTO_DOMAIN
Even if 'django.contrib.sites' is in INSTALLED_APPS, don't add the
domain if CHARTBEAT_AUTO_DOMAIN is False
2011-06-29 12:07:37 -07:00