Skip to main content

User login history

Project description

Introduction

EdW User History package will make available a portlet providing user login history. The portlet will list the most recent 10 user logins. Clicking a userid will open a page showing the full login history for that user including login date and his/her IP. A full user listing page is also available in the “Site setup” section of the site.

Main features

  1. New available portlet called “User login history”

  2. Control panel tool to display the full login history

  3. Login history works not only for local users but for external user sources too

Installation

zc.buildout

If you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this:

  • Update your buildout.cfg file:

    • Add edw.userhistory to the list of eggs to install

    • Tell the plone.recipe.zope2instance recipe to install a ZCML slug

    [instance]
    ...
    eggs =
      ...
      edw.userhistory
    
    zcml =
      ...
      edw.userhistory
  • Re-run buildout, e.g. with:

    $ ./bin/buildout

You can skip the ZCML slug if you are going to explicitly include the package from another package’s configure.zcml file.

Changelog

1.8 - (2016-06-23)

  • Bug fix: Use getSite to get portal_membership [avoinea]

1.7 - (2016-05-04)

  • Bug fix: Fix REMOTE_ADDR getter from request.environ [avoinea]

  • Bug fix: Safely get portal_membership tool [avoinea]

1.6 - (2015-01-09)

  • Change: Added missing package includes in order to be compatible with Plone >= 4.1 [olimpiurob refs #22037]

1.5 - (2012-09-28)

  • Bugfix: fixed version.txt location. Added README.rst [ghicaale refs #5542]

1.4 - (2012-09-28)

  • Feature: added documentation and fixed pylint warning [ghicaale refs #5542]

  • Feature: enhanced user login history to take into account all external users, not only the local users [ghicaale refs #5542]

1.3 - (2012-02-22)

  • Bugfix: using proper date format [david, (Eau de Web)]

1.2 - (2012-02-22)

  • Bugfix: proper date sorting [david, (Eau de Web)]

1.1 - (2012-01-06)

  • Bugfix: adding tests [david, (Eau de Web)]

  • Bugfix: updating package layout for eggmonkey [david, (Eau de Web)]

  • Bugfix: don’t log user logins if no user information is available in portal_membership. This solves login issues with Products.PloneSurvey which uses a separate user folder [david, (Eau de Web)]

1.0 - (2011-08-01)

  • Initial release [david, (Eau de Web)]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edw.userhistory-1.8.zip (26.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page