{ "info": { "author": "4teamwork AG", "author_email": "mailto:info@4teamwork.ch", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Framework :: Plone :: 4.2", "Framework :: Plone :: 4.3", "Framework :: Plone :: 5.1", "Intended Audience :: Developers", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "collective.editmodeswitcher\n===========================\n\ncollective.editmodeswitcher allows to toggle between edit and view only mode.\nThis enables users with modify permissions to view a page without editable\nborders.\nThe current setting is stored in a cookie and thus effective for multiple\npage views.\nThis is especially useful in single sign on environments.\n\n\nInstall\n-------\n\nAdd ``collective.editmodeswitcher`` to your buildout configuration:\n\n.. code:: ini\n\n [instance]\n eggs +=\n collective.editmodeswitcher\n\nor add it as a dependency to one of your packages.\n\n\nCompatibility\n-------------\n\nRuns with `Plone `_ `4.2`, `4.3` and `5.1`.\n\n\nUsage\n-----\n\nFor toggling the edit-mode call the view ``@@switch-editmode``.\nThis will toggle the edit mode and store the current edit mode status\nin a cookie for further requests. You can get the current state by calling\n``@@switch-editmode/get_state``, this will return `enabled`, or 'disabled'.\n\nYou may want to place an action somewhere for toggling the edit mode - this\nintegration is not done by ``collective.editmodeswitcher``.\n\n\nCaching\n-------\n\n``collective.editmodeswitcher`` provides a ``plone.app.caching`` etag adapter\nnamed ``editmode``.\nThis etag can be used in the caching configuration in order to make the cache\nflush when switching the edit mode.\n\n\n\nLinks\n-----\n\n- Github: https://github.com/4teamwork/collective.editmodeswitcher\n- Issues: https://github.com/4teamwork/collective.editmodeswitcher/issues\n- Pypi: http://pypi.python.org/pypi/collective.editmodeswitcher\n- Continuous integration: https://jenkins.4teamwork.ch/search?q=collective.editmodeswitcher\n\n\nCopyright\n---------\n\nThis package is copyright by `4teamwork `_.\n\n``collective.editmodeswitcher`` is licensed under GNU General Public License, version 2.\n\nChangelog\n=========\n\n\n1.1.0 (2019-10-15)\n------------------\n\n- Drop Plone 4.1 support. [jone]\n- Add Plone 5.1 support. [tinagerber]\n\n\n1.0.3 (2016-05-12)\n------------------\n\n- Provide plone.app.caching etag \"editmode\". [jone]\n\n\n1.0.2 (2016-02-12)\n------------------\n\n- Implement traversable get_state method, which returns the curren edit-mode state.\n [mathias.leimgruber]\n\n- Use ftw.testbrowser for testing.\n [mathias.leimgruber]\n\n\n1.0.1 (2013-05-24)\n------------------\n\n- General package clean up:\n Update Readme, update metadata, testing, declare dependencies\n\n\n1.0 (2011-02-25)\n----------------\n\n- Initial release", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/4teamwork/collective.editmodeswitcher", "keywords": "plone edit mode switch toggle", "license": "GPL2", "maintainer": "", "maintainer_email": "", "name": "collective.editmodeswitcher", "package_url": "https://pypi.org/project/collective.editmodeswitcher/", "platform": "", "project_url": "https://pypi.org/project/collective.editmodeswitcher/", "project_urls": { "Homepage": "https://github.com/4teamwork/collective.editmodeswitcher" }, "release_url": "https://pypi.org/project/collective.editmodeswitcher/1.1.0/", "requires_dist": null, "requires_python": "", "summary": "Allows to toggle edit mode in Plone", "version": "1.1.0" }, "last_serial": 5975091, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "dcab845324421f1d559a25712f1dbbb7", "sha256": "2749d1a358503d8daddb44a59ff9b633ca544c51897e289f9a428dabc738d45b" }, "downloads": -1, "filename": "collective.editmodeswitcher-1.0.1.zip", "has_sig": false, "md5_digest": "dcab845324421f1d559a25712f1dbbb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17182, "upload_time": "2013-05-24T13:18:16", "url": "https://files.pythonhosted.org/packages/87/83/d8d6bd725a1cac22cc4716230ab6a8e92a602ef1a4162d27f370bc6c20da/collective.editmodeswitcher-1.0.1.zip" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "95e26bea83298c45fc76e24e301f0655", "sha256": "8d37a5ce46bf5ae0bd435444ef65608d1d7ac9ec42dde8fcb6c80b54b50ce860" }, "downloads": -1, "filename": "collective.editmodeswitcher-1.0.2.zip", "has_sig": false, "md5_digest": "95e26bea83298c45fc76e24e301f0655", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17617, "upload_time": "2016-02-12T10:55:52", "url": "https://files.pythonhosted.org/packages/df/9e/f2ae910dce82f92745b124f55bccb197e1fc76bc0f4f35cb0285f1a1d65f/collective.editmodeswitcher-1.0.2.zip" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "c2c6f589f3450686325063411e5bb25e", "sha256": "c1b9b5c712a2f2158130da98f33dee34b1f760f3dc25c4b08c3dae25f1931e06" }, "downloads": -1, "filename": "collective.editmodeswitcher-1.0.3.tar.gz", "has_sig": false, "md5_digest": "c2c6f589f3450686325063411e5bb25e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10453, "upload_time": "2016-05-12T11:44:42", "url": "https://files.pythonhosted.org/packages/40/a4/1d761d9726a98cd492ff05d9e36a21ce4635c2ab616f6099bc8ec006dfd5/collective.editmodeswitcher-1.0.3.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "98386a1954d3aa9cb455268b5c224c9e", "sha256": "615e30134f3c1f124ac560d0fd3ebd613fa1a1851dc6dfd7c11940f160c6b1ba" }, "downloads": -1, "filename": "collective.editmodeswitcher-1.1.0.tar.gz", "has_sig": false, "md5_digest": "98386a1954d3aa9cb455268b5c224c9e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10564, "upload_time": "2019-10-15T06:35:46", "url": "https://files.pythonhosted.org/packages/97/43/c5ce8a7b15be7c19a5ba48e7f54a5c3406672ffef003b1c60e1f52131f35/collective.editmodeswitcher-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "98386a1954d3aa9cb455268b5c224c9e", "sha256": "615e30134f3c1f124ac560d0fd3ebd613fa1a1851dc6dfd7c11940f160c6b1ba" }, "downloads": -1, "filename": "collective.editmodeswitcher-1.1.0.tar.gz", "has_sig": false, "md5_digest": "98386a1954d3aa9cb455268b5c224c9e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10564, "upload_time": "2019-10-15T06:35:46", "url": "https://files.pythonhosted.org/packages/97/43/c5ce8a7b15be7c19a5ba48e7f54a5c3406672ffef003b1c60e1f52131f35/collective.editmodeswitcher-1.1.0.tar.gz" } ] }