Alieh Rymašeŭski
2bf4f4af6f
Remove the backport of mock
2022-02-24 11:36:47 +03:00
Alieh Rymašeŭski
a0b5cda130
Add a UTC warning to the table with changes
...
When the server time is not UTC, the values of the timestamps may be
confusing to the user comparing timestamps between the auditlog and
elsewhere in the admin.
2021-10-15 14:21:54 +03:00
Alieh Rymašeŭski
dbc69df3e9
Adjust the version spec according to module rename
...
rangefilter.filter -> rangefilter.filters rename happened in 0.8.0.
2021-06-30 16:02:39 +03:00
Alieh Rymašeŭski
d8702cf0f1
Fix deprecated import from rangefilter package
2021-06-30 15:55:20 +03:00
Alieh Rymašeŭski
cc90f32ada
Not define default_app_config for Django 3.2+
2021-06-30 11:33:09 +03:00
Alieh Rymašeŭski
48adbc5a1e
Add logic to track m2m relationships
2021-06-28 16:47:45 +03:00
Alieh Rymašeŭski
465bfded80
Refactor msg method from string to list logic
2021-06-28 16:29:03 +03:00
Alieh Rymašeŭski
bd68e2a619
Eliminate sender from dispatch_uid
...
Django performs a lookup using (sender, dispatch_uid) as the key,
which means that including sender in dispatch_uid is redundant.
2021-06-28 15:18:40 +03:00
Alieh Rymašeŭski
aa4f7a8108
Fix import order in tests
2021-06-25 13:23:42 +03:00
Alieh Rymašeŭski
bdf595e4dc
Use predictable names for coverage reports
2021-06-25 13:21:04 +03:00
Alieh Rymašeŭski
a13f8d9e60
Pin psycopg2 to version compatible with Django 2.2
2021-06-25 12:21:03 +03:00
Alieh Rymašeŭski
d7a73e5cbf
Merge changes from upstream
2021-06-24 15:19:21 +03:00
Alieh Rymašeŭski
f12e8a74fc
Remove multiselectfield from tests
...
The upstream dropped this test long ago, and these tests now break on
Django 3.1+, so I don't want to invest into these tests too much.
2021-06-24 14:58:26 +03:00
Alieh Rymašeŭski
1fc1e678c7
Replace list() with get_models()
2021-06-24 14:57:30 +03:00
Hasan Ramezani
d067de73b6
Replace MIDDLEWARE_CLASSES with MIDDLEWARE in docs.
2021-06-24 14:41:16 +03:00
Hasan Ramezani
cb99bcfbc4
Add DEFAULT_AUTO_FIELD to test settings.
2021-06-24 14:41:14 +03:00
Hasan Ramezani
093b8093de
Add Django 3.2 support.
2021-06-24 14:41:09 +03:00
Hasan Ramezani
cf63860dad
Remove Django 3.0 support.
2021-06-24 14:41:05 +03:00
Blas Isaias Fernández
943d5a9e6b
dict.iteritems was removed from python 3
2021-06-24 14:40:36 +03:00
Hasan Ramezani
ea57dfd9c1
Remove Python 3.5 support. ( #301 )
2021-06-24 14:40:12 +03:00
Jannis Leidel
ccf4b69113
Remove note about maintenance.
2021-06-24 14:39:53 +03:00
Hasan Ramezani
327f8c7067
Add Django supported versions to setup.py classifiers.
2021-06-24 14:39:42 +03:00
Hasan Ramezani
94182f86e9
Replace old-style routing with new-style
2021-06-24 14:37:32 +03:00
Hasan Ramezani
59bf633fbf
Add Supported Django versions badge to README.
2021-06-24 14:37:15 +03:00
Alieh Rymašeŭski
783316331f
Support Python 3.9
2021-06-24 14:37:07 +03:00
Alieh Rymašeŭski
e404e82795
Apply CI changes from upstream
...
Notable changes include:
- removal of Travis in favor of GH Actions;
- configuration to get version from git and not from code.
2021-06-24 14:37:03 +03:00
Alieh Rymašeŭski
458f3e3766
Bump version to 0.7.3
2021-06-24 14:33:46 +03:00
Alieh Rymašeŭski
4232d685bd
Apply isort to the code base
2021-06-24 14:33:30 +03:00
Alieh Rymašeŭski
49d92b30fe
Replace relative imports with absolute
2021-06-24 14:31:23 +03:00
Alieh Rymašeŭski
b130e3088e
Add isort
2021-06-24 14:31:18 +03:00
Alieh Rymašeŭski
7801239387
Blacken the code
2021-06-24 13:04:48 +03:00
Alieh Rymašeŭski
c57be3a2c1
Add black
2021-06-24 13:03:36 +03:00
Alieh Rymašeŭski
5d2bc88b2d
Test LogEntry.actor field
2021-06-24 12:55:22 +03:00
Alieh Rymašeŭski
f647966210
Stop handling an impossible case
...
We check eliminate the case with zero log entries when checking that
obj.history.count() is exactly 1.
2021-06-24 12:55:22 +03:00
Alieh Rymašeŭski
2b44eebd50
Use assertEqual to assert equality
2021-06-24 12:55:22 +03:00
Alieh Rymašeŭski
6c0c83e7e5
Remove unused imports
...
Import of RelatedModel was left in place as it just lacks respective
tests.
2021-06-24 12:55:22 +03:00
Alieh Rymašeŭski
034ba57d93
Fix a misleading docstring
2021-06-24 12:55:22 +03:00
Alieh Rymašeŭski
13cad5b25a
Explicitly unset the threadlocal
2021-06-24 12:55:22 +03:00
Alieh Rymašeŭski
9629f3f8d7
Move signal management to a context manager
...
This change allows setting the same signals when the request is not
present, i.e. in a celery task.
2021-06-24 12:55:22 +03:00
Alieh Rymašeŭski
3eb5d66c39
Use get_user_model
2021-06-24 12:55:22 +03:00
Hasan Ramezani
e2913da1bb
Replace MIDDLEWARE_CLASSES with MIDDLEWARE in docs.
2021-06-03 13:23:11 +02:00
Hasan Ramezani
1a437f4e40
Add DEFAULT_AUTO_FIELD to test settings.
2021-05-25 00:50:02 +02:00
Hasan Ramezani
da7b1441d0
Add Django 3.2 support.
2021-05-25 00:50:02 +02:00
Hasan Ramezani
ca5aa82714
Remove Django 3.0 support.
2021-05-25 00:50:02 +02:00
Panagiotis Simakis
457b04b448
Replace deprecated smart_text() with smart_str().
2021-05-25 00:50:02 +02:00
Blas Isaias Fernández
55a66fc73a
dict.iteritems was removed from python 3
2021-05-24 11:26:11 +02:00
Hasan Ramezani
2e477ab04a
Remove Python 3.5 support. ( #301 )
2021-05-24 01:25:46 +02:00
Jannis Leidel
2c6bf286b4
Remove note about maintenance.
2021-04-26 10:07:06 +02:00
Hasan Ramezani
d77803b3b4
Add Django supported versions to setup.py classifiers.
2020-12-07 21:27:17 +01:00
Hasan Ramezani
3e8d398c8e
Remove Python 3.4 from setup.py classifiers.
2020-12-06 23:10:18 +01:00