This addon provides a way to keep track of every actions of every users in your site.
When a user do something Zope throw an event that is catch by this addon to save the following information:
- what
- on what
- where
- when
- who
This addon track the following events:
- Archetypes: Add / Edit / Delete / Rename
- Dexterity: Add / Edit / Delete / Rename
- Discussion: Add / Remove
This addon is based on event raised by Zope following this logic:
- The user do an action
- The action send at least one event using notify(SpecializedEvent)
- The event implements the IObjectEvent interface
- The addon handle this event throw an handler.
- The handler is specialized for each context (archetypes, dexterity)
- The handler filter some event or not valid context (temporary object, ...)
- The handler create a non persistent useraction specialized for the context
- The handler call the initialize method of the useraction (to extract data)
- The handler get the backend (one unique backend)
- The handler ask the backend to save the current useraction
This addon can be installed has any other addons. please follow official documentation
This addon is tested and has:
- unit tests
- integration tests
- functional tests (robotframework)
- python syntax tests (flake8)
- tests coverage control
- continious integration using travis
- JeanMichel FRANCOIS aka toutpt <toutpt@gmail.com>
- Yann FOUILLAT aka Gagaro <gagaro42@gmail.com>