Cleiton de Lima
22dcbc4d06
Added --no-color args in test migration ( #670 )
2024-10-01 18:19:58 +02:00
Mohsin Raza
07a3a83828
update docs ( #662 )
2024-08-01 12:03:40 +03:30
pre-commit-ci[bot]
2958f58acd
[pre-commit.ci] pre-commit autoupdate ( #657 )
...
updates:
- [github.com/adamchainz/django-upgrade: 1.19.0 → 1.20.0](https://github.com/adamchainz/django-upgrade/compare/1.19.0...1.20.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-23 16:09:46 +03:30
pre-commit-ci[bot]
5759020015
[pre-commit.ci] pre-commit autoupdate ( #654 )
...
updates:
- [github.com/PyCQA/flake8: 7.0.0 → 7.1.0](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.0 )
- [github.com/adamchainz/django-upgrade: 1.18.0 → 1.19.0](https://github.com/adamchainz/django-upgrade/compare/1.18.0...1.19.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-02 11:34:22 +03:30
Bahram Aghaei
5bb701d821
Sync django query and postgres query ( #653 )
...
* run postgres query for rows that changes is null for them and there is value for changes_text
* add a test case to make when changes has value it wont be overwritten by changes_text
2024-06-12 16:00:29 +03:30
evanandrews-xrd
2c0bd0fac6
Use attname to get pk value ( #650 )
...
* Use `attname` to get pk value
* Add tests for model as primary key
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add clarifying comments to _get_pk_value
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-11 14:30:28 +03:30
pre-commit-ci[bot]
92805e2084
[pre-commit.ci] pre-commit autoupdate ( #651 )
...
updates:
- [github.com/asottile/pyupgrade: v3.15.2 → v3.16.0](https://github.com/asottile/pyupgrade/compare/v3.15.2...v3.16.0 )
- [github.com/adamchainz/django-upgrade: 1.17.0 → 1.18.0](https://github.com/adamchainz/django-upgrade/compare/1.17.0...1.18.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-11 11:21:31 +03:30
Hasan Ramezani
d412b2b16a
Update postgres to 14 ( #649 )
2024-05-27 13:22:46 +03:30
Hasan Ramezani
8af8011073
Fixed a problem when setting Value(None) in JSONField ( #646 )
2024-05-27 12:58:58 +03:30
pre-commit-ci[bot]
ba2c2e32be
[pre-commit.ci] pre-commit autoupdate ( #642 )
...
updates:
- [github.com/adamchainz/django-upgrade: 1.16.0 → 1.17.0](https://github.com/adamchainz/django-upgrade/compare/1.16.0...1.17.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-13 19:39:21 +02:00
Hasan Ramezani
a652eebfaf
Fixed problem when setting django.db.models.functions.Now() in DateTimeField ( #635 )
2024-04-29 23:38:09 +02:00
pre-commit-ci[bot]
1569051f48
[pre-commit.ci] pre-commit autoupdate ( #637 )
...
updates:
- [github.com/psf/black: 24.4.0 → 24.4.2](https://github.com/psf/black/compare/24.4.0...24.4.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-29 20:10:27 +02:00
pre-commit-ci[bot]
b768dc74f6
[pre-commit.ci] pre-commit autoupdate ( #631 )
...
updates:
- [github.com/psf/black: 24.3.0 → 24.4.0](https://github.com/psf/black/compare/24.3.0...24.4.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-15 19:49:22 +02:00
Hasan Ramezani
ceae2f9b4a
Prepare release 3.0.0 ( #629 )
2024-04-12 11:51:31 +02:00
Hasan Ramezani
7b035943c7
Fixed manuall logging when model is not registered ( #627 )
...
* Fixed manuall logging when model is not registered
* Move change log
2024-04-12 10:14:42 +02:00
nathan
a93d9ef665
Fix serialize __proxy__ objects before logging ( #624 )
...
* Fix serialize __proxy__ objects before logging
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update CHANGELOG.md
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2024-04-08 12:06:36 +02:00
Hasan Ramezani
2f949dde25
Add note about V3 to readme ( #626 )
2024-04-07 21:36:13 +02:00
nathan
a0ae594425
Disable logging remote IP address ( #620 )
...
* Disable logging remote IP address
* Update auditlog/middleware.py
* Update CHANGELOG.md
* Update auditlog/middleware.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update auditlog/middleware.py and add tests in ManyRelatedModelTest
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-31 01:37:39 +01:00
pre-commit-ci[bot]
5e2daa4c4c
[pre-commit.ci] pre-commit autoupdate ( #621 )
...
updates:
- [github.com/asottile/pyupgrade: v3.15.1 → v3.15.2](https://github.com/asottile/pyupgrade/compare/v3.15.1...v3.15.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-25 19:00:03 +01:00
Paul Morin
b2aff7e313
Correcting a typo in usage.rst ( #615 )
...
The code example for AUDITLOG_INCLUDE_TRACKING_MODELS made two distinct references to "model1" which seems to be a typo, should read "model2" on the second reference
2024-03-20 20:20:41 +01:00
dependabot[bot]
2b03d25343
Bump the github-actions group with 4 updates ( #619 )
...
Bumps the github-actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout ), [actions/setup-python](https://github.com/actions/setup-python ), [actions/cache](https://github.com/actions/cache ) and [codecov/codecov-action](https://github.com/codecov/codecov-action ).
Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
Updates `actions/setup-python` from 3 to 5
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v3...v5 )
Updates `actions/cache` from 3 to 4
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
Updates `codecov/codecov-action` from 3 to 4
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-20 20:11:40 +01:00
Christian Clauss
5289482548
Keep GitHub Actions up to date with GitHub's Dependabot ( #618 )
...
Fixes warnings like at the bottom right of
https://github.com/jazzband/django-auditlog/actions/runs/8332793947
* https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
* https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
2024-03-20 18:26:14 +01:00
pre-commit-ci[bot]
156d655852
[pre-commit.ci] pre-commit autoupdate ( #616 )
...
updates:
- [github.com/psf/black: 24.2.0 → 24.3.0](https://github.com/psf/black/compare/24.2.0...24.3.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-18 20:54:55 +01:00
pre-commit-ci[bot]
ac720cd30e
[pre-commit.ci] pre-commit autoupdate ( #610 )
...
updates:
- [github.com/psf/black: 24.1.1 → 24.2.0](https://github.com/psf/black/compare/24.1.1...24.2.0 )
- [github.com/asottile/pyupgrade: v3.15.0 → v3.15.1](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.15.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-19 18:59:39 +01:00
Pascal Mathis
e6fc81016c
fix: avoid exception in changes_display_dict when model is missing ( #609 )
2024-02-13 20:05:27 +01:00
pre-commit-ci[bot]
d78f813968
[pre-commit.ci] pre-commit autoupdate ( #608 )
...
updates:
- [github.com/adamchainz/django-upgrade: 1.15.0 → 1.16.0](https://github.com/adamchainz/django-upgrade/compare/1.15.0...1.16.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-13 11:28:25 +01:00
pre-commit-ci[bot]
b9bf01b31d
[pre-commit.ci] pre-commit autoupdate ( #604 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-10 21:18:46 +01:00
Pascal Mathis
f3238c9bdb
feat: include LogEntry instance in post_log signal ( #605 )
2024-02-08 21:55:46 +01:00
pre-commit-ci[bot]
447347710d
[pre-commit.ci] pre-commit autoupdate ( #601 )
...
updates:
- [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](https://github.com/PyCQA/flake8/compare/6.1.0...7.0.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-09 20:08:09 +03:30
Hasan Ramezani
1ce39c0149
Prepare release 3.0.0-beta.4 ( #599 )
2024-01-03 11:29:07 +03:30
Hasan Ramezani
387b0cec22
Confrim Django 5.0 and drop django 4.1 ( #598 )
2023-12-29 18:46:54 +03:30
pre-commit-ci[bot]
5523b50c2f
[pre-commit.ci] pre-commit autoupdate ( #597 )
...
updates:
- [github.com/psf/black: 23.12.0 → 23.12.1](https://github.com/psf/black/compare/23.12.0...23.12.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-28 17:23:21 +03:30
pre-commit-ci[bot]
91b6f2e11d
[pre-commit.ci] pre-commit autoupdate ( #595 )
...
updates:
- [github.com/psf/black: 23.11.0 → 23.12.0](https://github.com/psf/black/compare/23.11.0...23.12.0 )
- [github.com/PyCQA/isort: 5.13.0 → 5.13.2](https://github.com/PyCQA/isort/compare/5.13.0...5.13.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-19 15:01:49 +03:30
pre-commit-ci[bot]
452f35eef2
[pre-commit.ci] pre-commit autoupdate ( #594 )
...
updates:
- [github.com/PyCQA/isort: 5.12.0 → 5.13.0](https://github.com/PyCQA/isort/compare/5.12.0...5.13.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-11 22:48:12 +03:30
Aleh Rymašeŭski
dbb50e462c
Handle ObjectDoesNotExist in evaluation of repr ( #592 )
2023-12-11 22:15:34 +03:00
errrken
140719eeb5
Conditionally disable / enable logging ( #590 )
...
* Update receivers.py
* Update signals.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update signals.py
Removed trailing whitespace...
* Update tests.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2023-12-07 20:45:41 +03:00
pre-commit-ci[bot]
c581a6e647
[pre-commit.ci] pre-commit autoupdate ( #588 )
...
updates:
- [github.com/psf/black: 23.10.1 → 23.11.0](https://github.com/psf/black/compare/23.10.1...23.11.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-20 11:49:03 +03:30
Hasan Ramezani
5072f5d9b1
Prepare release 3.0.0-beta.3 ( #587 )
2023-11-14 11:02:31 +03:30
hamsh
9e987169da
use contextvar instead of threadlocal ( #581 )
...
* use contextvar instead of threadlocal
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update auditlog/context.py
* update CHANGELOG.md
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2023-11-06 12:35:34 +03:30
James Gillard
a034588ec7
Confirm Python 3.12 support ( #572 )
...
* Confirm Python 3.12 support
* Remove dj4.2/py3.12 from tox.ini
2023-11-02 10:54:28 +03:30
pre-commit-ci[bot]
40ff8ae74d
[pre-commit.ci] pre-commit autoupdate ( #579 )
...
updates:
- [github.com/psf/black: 23.10.0 → 23.10.1](https://github.com/psf/black/compare/23.10.0...23.10.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-02 10:53:34 +03:30
Hugo van Kemenade
2bf675fceb
pip install . during RTD build ( #578 )
2023-10-27 19:31:36 +03:30
pre-commit-ci[bot]
6b7f4a7ed4
[pre-commit.ci] pre-commit autoupdate ( #574 )
...
updates:
- [github.com/psf/black: 23.9.1 → 23.10.0](https://github.com/psf/black/compare/23.9.1...23.10.0 )
- [github.com/asottile/pyupgrade: v3.13.0 → v3.15.0](https://github.com/asottile/pyupgrade/compare/v3.13.0...v3.15.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-24 10:32:31 +03:30
Hasan Ramezani
e15a610dc9
Prepare release 3.0.0-beta.2 ( #573 )
2023-10-05 13:38:57 +02:00
Abdullah Alaqeel
d4ae5cc2b6
fix: change verbose_name in changes_text migration ( #571 )
2023-10-05 11:52:45 +02:00
Hasan Ramezani
2ebaf40476
Update pre-commit repos ( #569 )
2023-09-26 16:26:26 +02:00
Hasan Ramezani
e699e7d118
Update postgres to 13 ( #568 )
2023-09-26 08:29:41 +02:00
Abdullah Alaqeel
ccc59e85f1
fix: don't set the correlation_id if the AUDITLOG_CID_GETTER is None ( #565 )
2023-09-20 13:23:45 +03:00
pre-commit-ci[bot]
459f4b1521
[pre-commit.ci] pre-commit autoupdate ( #564 )
...
updates:
- [github.com/asottile/pyupgrade: v3.10.1 → v3.11.0](https://github.com/asottile/pyupgrade/compare/v3.10.1...v3.11.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-18 22:33:26 +02:00
Abdullah Alaqeel
720ab2795d
chore: add a check arg to the migration command ( #563 )
...
* chore: add a check arg to the migration command
* chore: add a check arg to the migration command
2023-09-13 18:03:04 +02:00