Commit graph

53 commits

Author SHA1 Message Date
Hasan Ramezani
d067de73b6 Replace MIDDLEWARE_CLASSES with MIDDLEWARE in docs. 2021-06-24 14:41:16 +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
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
7801239387 Blacken the code 2021-06-24 13:04:48 +03:00
Alieh Rymašeŭski
df16b2a8da Changes for Jazzband (#269)
* Update repository references to Jazzband
Issue #268

* Add Jazzband badge to README
Issue #268

* Add Jazzband contribution guideline
Issue #268

Cherry-picking 31418d54f2
2020-11-12 16:51:20 +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
8d2bb0f319 Drop support for outdated Django versions 2020-11-12 16:15:12 +03:00
Alieh Rymašeŭski
47a268eef9 Clean up project structure
Cherry-picking ee8a700b1b
2020-11-12 16:15:05 +03:00
Alieh Rymašeŭski
a6cea38c9e Bump version to 0.6.10 2020-06-11 17:05:29 +03:00
Alieh Rymašeŭski
a11d1a3e46 Bump version to 0.6.9 2020-06-10 15:40:07 +03:00
Alieh Rymašeŭski
0f3c7b430f Bump version to 0.6.8 2020-04-22 17:57:21 +03:00
Alieh Rymašeŭski
2b536fc87e Bump version to 0.6.7 2020-04-22 16:09:27 +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
5cd55ac38c Bump version to 0.6.5 2020-04-07 12:03:09 +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
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
Keith Bussell
e138ee8855 Bump version 2019-11-11 18:13:06 +01: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
Jan-Jelle Kester
70e22afc78
Bump version 2018-09-18 11:09:10 +02:00
Jan-Jelle Kester
eaa02e6f38 Version bump 2018-01-12 23:39:44 +01:00
Jan-Jelle Kester
f45fb55c81 Version bump 2017-11-18 15:48:00 +01:00
Ryan Castner
45760c6316 Fixes #93 - Add 'changes_display_dict' property to 'LogEntry' model to display diff in a more human readable format (#94)
Fixes #93 - Add 'changes_display_dict' property to 'LogEntry' model to display diff in a more human readable format

'changes_display_dict' currently handles fields with choices, long textfields and charfields, datefields, timefields, and datetimefields. Supports `django-multiselectfield` with choices and Postgres's ArrayField with choices.

Textfields and Charfields longer than 140 characters are truncated with an ellipsis appended.
Date, Time and DateTime fields are rendered according to `L10N`, or if turned off fall back on Django settings defaults for DATE_FORMAT, TIME_FORMAT and DATETIME_FORMAT.

A new kwarg was added to 'AuditlogModelRegistry' called 'mapping_fields'. The kwarg allows the user to map the fields in the model to a more human readable or intuitive name. If a field isn't mapped it will default to the `verbose_name` as defined on the model or the Django default `verbose_name`. Partial mapping is supported, all fields do not need to be mapped to use the feature.

* Add django-multiselectfield test dep

* Add psycopg2 test dep

* Add postgres testing database and router

* Add postgres support to travis builds

* Add support for multiple databases. LogEntry saves to same database of the model its associated to

* If any literal evals fail default to None

* Add support for Postgres ArrayField in changes_display_dict

* Revert to old travis image while they are fixing issues with it

* Update docs

* Add full test coverage
2017-09-13 10:57:47 -04:00
Jan-Jelle Kester
d97160f0c8 Version bump 2017-02-16 22:24:35 +01:00
Jan-Jelle Kester
6acab3809b Bump version to 0.4.2 2017-02-16 15:17:59 +01:00
Jan-Jelle Kester
12d8c4d84d Version bump and slight doc changes for 0.4.1 2016-12-27 11:08:12 +01:00
Jan-Jelle Kester
c08c3d65bb Release 0.4.0 2016-08-17 23:04:03 +02:00
Jan-Jelle Kester
b223712e36 Merge branch 'master' into flush-command 2016-08-02 17:13:38 +02:00
Jan-Jelle Kester
74c2032d05 Drop Django 1.7
Issue #60
2016-08-02 17:03:03 +02:00
Jan-Jelle Kester
182c3f69a6 Add management command for deleting all log entries
Issue #57
2016-07-27 18:24:04 +02:00
Jan-Jelle Kester
6888f4bae8 Bump version 2016-01-23 22:53:50 +01:00
Jan-Jelle Kester
2140cb03e9 Update docs, readme 2015-10-19 16:09:01 +02:00
Jan-Jelle Kester
f70e2b3d3f Bump version number 2015-10-07 22:49:32 +02:00
Jan-Jelle Kester
9b633828cc Bump version number 2015-07-29 23:53:29 +02:00
Jan-Jelle Kester
cfd6b35d6c Extend docs with many-to-many, manual logging 2015-07-22 01:16:58 +02:00
Jan-Jelle Kester
dab0342cf6 Merge branch 'master' into release-0.3.0
Conflicts:
	src/auditlog/diff.py
2015-07-22 01:06:32 +02:00
Jan-Jelle Kester
c40ae32955 Update documentation for new feature 2015-06-03 16:50:00 +02:00
Jan-Jelle Kester
3e504db94d Add note about progress in docs 2015-05-31 16:07:03 +02:00
Jan-Jelle Kester
0c3f839ae2 Improve documentation home page 2015-05-31 15:14:10 +02:00
Jan-Jelle Kester
52419f0d18 Add requirements to docs 2015-05-15 01:49:08 +02:00
Jan-Jelle Kester
83c8dc7dcf Fix syntax highlighting on usage page 2015-05-15 01:43:01 +02:00
Jan-Jelle Kester
efac3fe8c0 Use RTD theme for Sphinx documentation 2015-05-15 01:30:09 +02:00
Jan-Jelle Kester
742ac238ac Bump copyright year 2015-05-15 01:26:55 +02:00
Jan-Jelle Kester
1161324837 Update documentation for 0.3.0 release 2015-05-15 00:56:01 +02:00
Jan-Jelle Kester
9fc527aa7e Bump version 2015-05-15 00:55:42 +02:00
Jan-Jelle Kester
4606f614a8 Add South compatibility to docs 2014-07-08 17:34:12 +02:00
Jan-Jelle Kester
5dc3275de9 Bump version number and copyright year 2014-07-08 17:01:51 +02:00