GithubHelp home page GithubHelp logo

collective.history's Introduction

Introduction

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

Trackers

This addon track the following events:

  • Archetypes: Add / Edit / Delete / Rename
  • Dexterity: Add / Edit / Delete / Rename
  • Discussion: Add / Remove

How it works

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

How to install

This addon can be installed has any other addons. please follow official documentation

Quality assurance (QA)

This addon is tested and has:

  • unit tests
  • integration tests
  • functional tests (robotframework)
  • python syntax tests (flake8)
  • tests coverage control
  • continious integration using travis
https://secure.travis-ci.org/collective/collective.history.png Coverage Latest PyPI version Number of PyPI downloads

Credits

Companies

People

collective.history's People

Contributors

gagaro avatar toutpt avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.