Commit graph

593 commits

Author SHA1 Message Date
Aleh Rymašeŭski
682e8e270b Add null=True to LogEntry.cid field
It's already set nullable in the migration.
2023-07-19 10:15:27 +00:00
Aleh Rymašeŭski
03920f2874 Merge tox & CI changes from upstream master 2023-07-13 16:48:37 +00:00
pre-commit-ci[bot]
2c1a3e7258 [pre-commit.ci] pre-commit autoupdate (#541)
updates:
- [github.com/asottile/pyupgrade: v3.7.0 → v3.8.0](https://github.com/asottile/pyupgrade/compare/v3.7.0...v3.8.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-13 16:25:56 +00:00
Hasan Ramezani
2630a0ef45 Drop Django 4 support (#540) 2023-07-13 16:25:53 +00:00
pre-commit-ci[bot]
816b837e6b [pre-commit.ci] pre-commit autoupdate (#534)
updates:
- [github.com/asottile/pyupgrade: v3.4.0 → v3.7.0](https://github.com/asottile/pyupgrade/compare/v3.4.0...v3.7.0)
- [github.com/adamchainz/django-upgrade: 1.13.0 → 1.14.0](https://github.com/adamchainz/django-upgrade/compare/1.13.0...1.14.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-13 16:25:51 +00:00
Hasan Ramezani
9093e611ce Confirm Django 4.2 support (#529) 2023-07-13 16:25:47 +00:00
pre-commit-ci[bot]
2365cee9ce [pre-commit.ci] pre-commit autoupdate (#527)
updates:
- [github.com/asottile/pyupgrade: v3.3.2 → v3.4.0](https://github.com/asottile/pyupgrade/compare/v3.3.2...v3.4.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-13 16:25:41 +00:00
pre-commit-ci[bot]
87c4583c32 [pre-commit.ci] pre-commit autoupdate (#523)
updates:
- [github.com/asottile/pyupgrade: v3.3.1 → v3.3.2](https://github.com/asottile/pyupgrade/compare/v3.3.1...v3.3.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-13 16:25:39 +00:00
pre-commit-ci[bot]
7f6d646434 [pre-commit.ci] pre-commit autoupdate (#521)
updates:
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-13 16:25:36 +00:00
Alieh Rymašeŭski
356819676a Fix GitHub actions deprecations (#520)
* Upgrade versions of github actions

See https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

* Update syntax of set-output directive

See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2023-07-13 16:25:34 +00:00
pre-commit-ci[bot]
a65204a275 [pre-commit.ci] pre-commit autoupdate (#516)
updates:
- [github.com/adamchainz/django-upgrade: 1.12.0 → 1.13.0](https://github.com/adamchainz/django-upgrade/compare/1.12.0...1.13.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-13 16:25:27 +00:00
pre-commit-ci[bot]
8e0870fa58 [pre-commit.ci] pre-commit autoupdate (#507)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0)

* [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>
2023-07-13 16:25:03 +00:00
pre-commit-ci[bot]
667a990a76 [pre-commit.ci] pre-commit autoupdate (#504)
updates:
- [github.com/PyCQA/isort: 5.11.4 → 5.12.0](https://github.com/PyCQA/isort/compare/5.11.4...5.12.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-13 16:23:49 +00:00
Hasan Ramezani
4cde56922e Run django main tests on Python >= 3.10 (#499) 2023-07-13 16:23:40 +00:00
pre-commit-ci[bot]
d73e94c4ab [pre-commit.ci] pre-commit autoupdate (#485)
updates:
- [github.com/PyCQA/isort: v5.11.3 → 5.11.4](https://github.com/PyCQA/isort/compare/v5.11.3...5.11.4)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-13 16:23:06 +00:00
Aleh Rymašeŭski
57cd23eaa8 Merge upstream changes prior to JSON migration
JSON migration is a breaking change and we are not yet ready for it.
2023-07-13 15:59:52 +00:00
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
779a751da3 Skip upstream version 2.2.2
We are not subject to the regressions this revert addresses.
2023-07-13 15:44: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
Hasan Ramezani
2595a36c71
Prepare release 2.2.2 (#497) 2023-01-17 09:07:11 +01:00
Alieh Rymašeŭski
6996e1cfd4
Revert "Disallow changing or deleting log entries" (#496)
This reverts commit de5638c607.
2023-01-16 16:04:51 +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
pre-commit-ci[bot]
63c88829e0
[pre-commit.ci] pre-commit autoupdate (#482)
updates:
- [github.com/PyCQA/isort: 5.10.1 → v5.11.3](https://github.com/PyCQA/isort/compare/5.10.1...v5.11.3)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-19 14:52:51 -05: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
pre-commit-ci[bot]
cd1ba3d01b
[pre-commit.ci] pre-commit autoupdate (#473)
updates:
- [github.com/psf/black: 22.10.0 → 22.12.0](https://github.com/psf/black/compare/22.10.0...22.12.0)
- [github.com/asottile/pyupgrade: v3.3.0 → v3.3.1](https://github.com/asottile/pyupgrade/compare/v3.3.0...v3.3.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-13 09:18:31 +01:00
pre-commit-ci[bot]
caf5daa2f8
[pre-commit.ci] pre-commit autoupdate (#466)
updates:
- [github.com/asottile/pyupgrade: v3.2.2 → v3.3.0](https://github.com/asottile/pyupgrade/compare/v3.2.2...v3.3.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-06 08:49:35 +01:00
Ihor Sychevskyi
bfaeeab74d
update docs folder link (#465) 2022-12-01 08:22:03 +01:00
pre-commit-ci[bot]
1674acae19
[pre-commit.ci] pre-commit autoupdate (#462)
updates:
- [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](https://github.com/PyCQA/flake8/compare/5.0.4...6.0.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-28 21:03:19 +01:00
Hasan Ramezani
2a93c2086a
Prepare release 2.2.1 (#459) 2022-11-28 13:39:30 +03:00
Ihor Sychevskyi
b4dda75fc7
update readme link (#460) 2022-11-28 09:05:00 +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
Youngkwang Yang
96275d5386
Add serialize_data setting (#452) 2022-11-15 13:05:35 +01:00
pre-commit-ci[bot]
a6ea91f1bc
[pre-commit.ci] pre-commit autoupdate (#451)
updates:
- [github.com/asottile/pyupgrade: v3.2.0 → v3.2.2](https://github.com/asottile/pyupgrade/compare/v3.2.0...v3.2.2)
- [github.com/adamchainz/django-upgrade: 1.11.0 → 1.12.0](https://github.com/adamchainz/django-upgrade/compare/1.11.0...1.12.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-14 22:14:53 +03:30
Alieh Rymašeŭski
9fcdd6a8e3 Disallow changing or deleting log entries 2022-11-14 11:25:33 -01:00
Hasan Ramezani
227b0d9fb5
Prepare release 2.2.0 (#434) 2022-11-07 14:48:05 +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
Hasan Ramezani
36eaaaa2a9
Confirm Python 3.11 support (#447) 2022-11-07 09:36:17 +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