Skip to content

Redmine plugin for customizing, providing wiki macros and act as library for other plugins.

License

Notifications You must be signed in to change notification settings

hitsoft-redmine/additionals

 
 

Repository files navigation

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.

Documentation Status Rate at redmine.org

Requirements

Redmine version >= 4.1.0
Ruby version >= 2.5.0
Database version MySQL >= 5.7 or PostgreSQL >= 9.6

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 install --without development test
$ bundle exec rake redmine:plugins:migrate RAILS_ENV=production
$
$ # if you want to use smiley/emoji legacy support, you have to put emoji icons to
$ # $REDMINE_ROOT/public/images/emoji
$ # To obtain image files, run the gemoji extract command on macOS Sierra or later:
$ bundle exec gemoji extract public/images/emoji
$
$ # if you to not have macOS, you can put these files manually to $REDMINE_ROOT/public/images/emoji
$ # see https://github.com/github/gemoji for more infos

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 for Redmine.

$ cd $REDMINE_ROOT/plugins/additionals
$ git pull
$ cd ../..
$ bundle install --without development test
$ 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 for Redmine.

$ 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 "My page" and/or "Help" from top menu
  • customize top menu items
  • 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
  • add involved issue users as watcher automatically
  • 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.

Contact and Support

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

.. toctree::
    :maxdepth: 2

    manual
    dashboards
    macros
    tasks
    new_feature
    changelog

About

Redmine plugin for customizing, providing wiki macros and act as library for other plugins.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 80.2%
  • Slim 12.5%
  • CSS 4.4%
  • JavaScript 2.8%
  • HTML 0.1%