Cleiton de Lima
4c3ee0b36d
Added remote port ( #671 )
2024-10-07 15:52:34 +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
Abdullah Alaqeel
f6b9e9f931
Always call set_actor ( #484 )
2023-01-04 15:05:32 +01: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
4cdc756791
FIX: Parsing client IPv6 address when a proxy is involved ( #457 )
2022-11-22 08:44:59 +01: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
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
11dceb81b8
Add flake8 to pre-commit config ( #387 )
2022-06-18 20:50:25 +04:30
Alieh Rymašeŭski
bcd0d43566
Add set_actor context manager ( #262 )
2022-05-24 09:33:54 +02:00
Hasan Ramezani
f5bb5cb1a2
Add black and format files with black.
2020-12-06 23:10:18 +01:00
Jan-Jelle Kester
469fe362de
Code improvements
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
3acab4322b
Drop Python 2, support Django 3.0, update dependencies
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
ee8a700b1b
Clean up project structure
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
81098cd179
Big commit: testproject, bugfixes, changed directory structure
2013-10-21 21:46:31 +02:00
Jan-Jelle Kester
db8529b773
Make LogEntry and middleware compatible with custom user models
2013-10-20 19:24:33 +02:00
Jan-Jelle Kester
9a13a5966f
First implementation
2013-10-20 15:25:48 +02:00