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
ef4b93a551
Merge pull request #29 from jjkester/threadlocals
...
Use threadlocals and log remote address
2015-07-21 23:50:40 +02:00
Jan-Jelle Kester
952536f255
Additional field for metadata
2015-07-21 23:46:31 +02:00
Ann Paul
23927ea317
Add verbose name to the additional_data field
...
Directly call the get_additional_data method without instance
2015-06-03 08:47:50 -07:00
Jan-Jelle Kester
0c0d1dffe1
Only set remote_addr in set_actor method
2015-06-03 16:49:04 +02:00
Jan-Jelle Kester
93e468ab03
Add remote address field to LogEntry and autopopulate it when possible
2015-06-03 16:45:51 +02:00
Ann Paul
72cdde6864
Change naming to use additional_data
2015-06-01 09:24:13 -07:00
Jan-Jelle Kester
ff09a69c6f
Improve documentation
2015-05-31 15:06:06 +02:00
Jan-Jelle Kester
1173d3bc91
Fix issue with possible duplicates in get_for_objects method
2015-05-31 13:52:29 +02:00
Jan-Jelle Kester
3623812ab4
Some work on m2m relationships
2015-05-15 15:14:57 +02:00
Jan-Jelle Kester
3b04d88441
Improve code documentation
2015-05-15 01:25:44 +02:00
Jan-Jelle Kester
ae8461d1fe
Merge pull request #22 from jjkester/python3
...
Support Python 3 as well as Python 2
2015-05-15 00:30:47 +02:00
Jan-Jelle Kester
f54623d3c1
Merge pull request #14 from johnrtipton/master
...
Compatibility with django-polymorphic
2015-04-29 12:06:37 +02:00
Ann Paul
6a7908f2ca
Add detailed_object_repr JSONField to logentry model
2015-04-23 15:02:58 -07:00
John R. Tipton
cc2e489f75
- Check for model using isinstance
...
- Check for model using isinstance and pk using _get_pk_value
2015-02-19 09:03:39 -05:00
Jan-Jelle Kester
e97c601038
First try at making Auditlog work with Python 3
...
Issue #15
2015-02-16 22:17:22 +01:00
Jan-Jelle Kester
bee1f08f58
Support both int and long types for numeric primary keys
...
Issue #10
2015-02-16 21:46:35 +01:00
Jan-Jelle Kester
eb50f0dffd
Fix value lookup for nonexistent relations
2015-02-16 17:06:17 +01:00
Jan-Jelle Kester
71ba81928b
Merge branch 'master' of https://github.com/jjkester/django-auditlog
2015-02-16 16:34:35 +01:00
Jan-Jelle Kester
978e50fc35
Fix South compatibility for AuditlogHistoryField
2015-02-16 16:34:22 +01:00
John R. Tipton
16a55e1924
- Compatibility with django-polymorphic
...
Check for _meta attribute instead of __class__, since an integer has an
__class__ attribute.
2015-02-13 09:23:23 -05:00
John R. Tipton
dc9d6739fe
- Compatibility with django-polymorphic
...
django-polymorphic self._get_pk_value returns the class object. If
this happens, we try adding _id to the pk_field.
2015-02-12 15:54:59 -05:00
Vittorio Zamboni
4ae09eb8b4
Changed registry from list to dictionary and use register kwargs to track fields that must be changed or excluded
2014-10-03 15:13:03 +02:00
Jan-Jelle Kester
d778bb3a9e
Add South compatibility for AuditlogHistoryField
...
Untested, suggested solution per issue #7
2014-07-08 15:57:45 +02:00
Jan-Jelle Kester
41d3948606
Progress with tests
2014-03-14 17:15:31 +01:00
Jan-Jelle Kester
a2f4c98fa1
Add some documentation
2013-12-18 17:27:11 +01:00
Jan-Jelle Kester
2bcc022fdf
Fix utility methods with dynamic primary key discovery, also some style fixes
2013-12-18 17:24:41 +01:00
Jan-Jelle Kester
1bde6de50a
Extra utility methods on LogEntryManager with correct terminology, small style fix
2013-12-18 17:17:38 +01:00
Jan-Jelle Kester
f5aed059bf
Add changes_dict and changes_str utility methods to LogEntry model
2013-12-11 17:14:07 +01:00
Jan-Jelle Kester
8c541fe416
Remove html_formated_string method on LogEntry model
...
The method name was incorrectly spelled and the method was not flexible enough. This functionality will be replaced by a more flexible method and/or a template tag.
2013-12-11 16:58:32 +01:00
Jan-Jelle Kester
ec051d11f0
Merge remote-tracking branch 'origin/master'
...
Conflicts:
src/auditlog/middleware.py
2013-12-11 16:55:05 +01:00
Francisco Pérez Ferrer
19291f54d9
some util functions
2013-11-27 23:04:49 -05:00
Jan-Jelle Kester
bd61008bd7
Rename 'AuditLog' to 'Auditlog' in class names
2013-11-07 17:02:31 +01:00
Jan-Jelle Kester
1b2503d371
Extend inline documentation
2013-11-06 20:48:16 +01:00
Jan-Jelle Kester
18148f62c1
Add some more inline documentation
2013-10-23 17:23:52 +02:00
Jan-Jelle Kester
496c91441b
Some major bugfixes
2013-10-21 22:41:11 +02:00
Jan-Jelle Kester
74c962a2a0
Only save a log entry when something changed.
2013-10-21 22:27:35 +02:00
Jan-Jelle Kester
81098cd179
Big commit: testproject, bugfixes, changed directory structure
2013-10-21 21:46:31 +02:00