{ "info": { "author": "Maurits van Rees", "author_email": "maurits@vanrees.org", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Plone", "Framework :: Plone :: 4.3", "Framework :: Plone :: 5.0", "Framework :: Plone :: 5.1", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": ".. This README is meant for consumption by humans and pypi. Pypi can render rst files so please do not use Sphinx features.\n If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html\n This text does not appear on pypi or github. It is a comment.\n\n==============================================================================\nexperimental.nodtml\n==============================================================================\n\nPatch DocumentTemplate to not return any content.\n\n\nFeatures\n--------\n\nDTML documents have been deprecated for several years, at least within\nthe Plone community. So you should not use them. But still Plone\nships with DTML documents. And these may contain security issues,\nespecially for Cross Site Scripting (CSS). So this package patches\nthe Document Templates to not return any content.\n\n\nOptions\n-------\n\nThe package looks for a few environment variables.\n\n``SHOW_ORIGINAL_DTML``\n When this is set to a true value, the original DTML value is printed in the zope instance log.\n The arguments and keyword arguments are also shown, so you can know where this is coming from.\n Default: false.\n\n``DEBUG_DTML_VALUE``\n When this is set, the given value is return as content of the DTML.\n Default: empty string.\n\n``EXPERIMENTAL_NODTML_ONLY_WARN``\n When this is set to a true value, instead of replacing the dtml value, a warning is logged.\n When true, the ``SHOW_ORIGINAL_DTML`` and ``DEBUG_DTML_VALUE`` settings are ignored.\n Default: false.\n\n``EXPERIMENTAL_NODTML_RAISE``\n When this is set to a true value, instead of replacing the dtml value, an exception is raised.\n When true, the other settings are ignored.\n Default: false.\n\nAccepted True values are: ``true``, ``t``, ``1``, ``yes``, ``y``.\n\n\nInstallation\n------------\n\nInstall experimental.nodtml by adding it to your buildout::\n\n [buildout]\n ...\n eggs =\n experimental.nodtml\n\nand then running ``bin/buildout``\n\nNo zcml is needed.\n\n\nSupported Plone Versions\n------------------------\n\n- Plone 4.x\n- Plone 5.x\n\nWe are only patching ``DocumentTemplate`` so this works with any plain Zope2.\n\n\nContribute\n----------\n\n- Issue Tracker: https://github.com/plone/experimental.nodtml/issues\n- Source Code: https://github.com/plone/experimental.nodtml\n\n\nLicense\n-------\n\nThe project is licensed under the GPLv2.\n\n\nContributors\n============\n\n- Maurits van Rees, maurits@vanrees.org\n\n\nChangelog\n=========\n\n\n1.2 (2016-11-14)\n----------------\n\nNew features:\n\n- Added ``EXPERIMENTAL_NODTML_RAISE`` option. [maurits]\n\n\n1.1 (2016-09-28)\n----------------\n\nNew features:\n\n- Added ``EXPERIMENTAL_NODTML_ONLY_WARN`` option. [maurits]\n\nBug fixes:\n\n- Interpret value of ``SHOW_ORIGINAL_DTML`` as true value.\n Accepted True values are: ``true``, ``t``, ``1``, ``yes``, ``y``.\n [maurits]\n\n- Show arguments and keyword arguments when ``SHOW_ORIGINAL_DTML`` is true.\n [maurits]\n\n- Return empty string instead of empty unicode by default. Otherwise\n you get exceptions when loading dtml files in for example the css\n registry on Plone 4.3. [maurits]\n\n\n1.0.2 (2016-09-24)\n------------------\n\nBug fixes:\n\n- Fixed showing ``String .__str__``. [maurits]\n\n\n1.0.1 (2016-09-24)\n------------------\n\nBug fixes:\n\n- Added z3c.autoinclude entry point, so our code gets loaded on startup. [maurits]\n\n\n1.0 (2016-09-24)\n----------------\n\n- Initial release.\n [mauritsvanrees]", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pypi.python.org/pypi/experimental.nodtml", "keywords": "Python Plone", "license": "GPL version 2", "maintainer": "", "maintainer_email": "", "name": "experimental.nodtml", "package_url": "https://pypi.org/project/experimental.nodtml/", "platform": "", "project_url": "https://pypi.org/project/experimental.nodtml/", "project_urls": { "Homepage": "https://pypi.python.org/pypi/experimental.nodtml" }, "release_url": "https://pypi.org/project/experimental.nodtml/1.2/", "requires_dist": null, "requires_python": "", "summary": "Patch DocumentTemplate to not return any content.", "version": "1.2" }, "last_serial": 2459216, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "6c4334f98f4348418ddfa0b5426bdc45", "sha256": "390d5c49d81bb2c4b9ad0412a45db171a9f2e1705e4292ca4c2f55681931b975" }, "downloads": -1, "filename": "experimental.nodtml-1.0.tar.gz", "has_sig": false, "md5_digest": "6c4334f98f4348418ddfa0b5426bdc45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10233, "upload_time": "2016-09-24T00:54:17", "url": "https://files.pythonhosted.org/packages/e5/ff/72049ff2e8b330f804954d9fe5bbcce1b37445aa83885874f41c32f54984/experimental.nodtml-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "417141af5df0e8c678cd8f9d81eedb63", "sha256": "cc848144c1b3bfae47bb2a634e4b88100a6a5e8f5a074008c712f996fff9646f" }, "downloads": -1, "filename": "experimental.nodtml-1.0.1.tar.gz", "has_sig": false, "md5_digest": "417141af5df0e8c678cd8f9d81eedb63", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10380, "upload_time": "2016-09-24T01:24:41", "url": "https://files.pythonhosted.org/packages/0b/49/cd9376ca1fb4ad33650351ceeb5ea47e3bc18790ef896baea61689bf21b6/experimental.nodtml-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "3c95272546f3bc6dd86de5f4be32fd88", "sha256": "21440f01790c63e8a1f12abaee90c2b084e8ccd32cf5daaa69e9fdeea51bedac" }, "downloads": -1, "filename": "experimental.nodtml-1.0.2.tar.gz", "has_sig": false, "md5_digest": "3c95272546f3bc6dd86de5f4be32fd88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10415, "upload_time": "2016-09-24T01:54:38", "url": "https://files.pythonhosted.org/packages/c9/e9/b858ae0b85109b9d7b18010e867c01ec45befadc4af429adbe3cb102d026/experimental.nodtml-1.0.2.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "659c707dd6205bdb87eeee85d109a462", "sha256": "c55b90669d653cbdd99f7e3d4f109f8cbcdea77b8b452ac10aff188e4c8364ec" }, "downloads": -1, "filename": "experimental.nodtml-1.1.tar.gz", "has_sig": false, "md5_digest": "659c707dd6205bdb87eeee85d109a462", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11261, "upload_time": "2016-09-28T15:28:00", "url": "https://files.pythonhosted.org/packages/ff/88/16cd1f335637147c8f7998f95833486a8933bf2c747177ce11d0ed39a786/experimental.nodtml-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "cfbd65a8ba84faa2101f58fd97a6f1f2", "sha256": "f98bf4a05d2dd8d690116f0fc1c7feda30df0956d2e98ff0cc7319db5a5a63f8" }, "downloads": -1, "filename": "experimental.nodtml-1.2.tar.gz", "has_sig": false, "md5_digest": "cfbd65a8ba84faa2101f58fd97a6f1f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11598, "upload_time": "2016-11-14T11:45:23", "url": "https://files.pythonhosted.org/packages/44/97/d8a3711899d8008609c0f09c2916ef970f08a6c8d05c46cf728e57e415b7/experimental.nodtml-1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cfbd65a8ba84faa2101f58fd97a6f1f2", "sha256": "f98bf4a05d2dd8d690116f0fc1c7feda30df0956d2e98ff0cc7319db5a5a63f8" }, "downloads": -1, "filename": "experimental.nodtml-1.2.tar.gz", "has_sig": false, "md5_digest": "cfbd65a8ba84faa2101f58fd97a6f1f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11598, "upload_time": "2016-11-14T11:45:23", "url": "https://files.pythonhosted.org/packages/44/97/d8a3711899d8008609c0f09c2916ef970f08a6c8d05c46cf728e57e415b7/experimental.nodtml-1.2.tar.gz" } ] }