collective.task


Namecollective.task JSON
Version 3.0.12 PyPI version JSON
download
home_pagehttps://github.com/collective/collective.task
SummaryTasks management for Plone.
upload_time2023-07-20 09:29:31
maintainer
docs_urlNone
authorCedric Messiant
requires_python
licenseGPL
keywords plone python
VCS
bugtrack_url
requirements setuptools zc.buildout
Travis-CI
coveralls test coverage
            ===============
collective.task
===============

Tasks management for Plone.

This package provides:

* a new content type called task
* a task behavior, with the same fields as a task
* a fielset task behavior, with the same fields as a task
* a task container behavior, just providing a marker interface

The task behaviour has the following fields:

* a task description: richtext field.
* an assigned group: vocabulary of plone groups (can be redefined). Master field for assigned user
* an assigned user: vocabulary of plone users. Slave field of selected assigned group.
* an enquirer: user proposing the task (authenticated user by default)
* a due date

Assigned group and assigned user are local role fields (dexterity.localrolesfield).
This last product enables to configure (on a dexterity type) the local roles to give (following the workflow state) to the principal selected in object role field.
It's a dynamic local roles assignment.

The task content has the task behaviour and the following fields:

* a title
* parents assigned groups: hidden field. Automatically managed by subscribers.
* parents enquirers: hidden field. Automatically managed by subscribers.

Parents fields contain the values of parents chain corresponding fields (following registry config).
This mechanism allows to give some local roles following parents task assignments.

The default workflow for a task contains the following states:

* created (initial state)
* to assign
* to do
* in progress
* realized
* closed

From the created state, you can choose the transition "to do". There are 2 cases:

* if an assigned user is already selected, an auto transition passes to "to do" state
* if no assigned user is selected, a reviewer must choose one and manually pass to "to do" state

This add-on is tested using Travis CI. The current status of the add-on is :

.. image:: https://secure.travis-ci.org/collective/collective.task.png
    :target: https://travis-ci.org/collective/collective.task
.. image:: https://coveralls.io/repos/collective/collective.task/badge.svg?branch=master&service=github
  :target: https://coveralls.io/github/collective/collective.task?branch=master

Contributors
============

- Cédric Messiant, Ecreall
- Gauthier Bastien, IMIO
- Stéphan Geulette, IMIO
- Vincent Fretin, Ecreall

Changelog
=========

3.0.12 (2023-07-20)
-------------------

- fix: [DMS-949] min & max for due_date
  [sgeulette]

3.0.11 (2023-03-29)
-------------------

- Added interface on LocalRoleMasterSelectField, so it is possible to use it in zcml for specific override.
  [sgeulette]

3.0.10 (2022-08-19)
-------------------

- Refreshed versions and urls.
  [sgeulette]
- Added AssignedUsersVocabulary for assigned_user field so this vocabulary can be overrided.
  [sgeulette]

3.0.9 (2022-06-21)
------------------

- Required z3c.table 2.2 to include escaping, to avoid xss.
  Escaped some columns.
  [sgeulette]

3.0.8 (2022-05-13)
------------------

- Added `get_methods_adapter` on Task content class. So it's possible to get the adapter
  in an expression by example.
  [sgeulette]

3.0.7 (2022-02-09)
------------------

- Removed useless atct config.
  [sgeulette]
- Changed `task description` translation
  [sgeulette]

3.0.6 (2021-04-20)
------------------

- Removed bad step containing empty dependency (persisted now).
  [sgeulette]
- Set allowed_mime_types on task_description
  [sgeulette]

3.0.5 (2019-09-09)
------------------

- Removed bad step containing empty dependency.
  [sgeulette]

3.0.4 (2019-03-08)
------------------

- Added batch actions (collective.eeafaceted.batchactions) to change assigned group or assigned user.
  [sgeulette]

3.0.3 (2019-02-22)
------------------

- Corrected bug when a parent field is multivalued.
  [sgeulette]

3.0.2 (2018-08-22)
------------------

- Use imio.prettylink column for title if imio.prettylink product is present.
  [sgeulette]

3.0.1 (2018-07-30)
------------------

- Added validator on assigned_user
  [sgeulette]
- Corrected table column style.
  [sgeulette]
- pep8 on imports
  [sgeulette]

3.0 (2017-05-30)
----------------

- Modified enquirer field to be LocalRoleField. Use overridable vocabulary.
  [sgeulette]
- Added parents_assigned_groups and parents_enquirers field to manage parents rights
  [sgeulette]
- Block local roles on task content
  [sgeulette]
- Added special index value for empty field.
  [sgeulette]
- Use Owner role in workflow
  [sgeulette]

2.5 (2016-12-07)
----------------

- Set initial_trigger to true.
  [sgeulette]

2.4 (2016-06-22)
----------------

- Add a get_full_tree_title method returning the path title of a task until its parent container.
  [fngaha]


2.3 (2016-04-15)
----------------

- Adapted ITask to add method getting the highest parent.
  [sgeulette]
- Colorize states
  [sgeulette]
- Add icons for transitions
  [sgeulette]
- Add viewlet displaying task parents
  [sgeulette]

2.2.1 (2016-01-13)
------------------

- Modify a copy of the field.
  [sgeulette]

2.2 (2015-11-24)
----------------

- Added TaskContainer related search utility
  [sgeulette]
- Added task content interface to differentiate from behavior
  [sgeulette]
- Added task_description field
  [sgeulette]
- Added assigned_group and due_date indexes. Added indexer methods avoiding acquisition for children. Do not store None in catalog
  [sgeulette]
- Added assigned_group default value. default_value decorator didn't worked.
  Schema defaultFactory is used but is called also in view mode when field is None and can't be less easily overrided !
  [sgeulette]
- Changed workflow to use 'Request review' guard permission to differentiate Reviewer and editor transitions (like in plone workflows)
  [sgeulette]
- Added item_view as default: use simple item view on task content
  [sgeulette]
- Added colorized warning when no assigned user
  [sgeulette]
- Added transition between to_do and realized
  [sgeulette]
- Replaced workflow title ids. Added english translations
  [sgeulette]
- Return unicode in table column
  [sgeulette]

2.1 (2015-06-30)
----------------

- Added uninstall 1.0 profile.
  [sgeulette]
- Corrected bad classifier
  [sgeulette]


2.0 (2015-06-03)
----------------

- Complete refactoring to propose a more generic task content and behaviors.
  [cedricmessiant, sgeulette]


1.0 (2015-03-16)
----------------

- Initial release.
  [cedricmessiant]




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/collective/collective.task",
    "name": "collective.task",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Plone Python",
    "author": "Cedric Messiant",
    "author_email": "cedricmessiant@ecreall.com",
    "download_url": "https://files.pythonhosted.org/packages/26/88/cf5ac24abb07c059d1a2fe77402dce23ac7bf6698ba31f2ba4c3204ffe7b/collective.task-3.0.12.tar.gz",
    "platform": null,
    "description": "===============\ncollective.task\n===============\n\nTasks management for Plone.\n\nThis package provides:\n\n* a new content type called task\n* a task behavior, with the same fields as a task\n* a fielset task behavior, with the same fields as a task\n* a task container behavior, just providing a marker interface\n\nThe task behaviour has the following fields:\n\n* a task description: richtext field.\n* an assigned group: vocabulary of plone groups (can be redefined). Master field for assigned user\n* an assigned user: vocabulary of plone users. Slave field of selected assigned group.\n* an enquirer: user proposing the task (authenticated user by default)\n* a due date\n\nAssigned group and assigned user are local role fields (dexterity.localrolesfield).\nThis last product enables to configure (on a dexterity type) the local roles to give (following the workflow state) to the principal selected in object role field.\nIt's a dynamic local roles assignment.\n\nThe task content has the task behaviour and the following fields:\n\n* a title\n* parents assigned groups: hidden field. Automatically managed by subscribers.\n* parents enquirers: hidden field. Automatically managed by subscribers.\n\nParents fields contain the values of parents chain corresponding fields (following registry config).\nThis mechanism allows to give some local roles following parents task assignments.\n\nThe default workflow for a task contains the following states:\n\n* created (initial state)\n* to assign\n* to do\n* in progress\n* realized\n* closed\n\nFrom the created state, you can choose the transition \"to do\". There are 2 cases:\n\n* if an assigned user is already selected, an auto transition passes to \"to do\" state\n* if no assigned user is selected, a reviewer must choose one and manually pass to \"to do\" state\n\nThis add-on is tested using Travis CI. The current status of the add-on is :\n\n.. image:: https://secure.travis-ci.org/collective/collective.task.png\n    :target: https://travis-ci.org/collective/collective.task\n.. image:: https://coveralls.io/repos/collective/collective.task/badge.svg?branch=master&service=github\n  :target: https://coveralls.io/github/collective/collective.task?branch=master\n\nContributors\n============\n\n- C\u00e9dric Messiant, Ecreall\n- Gauthier Bastien, IMIO\n- St\u00e9phan Geulette, IMIO\n- Vincent Fretin, Ecreall\n\nChangelog\n=========\n\n3.0.12 (2023-07-20)\n-------------------\n\n- fix: [DMS-949] min & max for due_date\n  [sgeulette]\n\n3.0.11 (2023-03-29)\n-------------------\n\n- Added interface on LocalRoleMasterSelectField, so it is possible to use it in zcml for specific override.\n  [sgeulette]\n\n3.0.10 (2022-08-19)\n-------------------\n\n- Refreshed versions and urls.\n  [sgeulette]\n- Added AssignedUsersVocabulary for assigned_user field so this vocabulary can be overrided.\n  [sgeulette]\n\n3.0.9 (2022-06-21)\n------------------\n\n- Required z3c.table 2.2 to include escaping, to avoid xss.\n  Escaped some columns.\n  [sgeulette]\n\n3.0.8 (2022-05-13)\n------------------\n\n- Added `get_methods_adapter` on Task content class. So it's possible to get the adapter\n  in an expression by example.\n  [sgeulette]\n\n3.0.7 (2022-02-09)\n------------------\n\n- Removed useless atct config.\n  [sgeulette]\n- Changed `task description` translation\n  [sgeulette]\n\n3.0.6 (2021-04-20)\n------------------\n\n- Removed bad step containing empty dependency (persisted now).\n  [sgeulette]\n- Set allowed_mime_types on task_description\n  [sgeulette]\n\n3.0.5 (2019-09-09)\n------------------\n\n- Removed bad step containing empty dependency.\n  [sgeulette]\n\n3.0.4 (2019-03-08)\n------------------\n\n- Added batch actions (collective.eeafaceted.batchactions) to change assigned group or assigned user.\n  [sgeulette]\n\n3.0.3 (2019-02-22)\n------------------\n\n- Corrected bug when a parent field is multivalued.\n  [sgeulette]\n\n3.0.2 (2018-08-22)\n------------------\n\n- Use imio.prettylink column for title if imio.prettylink product is present.\n  [sgeulette]\n\n3.0.1 (2018-07-30)\n------------------\n\n- Added validator on assigned_user\n  [sgeulette]\n- Corrected table column style.\n  [sgeulette]\n- pep8 on imports\n  [sgeulette]\n\n3.0 (2017-05-30)\n----------------\n\n- Modified enquirer field to be LocalRoleField. Use overridable vocabulary.\n  [sgeulette]\n- Added parents_assigned_groups and parents_enquirers field to manage parents rights\n  [sgeulette]\n- Block local roles on task content\n  [sgeulette]\n- Added special index value for empty field.\n  [sgeulette]\n- Use Owner role in workflow\n  [sgeulette]\n\n2.5 (2016-12-07)\n----------------\n\n- Set initial_trigger to true.\n  [sgeulette]\n\n2.4 (2016-06-22)\n----------------\n\n- Add a get_full_tree_title method returning the path title of a task until its parent container.\n  [fngaha]\n\n\n2.3 (2016-04-15)\n----------------\n\n- Adapted ITask to add method getting the highest parent.\n  [sgeulette]\n- Colorize states\n  [sgeulette]\n- Add icons for transitions\n  [sgeulette]\n- Add viewlet displaying task parents\n  [sgeulette]\n\n2.2.1 (2016-01-13)\n------------------\n\n- Modify a copy of the field.\n  [sgeulette]\n\n2.2 (2015-11-24)\n----------------\n\n- Added TaskContainer related search utility\n  [sgeulette]\n- Added task content interface to differentiate from behavior\n  [sgeulette]\n- Added task_description field\n  [sgeulette]\n- Added assigned_group and due_date indexes. Added indexer methods avoiding acquisition for children. Do not store None in catalog\n  [sgeulette]\n- Added assigned_group default value. default_value decorator didn't worked.\n  Schema defaultFactory is used but is called also in view mode when field is None and can't be less easily overrided !\n  [sgeulette]\n- Changed workflow to use 'Request review' guard permission to differentiate Reviewer and editor transitions (like in plone workflows)\n  [sgeulette]\n- Added item_view as default: use simple item view on task content\n  [sgeulette]\n- Added colorized warning when no assigned user\n  [sgeulette]\n- Added transition between to_do and realized\n  [sgeulette]\n- Replaced workflow title ids. Added english translations\n  [sgeulette]\n- Return unicode in table column\n  [sgeulette]\n\n2.1 (2015-06-30)\n----------------\n\n- Added uninstall 1.0 profile.\n  [sgeulette]\n- Corrected bad classifier\n  [sgeulette]\n\n\n2.0 (2015-06-03)\n----------------\n\n- Complete refactoring to propose a more generic task content and behaviors.\n  [cedricmessiant, sgeulette]\n\n\n1.0 (2015-03-16)\n----------------\n\n- Initial release.\n  [cedricmessiant]\n\n\n\n",
    "bugtrack_url": null,
    "license": "GPL",
    "summary": "Tasks management for Plone.",
    "version": "3.0.12",
    "project_urls": {
        "Download": "https://pypi.org/project/collective.task",
        "Homepage": "https://github.com/collective/collective.task"
    },
    "split_keywords": [
        "plone",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2688cf5ac24abb07c059d1a2fe77402dce23ac7bf6698ba31f2ba4c3204ffe7b",
                "md5": "34b26345b85ada792cccb63bdc80feba",
                "sha256": "d4b1828013440e56de476e98f54abd1933d045132079281128f9cd03ad68a6c4"
            },
            "downloads": -1,
            "filename": "collective.task-3.0.12.tar.gz",
            "has_sig": false,
            "md5_digest": "34b26345b85ada792cccb63bdc80feba",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 45425,
            "upload_time": "2023-07-20T09:29:31",
            "upload_time_iso_8601": "2023-07-20T09:29:31.543385Z",
            "url": "https://files.pythonhosted.org/packages/26/88/cf5ac24abb07c059d1a2fe77402dce23ac7bf6698ba31f2ba4c3204ffe7b/collective.task-3.0.12.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-20 09:29:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "collective",
    "github_project": "collective.task",
    "travis_ci": true,
    "coveralls": true,
    "github_actions": false,
    "requirements": [
        {
            "name": "setuptools",
            "specs": [
                [
                    "==",
                    "38.5.1"
                ]
            ]
        },
        {
            "name": "zc.buildout",
            "specs": [
                [
                    "==",
                    "2.11.4"
                ]
            ]
        }
    ],
    "lcname": "collective.task"
}
        
Elapsed time: 0.24777s