{ "info": { "author": "Vitaliy Podoba", "author_email": "vitaliypodoba@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python" ], "description": "Introduction\n============\n\nProvides form to update object properties via ``Plone`` UI.\n\n\nQuick Intro\n-----------\n\n* it replicates ZMI ``/manage_propertiesForm`` form in ``Plone`` UI\n* it's like ``collective.interfaces`` package to manage zope interfaces via\n ``Plone`` but to manage ``PropertyManager`` based properties\n* it uses ``z3c.form`` library to generate CRUD form\n* it is tested in ``Plone 3`` (``Plone 4`` to be checked soon)\n* it's installable via ``portal quickinstaller`` tool, for detailed instructions\n on how to add it to your zope instance, please, check ``docs/INSTALL.txt``\n file\n\n\nProperty attributes\n-------------------\n\n``IPropertyManager`` interface provides properties with the next list of\nmetadata:\n\n* ``id``: required\n* ``type``: required\n* ``select_variable``: optional; for selection and multiple selection property\n types to provide the name of a property or method which returns a list of\n strings from which the selection(s) can be chosen\n* ``mode``: optional; must contain 0 or more chars from the set 'w', 'd'; 'w' -\n value may be changed by user, 'd' - user can delete property, '' - property\n and it's value may be shown in property listings, but it is read-only and\n may not be deleted; without mode key property is assumed to have the mode 'wd'\n (writeable and deletable)\n* ``label``: optional\n* ``description``: optional\n\n\nProperty types\n--------------\n\nDefault property manager property types are listed below. All of them are\nplanned to be supported by ``collective.properties`` management form (see\n``TODO`` section below for what's not implemented yet):\n\n* ``float`` - floating number\n* ``int`` - integer\n* ``long`` - long integer\n* ``string`` - utf-8 encoded string\n* ``lines`` - list of utf-8 encoded strings\n* ``text`` - utf-8 encoded text (string with line breaks)\n* ``date`` - Zope2 DateTime object\n* ``tokens`` - list of utf-8 encoded strings, entered as text line and split by\n space characters afterwards\n* ``selection`` - utf-8 encoded string, the only difference between string\n property type is that ``selection`` property values is selected from list of\n available options, this property type owns extra item in the property\n dictionary, 'select_variable' which provides the name of a property or method;\n note: make sure your vocabulary doesn't include unicode strings, only\n integers, floats, utf-8 encoded strings and booleans, otherwise old\n PropertyManager form breaks\n which returns a list of strings from which the selection can be chosen.\n* ``multiple selection`` - list of utf-8 encoded strings, these strings are also\n selected from list of available options as described above in ``selection``\n property type\n\n\nCompatibility\n-------------\n\nIt's been tested only with Plone 3 so far.\n\n\nNotes\n-----\n\n``Property Manager`` interface defines some reserved strings that are prohibited\nto be used as property ids. It provides validation method which is also used by\ncollective.properties management form. That's why it's secure to install this\npackage in ``Plone`` site and let non-tech content manager use it's properties\nform.\n\nNot all standard properties are handled yet. For details, please, see ``TODO``\nsection below.\n\n``collective.properties`` form simply skips property types that it doesn't\nknow how to handle. So to manage them you still need to use standard\n``/manage_propertiesForm`` form.\n\nForm that this package provides to manage properties is fully compatible with\nold ``Property Manager`` form (``/manage_propertiesForm``) so it's possible to\nmanage properties on both of them at the same time, and there won't be any\nissues with string encodings, etc... ``collective.properties`` form saves\ndata in the same format original form does.\n\nTODO\n----\n\n* add tests\n* test in plone4\n* improve installation docs re z3c.form versions and installing Plone z3cform\n support via quickinstaller\n\nChangelog\n=========\n\n1.0a2 - May 10, 2001\n--------------------\n\n- Add Manage Properties form title and description with details on how to use it.\n [piv]\n\n- Set Property Value inputs to readonly mode for non-writable properties.\n Validate property update on server side as well.\n [piv]\n\n- Disable deletion checkboxes for non-deletable properties. Validate deletion\n on server side as well.\n [piv]\n\n- Added selection and multiple selection property type handling.\n [piv]\n\n- Added tokens property type handling.\n [piv]\n\n- Added date property type handling.\n [piv]\n\n- Store string and text property types as 'utf-8' encoded strings to be\n OFS.PropertyManager compliant. So now it's possible to use both forms\n to manage properties w/o any encoding issues.\n [piv]\n\n- Made lines property type work.\n [piv]\n\n- Added boolean property type handling.\n [piv]\n\n1.0a1 - March 14, 2011\n----------------------\n\n- Initial release, no handlers for date and selection fields, no tests yet.\n [piv]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://svn.plone.org/svn/collective/collective.properties", "keywords": "plone properties form ui", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.properties", "package_url": "https://pypi.org/project/collective.properties/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.properties/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://svn.plone.org/svn/collective/collective.properties" }, "release_url": "https://pypi.org/project/collective.properties/1.0a2/", "requires_dist": null, "requires_python": null, "summary": "Provides form to update object properties via Plone UI.", "version": "1.0a2" }, "last_serial": 788091, "releases": { "1.0a1": [ { "comment_text": "", "digests": { "md5": "8760f70ec2d071fb1e6fa21dbc268c75", "sha256": "a72a1fcf76e78019d063e3787ab37e1fdc1332d7a5affca57f58be40c809a2b6" }, "downloads": -1, "filename": "collective.properties-1.0a1.tar.gz", "has_sig": false, "md5_digest": "8760f70ec2d071fb1e6fa21dbc268c75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16138, "upload_time": "2011-03-14T22:50:35", "url": "https://files.pythonhosted.org/packages/62/da/05c4381914064f6201b7f7f5e1ef0e3d9400c31f9a2549401f6a94c48bd6/collective.properties-1.0a1.tar.gz" } ], "1.0a2": [ { "comment_text": "", "digests": { "md5": "9c975da143603ca79ba31aa1c9d0c7a0", "sha256": "cf0dfd25197cc6bbb4760f0d829bf83f532075234e0276b96f3e7d368e66fe00" }, "downloads": -1, "filename": "collective.properties-1.0a2.tar.gz", "has_sig": false, "md5_digest": "9c975da143603ca79ba31aa1c9d0c7a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24705, "upload_time": "2011-05-10T10:40:05", "url": "https://files.pythonhosted.org/packages/f8/92/90f92b8291de3900e1518c0daad6b94d3b7ecda410e04616ccd103de1bb1/collective.properties-1.0a2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9c975da143603ca79ba31aa1c9d0c7a0", "sha256": "cf0dfd25197cc6bbb4760f0d829bf83f532075234e0276b96f3e7d368e66fe00" }, "downloads": -1, "filename": "collective.properties-1.0a2.tar.gz", "has_sig": false, "md5_digest": "9c975da143603ca79ba31aa1c9d0c7a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24705, "upload_time": "2011-05-10T10:40:05", "url": "https://files.pythonhosted.org/packages/f8/92/90f92b8291de3900e1518c0daad6b94d3b7ecda410e04616ccd103de1bb1/collective.properties-1.0a2.tar.gz" } ] }