Plugins Directory » Project Enumerations Custom Field Format

24328 Author: Jérôme BATAILLE
Website: https://github.com/Smile-SA/redmine_smile_project_enumerations_custom_field_format
Code repository: https://github.com/Smile-SA/redmine_smile_project_enumerations_custom_field_format
Registered on: 2019-10-07 (about 1 month ago)
Current version: 1.0.2
Compatible with: Redmine 4.0.x
User ratings:   (0)

This plugin adds a new custom field format,
that allows to have Enumerations whose values are
set in the project

How it works

What it does

  • Adds a new value in the CustomFiels types : Project Enumeration

exemple :

  • Adds a new premission : manage_project_enumerations

This permissions allow to edit Project Enumerations values for the project.
When a user has this permission a new tab appears in the Project Settings.

  • When the custom field has been enabled in the project configuration, it appears in the issue form like a normal custom field :

  • The project Enumeration values can be edited in the new Project Enumeration tab in the Project settings :

  • Enumerations can be edited one be one, when clicking on the edit icon :

  • Tested with Redmine V4.0.0, V4.0.3

How it is implemented

  • Adds new Redmine::FieldFormat::ProjectEnumerationFormat derived form RecordList
  • Extends Projects Controller settings action
  • Extends Projects Helper project_settings_tabs method
  • Adds new Project shared_enumerations method

Installation notes

  • This plugin has no dependency
  • It overrides a few methods
  • be careful with the plugin folder directory, it must be exactly the plugin name

Changelog

1.0.2 (2019-10-15)

Compatible with Redmine 4.0.x.

  • shared_enumerations fixed (namespaces)

1.0.1 (2019-10-07)

Compatible with Redmine 4.0.x.

  • Fixed redirect to Project enumerations tab after update
  • Project Enumeration status editable at creation

1.0 (2019-10-03)

Compatible with Redmine 4.0.x.

Initial version