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 (4 months ago)
Current version: 1.3.10
Compatible with: Redmine 4.1.x, 4.0.x, 3.4.x
User ratings:   (1)

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 :

  • Project Custom Fields configuration split by Tracker :

  • 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.3.10 (2020-02-29)

Compatible with Redmine 4.1.x, 4.0.x, 3.4.x.

Fixed error with Postgresql : is_for_all = 1

1.3.9 (2020-02-22)

Compatible with Redmine 4.1.x, 4.0.x, 3.4.x.

Project Custom Fields configuration, split by tracker : optimization

1.3.8 (2020-01-21)

Compatible with Redmine 4.1.x, 4.0.x, 3.4.x.

Value field input : 40 -> 80 characters

1.3.7 (2020-01-21)

Compatible with Redmine 4.1.x, 4.0.x, 3.4.x.

Fix : Project enumeration on project, bug at project creation

1.3.5 (2020-01-17)

Compatible with Redmine 4.1.x, 4.0.x, 3.4.x.

Extends project_enumeration.value column size from 60 to 255

1.3.4 (2020-01-09)

Compatible with Redmine 4.1.x, 4.0.x, 3.4.x.

  • Enable Project Enumerations on UserCustomField formats

1.3.3 (2020-01-08)

Compatible with Redmine 4.1.x, 4.0.x, 3.4.x.

Lower constraint on rails version : 4 -> 3.4

Compatibility with Redmine >= 4.1 not tested yet

1.3.1 (2019-12-10)

Compatible with Redmine 4.0.x.

  • Adds a new value in the CustomFiels types : Project Values List
    To manage a Values list whose possible values are configured in the project. The difference with Project Enumeration Field Format is that the value is stored in the custom_values table, not the id
  • Splits Custom Field Project configuration by Tracker
    See #30739
    • Adds three Hooks in this partial :
      • view_project_settings_tracker_before_checkbox
      • view_project_settings_tracker_after_checkbox
      • view_project_settings_issues_custom_fields

1.0.6 (2019-12-03)

Compatible with Redmine 4.0.x.

  • Add a new Project List of Values Field format that like the List Field format stores the value in the database, and not the Id like in the Project Enumeration Field format.

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

User ratings

  by Taine Woo 2 months ago

Great plugin to let users work better without Administrator and to manage/share the values of custom fields.