Commit graph

580 commits

Author SHA1 Message Date
Petr Dlouhý
a82bde708a Update docs/services/google_analytics_gtag.rst
Co-authored-by: Peter Bittner <django@bittner.it>
2022-07-18 16:54:29 +02:00
Petr Dlouhý
83e4361d2a Update docs/features.rst
Co-authored-by: Peter Bittner <django@bittner.it>
2022-07-18 16:54:29 +02:00
Petr Dlouhý
25979fd0c2 Update docs/features.rst
Co-authored-by: Peter Bittner <django@bittner.it>
2022-07-18 16:54:29 +02:00
Petr Dlouhý
96f1ba98b1 add more information about overriding identity to documentation 2022-07-18 16:54:29 +02:00
Petr Dlouhý
7e28ee31f1 add custom identity test 2022-07-16 13:25:39 +02:00
Peter Bittner
248e04aef5 Fix outdated URLs that point to the Clickmap service
Fixes #182
2022-07-14 10:56:02 +02:00
Peter Bittner
f487cb895c Fix Matomo noscript tag
Reference: https://matomo.org/faq/how-to/faq_176/
2022-07-06 23:52:03 +02:00
Peter Bittner
688524305f Remove deprecated Piwik integration
Please use our Matomo integration instead
2022-07-06 23:52:03 +02:00
Kevin Olbrich
ba59f396df add GOOGLE_ANALYTICS_JS_SOURCE setting to allow custom source URL
fixes https://github.com/jazzband/django-analytical/issues/212
2022-07-06 08:30:22 +02:00
Peter Bittner
844a178c04 Simplify copyright notice
Co-authored-by: David Smith <39445562+smithdc1@users.noreply.github.com>
2022-03-15 09:34:50 +01:00
Peter Bittner
ce90933ab1 Release v3.1.0
Removed optional license field from metadata, following recommendations from packaging guide.
See https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#license
2022-03-15 09:34:50 +01:00
Peter Bittner
a8be4ea814 Readability counts, code must be self-explanatory 2022-03-14 22:51:05 +01:00
Peter Bittner
d82ca0aed5 Use context manager for file reading 2022-03-11 11:16:31 +01:00
Peter Bittner
52aa88f08a Use pathlib instead of os.path (we only support Python 3.6+) 2022-03-11 10:15:45 +01:00
Peter Bittner
023702fa75 Consolidate tox.ini and pyproject.toml 2022-03-10 15:50:29 +01:00
Jannis Leidel
1d9a3b5626
Merge pull request #205 from jazzband/feature/rename-default-branch
Rename default branch (master ➜ main)
2022-02-06 21:08:58 +01:00
Peter Bittner
2fd2279ecb Rename default branch (master ➜ main)
Following the example of other popular free software projects, we also rename
our default branch to remove terminology stemming from colonialism and slavery.
2022-02-05 18:42:08 +01:00
Peter Bittner
a021e07e15
Improve GHA test jobs, move tool config to pyproject.toml (#202)
* Move Tox tool config settings to pyproject.toml
* Restore older Bandit version for predictive setup
   Bandit UX is seriously broken. Unfortunately, only <1.6 works predictably.
* Exclude unsupported Python/Django combinations
   Use a more self-explanatory build job name for tests
* Help pytest find the Django test project settings
* Use clean range for Django 4.0
* Keep load on the GHA runners low, use newer Python for checks
2022-02-04 19:04:03 +01:00
merc1er
051d46ceda Fix typo 2022-02-04 03:12:45 +01:00
Peter Bittner
8d449868da Use job name suggested by @jezdez
Co-authored-by: Jannis Leidel <jannis@leidel.info>
2021-11-27 19:14:13 +01:00
Peter Bittner
44e642c34b Add clean Tox target (run tox -e clean) 2021-11-27 19:14:13 +01:00
Peter Bittner
41b8c243d4 Add checks as a separate workflow
Run test suite only for PRs and master
2021-11-27 19:14:13 +01:00
Peter Bittner
5daa0c5329 Split up test matrix into Python-Django combinations 2021-11-27 19:14:13 +01:00
Jannis Leidel
e4399d63a1
Merge pull request #201 from jazzband/fix/missing-pre-commit-config
Fix pre-commit-ci complaint about missing config file
2021-11-26 17:02:41 +01:00
Peter Bittner
0b162449c5 Fix pre-commit-ci complaint about missing config file 2021-11-26 14:23:19 +01:00
Garrett Coakley
58aa95df34
Added Heap integration (#194)
Heap integration
2021-11-26 14:13:59 +01:00
David Smith
aa29a051bd Dropped Django 3.1 support 2021-11-26 01:29:40 +01:00
David Smith
dbd7414b33 Added Python 3.10 support. 2021-11-26 01:29:40 +01:00
Jannis Leidel
1923108e93
Merge pull request #199 from jazzband/jazzband/sync/default
Jazzband: Synced file(s) with jazzband/.github
2021-10-22 17:47:07 +02:00
jazzband-bot
a615b954ae Jazzband: Created local 'CODE_OF_CONDUCT.md' from remote 'CODE_OF_CONDUCT.md' 2021-10-21 14:33:50 +00:00
David Smith
392cbba489 Updated supported Django versions 2021-10-05 09:30:53 +02:00
David Smith
37009f2e08 Implemented isort 2021-02-21 17:28:27 +01:00
David Smith
f0e7ebe731 Converted remaining tests to Pytest style 2021-02-18 09:34:01 +01:00
David Smith
baaa1c4a8b Migrate tests to Pytest plain asserts 2021-02-18 09:34:01 +01:00
Peter Bittner
896a19196f Release v3.0.0 2020-12-06 23:14:25 +01:00
Peter Bittner
8cd75d9e60 Add business code for Lucky Orange 2020-12-06 20:45:08 +01:00
Peter Bittner
a3fe981f76 Add tests for Lucky Orange 2020-12-06 20:45:08 +01:00
Peter Bittner
514780aeb2 Add documentation for Lucky Orange 2020-12-06 20:45:08 +01:00
Peter Bittner
7f1358dcb6 Hard-require Python 3.6+, add link to docs on PyPI 2020-12-06 16:26:54 +01:00
Pi Delport
5ea7d15868 Coverage config: Remove stale omit entry 2020-12-06 16:26:54 +01:00
Pi Delport
47fa937910 Include tests in source manifest 2020-12-06 16:26:54 +01:00
Peter Bittner
bf471d7dfc Allow test suite to run with pytest 2020-12-06 16:26:54 +01:00
Peter Bittner
a9d7d17ce6 Move tests out of analytical module 2020-12-06 16:26:54 +01:00
Peter Bittner
ba8982be0a Add missing Google Analytics instructions to install section 2020-12-06 13:21:12 +01:00
Peter Bittner
00bc123b88 Reduce indentation of Hotjar JS code 2020-12-05 21:11:06 +01:00
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