marcelbonnet / redmine_tables

Adds Tables with its own workflows to Redmine. Use it with/without Projects and Tasks.
1 stars 0 forks source link

Redmine Tables

Create tables and assign Custom Fields to its columns. If your Custom Table belongs to a Task, you may assign Custom Table Workflows to allow/disallow editing of any column.

Assign a role to your users/groups with the following permissions:

You can still create and grant those permissions to Tables that aren't related to a Project or Task. They are accessible directly, as new page.

Every row of data is searchable. Export the whole table or only the selected rows to CSV or PDF.

New data may be inserted with CSV upload.

This plugin provides a possibility to create custom tables. The table is built with Redmine custom fields.

It allows you to create any databases you need for your business and integrate it into your workflow processesusing Redmine Custom Workflows plugin.

What's New

Features

WIP (Work in Progress)

Compatibility

Installation and Setup

$ git clone https://github.com/marcelbonnet/redmine_tables.git

Usage

1) Visit Administration->Custom tables to open table constructor. 2) Press button New table. Fill the name field, select projects you want to enable table on and submit the form. 3) Add custom fields to your new table. 4) Grant access to the users Administration -> Roles and permissions -> Project -> Manage custom tables

Example Using with Redmine Custom Workflows

Example code to force any custom value less then 100, with CustomField ID=699, to a default value:

Rails.logger.info "==> TESTING 1,2,3..."

# rules
custom_field_id = 699
min = 100
default_val = 100

value = self.custom_field_value(custom_field_id)

if value.to_i < min
  self.custom_field_values = { 
    custom_field_id => default_val
  }
end

History

This project was based on redmine_custom_tables from https://github.com/frywer/custom_tables and severely modified.

Icons