Go to file
2022-04-28 12:36:30 +02:00
.github/workflows Redmine 5 only work and fix icon-expanded class 2022-03-30 18:05:59 +02:00
app user like already uses tokens for search - remove it for select2 autocomplete 2022-04-26 07:30:32 +02:00
assets Allow query_as_hidden_field_tags with block_columns (for PDF). Mermaid updated 2022-04-23 07:16:43 +02:00
config update language files 2022-04-27 07:52:16 +02:00
contrib Working on ruby 2.7 updates and warning fixes 2021-04-18 13:34:55 +02:00
db/migrate remove issue auto watch, because it is a feature of Redmine 5 2022-04-01 20:37:48 +02:00
docs Allow query_as_hidden_field_tags with block_columns (for PDF). Mermaid updated 2022-04-23 07:16:43 +02:00
lib Fix logic mistake with empty block columns 2022-04-23 10:31:45 +02:00
test Allow query_as_hidden_field_tags with block_columns (for PDF). Mermaid updated 2022-04-23 07:16:43 +02:00
.codeclimate.yml Exclude tests with codeclimate 2017-06-07 22:12:11 +02:00
.eslintignore Add stylelint and eslint to github actions 2021-11-07 05:27:38 +01:00
.eslintrc.yml Switch from gemoji to tanuki_emoji 2022-04-10 13:45:24 +02:00
.gitignore fix some n+1 problems, use bulk for migration and refactored Gemfile for testing 2022-01-13 18:03:29 +01:00
.rubocop.yml rubocop-minitest added 2022-04-11 16:12:56 +02:00
.slim-lint.yml Working on ruby 2.7 updates and warning fixes 2021-04-18 13:34:55 +02:00
.stylelintignore Add stylelint and eslint to github actions 2021-11-07 05:27:38 +01:00
.stylelintrc.json stylelint configuration 2017-12-12 22:10:10 +01:00
additionals.gemspec Switch from gemoji to tanuki_emoji 2022-04-10 13:45:24 +02:00
CHANGELOG.md Start migration from readthedocs to README.md 2022-04-28 12:20:19 +02:00
Gemfile rubocop-minitest added 2022-04-11 16:12:56 +02:00
init.rb Fix scope of select2 in projects. Optimize hide role feature: do not call additional queries, if not required. Hide role supports assignee for issues and watchers 2022-04-21 12:11:19 +02:00
LICENSE rename GPL.txt to LICENSE for github intration support 2016-09-27 12:17:22 +02:00
MACROS.md Working on README markdown format 2022-04-28 12:36:30 +02:00
package.json Use redmine_plugin_kit for plugin loading 2021-12-07 18:51:09 +01:00
README.md Working on README markdown format 2022-04-28 12:36:30 +02:00

Welcome to Additionals Plugin for Redmine

Additionals is a Redmine plugin for customizing Redmine, providing wiki macros and act as a library/function provider for other Redmine plugins.

Rate at redmine.org Run Linters Run Tests

Requirements

Name requirement
Redmine version >= 5.0
Ruby version >= 2.7
Database version MySQL >= 8.0 or PostgreSQL >= 10

.. note:: If you use MySQL, make sure all database tables using the same storage engine (InnoDB is recommended) and character set (utf8mb4 is recommended).

.. note:: For more information use the official Redmine install documentation

Installation

Install additionals plugin for Redmine.

  cd $REDMINE_ROOT
  git clone -b stable https://github.com/AlphaNodes/additionals.git plugins/additionals
  bundle config set --local without 'development test'
  bundle install
  bundle exec rake redmine:plugins:migrate RAILS_ENV=production

Restart your application server (apache with passenger, nginx with passenger, unicorn, puma, etc.) and Additionals is ready to use.

More information about installation of Redmine plugins, you can find in the official Redmine plugin documentation.

Update

Update additionals plugin.

  cd $REDMINE_ROOT/plugins/additionals
  git pull
  cd ../..
  bundle install
  bundle exec rake redmine:plugins:migrate RAILS_ENV=production

Restart your application server (apache with passenger, nginx with passenger, unicorn, puma, etc.) and additionals is ready to use.

Uninstall

Uninstall additionals plugin.

  cd $REDMINE_ROOT
  bundle exec rake redmine:plugins:migrate NAME=additionals VERSION=0 RAILS_ENV=production
  rm -rf plugins/additionals public/plugin_assets/additionals

Features

  • Dashboard (Drag&Drop) Support

  • Text for login page

  • Global footer for all projects

  • Welcome text for login page

  • Global sidebar content support

  • Note for new issues above issue content (e.g. for guidelines)

  • PDF for wiki pages

  • Wiki macros for:

    • asciinema
    • cryptocompare
    • date
    • fa
    • gihub gist
    • google_docs
    • gmap
    • group_users
    • iframe
    • last_updated_at
    • last_updated_by
    • members
    • meteoblue
    • new_issue
    • projects
    • recently_updated
    • reddit
    • redmine.org issue and wiki page (redmine_issue and reminde_wiki)
    • slideshare
    • tradingview
    • twitter
    • user
    • vimeo
    • youtube
  • macro list with all available macros at /help/macros

  • macro button for wiki toolbar with available macros with project and permission context support

  • option to remove "Help" from top menu

  • disable (hide) modules for projects

  • open external urls in new window

  • smiley/emoji legacy support

  • anonymize referrer for external urls

  • hide role in project memberbox

  • change issue author

  • create issue on user profile

  • "assign to me" link on issue

  • change issue state on sidebar

  • configurable issue rules

    • freeze closed issue
    • change assigned_to automatically, if issue status changes
    • assigned_to has changed, but status change is required, too

Developer features

As Redmine does not support asset pipeline, we need to install Javascript plugins as Redmine plugins to load them globally.

If no common files are used as library plugin, every plugin has to deliver the same files. And if more than one version of a library is delivered with each Redmine plugin, there is a problem.

Therefore if developer uses this plugin for the provided libraries, everything works smoothly. Don't worry, if you only need a subset of the provided libraries. If you do not load a library, it is not used.

It provides :

And a set of various Rails helper methods (see below).

It provides the following Rails helper methods :

Libraries assets loader

   additionals_library_load(module_name)

This method loads all JS and CSS files needed by the required module.

The following modules are available :

  • chartjs
  • chartjs_colorschemes
  • chartjs_datalabels
  • clipboardjs
  • d3
  • d3plus
  • font_awesome
  • mermaid
  • select2

Redmine Plugins, which are using `additionals

If you know other plugins, which are using additionals, please let us know or create a PR.

You need a feature

additionals is Open-source and it is available at https://github.com/alphanodes/additionals

If you want to implement new features in it or if you want to change something, you can provide a pull request.

The plugin is maintained by AlphaNodes for free as far as possible. In case you want a feature, which is not available and you are not capable of implementing it yourself, you can request this feature from AlphaNodes.

We are an Open-source_ company from Munich and we are usually getting payed for our time we spent on development. As we know our plugin at its best we are glad to take this job from you. In case the requested plugin changes still fit to the plugin purpose. Please, contact us in case you are interested in plugin development.

Contact and Support

I am glad about your feedback on the plugin, pull requests, issues, whatever. Feel free to contact me for any questions.