django-auditlog/auditlog
The Alchemist b640df67a3
new setting: STORE_JSON_CHANGES that intelligently store JSON (#719)
* Branch that implements issue #675, basically, storing the correct JSON type that corresponds to the Python type (None -> null, 1 -> 1', not "1"`).

It's driven by a setting, AUDITLOG_ STORE_JSON_CHANGES , as recommended by @hramezani

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* code formatting tweaks from @hramezani

* increasing test coverage

* added usage for AUDITLOG_STORE_JSON_CHANGES setting

* updated CHANGELOG with info on AUDITLOG_STORE_JSON_CHANGES field

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* added another test for wrong setting type

* should not have committed temporary test changes

* [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>
2025-04-30 11:20:27 +02:00
..
management feat: Add truncate option to flush command (#681) 2024-10-21 18:12:29 +02:00
migrations add actor email (#641) 2025-01-30 18:33:51 +03:30
__init__.py Drop support for Python 3.7 (#546) 2023-07-13 23:56:08 +02:00
admin.py Add date_hierarchy on timestamp to admin view (#687) 2024-11-19 12:04:17 +01:00
apps.py feat: give users the option to run the json migration asyncly (#495) 2023-08-13 11:38:21 +02:00
cid.py fix: don't set the correlation_id if the AUDITLOG_CID_GETTER is None (#565) 2023-09-20 13:23:45 +03:00
conf.py new setting: STORE_JSON_CHANGES that intelligently store JSON (#719) 2025-04-30 11:20:27 +02:00
context.py improve actor_email assigment; the previous was not intuitive enough to understand (#720) 2025-04-30 11:14:34 +02:00
diff.py new setting: STORE_JSON_CHANGES that intelligently store JSON (#719) 2025-04-30 11:20:27 +02:00
filters.py Added support for Correlation ID 2022-12-23 15:09:32 +01:00
middleware.py Added remote port (#671) 2024-10-07 15:52:34 +02:00
mixins.py fixed getting field's verbose_name (#508) 2023-05-18 01:59:11 +03:30
models.py Let CI also check for missing migrations (#706) 2025-03-19 19:58:43 +03:30
receivers.py new setting: STORE_JSON_CHANGES that intelligently store JSON (#719) 2025-04-30 11:20:27 +02:00
registry.py new setting: STORE_JSON_CHANGES that intelligently store JSON (#719) 2025-04-30 11:20:27 +02:00
signals.py feat: include LogEntry instance in post_log signal (#605) 2024-02-08 21:55:46 +01:00