Sha256: c5a2f3c621c657c4387e6f6ff7449e1a4a8d1477256bc80c0f0f60d8f7e0a412

Contents?: true

Size: 1.06 KB

Versions: 5

Compression:

Stored size: 1.06 KB

Contents

# frozen_string_literal: true

require 'additional_tags/plugin_version'

loader = RedminePluginKit::Loader.new plugin_id: 'additional_tags'

Redmine::Plugin.register :additional_tags do
  name        'Additional Tags'
  author      'AlphaNodes GmbH'
  description 'Redmine tagging support'
  version     AdditionalTags::PluginVersion::VERSION
  url         'https://github.com/alphanodes/additional_tags/'
  author_url  'https://alphanodes.com/'
  directory __dir__

  requires_redmine version_or_higher: '5.0'

  settings default: loader.default_settings,
           partial: 'additional_tags/settings/settings'

  project_module :issue_tracking do
    permission :create_issue_tags, {}
    permission :edit_issue_tags, {}
    permission :view_issue_tags, {}, read: true
  end

  project_module :wiki do
    permission :add_wiki_tags, wiki: %i[update_tags]
  end

  menu :admin_menu,
       :additional_tags,
       { controller: 'settings', action: 'plugin', id: 'additional_tags' },
       caption: :field_tags
end

RedminePluginKit::Loader.persisting { loader.load_model_hooks! }

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
additional_tags-3.1.0 init.rb
additional_tags-3.0.9 init.rb
additional_tags-1.0.7 init.rb
additional_tags-1.0.6 init.rb
additional_tags-1.0.5 init.rb