Aleh Rymašeŭski
addaaa7d68
Merge cid from upstream
2023-07-13 15:56:59 +00:00
Aleh Rymašeŭski
117696842b
Merge overwritable timestamp from upstream
2023-07-13 15:53:37 +00:00
Aleh Rymašeŭski
c95a0c1405
Merge upstream version 2.2.1
2023-07-13 15:40:32 +00:00
Aleh Rymašeŭski
c422dd1f0d
Merge upstream version 2.2.0
2023-07-13 15:38:15 +00:00
Aleh Rymašeŭski
614f4bc4da
Merge another part of upstream 2.2.0
2023-07-13 15:25:04 +00:00
Aleh Rymašeŭski
29d92e7eba
Merge "serialized_data" feature
2023-07-13 14:58:50 +00:00
Aleh Rymašeŭski
c65a0b23c4
Merge upstream 2.1.1 and partial 2.2.0
2023-07-13 14:42:31 +00:00
Abdullah Alaqeel
bc6d393390
Added support for Correlation ID
...
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2022-12-23 15:09:32 +01:00
Abdullah Alaqeel
a733cd0852
feat: Make timestamp in LogEntry overwritable ( #478 )
2022-12-19 08:43:29 +01:00
mrampant
971a4f42f8
- fixed unused import
2022-12-16 11:41:27 +03:30
mrampant
8e496aadea
- using changes_dict to fix potential TypeError when changes are None in admin list view
2022-12-16 11:41:27 +03:30
ZahraEbrahimi01
703e3e4ba6
Complete translation with gettext_lazy ( #474 )
2022-12-14 11:31:17 +01:00
Thomas Steen Rasmussen
27f57a53ff
Fix LogEntry.changes_dict() to return {} when json.loads() returns None ( #472 )
...
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2022-12-13 21:35:31 +01:00
Abdullah Alaqeel
4cdc756791
FIX: Parsing client IPv6 address when a proxy is involved ( #457 )
2022-11-22 08:44:59 +01:00
Hasan Ramezani
e23b091c99
Replace pkg_resources with importlib solution ( #450 )
2022-11-21 16:50:34 +01:00
Alieh Rymašeŭski
1ba3bd9d07
Disallow changing or deleting log entries ( #449 )
2022-11-21 16:26:23 +01:00
Alieh Rymašeŭski
9fcdd6a8e3
Disallow changing or deleting log entries
2022-11-14 11:25:33 -01:00
Hasan Ramezani
2b0bc9efa2
Replace the django.utils.timezone.utc by datetime.timezone.utc ( #448 )
...
Co-authored-by: Alieh Rymašeŭski <alieh.rymasheuski@gmail.com>
2022-11-07 14:26:51 +01:00
Simon Kern
f71699a9d0
Added ACCESS action and enabled logging of object accesses ( #436 )
2022-11-07 08:51:00 +01:00
Robin Harms Oredsson
8fe776ae45
Option to disable logging on raw save and via context manager ( #446 )
...
* Disable on raw save prototype
* Contextmanager to disable instead of just raw - so we can catch m2m relations too
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2022-11-04 09:12:06 +01:00
Hasan Ramezani
aa6d977f8b
Update pyupgrade and django-upgrade pre-commit hooks
2022-11-02 16:01:51 +03:30
Youngkwang Yang
487b8ab5f4
Remove unnecessary code in created method. ( #438 )
2022-10-05 18:39:48 +02:00
Alieh Rymašeŭski
0f57525058
Support search by custom USERNAME_FIELD ( #432 )
2022-09-21 16:19:49 +02:00
Rahul Prasad
a56d0e6f78
added fix for OneToOneRel error happening in case of Polymorphic model ( #429 )
2022-09-21 08:53:10 +02:00
Mathieu Rampant
d74c118834
Added verbose field name in admin ( #428 )
...
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2022-09-20 22:07:41 +02:00
August Raack
777bd537e7
Add serialized object field ( #412 )
2022-08-21 21:45:50 +02:00
Hasan Ramezani
18868aaaed
Handle port in remote_addr
2022-08-17 13:37:22 +02:00
Hasan Ramezani
eb5e873082
Add django-upgrade to pre-commit-config.yaml ( #411 )
2022-08-08 11:53:03 +02:00
Alieh Rymašeŭski
a24b79af0c
Display timestamps in server timezone ( #404 )
2022-08-01 20:41:41 +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
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
7771075dc0
Remove South compatibility codes
2022-06-28 19:19:09 +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
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
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