{ "info": { "author": "Zope Foundation and Contributors", "author_email": "zope-cmf@zope.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Plone", "Framework :: Zope :: 4", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": "=================\n Products.CMFUid\n=================\n\n.. contents::\n\nCMFUid introduces a simple unique id implementation.\n\nImplementation\n==============\n\nThe supplied tools attach the unique ids to the objects. The objects\ndo not have to be aware of unique ids.\n\nThe current implementation depends on the portal catalog to find an \nobject of a given unique id. The interfaces do not imply the use\nof the catalog (except the IUniqueIdBrainQuery).\n\nWhich Tool does What?\n=====================\n\nThe 'portal_uidgenerator' tools responsibility is to generate \nunique ids. The 'portal_uidannotation' tool is responsible to \nattach unique ids to a content object, and enforce rules about\nwhat happens on object move/create/delete. The 'portal_uidhandler' \nmanages registering and accessing unique ids. \n\nThis design was chosen to allow users replacing only parts of\nthe functionality without having to understand the whole thing.\n\nUnique Id API\n=============\n\n'portal_uidhandler' implementing 'IUniqueIdHandler' is the main \nAPI for playing with unique ids.\n\nUsage\n=====\n\n'portal_uidhandler' fully implements IUniqueIdHandler (IUniqueIdSet\nfor registering/unregistering unique ids, IUniqueIdQuery for queries\nand IUniqueIdBrainQuery for more efficient queries by returning \ncatalog brains instead of objects).\n\nThe current implementation of get/queryBrain and get/queryObject \ndo not return invisible objects (and brains of invisible objects).\nBy invisible objects, we mean objects that would be filtered out\nby portal_catalog.searchResults due to expiry/effective date and/or\nuser roles.\n\nIt is often necessary to avoid this filtering in an application.\nTo do this, use the unrestrictedGet/QueryBrain and\nunrestrictedGet/QueryObject as this will avoid 'None' results.\n\nHave a look at the interfaces.\n\nCMFUid's functionality is used by CMFDefault's favorite content type \nto follow linked objects. The favorite content type works as before if \nCMFUid is not installed. \n\n\nUpdate 2007-03-30\n=================\n\nThe annotation code has been updated to use events for assigning/removing \nuids. The settings for this live in the portal_uidannotation tool.\n\nThe default behaviour is:\n\n- uids are NOT assigned when an object is created\n (it is assumed that other code is responsible for this)\n\n- when an object is moved, a UID is not changed\n\n- when an object is imported, any EXISTING UID is removed\n (this can be controlled via the 'remove_on_add' property)\n\n- when an object is copied, any EXISTING UID is removed\n (this can be controlled via the 'remove_on_clone' property)\n\nA more natural behaviour is for UIDs to be assigned automatically on \ncreation. To enable this feature:\n\n- tick the 'assign UIDs on add' tickbox\n (uids will now be assigned when content is added or imported and any\n EXISTING uid will be replaced)\n\n- tick the 'assign UIDs on copy' tickbox\n (objects will get a NEW uid when they are copied which will replace \n any EXISTING uid)\n\nIn order to preserve the original behaviour of the tool, automatic \nassignment of uids is NOT enabled by default - it must be turned on in \nthe uidannotation tool.\n\nThe behaviour is hooked in based on object creating/deletion/move events\nfor any IContentish objects. The event handlers live in the \nUniqueIdAnnotation tool.\n\n\n------------------------------------------------------------\n\nProducts.CMFUid Changelog\n=========================\n\n3.0.1 (2018-11-07)\n------------------\n\n- fix test isolation problems\n [petschki]\n\n\n3.0 (2018-07-05)\n----------------\n\n- Require `Zope >= 4`.\n\n- Add support for Python 3.5 and 3.6.\n\n- Adapt tests to the new indexing operations queueing.\n Part of PLIP 1343: https://github.com/plone/Products.CMFPlone/issues/1343\n [gforcada]\n\n\n2.3.0-beta (2012-03-21)\n-----------------------\n\n- Made sure converted tools are used as utilities.\n\n- Require at least Zope 2.13.12.\n\n\n2.2.1 (2010-07-04)\n------------------\n\n- Deal with deprecation warnings for Zope 2.13.\n\n- Fix markup error (Chameleon compatibility)\n\n\n2.2.0 (2010-01-04)\n------------------\n\n- no changes from version 2.2.0-beta\n\n\n2.2.0-beta (2009-12-06)\n-----------------------\n\n- no changes from version 2.2.0-alpha\n\n\n2.2.0-alpha (2009-11-13)\n------------------------\n\n- moved the Zope dependency to version 2.12.0b3dev\n\n- Cleaned up / normalized imports:\n\n o Don't import from Globals; instead, use real locations.\n\n o Make other imports use the actual source module, rather than an\n intermediate (e.g., prefer importing 'ClassSecurityInfo' from\n 'AccessControl.SecurityInfo' rather than from 'AccessControl').\n\n- Add missing utility registration for IUniqueIdHandler. See\n https://bugs.launchpad.net/bugs/299058 .\n\n- UniqueIdHandlerTool: Call the reindexObject attribute of the object\n getting a uid, rather than portal_catalog's reindexObject. This is\n needed to properly handle objects like the portal itself which shouldn't\n get catalogued ever.\n\n- Removed redundant and unexpected code to auto-create catalog index and\n column for the UID handler tool. The index and column are already\n created by the default CMFUid GenericSetup profile.\n (http://www.zope.org/Collectors/CMF/472)\n\n\n2.1.2 (2008-09-13)\n------------------\n\n- no changes from 2.1.2-beta\n\n\n2.1.2-beta (2008-08-26)\n-----------------------\n\n- completed devolution from monolithic CMF package into its component\n products that are distributed as eggs from PyPI.\n\n- testing: Base UidEventZCMLLayer on ZopeTestCase.layer.ZopeLite.\n\n- UniqueIdHandlerTool: Use %r instead of %s in error messages, so\n we don't trip over non-ASCII representations (e.g. File and Image).\n\n\n2.1.1 (2008-01-06)\n------------------\n\n- no changes\n\n\n2.1.1-beta(2007-12/29)\n----------------------\n\n- Testing: Derive test layers from ZopeLite layer if available.\n\n\n2.1.0 (2007-08-08)\n------------------\n\n- Fixed all componentregistry.xml files to use plain object paths and strip\n and slashes. GenericSetup does only support registering objects which are\n in the site root.\n\n\n2.1.0-beta2 (2007-07-12)\n------------------------\n\n- moved the Zope dependency to version 2.10.4\n\n- Remove antique usage of marker attributes in favor of interfaces,\n leaving BBB behind for places potentially affecting third-party code.\n (http://www.zope.org/Collectors/CMF/440)\n\n- Add POST-only protections to security critical methods.\n http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0240)\n\n- UniqueIdAnnotationTool: Annotation handling has been switched\n from triggering it through old-style manage_*-methods to using\n events. UID assigning behavior has been made more flexible. Please\n review CMFUid/README.txt for information about the current\n behavior and the new features.\n (http://www.zope.org/Collectors/CMF/474)\n\n\n2.1.0-beta (2007-03-09)\n-----------------------\n\n- moved the Zope dependency to verson 2.10.2\n\n- Tool lookup and registration is now done \"the Zope 3 way\" as utilities, see\n http://svn.zope.org/CMF/branches/2.1/docs/ToolsAreUtilities.stx?view=auto\n\n- UniqueIdHandlerTool: Touching the internal UID value on a\n content item will not cause reindexing all indices anymore, only the\n specific UID index will be touched.\n (http://www.zope.org/Collectors/CMF/469)\n\n\n2.1.0-alpha2 (2006-11-23)\n-------------------------\n\n- moved the Zope dependency to version 2.10.1\n\n- Fixed test breakage induced by use of Z3 pagetemplates in Zope 2.10+.\n\n- browser views: Added some zope.formlib based forms.\n\n- testing: Added test layers for setting up ZCML.\n\n\n2.1.0-alpha (2006-10-09)\n------------------------\n\n- skins: Changed encoding of translated portal_status_messages.\n Now getBrowserCharset is used to play nice with Five forms. Customized\n setRedirect and getMainGlobals scripts have to be updated.\n\n- Profiles: All profiles are now registered by ZCML.\n\n- ZClasses: Removed unmaintained support for ZClasses.\n Marked the 'initializeBases*' methods as deprecated.\n\n- Content: Added IFactory utilities for all content classes.\n They are now used by default instead of the old constructor methods.\n\n- Content: All content classes are now registered by ZCML.\n ContentInit is still used to register oldstyle constructors.\n\n- setup handlers: Removed support for CMF 1.5 CMFSetup profiles.\n\n\nEarlier releases\n----------------\n\nFor a complete list of changes before version 2.1.0-alpha, see the HISTORY.txt\nfile on the CMF-2.1 branch:\nhttp://svn.zope.org/CMF/branches/2.1/HISTORY.txt?view=auto\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/zopefoundation/Products.CMFUid", "keywords": "web application server zope cmf", "license": "ZPL 2.1", "maintainer": "", "maintainer_email": "", "name": "Products.CMFUid", "package_url": "https://pypi.org/project/Products.CMFUid/", "platform": "", "project_url": "https://pypi.org/project/Products.CMFUid/", "project_urls": { "Homepage": "https://github.com/zopefoundation/Products.CMFUid" }, "release_url": "https://pypi.org/project/Products.CMFUid/3.0.1/", "requires_dist": [ "Products.CMFCore (>=2.4.0dev)", "Products.ZCatalog (>=4.1.1)", "Zope", "setuptools" ], "requires_python": "", "summary": "Uid product for the Zope Content Management Framework", "version": "3.0.1" }, "last_serial": 4460361, "releases": { "2.1.1": [ { "comment_text": "", "digests": { "md5": "aa8b8142c4dd7534c4905666fdf20a4f", "sha256": "54718bd5c9d2a781b3097a35919f7c90244b4539c993c409d031e7b62d217463" }, "downloads": -1, "filename": "Products.CMFUid-2.1.1.tar.gz", "has_sig": false, "md5_digest": "aa8b8142c4dd7534c4905666fdf20a4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13877, "upload_time": "2008-08-03T16:23:00", "url": "https://files.pythonhosted.org/packages/4d/45/20e327ec9781b4769cd5e319ca9605216be17d3e048402bdc0e244a437a4/Products.CMFUid-2.1.1.tar.gz" } ], "2.1.2": [ { "comment_text": "", "digests": { "md5": "0619db130e8ff5be7de998552608fefa", "sha256": "31d4a01964a716473e88dbd2cdb22850f283b7b6caca3eb1e2ea0d7188bd33fc" }, "downloads": -1, "filename": "Products.CMFUid-2.1.2.tar.gz", "has_sig": false, "md5_digest": "0619db130e8ff5be7de998552608fefa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18395, "upload_time": "2008-09-13T08:51:40", "url": "https://files.pythonhosted.org/packages/94/bb/1ec117e81d990dc75f5fa7c44891b1ae76341d598b61b488531a5a023df8/Products.CMFUid-2.1.2.tar.gz" } ], "2.1.2-beta": [ { "comment_text": "", "digests": { "md5": "11cbdc3450ad37c16b384d338467a775", "sha256": "f0b28442058ca434b8d86591440ecce3a03b06cf441e715ffb236bf151eaaf69" }, "downloads": -1, "filename": "Products.CMFUid-2.1.2-beta.tar.gz", "has_sig": false, "md5_digest": "11cbdc3450ad37c16b384d338467a775", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18894, "upload_time": "2008-08-26T12:56:29", "url": "https://files.pythonhosted.org/packages/5e/e5/e040db5cd6d9b5c6dd8d649917738f2369d331583ebbe8336706f31af27a/Products.CMFUid-2.1.2-beta.tar.gz" } ], "2.1.3": [ { "comment_text": "", "digests": { "md5": "f8672aeda4c043b8feb42c4b9286f569", "sha256": "49f59bdf03f6b4bab5b620e41c3d8f0e791529cdf1423aefeead8b4ad859e0f9" }, "downloads": -1, "filename": "Products.CMFUid-2.1.3.tar.gz", "has_sig": false, "md5_digest": "f8672aeda4c043b8feb42c4b9286f569", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19322, "upload_time": "2010-09-23T12:35:12", "url": "https://files.pythonhosted.org/packages/5b/07/8384d78d316b8160931744f263f54f15700b7d161e0111097608be6c64ee/Products.CMFUid-2.1.3.tar.gz" } ], "2.2.0": [ { "comment_text": "", "digests": { "md5": "df0d05bf19b1f715a50ac79f7cc39dea", "sha256": "b2efda5272daf06d8db39a04149bcab40585dd01dea125c806efc9bd0064a464" }, "downloads": -1, "filename": "Products.CMFUid-2.2.0.tar.gz", "has_sig": false, "md5_digest": "df0d05bf19b1f715a50ac79f7cc39dea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21265, "upload_time": "2010-01-04T10:58:38", "url": "https://files.pythonhosted.org/packages/25/0b/ace792b057c9ed0aac93a20e2f1d56e9d3e556e94733c3184ee6b67bac50/Products.CMFUid-2.2.0.tar.gz" } ], "2.2.0-alpha": [ { "comment_text": "", "digests": { "md5": "7f1645ebe8ff81b82a552234bbc1e084", "sha256": "848464ec558733f885ab19ebf77a8201ace183b629297db5e72280d86e307df0" }, "downloads": -1, "filename": "Products.CMFUid-2.2.0-alpha.tar.gz", "has_sig": false, "md5_digest": "7f1645ebe8ff81b82a552234bbc1e084", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21169, "upload_time": "2009-11-13T17:50:08", "url": "https://files.pythonhosted.org/packages/c2/dd/0cb6aff366a703078a780ea2b6d08efbd98348d8d17db16a598e9b58777c/Products.CMFUid-2.2.0-alpha.tar.gz" } ], "2.2.0-beta": [ { "comment_text": "", "digests": { "md5": "2e05e124eb30be99a1b2e912bcb23532", "sha256": "5bd45e991d66845eafbf279b7831ffaa323235a6e31d2329b8a6c970c3470844" }, "downloads": -1, "filename": "Products.CMFUid-2.2.0-beta.tar.gz", "has_sig": false, "md5_digest": "2e05e124eb30be99a1b2e912bcb23532", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21218, "upload_time": "2009-12-06T18:19:12", "url": "https://files.pythonhosted.org/packages/d0/3f/0113822a952867470ad3e5a58c185205240c5e90fa07c85c722b9ceb03d9/Products.CMFUid-2.2.0-beta.tar.gz" } ], "2.2.1": [ { "comment_text": "", "digests": { "md5": "e20727959351dffbf0bac80613eee110", "sha256": "19e769bd73027b6b2d7cc54c7dd9d91e043a5c362ffe9dcaf55b74ae144cdddb" }, "downloads": -1, "filename": "Products.CMFUid-2.2.1.tar.gz", "has_sig": false, "md5_digest": "e20727959351dffbf0bac80613eee110", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22224, "upload_time": "2010-07-04T11:24:53", "url": "https://files.pythonhosted.org/packages/9a/56/180db9ad4779da0ccf2b0fe1a829f38714b4321491945dcdcdb861127a04/Products.CMFUid-2.2.1.tar.gz" } ], "2.2.2": [ { "comment_text": "", "digests": { "md5": "33198ae40ef8f2eb6e327a2b2dc7c6bb", "sha256": "f43723f0a38ec22e080504ad90ce015ea5ce1d585865d3d12748cd3ca06fcca0" }, "downloads": -1, "filename": "Products.CMFUid-2.2.2.tar.gz", "has_sig": false, "md5_digest": "33198ae40ef8f2eb6e327a2b2dc7c6bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22655, "upload_time": "2017-04-01T18:26:52", "url": "https://files.pythonhosted.org/packages/49/57/6ae13135a875d53376ceed1a803406f6bac922c8d697b885705e5fd0c42d/Products.CMFUid-2.2.2.tar.gz" } ], "2.3.0-beta": [ { "comment_text": "", "digests": { "md5": "283ffbe0b854c4b8d0b5bebf9878c182", "sha256": "77deaee94564af8b9270552500579c2b05986b6a0475d4ed5591081542246c6a" }, "downloads": -1, "filename": "Products.CMFUid-2.3.0-beta.tar.gz", "has_sig": false, "md5_digest": "283ffbe0b854c4b8d0b5bebf9878c182", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21830, "upload_time": "2012-03-21T22:44:11", "url": "https://files.pythonhosted.org/packages/cb/a9/a33187c830a8fc0222793f10c30ea3fac3a595692b5841e62c782abed1d7/Products.CMFUid-2.3.0-beta.tar.gz" } ], "3.0": [ { "comment_text": "", "digests": { "md5": "19f10cb557ab34426f3f138bb7f16c88", "sha256": "94396a59aabeda656fe205d178a5bd9a6d90cafac8e9fed8afeb9273be89b81f" }, "downloads": -1, "filename": "Products.CMFUid-3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "19f10cb557ab34426f3f138bb7f16c88", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 28342, "upload_time": "2018-07-05T07:11:20", "url": "https://files.pythonhosted.org/packages/35/90/2e516f664befe29086fb5685a1cf643810b607807a4eaac5849a1a82e5af/Products.CMFUid-3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3ea89aa46d8a7651070c85f2f24bf873", "sha256": "507921378d9afa8d172f1fceaed073a9841ef6d07c17bae7aab2faa8ab1af119" }, "downloads": -1, "filename": "Products.CMFUid-3.0.tar.gz", "has_sig": false, "md5_digest": "3ea89aa46d8a7651070c85f2f24bf873", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21147, "upload_time": "2018-07-05T07:11:22", "url": "https://files.pythonhosted.org/packages/e0/fb/c113966f23b6c94ec5cb0eaa34efdcfda43ad0142657b029129c1097e32c/Products.CMFUid-3.0.tar.gz" } ], "3.0.1": [ { "comment_text": "", "digests": { "md5": "90a8a1ab0c7d224fa759f2016a34590e", "sha256": "f6642cd034bb345c6eba2f4f052522d7d3885d9a4853e0fc8110bde2d2e88a58" }, "downloads": -1, "filename": "Products.CMFUid-3.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "90a8a1ab0c7d224fa759f2016a34590e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 25210, "upload_time": "2018-11-07T07:32:07", "url": "https://files.pythonhosted.org/packages/bc/9f/8cfd7536a20959be99718f9c52d5db8eb5ddd9ab735a3bf5e697c566976d/Products.CMFUid-3.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c757e4642a924f29199f6d3f5a8328ec", "sha256": "20bd508c4379d3bc4cc80a06c90aa36aed60c20fd4584577ff94d8ef8f225b5f" }, "downloads": -1, "filename": "Products.CMFUid-3.0.1.tar.gz", "has_sig": false, "md5_digest": "c757e4642a924f29199f6d3f5a8328ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21246, "upload_time": "2018-11-07T07:32:09", "url": "https://files.pythonhosted.org/packages/10/14/591792668fb2a1e37ff0c5e42e26cf15a043ee04081c21d8dfa0253bd7a2/Products.CMFUid-3.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "90a8a1ab0c7d224fa759f2016a34590e", "sha256": "f6642cd034bb345c6eba2f4f052522d7d3885d9a4853e0fc8110bde2d2e88a58" }, "downloads": -1, "filename": "Products.CMFUid-3.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "90a8a1ab0c7d224fa759f2016a34590e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 25210, "upload_time": "2018-11-07T07:32:07", "url": "https://files.pythonhosted.org/packages/bc/9f/8cfd7536a20959be99718f9c52d5db8eb5ddd9ab735a3bf5e697c566976d/Products.CMFUid-3.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c757e4642a924f29199f6d3f5a8328ec", "sha256": "20bd508c4379d3bc4cc80a06c90aa36aed60c20fd4584577ff94d8ef8f225b5f" }, "downloads": -1, "filename": "Products.CMFUid-3.0.1.tar.gz", "has_sig": false, "md5_digest": "c757e4642a924f29199f6d3f5a8328ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21246, "upload_time": "2018-11-07T07:32:09", "url": "https://files.pythonhosted.org/packages/10/14/591792668fb2a1e37ff0c5e42e26cf15a043ee04081c21d8dfa0253bd7a2/Products.CMFUid-3.0.1.tar.gz" } ] }