pre-commit-ci[bot]
93907b7a67
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0 )
2022-07-04 22:44:22 +03:00
Alieh Rymašeŭski
95929cd5b6
Add assertions for msg_short
2022-06-30 09:04:43 +02:00
Alieh Rymašeŭski
7861dae4f9
Show field values before deletion in the admin
2022-06-30 09:04:43 +02:00
Alieh Rymašeŭski
03fb52ac3e
Merge upstream master
2022-06-28 18:19:37 +00:00
Alieh Rymašeŭski
ed3ce76762
Remove a redundant comment
...
`profile = "black"` in `isort` block suggests that this is an `isort`
profile compatible with `black`.
2022-06-28 19:20:02 +02:00
Alieh Rymašeŭski
d7dd32af92
Switch MIDDLEWARE from a tuple to a list
...
This is a recommended change starting with Django 1.9.
2022-06-28 19:20:02 +02:00
Alieh Rymašeŭski
2ac014baa5
Remove a redundant exception handler
...
It duplicates the handler for its parent class Exception.
2022-06-28 19:20:02 +02:00
Alieh Rymašeŭski
68c7f44f9c
Make checks for empty collections more pythonic
2022-06-28 19:20:02 +02:00
Alieh Rymašeŭski
121fe99cf5
Simplify is_authenticated check
...
This attribute is defined on request.user from Django 1.10 or a
comparably ancient version.
2022-06-28 19:20:02 +02:00
Hasan Ramezani
6b60d04e44
Fix documentation problem in usage.rst
2022-06-28 19:19:09 +02:00
Hasan Ramezani
7771075dc0
Remove South compatibility codes
2022-06-28 19:19:09 +02:00
Hasan Ramezani
b5edd50f02
Remove double underscores from tests name
2022-06-28 19:19:09 +02:00
Alieh Rymašeŭski
309eef5d2a
Allow running tox environments in parallel
2022-06-28 19:08:36 +02:00
Alieh Rymašeŭski
5df31ea6b5
Fix env list in tox.ini
2022-06-28 19:08:36 +02:00
Alieh Rymašeŭski
fd35c61fda
Silence an expected RuntimeWarning
2022-06-28 19:08:36 +02:00
Hasan Ramezani
4f4699bf6b
Prepare release 2.1.0
2022-06-27 23:36:15 +02:00
Alieh Rymašeŭski
204a2910fe
Merge upstream master
2022-06-27 18:16:16 +00:00
Viktor
d928ff7f77
Return default value None if attribute choices doesn't exist
...
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2022-06-27 09:08:19 +02:00
Hasan Ramezani
11dceb81b8
Add flake8 to pre-commit config ( #387 )
2022-06-18 20:50:25 +04:30
Hasan Ramezani
be973ca71f
Add pyupgrade to pre-commit-config ( #385 )
2022-06-15 15:48:08 +02:00
Alieh Rymašeŭski
9112e32217
Merge upstream master
2022-06-13 17:48:44 +03:00
Alieh Rymašeŭski
f3654f14b7
Merge commit '10c47181bb38ba49b0cb5927f5dab3fe4f8842e4'
2022-06-13 17:36:40 +03:00
Alieh Rymašeŭski
b2ec2c6b79
Merge commit '2e9466d1b49f97a5f89d6945aa4f78e1935bf760'
2022-06-13 16:14:08 +03:00
Alieh Rymašeŭski
23b80f96b5
Merge commit '1e7d320a93efda3f470641e9abefcb0e0733cd7a'
2022-06-13 14:29:07 +03:00
Alieh Rymašeŭski
fe1831bf21
Merge commit 'bcd0d43566f24a08839ac17e85864ad7b7ae8a90'
2022-06-13 14:26:54 +03:00
Alieh Rymašeŭski
4915969283
Merge commit 'ba19a8ca35894a9f4f36fe1efb6823ab0da910c6'
2022-06-13 14:01:50 +03:00
Alieh Rymašeŭski
10c47181bb
Add logic to track changes to m2m fields ( #309 )
2022-06-08 17:09:27 +02:00
Hasan Ramezani
2e9466d1b4
Change auditlogflush management command before_date query filter to apply the filter only on date part of timestamp ( #384 )
2022-06-08 16:47:13 +02:00
George Leslie-Waksman
128555fa29
Add date based auditlog filter for auditlogflush command ( #365 )
2022-05-31 21:35:50 +04:30
Youngkwang Yang
dd89c3cefb
Auditlog admin use list_select_related ( #382 )
...
* Use list_select_related
* [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>
2022-05-31 15:50:34 +00:00
Youngkwang Yang
957680e239
Fix n+1 query problem ( #381 )
2022-05-31 20:05:43 +09:00
Rich Rauenzahn
d9b0d76f3a
[tests] Check cases when reverse related field DoesNotExist. ( #252 )
2022-05-31 09:32:32 +02:00
George Leslie-Waksman
1e7d320a93
Add an index to the timestamp column ( #364 )
...
Many queries, including the default ordering, for the LogEntry
model rely on the timestamp field. Adding an index will ensure
reasonable scalability for large audit logs.
2022-05-31 09:01:13 +02:00
Alieh Rymašeŭski
bcd0d43566
Add set_actor context manager ( #262 )
2022-05-24 09:33:54 +02:00
pre-commit-ci[bot]
ba19a8ca35
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-05-23 10:46:43 +02:00
Hasan Ramezani
46abfbdc2d
Use Python3.7 for building the doc
2022-05-23 10:46:43 +02:00
Hasan Ramezani
340a01d348
Replace importlib with pkg_resources with.
...
Readthedoc uses Python3.7
Revert a30c8bbfc0
2022-05-23 10:46:43 +02:00
yeongkwang
32694b1324
Add register model using Django settings ( #368 )
...
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2022-05-23 10:02:22 +02:00
Hasan Ramezani
8b47267a43
Revert "build: explicit the build system"
...
This reverts commit 7bc39e6d9d .
2022-05-23 09:25:25 +02:00
Hasan Ramezani
d5d65cae2a
Update postgres image version to 12 in github action test workflow
2022-05-20 22:14:29 +02:00
Saurabh Kumar
cdd9f40d84
Disable add button in admin ui
...
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2022-05-20 22:13:47 +02:00
Alieh Rymašeŭski
047fca9165
Merge upstream master
2022-05-20 12:58:34 +03:00
Christian Barra
a93f53962a
Skip stringify if json ( #355 )
...
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2022-05-10 05:53:18 +02:00
Hasan Ramezani
6f82d070a9
Change versionadded in masking fields documentation.
2022-05-09 13:40:31 +02:00
Hasan Ramezani
ea180c0065
Remove development note from README.md
2022-05-09 13:40:21 +02:00
Hasan Ramezani
d848c53d08
Prepare release of django-auditlog 2.0.0
2022-05-09 08:53:21 +02:00
Hasan Ramezani
e2d293730c
Update postgres image version in github action test workflow
2022-05-09 08:53:21 +02:00
Hasan Ramezani
6791253ae0
Fix typo in CHANGELOG.md
2022-05-09 08:53:21 +02:00
Hasan Ramezani
e39fab3b83
Remove default_app_config configuration
2022-05-02 14:48:58 +02:00
Hasan Ramezani
4c0bfabab2
Fix lint entry in tox.ini
2022-05-01 13:48:26 +02:00