{
"info": {
"author": "Vitaliy Podoba",
"author_email": "vitaliy@martinschoel.com",
"bugtrack_url": null,
"classifiers": [
"Framework :: Plone",
"Programming Language :: Python"
],
"description": "Introduction\n============\n\nIf you ever wanted to redirect a user right after logging in (e.g. to his/her\npersonal account dashboard or any other dedicated page) then this package here\nis made exactly for this purpose.\n\n\nOverview\n--------\n\nIt allows you to configure where to redirect a site user upon logging in.\n\nYou also have an option to provide a different redirect for first-time logins.\nThis feature may be useful in case you want to ask your first time login users\nto enter their profile information and/or to set personal preferences.\n\nThe ``collective.onlogin`` package provides a Plone control panel where you can\nenable redirects as well as set exact URLs where to redirect your users to.\n\n\nCompatibility\n-------------\n\nThis add-on was tested for the Plone 4.1 series.\n\n\nInstallation\n------------\n\n* to add the package to your Zope instance, please, follow the instructions\n found inside the ``docs/INSTALL.txt`` file\n* then restart your Zope instance and install the ``collective.onlogin``\n package from within the ``portal_quickinstaller`` tool\n\n\nConfiguration\n-------------\n\nThe package provides a configuration panel where you can manage your redirects.\nThere you have 2 sections:\n\n* for first-time logins,\n* and for all next user logins.\n\nFirst-time login redirects are of higher priority than all the next time\nredirects so that the latter will happen only if a user logged in for the second\ntime or if first-time login redirect is disabled.\n\nAvailable configuration options:\n\n* ``Enable redirect on first login``. Whether to override default Plone redirect\n on first-time user login. If enabled, it takes precedence over 'next time'\n user login redirects.\n* ``First login redirect expression``. TAL Expression for first time login user\n redirect. It should return absolute or relative URL to internal Plone site\n page or absolute URL to any other external web resource. E.g. to redirect to\n external site: ''string:http://google.com''. Default value is to redirect to\n user personal information form within Plone site:\n ''string:${portal_url}/@@personal-information''.\n* ``Ignore came_from parameter on first login``. Plone uses came_from query\n parameter in some URLs to be able to redirect back to previously visited page.\n It's usually useful for login procedure. Still you're able to ignore this\n default Plone functionality by ticking this checkbox and ensure user is always\n redirected to a URL you assigned manually in expression mentioned above.\n* ``Enable redirect on login``. Override default Plone redirect on user login.\n If user logins for first time then ``First login redirect expression`` will\n take precedence in case first-time redirect is enabled.\n* ``Login redirect expression``. TAL Expression for login user redirect. It\n should return absolute or relative URL to internal Plone site page or absolute\n URL to any other external web resource. Default value is to redirect to\n user personal dashboard: ''string:${portal_url}/@@dashboard''. E.g. to\n redirect user to his/her profile page:\n ''string:${portal_url}/author/${member/getId}''.\n* ``Ignore came_from parameter on login``. Ignore default Plone redirect to\n previously visited page before user proceeded to login procedure. Tick this\n checkbox to ensure your manually set redirect is of higher priority over Plone\n 'came_from' redirect.\n\n\nNotes\n-----\n\nIn order to make the custom redirect event handlers work on user login we had to\ndisable ajax submits of the default Plone login overlay. Thus we still have a\nlogin overlay but form post is happening as a plain browser request reloading\nthe whole page.\n\n\nLive Examples\n=============\n\n* http://www.choosehelp.com/\n\n\nCredits\n=======\n\n\nCompanies\n---------\n\n|martinschoel|_\n\n* `Martin Schoel Web Productions `_\n* `Contact us `_\n\n\nAuthors\n-------\n\n* Vitaliy Podoba \n* Andriy Diedyk \n\n\nContributors\n------------\n\n\n.. |martinschoel| image:: http://cache.martinschoel.com/img/logos/MS-Logo-white-200x100.png\n.. _martinschoel: http://www.martinschoel.com/\n\nChangelog\n=========\n\n1.0 - May 4, 2012\n-----------------\n\n- Initial release compatible with Plone 4.1.\n [vipod]",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/martinschoel/collective.onlogin",
"keywords": "redirect login",
"license": "GPL",
"maintainer": null,
"maintainer_email": null,
"name": "collective.onlogin",
"package_url": "https://pypi.org/project/collective.onlogin/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/collective.onlogin/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/martinschoel/collective.onlogin"
},
"release_url": "https://pypi.org/project/collective.onlogin/1.0/",
"requires_dist": null,
"requires_python": null,
"summary": "This package allows the configuration of HTTP redirects after user logged in into Plone site.",
"version": "1.0"
},
"last_serial": 787983,
"releases": {
"1.0": [
{
"comment_text": "",
"digests": {
"md5": "ac4f425fdc2cfd7c80eefdacec58766e",
"sha256": "837943c3a98a86f0439315c9f1ce348b21415623ff89479202b21221aaa00546"
},
"downloads": -1,
"filename": "collective.onlogin-1.0.tar.gz",
"has_sig": false,
"md5_digest": "ac4f425fdc2cfd7c80eefdacec58766e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 18249,
"upload_time": "2012-06-06T18:25:54",
"url": "https://files.pythonhosted.org/packages/2f/8f/7d979f87a275a979dabfd748880b9958fed92c4fdb59d011e44c70d93f5f/collective.onlogin-1.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "ac4f425fdc2cfd7c80eefdacec58766e",
"sha256": "837943c3a98a86f0439315c9f1ce348b21415623ff89479202b21221aaa00546"
},
"downloads": -1,
"filename": "collective.onlogin-1.0.tar.gz",
"has_sig": false,
"md5_digest": "ac4f425fdc2cfd7c80eefdacec58766e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 18249,
"upload_time": "2012-06-06T18:25:54",
"url": "https://files.pythonhosted.org/packages/2f/8f/7d979f87a275a979dabfd748880b9958fed92c4fdb59d011e44c70d93f5f/collective.onlogin-1.0.tar.gz"
}
]
}