{"id":25176381,"url":"https://github.com/redturtle/collective.login_monitor","last_synced_at":"2025-07-06T21:07:04.305Z","repository":{"id":8108547,"uuid":"9524103","full_name":"RedTurtle/collective.login_monitor","owner":"RedTurtle","description":"Store and monitor login access to your Plone site","archived":false,"fork":false,"pushed_at":"2022-07-15T12:38:05.000Z","size":63,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-31T03:51:40.486Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://plone.org/products/collective.login_monitor","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RedTurtle.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-18T14:46:29.000Z","updated_at":"2023-02-18T10:41:48.000Z","dependencies_parsed_at":"2022-09-14T13:21:48.797Z","dependency_job_id":null,"html_url":"https://github.com/RedTurtle/collective.login_monitor","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedTurtle%2Fcollective.login_monitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedTurtle%2Fcollective.login_monitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedTurtle%2Fcollective.login_monitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedTurtle%2Fcollective.login_monitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedTurtle","download_url":"https://codeload.github.com/RedTurtle/collective.login_monitor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252783008,"owners_count":21803438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-09T13:17:01.330Z","updated_at":"2025-05-06T23:19:14.854Z","avatar_url":"https://github.com/RedTurtle.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Save any **login operation** done in your Plone site to an external database and provide a Plone interface\nfor query the database.\n\n.. contents:: **Table of contents**\n\nIntroduction\n============\n\nThis Plone add-on is based on `z3c.saconfig`__ and `SQLAlchemy`__, and can't provide any new feature to Plone\nwithout a proper configuration.\n\n__ http://pypi.python.org/pypi/z3c.saconfig\n__ http://sqlalchemy.org/\n\nKeep reading for installation and configuration guide.\n\nHow to use\n==========\n\nAfter the installation, any login done in your Plone will save to an external database an entry that store:\n\n* user id\n* a timestamp\n\nThen a new configuration panel can bhe found in the site configuration: \"*Monitor user logins*\".\n\nFrom this view you can query the database previously populated:\n\n.. image:: http://blog.redturtle.it/pypi-images/collective.login_monitor/collective.login_monitor-0.2-01.png \n   :alt: Control panel for login monitor\n\nYou must limit the search inside a rande of dates, and optionally limiting users to members of a group.\nResults of the table displayed can be export to a CSV file.\n\nMultiple sites\n--------------\n\nIf your buildout hosts multiple Plone sites, all of them will store data in the database keeping same username\non different sites separated.\n\nInstallation and configuration\n==============================\n\nYou must configure an access to an external DBMS. The name of the engine used must be ``plone_logins``.\n\nFollow an example based on `sqlite`__ (**not advised for production environment**).\n\n__ http://www.sqlite.org/\n\nAdd ``collective.login_monitor`` to your buildout, then provide a SQLAlchemy connection string::\n\n    [buildout]\n    ...\n    \n    [instance]\n    ...\n    eggs=\n       ...\n       collective.login_monitor\n    \n    zcml-additional =\n        ...\n        \u003cconfigure xmlns=\"http://namespaces.zope.org/zope\"\n                  xmlns:db=\"http://namespaces.zope.org/db\"\u003e\n           \u003cinclude package=\"z3c.saconfig\" file=\"meta.zcml\" /\u003e\n           \u003cdb:engine name=\"plone_logins\"\n                      url=\"sqlite:///${buildout:directory}/var/filestorage/plone_logins.db\"\n                      setup=\"collective.login_monitor.prepare_model.prepare\"\n                      /\u003e\n           \u003cdb:session name=\"plone_logins\" engine=\"plone_logins\" /\u003e\n       \u003c/configure\u003e\n\nCredits\n=======\n\nDeveloped with the support of:\n\n* `Azienda USL Ferrara`__\n  \n  .. image:: http://www.ausl.fe.it/logo_ausl.gif\n     :alt: Azienda USL's logo\n  \n* `S. Anna Hospital, Ferrara`__\n\n  .. image:: http://www.ospfe.it/ospfe-logo.jpg \n     :alt: S. Anna Hospital - logo\n\nAll of them supports the `PloneGov initiative`__.\n\n__ http://www.ausl.fe.it/\n__ http://www.ospfe.it/\n__ http://www.plonegov.it/\n\nAuthors\n=======\n\nThis product was developed by RedTurtle Technology team.\n\n.. image:: http://www.redturtle.it/redturtle_banner.png\n   :alt: RedTurtle Technology Site\n   :target: http://www.redturtle.it/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredturtle%2Fcollective.login_monitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredturtle%2Fcollective.login_monitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredturtle%2Fcollective.login_monitor/lists"}