Skip to main content

Tasks management for Plone.

Project description

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 :

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

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]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.task-3.0.12.tar.gz (45.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page