additionals/README.md

141 lines
4.6 KiB
Markdown
Raw Normal View History

2013-09-27 10:56:55 +04:00
# Redmine tweaks plugin
2015-12-04 10:24:15 +03:00
[![Dependency Status](https://gemnasium.com/alexandermeindl/redmine_tweaks.svg)](https://gemnasium.com/alexandermeindl/redmine_tweaks) [![Build Status](https://drone.io/github.com/alexandermeindl/redmine_tweaks/status.png)](https://drone.io/github.com/alexandermeindl/redmine_tweaks/latest)
2015-12-04 09:22:22 +03:00
2013-09-27 10:56:55 +04:00
* use "Project guide" on project overview page
2013-09-27 18:37:22 +04:00
* global header for all projects
* global footer for all projects
* welcome text for login page
* global sidebar content support
* set info message above new ticket (e.g. for guidelines)
2013-09-27 10:56:55 +04:00
* Wiki user macros
* Wiki project macros
* Wiki date macros
2015-10-20 20:32:32 +03:00
* Wiki Gist marco
* Wiki Youtube marco
2015-10-20 20:32:32 +03:00
* Wiki Vimeo marco
2013-09-27 18:37:22 +04:00
* option to remove "my page" from top menu
* customize "Help" url in top menu
2014-10-01 23:19:59 +04:00
* customize top menu items
2013-09-27 18:37:22 +04:00
* disable (hide) modules for projects
2013-09-27 10:56:55 +04:00
* open external urls in new window
* anonymize referrer for external urls
* Hide role in project memberbox
2015-08-20 13:08:01 +03:00
* Configurable issue rules
** closing issue with open sub issues
** change assigned_to_ automatically, if issue status changes
** assigned_to has changed, but status change is required, too
2013-09-27 18:37:22 +04:00
2013-09-27 18:42:20 +04:00
## Requirements
2013-09-27 18:37:22 +04:00
* Redmine version >= 2.6.0
2015-08-02 10:36:01 +03:00
* Ruby >= 2.0.0
* Gem package: see PluginGemfile
2013-09-27 18:37:22 +04:00
2013-09-27 10:56:55 +04:00
## Installation
2013-09-27 18:42:20 +04:00
Check the requirements!
2013-09-27 18:37:22 +04:00
2013-09-27 10:56:55 +04:00
Download the sources and put them to your vendor/plugins folder.
$ cd {REDMINE_ROOT}
$ git clone git://github.com/alexandermeindl/redmine_tweaks.git plugins/redmine_tweaks
$ bundle install --without development test
2013-09-27 10:56:55 +04:00
Restart Redmine and have a fun!
## Usage
2015-12-06 14:48:33 +03:00
### User macro
* user#1 links to user profile
* user:admin links to user profile
2013-09-27 10:56:55 +04:00
### User list macros
* users
* project members
#### Description
{{list_users}} := lists all users of the current users project
{{list_users(123)}} or {{list_users(identifier)}} or {{list_users(My project)}} := Lists all users of the project with project id 123 (or identifier or project name)
2015-08-01 20:15:27 +03:00
{{list_users(123, title=Manager)}} := Lists all users of the project with project id 123 and the role "Manager". If you want to use multiple roles as filters, you have to use a | as separator.
2013-09-27 10:56:55 +04:00
2015-08-01 20:15:27 +03:00
{{list_users(123, title=Manager, role=Manager only)}} := Lists all users of the project with project id 123 and the role "Manager" and adds the heading "Manager only"
2013-09-27 10:56:55 +04:00
### Project list macros
Lists projects of current user
#### Description
{{list_projects}} := lists all projects of current users
2015-08-01 20:15:27 +03:00
{{list_projects(title=My title)}} := lists all projects of current users and adds the heading "My title"
2013-09-27 10:56:55 +04:00
### Calendar macro
{{calendar}} := show calendar for current date
{{calendar(year=2014,month=6)}} := show calendar for Juni in year 2014
{{calendar(show_weeks=true)}} := show calendar with week numbers
{{calendar(select=2015-07-12 2015-07-31, show_weeks=true)}} := preselect dates and show week numbers
{{calendar(select=2016-03-13:2016-03-27)}} := preselect dates between 2016/3/13 and 2016/3/27
2013-09-27 10:56:55 +04:00
### Wiki date macros
Macro to get current date, year, month, day
#### Description
{{current_year}} := current year
{{current_month}} := current month
{{current_day}} := current day
{{current_hour}} := current hour
{{current_min}} := current minute
{{current_weekday}} := current weekday
{{current_weeknumber}} := current week number (The week starts with Monday)
2015-10-20 20:32:32 +03:00
### Gist macro
{{gist(6737338)}} := Show Github gist 6737338
{{gist(plentz/6737338)}} := Show Github gist 6737338
2015-12-06 14:48:33 +03:00
### Recently updated wiki pages
{{recently_updated}} macro displays the list of the pages that were changed within last 5 days. If you specify the argument like {{recently_updated(10)}}, it displays the pages that were changed within 10 days.
### Last updated by
{{last_updated_by}} macro displays the name of user who updated the wiki page.
### Last updated at
{{last_updated_at}} macro displays the timestamp when the wiki page was updated.
### Twitter macro
{{twitter('alphanodes')}} := links the twitter profile alphanodes
### Youtube macro
2014-10-09 17:44:02 +04:00
2015-10-20 20:32:32 +03:00
{{youtube(wvsboPUjrGc)}} := youtube video with video wvsboPUjrGc (iframe) and default size 640x360
{{youtube(wvsboPUjrGc, width=853, height=480)}} := youtube video with size 853x480
{{youtube(wvsboPUjrGc, autoplay=1)}} := youtube video and autoplay
### Vimeo macro
2014-10-09 17:44:02 +04:00
2015-10-20 20:32:32 +03:00
{{vimeo(142849533)}} := vimeo video with video 142849533 (iframe) and default size 640x360
{{vimeo(142849533, width=853, height=480)}} := vimeo video with size 853x480
{{vimeo(142849533, autoplay=1)}} := vimeo video and autoplay
2013-09-27 10:56:55 +04:00
### Custom help URL
### Description
Change help url in top menu to custom url.
Note: Redmine must be restarted after changing "Custom Help URL"</tt> value before the new url is used.