Commit graph

535 commits

Author SHA1 Message Date
David Smith
4515fcd1be Added quotes to Python versions 2020-12-03 23:01:10 +01:00
David Smith
9163294603 Updated supported versions of Python and Django
Dropped Python2.7/3.5 and Django 1.11 from test matrix

Removed Py2 code and updated for Py3 features

Replaced assertRaisesRegexp with AsserRaisesRegex

Updated setup.py for currently supported versions

Removed _timestamp
2020-12-03 23:01:10 +01:00
David Smith
3eb17007ad Refactored setup.py to remove cmdclass and test packages 2020-11-30 23:02:04 +01:00
David Smith
df7ed2d132 Fix flake8 errors 2020-11-30 23:02:04 +01:00
David Smith
10d109eb6c Use pytest as test runner
* Used pytest to run tests within tox environments

* Removed test runner within setup.py
2020-11-30 23:02:04 +01:00
Jannis Leidel
146a96fca0
Quote Python versions. 2020-11-26 09:41:44 +01:00
Jannis Leidel
98e7e24e3e
Merge pull request #169 from jazzband/gha
Add initial GitHub Actions workflow.
2020-11-25 21:47:50 +01:00
Jannis Leidel
161983fad5
Merge branch 'master' into gha 2020-11-25 21:43:33 +01:00
Jannis Leidel
197cdbcfad
Add Jazzband release workflow. 2020-11-25 21:18:45 +01:00
Jannis Leidel
7580bc1619
Ignore it for real? 2020-11-25 21:15:45 +01:00
Jannis Leidel
de2ed4bafc
Ignore bandit errors. 2020-11-25 21:11:14 +01:00
Jannis Leidel
2322f7a0bf
Fix config section names. 2020-11-25 21:04:49 +01:00
Jannis Leidel
1ebc2a23ea
Add gh-action mapping. 2020-11-25 21:01:53 +01:00
Jannis Leidel
b9320b41d9
Add initial GitHub Actions workflow. 2020-11-25 20:56:03 +01:00
Peter Bittner
e517bce3a6 Add SnapEngage details to Installation section
Fixes #166
2020-11-25 17:00:22 +01:00
Joost Cassee
ef40ba6ff5
Merge pull request #164 from taharushain/master
Updated regex for gtag to accept measurement ID
2020-08-02 12:39:40 +02:00
Taha Rushain
ee956230ea Breaking long strings into multiple lines 2020-07-19 02:05:12 +05:00
Taha Rushain
d98e815493 Breaking long strings into multiple lines 2020-07-19 01:57:56 +05:00
Taha Rushain
1cdfb0ed0d Breaking long strings into multiple lines 2020-07-19 01:49:38 +05:00
Taha Rushain
3292b664ec Updated Gtag implementation for mutiple id patterns 2020-07-17 19:24:51 +05:00
Taha Rushain
ac2ebf375c Updated regex for gtag to accept measurement ID 2020-07-06 01:38:40 +05:00
Joost Cassee
7e68563849
Merge pull request #162 from jazzband/piwik-warning
Only show piwik warning if using piwik
2020-07-03 10:29:23 +02:00
Hugo Osvaldo Barrera
788cab447e Only show piwik warning if using piwik
Code so far emits a warning to all users about about Piwik being
deprecated, even if Piwik is not being used.

Scope the warning so it only triggers for people to whom it's relevant.
2020-07-02 17:34:23 +02:00
Sean Wallace
88197ca17e Fix flake8. 2020-06-28 21:00:41 +02:00
Sean Wallace
438b1408fa Add user_id to Google Analytics GTag 2020-06-28 21:00:41 +02:00
Peter Bittner
962af837af Include deploy stage (excluded by error) 2020-04-15 16:44:18 +02:00
Peter Bittner
c10759d378 Bump version, release v2.6.0 2020-04-15 14:51:05 +02:00
Peter Bittner
d9b21e96c6 Test against Django 3.0, Python 3.8
Modernize Travis CI setup
2020-04-15 14:51:05 +02:00
Peter Bittner
77fdb51432 Explain the three Google Analytics options 2020-04-15 14:51:05 +02:00
Marc Bourqui
1ce265d2d9 Update test to comply with flake8 2020-04-11 18:43:31 +02:00
Marc Bourqui
d14d4727ee Add tests for new Google Analytics gtag, #108 2020-04-11 18:43:31 +02:00
Marc Bourqui
63adb0fbba Register new Google Analytics gtag, #108 2020-04-11 18:43:31 +02:00
Marc Bourqui
0ea5d39155 Fix typos 2020-04-11 18:43:31 +02:00
Marc Bourqui
756ac787e8 Add support for gtag.js 2020-04-11 18:43:31 +02:00
Tim Gates
637805e003 docs: Fix simple typo, betweeen -> between
There is a small typo in docs/services/matomo.rst, docs/services/piwik.rst.

Should read `between` rather than `betweeen`.
2020-03-03 09:01:27 +01:00
Joost Cassee
5487fd677b
Merge pull request #153 from vdboor/fix/google-method-ordering2
Make sure new Google Analytics anonimyze IP calls also happen before sending pageviews
2019-04-26 23:53:04 +02:00
Joost Cassee
724e4ddac4
Merge branch 'master' into fix/google-method-ordering2 2019-04-24 00:00:09 +02:00
Jannis Leidel
c7f8dc21ad
Updated Travis config with Jazzband release credentials. 2019-04-23 11:23:13 +02:00
Diederik van der Boor
84e7dab3d2
Make sure Google Analytics calls for ga('set', ...) happen before ga('send', ...)
The changes for the old ga.js code were addressed in #127,
before the new analytics.js code was merged by #135 (commits mention #108)
The display_features and commands could be merged to avoid unneeded blank lines.
2019-04-20 08:53:31 +02:00
Scott Karlin
b96bf0050a Update copyright line 2019-04-10 09:26:33 +02:00
Scott Karlin
d5de14ebdc Update authors and license date 2019-04-10 09:26:33 +02:00
Scott Karlin
02b0768c97 Correct code alignment (PEP8) 2019-04-10 09:26:33 +02:00
Scott Karlin
ef0b19ccb2 Clarify Piwik deprecation status 2019-04-10 09:26:33 +02:00
Scott Karlin
3b1ab2bbed Matomo still uses "piwik" in img tag 2019-04-10 09:26:33 +02:00
Scott Karlin
e5f8c199dc Create Matomo module; leave Piwik to be deprecated
With the rebranding of Piwik to Matomo, this commit:
* copies the piwik module to matomo and rebrands
* notes that the piwik module is deprecated
* updates the javascript to the current Matomo version

Implements #132
2019-04-10 09:26:33 +02:00
Peter Bittner
bfe92c716c Ensure Tox targets clean and docs are working
Update packaging information (Django 2.2, license)

Remove problematic install_requires
2019-04-09 14:43:50 +02:00
Peter Bittner
367606c12c Remove code-health button (Codacy/Landscape) for now 2019-04-09 09:27:33 +02:00
Peter Bittner
dc975aa2d3 Use Shields.io badges uniformly 2019-04-09 09:27:33 +02:00
Peter Bittner
29a95f0369 Allow Bandit to fail (for now) on Travis 2019-04-09 09:27:33 +02:00
Peter Bittner
3680872619 Travis still doesn't support Python 3.7 in the default image 2019-04-09 09:27:33 +02:00