django-auditlog/auditlog_tests
Youngkwang Yang af78976e53
Add support for custom masking functions (#725)
* Add test cases for the `mask_str` function

* Add custom masking function support through mask_callable

* Add test cases for custom masking function

* Update documentation for custom masking function

* fix test case

* rename `AUDITLOG_DEFAULT_MASK_CALLABLE` variable

-AUDITLOG_DEFAULT_MASK_CALLABLE to `AUDITLOG_MASK_CALLABLE`

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

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

* Update `CHANGELOG.md` to include mask function customization feature

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-09 16:59:59 +03:30
..
test_app Add support for custom masking functions (#725) 2025-06-09 16:59:59 +03:30
__init__.py Remove default_app_config configuration 2022-05-02 14:48:58 +02:00
admin.py Use admin for test site 2020-09-07 16:52:32 +02:00
manage.py Let CI also check for missing migrations (#706) 2025-03-19 19:58:43 +03:30
test_commands.py Let CI also check for missing migrations (#706) 2025-03-19 19:58:43 +03:30
test_settings.py Let CI also check for missing migrations (#706) 2025-03-19 19:58:43 +03:30
test_two_step_json_migration.py Let CI also check for missing migrations (#706) 2025-03-19 19:58:43 +03:30
test_use_json_for_changes.py new setting: STORE_JSON_CHANGES that intelligently store JSON (#719) 2025-04-30 11:20:27 +02:00
tests.py Add support for custom masking functions (#725) 2025-06-09 16:59:59 +03:30