Commit graph

46 commits

Author SHA1 Message Date
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
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
d7a73e5cbf Merge changes from upstream 2021-06-24 15:19:21 +03:00
Alieh Rymašeŭski
1fc1e678c7 Replace list() with get_models() 2021-06-24 14:57:30 +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
7801239387 Blacken the code 2021-06-24 13:04:48 +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
Panagiotis Simakis
457b04b448 Replace deprecated smart_text() with smart_str(). 2021-05-25 00:50:02 +02:00
Hasan Ramezani
6131430ff7 Change relative imports to absolute. 2020-12-06 23:10:18 +01:00
Hasan Ramezani
497c83fc83 Add isort and sort orders with isort. 2020-12-06 23:10:18 +01:00
Hasan Ramezani
f5bb5cb1a2 Add black and format files with black. 2020-12-06 23:10:18 +01:00
Jannis Leidel
50da34125c
Simplified travis config and added Jazzband release config. (#281)
* Simplified travis config and added Jazzband release config.

* Migrate to travis-ci.com.

* Split requirements to prevent env spoilage.

* Add docs requirements.

* Huh

* type

* Add psycopg2 doc requirements.
2020-11-25 22:15:14 +01:00
Alieh Rymašeŭski
a0a0726982 Bump version to 0.7.2 2020-11-18 13:29:50 +03:00
Alieh Rymašeŭski
ff6349a89a Order filter by field alphabetically 2020-11-18 13:29:29 +03:00
Alieh Rymašeŭski
8b97cc2acb Bump version to 0.7.1 2020-11-12 18:04:00 +03:00
Alieh Rymašeŭski
5dcb069bb8 Add a short filter by actor__isnull 2020-11-12 18:03:27 +03:00
Alieh Rymašeŭski
d7a6496ad8 Bump version to 0.7.0 2020-11-12 17:59:02 +03:00
Alieh Rymašeŭski
be82018266 Use more generic .pk to get primary key instead of .id
Fixes #140

Cherry-picking fdf6ed7149c2731e3bd9144f33a5d70418e05889
2020-11-12 16:50:12 +03:00
Alieh Rymašeŭski
de693dd092 Management command improvements
Cherry-picking f4edfc0592
2020-11-12 16:50:12 +03:00
Alieh Rymašeŭski
6379683f77 Remove stale code
Cherry-picking f14f6b34ee
2020-11-12 16:41:42 +03:00
Alieh Rymašeŭski
c346adb8b5 Code improvements
Cherry-picking 469fe362de
2020-11-12 16:40:48 +03:00
Alieh Rymašeŭski
701f867a04 Remove a deprecated alias 2020-11-12 16:32:41 +03:00
Alieh Rymašeŭski
0ca00faafc Simplify field.base_field.choices check 2020-11-12 16:21:31 +03:00
Alieh Rymašeŭski
536a841bf3 Remove Python 2 cruft 2020-11-12 16:15:32 +03:00
Alieh Rymašeŭski
47a268eef9 Clean up project structure
Cherry-picking ee8a700b1b
2020-11-12 16:15:05 +03:00
Jan-Jelle Kester
565239180e Review improvements 2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
346105dcf9 Use more generic .pk to get primary key instead of .id
Fixes #140
2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
f4edfc0592 Management command improvements 2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
f14f6b34ee Remove stale code 2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
469fe362de Code improvements 2020-09-07 16:52:32 +02:00
Jan-Jelle Kester
2010b49d06 Fix Django 3.0 field choices diff 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