Alieh Rymašeŭski
2b536fc87e
Bump version to 0.6.7
2020-04-22 16:09:27 +03:00
Alieh Rymašeŭski
106417c684
Display timestamps in server timezone
2020-04-22 16:03:01 +03:00
Alieh Rymašeŭski
358971aafe
Bump version to 0.6.6
2020-04-17 12:54:54 +03:00
Alieh Rymašeŭski
f58b3d7685
Introduce admin filter by changed field
2020-04-17 12:52:56 +03:00
Alieh Rymašeŭski
5cd55ac38c
Bump version to 0.6.5
2020-04-07 12:03:09 +03:00
Alieh Rymašeŭski
8397754a20
Replace dumb paginator with a time-limited one
2020-04-07 11:55:55 +03:00
Alieh Rymašeŭski
da49432924
Bump version to 0.6.4
2020-04-07 11:23:48 +03:00
Alieh Rymašeŭski
3af06e13c7
Add a missing line to manifest
2020-04-07 11:17:39 +03:00
Alieh Rymašeŭski
ae57b0c322
Merge upstream changes from jjkester/master
...
Conflicts:
setup.py - conflicting version bump, expected
src/auditlog_tests/router.py - removed by them
tox.ini - upstream extended test matrix with dj21 and dj22, we did
the same but dropped older versions, keepign our variant
2020-04-07 11:13:45 +03:00
Jan-Jelle
c3b06045e0
Use Travis CI deployment v2
2019-12-16 11:21:35 +01:00
Jan-Jelle Kester
16daa13575
Supply PyPI credentials via environment variables ( #222 )
2019-12-03 15:36:40 +01:00
Alieh Rymašeŭski
bde49bdb4f
Allow newer versions of dateutil
2019-11-25 15:49:00 +03:00
Keith Bussell
2aecef2760
Fix TOXENV variable name in deploy step ( #217 )
2019-11-12 20:42:27 +01:00
Keith Bussell
843495f669
Remove multi-db tests to make them more reliable
...
Fixes #213
2019-11-11 18:13:06 +01:00
Keith Bussell
e138ee8855
Bump version
2019-11-11 18:13:06 +01:00
Keith Bussell
7fa9636c18
Add Python 3.7 classifier
2019-11-11 18:13:06 +01:00
Keith Bussell
8b84777117
Ensure db affinity between model and LogEntry
...
This test case would fail occasionally--sometimes accessing `history`
would try pulling from "default" instead of the "postgres" database.
To fix this issue generally, this change:
https://github.com/jjkester/django-auditlog/pull/94/files#diff-10976dd6652a7dba50d5de998672e49bR60
should be propagated somehow into `AuditlogHistoryField`.
2019-11-11 18:13:06 +01:00
Keith Bussell
e0e6acb49c
Use matrix to define TOXENV in Travis
2019-11-11 18:13:06 +01:00
Keith Bussell
c1d25a9ab5
Update testing for supported Django versions
...
Add support for Django 2.1 and 2.2, and drop support for < 1.11
2019-11-11 18:13:06 +01:00
Varuna Bamunusinghe
9be61a84a1
Fix tests for multiple database support.
2019-11-11 18:13:06 +01:00
Alieh Rymašeŭski
c66b36c700
Bump version to 0.6.2
2019-08-22 18:24:46 +03:00
Alieh Rymašeŭski
2ae401a04f
Shave off two SELECT COUNT(*) from admin page
2019-08-22 18:24:10 +03:00
Alieh Rymašeŭski
5ba554af56
Bump version to 0.6.1
2019-08-22 18:06:48 +03:00
Alieh Rymašeŭski
df2bf0a05c
Replace timestamp index with timestamp+id index
...
This change is supposed to improve performance of admin view.
2019-08-22 18:05:39 +03:00
Alieh Rymašeŭski
05e6b179fd
Bump version to 0.6.0
2019-08-22 16:31:08 +03:00
Alieh Rymašeŭski
07b38a9345
Update references to the maintainer
2019-08-22 16:31:08 +03:00
Alieh Rymašeŭski
5784247180
Update requirements section in the docs
...
We've dropped support for Python2 and unsupported versions of Python
and Django.
2019-08-22 16:31:08 +03:00
Alieh Rymašeŭski
2a43cff96f
Add python3.7 to tox and classifiers
2019-08-22 16:31:08 +03:00
Alieh Rymašeŭski
b16b1a0df3
Drop Django 1.9 compatibility
2019-08-22 16:31:08 +03:00
Alieh Rymašeŭski
9152d225bb
Remove obsolete versions from setup and tox
2019-08-22 16:31:08 +03:00
Alieh Rymašeŭski
c53b766132
Drop python2.7 support
...
Our dependency jsonfield broke compatibility with python2.7 recently,
and having no real reasons to support python2.7 we just drop it now.
2019-08-22 16:31:08 +03:00
Alieh Rymašeŭski
e35d0f4194
Bump version to 0.5.3
2019-08-21 19:41:02 +03:00
Alieh Rymašeŭski
e60876ae14
Add index for timestamp
2019-08-21 19:30:25 +03:00
Alieh Rymašeŭski
5dbea8a9a1
Bump version to 0.5.2
2019-05-17 12:41:31 +03:00
Alieh Rymašeŭski
cfbc588cc1
Query ContentTypes instead of distinct LogEntry
...
SELECT DISTINCT app_label, model FROM log_entry is a very expensive
request for longer logs, while we can always get the list of all
tracked models straight from the registry.
This new approach has two downsides:
1. It only provides filters for currently tracked models.
2. It can list such filter options that don't have any log entries.
2019-05-17 12:38:39 +03:00
Alieh Rymašeŭski
ee6bb33bc9
Bump version to 0.5.1
2019-05-16 17:24:13 +03:00
Alieh Rymašeŭski
c9c97b6861
Improve admin list performance
2019-05-16 17:23:28 +03:00
Alieh Rymašeŭski
5f5cc7f7e9
Bump version to 0.5.0
2019-05-11 18:43:36 +03:00
Alieh Rymašeŭski
a5381b6195
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.
2019-05-11 18:25:08 +03:00
Alieh Rymašeŭski
2dc0ac43b5
Use get_user_model
2019-05-11 18:16:00 +03:00
Alieh Rymašeŭski
aa28009d3b
Configure tests for Django 2.2
2019-05-11 18:16:00 +03:00
Alieh Rymašeŭski
03b8616dac
Configure tests for Django 2.1
2019-05-11 18:15:58 +03:00
Alieh Rymašeŭski
62c1e676cc
Bump version
2019-03-28 14:29:31 +03:00
Jan-Jelle Kester
12af4d45a0
Fix deploy config
...
* Bump version
* Set pypi config in .travis.yml
2018-09-18 22:56:54 +02:00
Jan-Jelle Kester
70e22afc78
Bump version
2018-09-18 11:09:10 +02:00
Ryan Castner
a22978e05b
(docs) Update README to include steps to release ( #185 )
2018-09-17 14:56:44 -04:00
Jan-Jelle Kester
aab8f47f97
Add deploy config for Travis CI ( #183 )
...
* Add deploy config for Travis CI
* Use binary psycopg2 distribution
* Remove group to get newer postgres version
* Revert "Remove group to get newer postgres version"
This reverts commit 2c22ae3248 .
* Default to Postgres 9.4, Django 2.0 dropped support for <=9.3.
https://docs.travis-ci.com/user/database-setup/#using-a-different-postgresql-version
2018-09-17 14:30:08 -04:00
David D Lowe
bcf1dbf0bf
Indicate Python 3 support in metadata ( #176 )
2018-05-30 14:12:25 -04:00
Keith Bussell
3a82338e59
(feature) Allow AuditlogHistoryField to block cascading deletes ( #172 )
...
Fixes #108
Thanks to @andrewwatts for suggesting and researching the approach.
2018-03-27 14:42:36 -04:00
Jethro Muller
bc886fa01d
Mark LogEntryAdminMixin methods output as safe where required ( #167 )
...
* Mark LogEntryAdminMixin method output as safe where required
Use format_html to provide conditional escaping and mark_safe functionality
* Unwrap function call to prevent py27 and py34 errors
2018-03-01 11:24:00 -05:00