GithubHelp home page GithubHelp logo

isabella232 / redmine_customize Goto Github PK

View Code? Open in Web Editor NEW

This project forked from restream/redmine_customize

0.0 0.0 0.0 2.23 MB

Plugin for some Redmine customizations.

License: Apache License 2.0

Ruby 74.23% HTML 14.22% JavaScript 10.36% CSS 1.20%

redmine_customize's Introduction

Redmine Customization Plugin

Build Status Code Climate

This plugin provides a number of useful features for Redmine customization.

  • This plugin enables other plugins to override the existing Redmine translations.
  • The Redmine administrator can set a custom account approval notice text and add top menu links.
  • Users can create custom buttons and collapse sidebar blocks.
  • The plugin makes the selector in filters larger.
  • The 'Jump to a project' box has an improved design and shows all projects.
  • Users can get a URL for a new issue draft.
  • When an issue is copied, watchers and related issues are copied as well.
  • Quotes are inserted at the cursor position in the issue note.
  • Users can submit issues by pressing Command+Enter.
  • The plugin shows attached file descriptions in the issue history.
  • The plugin highlights notes accessed by direct links.
  • The plugin fixes a Redmine error related to incorrect display of issues with a shared target version.
  • The plugin adds a sibling section to issue show page.

Compatibility

This plugin version is compatible only with Redmine 3.x and later.

Installation

This plugin requires Redmine Select2 Plugin to be installed.

  1. To install the plugins

    • Download the .ZIP archives, extract files and copy the plugin directories into #{REDMINE_ROOT}/plugins.

    Or

    • Change you current directory to your Redmine root directory:

        cd {REDMINE_ROOT}
      

      Copy the plugins from GitHub using the following commands:

        git clone https://github.com/Restream/redmine__select2.git plugins/redmine__select2
        git clone https://github.com/Restream/redmine_customize.git plugins/redmine_customize
      
  2. Install the required gems using the command:

     bundle install  
    
    • In case of bundle install errors, remove the Gemfile.lock file, update the local package index and install the required dependencies. Then execute the bundle install command again:

        rm Gemfile.lock
        sudo apt-get update
        sudo apt-get install -y libxml2-dev libxslt-dev libpq-dev
        bundle install
      
  3. These plugins require a migration. Run the following command to upgrade your database (make a database backup before):

     bundle exec rake redmine:plugins:migrate RAILS_ENV=production
    
  4. Restart Redmine.

Now you should be able to see the plugins in Administration > Plugins.

Usage

Override Redmine Translations

The Redmine Customization Plugin enables other plugins to override the existing translations with custom localized strings. This is possible due to the patch to Redmine::I18n::Backend which allows loading Redmine core locale files before the plugin locale files.

Customize Account Approval Notice Text

The plugin enables the Redmine administrator to set a custom text for the account approval pending notice.

To do this, go to Administration > Redmine customize settings, enter the text in the corresponding field in the Account approval notice section and click Apply.
administration section
approval pending text

Create Top Menu Links

The plugin enables the Redmine administrator to add links to the top menu in Redmine.

To add a link to the top menu, go to Administration > Redmine customize settings.
administration section

In the Top menu links section, click Add. Enter the link text, URL and title (optional) and click Apply.
add a link

Now the link will be displayed at the top menu in Redmine.
top menu link added

Create Custom Buttons

The plugin enables Redmine users to add and configure their own buttons to update issues. The Redmine Administrator can also create buttons for all users (public buttons).

To add a custom button, go to My account and click Manage custom buttons for issue pages in the Custom buttons section.
custom buttons section

Then click New custom button.
new custom button

Specify the button name, select an icon and configure the button as needed.
save custom button

In the Show in the following cases section, specify the cases when the button should be displayed. You can select to show the button in certain projects, for certain trackers, issue statuses, categories, authors, assignees and roles.

To hide the button if the values it is supposed to change are already set, select the Hide the button if no changes can be made check box.

In the New values for the issue section, select the target values that should be set when the button is clicked.

Click Save to create the button.

Now the button will be displayed on the issue page. button added

To edit or delete a custom button, click My account and then click Manage custom buttons for issue pages.
manage custom buttons

Collapse Sidebar Blocks

The plugin enables users to collapse and expand certain sidebar blocks using the plus/minus controls.
collapse sidebar blocks

The plugin saves the preferred selection for future sessions.

Enlarge Filter Selectors

The plugin enables users to collapse and expand the selectors in issue filters using the plus/minus controls. enlarge filter selectors

Improve Jump to Project Box

This plugin improves the design of the Jump to a project box and makes it display all projects.
jump to a project

Create Issue Drafts

The plugin enables users to create an issue draft with pre-filled attributes, and get its URL without the need to save the issue.

To create the issue draft and get its URL, click Get the URL for this issue get the URL

In the pop-up window, copy the URL in the URL for this form field and click OK. This URL can be sent to other users who will make the necessary changes and save the issue.

Create Exact Issue Copies

When a user makes a copy of an issue, the plugin ensures that the issue watchers are copied as well The user can also enable the Copy relations check box to copy the related issues.
copy relations

Insert Quotes Safely

The plugin enables users to insert quotes directly at the cursor position in the issue note without replacing the text they may have already added. insert a quote

Submit Issues Quickly

The plugin enables users to submit an issue by pressing Command+Enter (Ctrl+Enter in Windows and Linux) on the issue form page.

Show Attachment Descriptions in Issue Notes

The plugin shows the descriptions of the attached files in the issue history. attached file description

Highlight Notes in Issue History

The plugin highlights a note in the issue history when it is accessed by a direct link ((.../issues/XXX#note-YYY) highlighted issue note

Fix Shared Version Issue

The plugin fixes a Redmine error when issues with a shared target version are not displayed correctly on the version overview page.

This was fixed in Redmine 2.6.

Hide public projects for specific users

The plugin can hide public projects for specific users.

Maintainers

Danil Tashkinov, github.com/nodecarter

License

Copyright (c) 2017 Restream

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

redmine_customize's People

Contributors

archonwang avatar irina-l avatar nodecarter avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.