.. This README is meant for consumption by humans and pypi. Pypi can render rst files so please do not use Sphinx features.
If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html
This text does not appear on pypi or github. It is a comment.
.. image:: https://github.com/IMIO/collective.behavior.internalnumber/actions/workflows/main.yml/badge.svg?branch=master
:target: https://github.com/IMIO/collective.behavior.internalnumber/actions/workflows/main.yml
.. image:: https://coveralls.io/repos/github/IMIO/collective.behavior.internalnumber/badge.svg
:target: https://coveralls.io/github/IMIO/collective.behavior.internalnumber
.. image:: http://img.shields.io/pypi/v/collective.behavior.internalnumber.svg
:alt: PyPI badge
:target: https://pypi.org/project/collective.behavior.internalnumber
==============================================================================
collective.behavior.internalnumber
==============================================================================
This product adds a plone behavior for dexterity content.
The behavior adds a text field containing an internal number.
Features
--------
- Optional uniqueness validation
- Optional default value
- Inclusion in searchable text
- Global or type by type configuration
- A configuration page can manage globally or type by type:
* a uniqueness option
* an incremented number
* a default value tal expression
Usage
-----
In the configuration panel, go to dexterity types.
Click on the type you want extend with the internal number field.
Go to the behavior tab.
Select "Internal number field" behavior.
If you want the internal number be searched in searchable text, you can also select
the "Dynamic SearchableText indexer behavior"
Translations
------------
This product has been translated into
- French (thanks the author)
Installation
------------
Install collective.behavior.internalnumber by adding it to your buildout::
[buildout]
...
eggs =
collective.behavior.internalnumber
and then running ``bin/buildout``
Contribute
----------
- Issue Tracker: https://github.com/collective/collective.behavior.internalnumber/issues
- Source Code: https://github.com/collective/collective.behavior.internalnumber
- Documentation: https://docs.plone.org/foo/bar
License
-------
The project is licensed under the GPLv2.
Contributors
============
- Stephan Geulette, support@imio.be
Changelog
=========
0.3 (2023-11-27)
----------------
- Removed catalog metadata `internal_number`, added upgrade step to 1001.
[gbastien]
0.2 (2023-05-31)
----------------
- Made compliant with Plone 4.3, 5.2 and 6.0
[sgeulette]
- Ordered imports & improved docstring
[sgeulette]
- Factorized increment/decrement functionnality in `settings.increment_nb_for`,
`settings.decrement_nb_for` and `settings.decrement_if_last_nb` functions.
Added helper function `settings.set_settings`.
[gbastien]
- Fixed `ConnectionStateError` while setting `registry[TYPE_CONFIG]`
in tests and profile is applied several times.
[gbastien]
0.1 (2017-05-31)
----------------
- Initial release.
[sgeulette]
Raw data
{
"_id": null,
"home_page": "https://pypi.python.org/pypi/collective.behavior.internalnumber",
"name": "collective.behavior.internalnumber",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Python Plone",
"author": "Stephan Geulette",
"author_email": "support@imio.be",
"download_url": "https://files.pythonhosted.org/packages/91/ab/bf9ab58851f52fb8650b506c45e6a5a74a7690672debdfada670ff98e0d7/collective.behavior.internalnumber-0.3.tar.gz",
"platform": null,
"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.. image:: https://github.com/IMIO/collective.behavior.internalnumber/actions/workflows/main.yml/badge.svg?branch=master\n :target: https://github.com/IMIO/collective.behavior.internalnumber/actions/workflows/main.yml\n\n.. image:: https://coveralls.io/repos/github/IMIO/collective.behavior.internalnumber/badge.svg\n :target: https://coveralls.io/github/IMIO/collective.behavior.internalnumber\n\n.. image:: http://img.shields.io/pypi/v/collective.behavior.internalnumber.svg\n :alt: PyPI badge\n :target: https://pypi.org/project/collective.behavior.internalnumber\n\n\n==============================================================================\ncollective.behavior.internalnumber\n==============================================================================\n\nThis product adds a plone behavior for dexterity content.\nThe behavior adds a text field containing an internal number.\n\nFeatures\n--------\n\n- Optional uniqueness validation\n- Optional default value\n- Inclusion in searchable text\n- Global or type by type configuration\n- A configuration page can manage globally or type by type:\n\n * a uniqueness option\n * an incremented number\n * a default value tal expression\n\nUsage\n-----\n\nIn the configuration panel, go to dexterity types.\nClick on the type you want extend with the internal number field.\nGo to the behavior tab.\nSelect \"Internal number field\" behavior.\n\nIf you want the internal number be searched in searchable text, you can also select\nthe \"Dynamic SearchableText indexer behavior\"\n\nTranslations\n------------\n\nThis product has been translated into\n\n- French (thanks the author)\n\n\nInstallation\n------------\n\nInstall collective.behavior.internalnumber by adding it to your buildout::\n\n [buildout]\n\n ...\n\n eggs =\n collective.behavior.internalnumber\n\n\nand then running ``bin/buildout``\n\n\nContribute\n----------\n\n- Issue Tracker: https://github.com/collective/collective.behavior.internalnumber/issues\n- Source Code: https://github.com/collective/collective.behavior.internalnumber\n- Documentation: https://docs.plone.org/foo/bar\n\n\nLicense\n-------\n\nThe project is licensed under the GPLv2.\n\n\nContributors\n============\n\n- Stephan Geulette, support@imio.be\n\n\nChangelog\n=========\n\n\n0.3 (2023-11-27)\n----------------\n\n- Removed catalog metadata `internal_number`, added upgrade step to 1001.\n [gbastien]\n\n0.2 (2023-05-31)\n----------------\n\n- Made compliant with Plone 4.3, 5.2 and 6.0\n [sgeulette]\n- Ordered imports & improved docstring\n [sgeulette]\n- Factorized increment/decrement functionnality in `settings.increment_nb_for`,\n `settings.decrement_nb_for` and `settings.decrement_if_last_nb` functions.\n Added helper function `settings.set_settings`.\n [gbastien]\n- Fixed `ConnectionStateError` while setting `registry[TYPE_CONFIG]`\n in tests and profile is applied several times.\n [gbastien]\n\n0.1 (2017-05-31)\n----------------\n\n- Initial release.\n [sgeulette]",
"bugtrack_url": null,
"license": "GPL version 2",
"summary": "Configurable internal number plone behavior",
"version": "0.3",
"project_urls": {
"Homepage": "https://pypi.python.org/pypi/collective.behavior.internalnumber"
},
"split_keywords": [
"python",
"plone"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "91abbf9ab58851f52fb8650b506c45e6a5a74a7690672debdfada670ff98e0d7",
"md5": "670e37d4df4f412c80577e118baa87b7",
"sha256": "77b71f50a0b26d437f1debc0c0b9189718c7d398a22b1e4fd241b987bcb0669e"
},
"downloads": -1,
"filename": "collective.behavior.internalnumber-0.3.tar.gz",
"has_sig": false,
"md5_digest": "670e37d4df4f412c80577e118baa87b7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 25614,
"upload_time": "2023-11-27T08:30:55",
"upload_time_iso_8601": "2023-11-27T08:30:55.551399Z",
"url": "https://files.pythonhosted.org/packages/91/ab/bf9ab58851f52fb8650b506c45e6a5a74a7690672debdfada670ff98e0d7/collective.behavior.internalnumber-0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-27 08:30:55",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "collective.behavior.internalnumber"
}