Wiki pdf settings has been added, restructured settings pages and version bump to 1.0.0
This commit is contained in:
parent
508435362b
commit
6c93665f1b
@ -1,14 +1,17 @@
|
||||
Changelog
|
||||
=========
|
||||
|
||||
0.5.9-dev
|
||||
+++++++++
|
||||
1.0.0
|
||||
+++++
|
||||
|
||||
- user group support for issue auto assign
|
||||
- optimize deface overwrite path
|
||||
- drop remove latest projects support (because Redmine 3.2 has dropped latest projects)
|
||||
- add permission for log time on closed issues - make sure you adjust our permissions!
|
||||
- code cleanups and bug fixes
|
||||
- restructure settings
|
||||
- wiki pdf settings has been added
|
||||
- updated documentation
|
||||
|
||||
0.5.8
|
||||
+++++
|
||||
|
5
CREDITS
5
CREDITS
@ -1,5 +0,0 @@
|
||||
Thanks to:
|
||||
|
||||
o Txinto Vaz for Spanish translation
|
||||
o Ismail Sezen for Turkish translation
|
||||
o Everaldo Coelho for the hook icon
|
@ -1,68 +0,0 @@
|
||||
<div class="info"><%= t(:top_content_help) %></div>
|
||||
<br />
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_account_login)) %>
|
||||
<%= text_area_tag 'settings[account_login_bottom]', @settings[:account_login_bottom], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:account_login_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_new_ticket_message)) %>
|
||||
<%= text_area_tag 'settings[new_ticket_message]', @settings[:new_ticket_message], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:new_ticket_message_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_overview_right)) %>
|
||||
<%= text_area_tag 'settings[overview_right]', @settings[:overview_right], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:overview_right_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_overview_top)) %>
|
||||
<%= text_area_tag 'settings[overview_top]', @settings[:overview_top], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:overview_top_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_overview_bottom)) %>
|
||||
<%= text_area_tag 'settings[overview_bottom]', @settings[:overview_bottom], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:overview_bottom_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_project_overview_content)) %>
|
||||
<%= text_area_tag 'settings[project_overview_content]', @settings[:project_overview_content], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:project_overview_content_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_global_sidebar)) %>
|
||||
<%= text_area_tag 'settings[global_sidebar]', @settings[:global_sidebar], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:global_sidebar_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_global_wiki_sidebar)) %>
|
||||
<%= text_area_tag 'settings[global_wiki_sidebar]', @settings[:global_wiki_sidebar], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:global_wiki_sidebar_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_global_wiki_header)) %>
|
||||
<%= text_area_tag 'settings[global_wiki_header]', @settings[:global_wiki_header], class: 'wiki-edit', rows: 5 %>
|
||||
<em class="info"><%= l(:global_wiki_header_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_global_wiki_footer)) %>
|
||||
<%= text_area_tag 'settings[global_wiki_footer]', @settings[:global_wiki_footer], class: 'wiki-edit', rows: 5 %>
|
||||
<em class="info"><%= l(:global_wiki_footer_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_global_footer)) %>
|
||||
<%= text_area_tag 'settings[global_footer]', @settings[:global_footer], class: 'wiki-edit', rows: 5 %>
|
||||
<em class="info"><%= l(:global_footer_info) %></em>
|
||||
</p>
|
@ -1,3 +1,27 @@
|
||||
<br />
|
||||
<h3><%= l(:label_content_plural) %></h3>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_account_login)) %>
|
||||
<%= text_area_tag 'settings[account_login_bottom]', @settings[:account_login_bottom], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:account_login_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_global_sidebar)) %>
|
||||
<%= text_area_tag 'settings[global_sidebar]', @settings[:global_sidebar], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:global_sidebar_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_global_footer)) %>
|
||||
<%= text_area_tag 'settings[global_footer]', @settings[:global_footer], class: 'wiki-edit', rows: 5 %>
|
||||
<em class="info"><%= l(:global_footer_info) %></em>
|
||||
</p>
|
||||
|
||||
<br />
|
||||
<h3><%= l(:label_setting_plural) %></h3>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_external_urls)) %>
|
||||
<%= select_tag 'settings[external_urls]', options_for_select({
|
||||
@ -8,39 +32,8 @@
|
||||
<em class="info"><%= t(:external_urls_info_html) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_custom_help_url)) %>
|
||||
<%= text_field_tag('settings[custom_help_url]', @settings[:custom_help_url], size: 60) %>
|
||||
<em class="info"><%= t(:custom_help_url_info_html) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_remove_help)) %>
|
||||
<%= check_box_tag 'settings[remove_help]', 1, @settings[:remove_help] %>
|
||||
<em class="info"><%= l(:remove_help_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_remove_mypage)) %>
|
||||
<%= check_box_tag 'settings[remove_mypage]', 1, @settings[:remove_mypage] %>
|
||||
<em class="info"><%= l(:remove_mypage_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_remove_news)) %>
|
||||
<%= check_box_tag 'settings[remove_news]', 1, @settings[:remove_news] %>
|
||||
<em class="info"><%= l(:remove_news_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_add_go_to_top)) %>
|
||||
<%= check_box_tag 'settings[add_go_to_top]', 1, @settings[:add_go_to_top] %>
|
||||
<em class="info"><%= t(:label_add_go_to_top_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<% disabled_modules = Struct.new(:id, :name) %>
|
||||
<%= content_tag(:label, l(:label_disabled_modules)) %>
|
||||
<%= select_tag("settings[disabled_modules]", options_from_collection_for_select(Redmine::AccessControl.available_project_modules.collect {|m| disabled_modules.new(m, l_or_humanize(m, prefix: 'project_module_').to_s) }, :id, :name, @settings[:disabled_modules]), { multiple: true, style: 'height: 300px;' }) %>
|
||||
<em class="info"><%= l(:disabled_modules_info) %></em>
|
||||
</p>
|
||||
|
@ -1,3 +1,16 @@
|
||||
|
||||
<br />
|
||||
<h3><%= l(:label_content_plural) %></h3>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_new_ticket_message)) %>
|
||||
<%= text_area_tag 'settings[new_ticket_message]', @settings[:new_ticket_message], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:new_ticket_message_info) %></em>
|
||||
</p>
|
||||
|
||||
<br />
|
||||
<h3><%= l(:label_setting_plural) %></h3>
|
||||
|
||||
<div class="info"><%= t(:top_rules_help) %></div>
|
||||
<br />
|
||||
|
@ -1,6 +1,9 @@
|
||||
<div class="info"><%= t(:label_top_menu_help_html) %></div>
|
||||
|
||||
<br />
|
||||
|
||||
<h3><%= l(:label_custom_menu_items) %></h3>
|
||||
|
||||
<% 5.times do |i| %>
|
||||
<fieldset>
|
||||
<legend><b><%=h l(:label_menu_entry) %> #<%= i+1 %></b></legend>
|
||||
@ -19,3 +22,24 @@
|
||||
</div>
|
||||
</fieldset>
|
||||
<% end %>
|
||||
|
||||
<br />
|
||||
<h3><%= l(:label_setting_plural) %></h3>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_custom_help_url)) %>
|
||||
<%= text_field_tag('settings[custom_help_url]', @settings[:custom_help_url], size: 60) %>
|
||||
<em class="info"><%= t(:custom_help_url_info_html) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_remove_help)) %>
|
||||
<%= check_box_tag 'settings[remove_help]', 1, @settings[:remove_help] %>
|
||||
<em class="info"><%= l(:remove_help_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_remove_mypage)) %>
|
||||
<%= check_box_tag 'settings[remove_mypage]', 1, @settings[:remove_mypage] %>
|
||||
<em class="info"><%= l(:remove_mypage_info) %></em>
|
||||
</p>
|
||||
|
31
app/views/settings/redmine_tweaks/_overview.html.erb
Normal file
31
app/views/settings/redmine_tweaks/_overview.html.erb
Normal file
@ -0,0 +1,31 @@
|
||||
<div class="info"><%= t(:top_overview_help) %></div>
|
||||
|
||||
<br />
|
||||
<h3><%= l(:label_content_plural) %></h3>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_overview_right)) %>
|
||||
<%= text_area_tag 'settings[overview_right]', @settings[:overview_right], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:overview_right_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_overview_top)) %>
|
||||
<%= text_area_tag 'settings[overview_top]', @settings[:overview_top], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:overview_top_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_overview_bottom)) %>
|
||||
<%= text_area_tag 'settings[overview_bottom]', @settings[:overview_bottom], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:overview_bottom_info) %></em>
|
||||
</p>
|
||||
|
||||
<br />
|
||||
<h3><%= l(:label_setting_plural) %></h3>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_remove_news)) %>
|
||||
<%= check_box_tag 'settings[remove_news]', 1, @settings[:remove_news] %>
|
||||
<em class="info"><%= l(:remove_news_info) %></em>
|
||||
</p>
|
15
app/views/settings/redmine_tweaks/_projects.html.erb
Normal file
15
app/views/settings/redmine_tweaks/_projects.html.erb
Normal file
@ -0,0 +1,15 @@
|
||||
<div class="info"><%= t(:top_projects_help) %></div>
|
||||
<br />
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_project_overview_content)) %>
|
||||
<%= text_area_tag 'settings[project_overview_content]', @settings[:project_overview_content], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:project_overview_content_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<% disabled_modules = Struct.new(:id, :name) %>
|
||||
<%= content_tag(:label, l(:label_disabled_modules)) %>
|
||||
<%= select_tag("settings[disabled_modules]", options_from_collection_for_select(Redmine::AccessControl.available_project_modules.collect {|m| disabled_modules.new(m, l_or_humanize(m, prefix: 'project_module_').to_s) }, :id, :name, @settings[:disabled_modules]), { multiple: true, style: 'height: 300px;' }) %>
|
||||
<em class="info"><%= l(:disabled_modules_info) %></em>
|
||||
</p>
|
@ -1,8 +1,10 @@
|
||||
<% tweak_tabs = [ { name: 'general', partial: 'settings/redmine_tweaks/general', label: :label_settings_general},
|
||||
{ name: 'content', partial: 'settings/redmine_tweaks/content', label: :label_settings_content},
|
||||
{ name: 'rules', partial: 'settings/redmine_tweaks/rules', label: :label_settings_rules},
|
||||
{ name: 'menu', partial: 'settings/redmine_tweaks/menu', label: :label_settings_menu},
|
||||
{ name: 'macros', partial: 'settings/redmine_tweaks/macros', label: :label_settings_macros}
|
||||
<% tweak_tabs = [ { name: 'general', partial: 'settings/redmine_tweaks/general', label: :label_general },
|
||||
{ name: 'content', partial: 'settings/redmine_tweaks/overview', label: :label_overview_page },
|
||||
{ name: 'wiki', partial: 'settings/redmine_tweaks/wiki', label: :label_wiki },
|
||||
{ name: 'rules', partial: 'settings/redmine_tweaks/issues', label: :label_issue_plural },
|
||||
{ name: 'projects', partial: 'settings/redmine_tweaks/projects', label: :label_project_plural },
|
||||
{ name: 'menu', partial: 'settings/redmine_tweaks/menu', label: :label_settings_menu },
|
||||
{ name: 'macros', partial: 'settings/redmine_tweaks/macros', label: :label_settings_macros }
|
||||
] %>
|
||||
|
||||
<%= render_tabs tweak_tabs %>
|
||||
|
42
app/views/settings/redmine_tweaks/_wiki.html.erb
Normal file
42
app/views/settings/redmine_tweaks/_wiki.html.erb
Normal file
@ -0,0 +1,42 @@
|
||||
<div class="info"><%= t(:top_wiki_help) %></div>
|
||||
<br />
|
||||
<h3><%= l(:label_content_plural) %></h3>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_global_wiki_sidebar)) %>
|
||||
<%= text_area_tag 'settings[global_wiki_sidebar]', @settings[:global_wiki_sidebar], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:global_wiki_sidebar_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_global_wiki_header)) %>
|
||||
<%= text_area_tag 'settings[global_wiki_header]', @settings[:global_wiki_header], class: 'wiki-edit', rows: 5 %>
|
||||
<em class="info"><%= l(:global_wiki_header_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_global_wiki_footer)) %>
|
||||
<%= text_area_tag 'settings[global_wiki_footer]', @settings[:global_wiki_footer], class: 'wiki-edit', rows: 5 %>
|
||||
<em class="info"><%= l(:global_wiki_footer_info) %></em>
|
||||
</p>
|
||||
|
||||
<br />
|
||||
<h3><%= l(:label_pdf_wiki_settings) %></h3>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_wiki_pdf_header)) %>
|
||||
<%= text_area_tag 'settings[wiki_pdf_header]', @settings[:wiki_pdf_header], class: 'wiki-edit', rows: 10 %>
|
||||
<em class="info"><%= l(:wiki_pdf_header_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_wiki_pdf_remove_title)) %>
|
||||
<%= check_box_tag 'settings[wiki_pdf_remove_title]', 1, @settings[:wiki_pdf_remove_title] %>
|
||||
<em class="info"><%= l(:wiki_pdf_remove_title_info) %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= content_tag(:label, l(:label_wiki_pdf_remove_attachments)) %>
|
||||
<%= check_box_tag 'settings[wiki_pdf_remove_attachments]', 1, @settings[:wiki_pdf_remove_attachments] %>
|
||||
<em class="info"><%= l(:wiki_pdf_remove_attachments_info) %></em>
|
||||
</p>
|
@ -17,7 +17,7 @@ de:
|
||||
issue_log_time_not_allowed: "ist ein geschlossenes Ticket, auf dem Sie nicht berechtigt sind einen Aufwand zu buchen."
|
||||
issue_changes_not_allowed: "Dieses Ticket ist geschlossenes und Sie besitzen keine Berechtigung es zu ändern."
|
||||
account_login_info: "Dieser Text wir auf der Anmeldeseite angezeigt, um z.B. Informationen für die Anmeldung oder Registrierung zu hinterlegen. Diese Einstellung ist projektübergreifend und ist in allen Projekten aktiv."
|
||||
custom_help_url_info_html: 'Diese URL wird für den <em>Hilfe</em> Eintrag im Topmenü verwendet. Bitte den <strong>Webserver neu starten</strong>, wenn die URL geändert wurde. Um eine deutsche Hilfe zu benutzen, kann hier z.B. <a class="external" href="https://alphanodes.com/de/redmine-buch">https://alphanodes.com/de/redmine-buch</a> eingetragen werden. Wenn hier nichts eingetragen wird, wird die Standard URL verwendet.'
|
||||
custom_help_url_info_html: 'Diese URL wird für den <em>Hilfe</em> Eintrag im Topmenü verwendet. Bitte den <strong>Anwendungsserver neu starten</strong>, wenn die URL geändert wurde. Um eine deutsche Hilfe zu benutzen, kann hier z.B. <a class="external" href="https://alphanodes.com/de/redmine-buch">https://alphanodes.com/de/redmine-buch</a> eingetragen werden. Wenn hier nichts eingetragen wird, wird die Standard URL verwendet.'
|
||||
disabled_modules_info: "Module, die nicht zur Auswahl innerhalb der Projekte zur Verfügung stehen sollen. Sind in bestehenden Projekten schon diese Module aktiviert worden, werden die Einstellungen für diese Projekte erst nach erneuten Abspeichern der jeweiligen Projekteinstellungen aktiv."
|
||||
external_url_default: "Standard Verhalten"
|
||||
external_url_new_window: "In neuen Fenster"
|
||||
@ -31,7 +31,9 @@ de:
|
||||
label_account_login: "Text für Anmeldeseite"
|
||||
label_add_go_to_top_info: 'Bei langen Seiten ist es hilfreich, wenn ein Link zur Verfügung steht, mit dem man zum Seitenanfang springen kann.'
|
||||
label_add_go_to_top: '"Nach oben" Link hinzufügen'
|
||||
label_content_plural: Inhalte
|
||||
label_custom_help_url: "URL zur Hilfeseite"
|
||||
label_custom_menu_items: Benutzerdefinierte Menüpunkte
|
||||
label_disabled_modules: "Deaktivierte Module"
|
||||
label_external_urls: "Externe URLs"
|
||||
label_global_footer: "Projektübergreifender Footer"
|
||||
@ -45,8 +47,10 @@ de:
|
||||
label_new_ticket_message: "Hinweistext für neue Tickets"
|
||||
label_optional: "optional"
|
||||
label_overview_bottom: "Übersichtsseite, unten"
|
||||
label_overview_page: "Übersichtsseite"
|
||||
label_overview_right: "Übersichtsseite, rechts"
|
||||
label_overview_top: "Übersichtsseite, oben"
|
||||
label_pdf_wiki_settings: PDF Wiki Einstellungen
|
||||
label_project_list: "Projektliste"
|
||||
label_project_overview_content: "Projektwegweiser"
|
||||
label_remove_help: "Entferne 'Hilfe' aus dem Topmenü"
|
||||
@ -56,25 +60,26 @@ de:
|
||||
label_rule_issue_close_with_open_children: Tickets mit offenen Untertickets können nicht geschlossen werden
|
||||
label_rule_issue_current_user_status: "Der Ticketstatus x ist nur erlaubt, wenn \"Zugewiesen an\" der aktuelle Benutzer zugewiesen wird."
|
||||
label_rule_issue_status_change: "Wird \"Zugewiesen an\" nicht verändert und der Ticketstatus von x auf y geändert, dann wird das Ticket automatisch dem Ersteller zugewiesen"
|
||||
label_settings_content: "Inhalt"
|
||||
label_settings_general: "Allgemein"
|
||||
label_setting_plural: Einstellungen
|
||||
label_settings_macros: "Makros"
|
||||
label_settings_menu: "Menü"
|
||||
label_settings_rules: "Ticketregeln"
|
||||
label_system_info: Systeminformation
|
||||
label_top_macros_help_html: "Hier sind alle Makros aufgelistet, welche über Redmine selbst oder Plugins bereitgestellt werden (nicht nur über Redmine Tweaks). Diese Makros können in allen Texten innerhalb Redmines verwendet werden (sofern diese im jeweiligen Kontext Sinn machen)."
|
||||
label_top_menu_help_html: "Hier können Menüpunkte festgelegt werden, die im Top-Menü angezeigt werden. Bitte den <strong>Webserver neu starten</strong>, wenn ein Eintrag gelöscht oder Berechtigungen verändert wurde."
|
||||
label_top_menu_help_html: "Hier können Menüpunkte festgelegt werden, die im Top-Menü angezeigt werden. Bitte den <strong>Anwendungsserver neu starten</strong>, wenn ein Eintrag gelöscht oder Berechtigungen verändert wurde."
|
||||
label_tweaks: Tweaks
|
||||
label_uptime: Betriebszeit
|
||||
label_user_list: "Benutzerliste"
|
||||
label_wiki_pdf_header: Wiki PDF Kopfzeile
|
||||
label_wiki_pdf_remove_attachments: Dateianhänge nicht anzeigen
|
||||
label_wiki_pdf_remove_title: Wiki Titel nicht anzeigen
|
||||
menu_roles_info: "Nur den ausgewählten Rollen wird der Menüpunkt angezeigt. Sobald ein Mitglied in einem Projekt die Rolle besitzt, wird der Menüpunkt angezeigt."
|
||||
new_ticket_message_info: "Ein Hinweis, der beim Erstellen neuer Tickets angezeigt wird. Es kann beispielsweise auf Akzeptanztests oder Richtlinien zum Erstellen der Tickets hingewiesen werden. Dieser Einstellung ist projektübergreifend und ist in allen Projekten aktiv."
|
||||
overview_bottom_info: "Hier kann ein Text hinterlegt werden, welcher auf der Übersichtsseite unten ausgegeben wird. Verweisen Sie beispielsweise auf bestimmte Wiki Seiten."
|
||||
overview_right_info: "Hier kann ein Text hinterlegt werden, welcher auf der rechten Seite der Übersichtsseite ausgegeben wird. Verweisen Sie beispielsweise auf bestimmte Wiki Seiten."
|
||||
overview_top_info: "Hier kann ein Text hinterlegt werden, welcher auf der Übersichtsseite oben ausgegeben wird. Verweisen Sie beispielsweise auf bestimmte Wiki Seiten."
|
||||
permission_edit_closed_issues: "Geschlossene Tickets bearbeiten"
|
||||
permission_log_time_on_closed_issues: "Aufwände buchen auf geschlossene Tickets"
|
||||
permission_hide_in_memberbox: "In Memberbox ausblenden"
|
||||
permission_log_time_on_closed_issues: "Aufwände buchen auf geschlossene Tickets"
|
||||
permission_show_hidden_roles_in_memberbox: "Versteckte Rollen in Memberbox anzeigen"
|
||||
project_overview_content_info: "Hier kann ein Text hinterlegt werden, der auf der Übersichtsprojektseite angezeigt wird. Verweisen Sie beispielsweise auf bestimmte Wiki Seiten, welche projektübergreifend vorhanden sind/sein sollten. Ziel sollte eine Standardisierung in den Projekten und eine einheitliche Wiki-Struktur sein."
|
||||
remove_help_info: "Den Menüpunkt 'Hilfe' aus dem Topmenü entfernen."
|
||||
@ -83,5 +88,10 @@ de:
|
||||
rule_issue_auto_assign_info: 'Use Case: Der Ticketersteller weiss nicht, wem er das Ticket zurordnen soll bzw. welcher Benutzer zuständig für das Ticket ist. Das neue Ticket mit dem Status "To Do" wird in dem Fall automatisch der ersten Gruppe zugewiesen, die Benutzer mit der Rolle Managener enthält.'
|
||||
rule_issue_current_user_status_info: "Use Case: Ein Benutzer soll nur den Status auf \"In Progress\" selbst stellen können, um damit anzuzeigen, dass er an dem Ticket (gerade) arbeitet."
|
||||
rule_issue_status_change_info: "Use Case: Zur Abnahme der Tickets sollen alle Tickets automatisch dem Ersteller des Tickets zugeordnet werden, sofern kein anderer Benutzer ausgewählt wird."
|
||||
top_content_help: "Hier können Texte hinterlegt werden, welche an unterschiedlichen Stellen in Redmine ausgegeben werden. Verwenden Sie einfachen Text, Makros oder Wikisyntax für die Inhalte."
|
||||
top_overview_help: Hier kannst Du Inhalte und Einstellungen machen, welche die Übersichtsseite betreffen.
|
||||
top_projects_help: Hier kannst Du Inhalte und Einstellungen zu Projekten festlegen.
|
||||
top_rules_help: "Hier können Regeln konfiguriert werden, die den Umgang mit Tickets festlegen. Sobald eine Regel aktiviert wurde, wirkt sich diese auf alle Projekte aus."
|
||||
top_wiki_help: Hier kannst Du Inhalte und Einstellungen bzg. der Wiki festlegen.
|
||||
wiki_pdf_header_info: Dieser Textblock wir auf der ersten Seite vor dem eigentlichen Inhalt der Wiki Seite in der PDF Ansicht angezeigt. Die Makros sind hier nur eingeschränkt einsetzbar.
|
||||
wiki_pdf_remove_attachments_info: Wenn aktiv, werden die an der Wiki Seite angehängten Dateien nicht in der PDF Ansicht angezeigt.
|
||||
wiki_pdf_remove_title_info: Wenn aktiv, wird der Wiki Titel nicht in der PDF Ansicht angezeigt.
|
||||
|
@ -17,7 +17,7 @@ en:
|
||||
issue_log_time_not_allowed: "is a closed issue. You are not allowed to log time at it."
|
||||
issue_changes_not_allowed: "This issue is closed, you do not have any right to change it."
|
||||
account_login_info: "This text message will be shown at the login page and should be used for registration information. These settings are active in all projects."
|
||||
custom_help_url_info_html: "After changing this URL, you have to restart the webserver to activate it. If no URL is specified, the default help URL will be used."
|
||||
custom_help_url_info_html: "After changing this URL, you have to restart the application server to activate it. If no URL is specified, the default help URL will be used."
|
||||
disabled_modules_info: "Modules which should not be available for selection within the projects. If these modules already activated in existing projects, you will have to change and re-save the respective project settings first."
|
||||
external_url_default: "Default behavior"
|
||||
external_url_new_window: "Open in new window"
|
||||
@ -31,7 +31,9 @@ en:
|
||||
label_account_login: "Text for login page"
|
||||
label_add_go_to_top_info: 'If you have a lot of long pages, it is helpful to add a jump to top link.'
|
||||
label_add_go_to_top: 'Add "Go to top" link'
|
||||
label_content_plural: Contents
|
||||
label_custom_help_url: "Custom Help URL"
|
||||
label_custom_menu_items: Custom menu items
|
||||
label_disabled_modules: "Disabled modules"
|
||||
label_external_urls: "External urls"
|
||||
label_global_footer: "Project wide footer"
|
||||
@ -45,8 +47,10 @@ en:
|
||||
label_new_ticket_message: "Note for new tickets"
|
||||
label_optional: "optional"
|
||||
label_overview_bottom: "Overview page, bottom"
|
||||
label_overview_page: "Overview page"
|
||||
label_overview_right: "Overview page, right"
|
||||
label_overview_top: "Overview page, top"
|
||||
label_pdf_wiki_settings: PDF Wiki settings
|
||||
label_project_list: "Project list"
|
||||
label_project_overview_content: "Project guide"
|
||||
label_remove_help: "Remove 'Help' from top menu"
|
||||
@ -56,25 +60,26 @@ en:
|
||||
label_rule_issue_close_with_open_children: Issues with open sub-issues cannot be closed
|
||||
label_rule_issue_current_user_status: "Current issue status x is only allowed if \"Assignee\" is the current user."
|
||||
label_rule_issue_status_change: "If \"Assignee\" is unchanged and the issue status changed from x to y, than the author is assigned to the issue"
|
||||
label_settings_content: "Content"
|
||||
label_settings_general: "Common"
|
||||
label_setting_plural: Settings
|
||||
label_settings_macros: "Macros"
|
||||
label_settings_menu: "Menu"
|
||||
label_settings_rules: "Issue rules"
|
||||
label_system_info: System info
|
||||
label_top_macros_help_html: "Here you get a list of all available Redmine macros of your installation, which are provided by Redmine and the Redmine plugins."
|
||||
label_top_menu_help_html: "Here you can define new top menu items. Please <strong>restart the webserver</strong>, if you remove a menu item or change permissions."
|
||||
label_top_menu_help_html: "Here you can define new top menu items. Please <strong>restart the application server</strong>, if you remove a menu item or change permissions."
|
||||
label_tweaks: Tweaks
|
||||
label_uptime: Uptime
|
||||
label_user_list: "User list"
|
||||
label_wiki_pdf_header: Wiki PDF header
|
||||
label_wiki_pdf_remove_attachments: Remove attachments from PDF view
|
||||
label_wiki_pdf_remove_title: Remove Wiki title from PDF view
|
||||
menu_roles_info: "Only members of selected roles will see this menu entry."
|
||||
new_ticket_message_info: "A note will be shown to everyone who wants to add a new ticket. For example you can enter acceptance tests or ticket rules here. These settings are used project wide."
|
||||
overview_bottom_info: "Here you can add your text, which will be shown on the overview page at the bottom. For example you can link to a wiki page."
|
||||
overview_right_info: "Here you can add your text, which will be shown on the overview page at the right side. For example you can link to a wiki page."
|
||||
overview_top_info: "Here you can add your text, which will be shown on the overview page at the top. For example you can link to a wiki page."
|
||||
permission_edit_closed_issues: "Edit closed issues"
|
||||
permission_log_time_on_closed_issues: "Log time on closed issues"
|
||||
permission_hide_in_memberbox: "Hide in memberbox"
|
||||
permission_log_time_on_closed_issues: "Log time on closed issues"
|
||||
permission_show_hidden_roles_in_memberbox: "Show hidden roles in member box"
|
||||
project_overview_content_info: "Here you can add your text, which will be shown on the project overview page. For example you can link to a wiki page, which is/should be project wide available to every team member. The aim is to reach a better project standard and to maintain a unique wiki structure."
|
||||
remove_help_info: "Remove the item 'Help' from the top menu."
|
||||
@ -83,5 +88,10 @@ en:
|
||||
rule_issue_auto_assign_info: 'Use Case: The issue author does not know whom to assign the issue or who will be responsible for solving the task. In that case the issue for example with the status "To Do" is automatically assigned to the first group, which does contain a user of the pre-selected project manager role.'
|
||||
rule_issue_current_user_status_info: "Use Case: Users are only allowed to change the status to \"In Progress\" if they are the person who is actually working on the issue right now."
|
||||
rule_issue_status_change_info: "Use Case: issues should be automatically assigned to autor, if the status changes to \"Approval\"."
|
||||
top_content_help: "Here you can define texts, which will be displayed in diverse areas of Redmine. Use simple text, macros and wiki syntax for your content."
|
||||
top_overview_help: Here you can define contents and settings for your overview page.
|
||||
top_projects_help: Here you can define contents and settings for your project page.
|
||||
top_rules_help: "Here you can define rules, which are used in issues of all projects."
|
||||
top_wiki_help: Here you can define contents and settings for your Wiki.
|
||||
wiki_pdf_header_info: This text block will be displayed on the first page before the regular Wiki content in the PDF view. Macro use is very restricted, here.
|
||||
wiki_pdf_remove_attachments_info: When active the attached Wiki files will not be displayed in PDF view.
|
||||
wiki_pdf_remove_title_info: When active the Wiki title info will not be displayed in PDF view.
|
||||
|
@ -31,7 +31,9 @@ ja:
|
||||
label_account_login: "ログイン画面の文章"
|
||||
label_add_go_to_top_info: '長いページが多い場合、「トップへ」のリンクは役立ちます。'
|
||||
label_add_go_to_top: '「トップへ」リンクを追加する'
|
||||
label_content_plural: Contents
|
||||
label_custom_help_url: "カスタムヘルプURL"
|
||||
label_custom_menu_items: Custom menu items
|
||||
label_disabled_modules: "無効化したいモジュール"
|
||||
label_external_urls: "外部URL"
|
||||
label_global_footer: "プロジェクト全体フッター"
|
||||
@ -45,41 +47,51 @@ ja:
|
||||
label_new_ticket_message: "新規チケットのメモ"
|
||||
label_optional: "任意"
|
||||
label_overview_bottom: "Overview page, bottom"
|
||||
label_overview_page: "Overview page"
|
||||
label_overview_right: "Overview page, right"
|
||||
label_overview_top: "Overview page, top"
|
||||
label_pdf_wiki_settings: PDF Wiki settings
|
||||
label_project_list: "プロジェクト一覧"
|
||||
label_project_overview_content: "Project guide"
|
||||
label_remove_help: "「ヘルプ」をトップメニューから外す"
|
||||
label_remove_mypage: "「マイ・ページ」をトップメニューから外す"
|
||||
label_remove_news: "Remove 'Lastest news' from overview page"
|
||||
label_rule_issue_auto_assign: "If \"Assigned to\" is not assigned to a user and the new issue status is x then the issue is auto assigned to the first group with users of the pre-defined role."
|
||||
label_rule_issue_close_with_open_children: Issues with open sub-issues cannot be closed
|
||||
label_rule_issue_current_user_status: "Current issue status x is only allowed if \"Assignee\" is the current user."
|
||||
label_rule_issue_status_change: "If \"Assignee\" is unchanged and the issue status changed from x to y, than the author is assigned to the issue"
|
||||
label_settings_content: "コンテンツ"
|
||||
label_settings_general: "共通"
|
||||
label_setting_plural: Settings
|
||||
label_settings_macros: "Macros"
|
||||
label_settings_menu: "メニュー"
|
||||
label_settings_rules: "Issue rules"
|
||||
label_system_info: System info
|
||||
label_top_macros_help_html: "Here you get a list of all available Redmine macros of your installation, which are provided by Redmine and the Redmine plugins."
|
||||
label_top_menu_help: "ここで新しいトップメニューの項目を定義出来ます。リンクの追加・削除を行った場合、ウェブサーバを再起動してください。"
|
||||
label_tweaks: Tweaks
|
||||
label_uptime: Uptime
|
||||
label_user_list: "ユーザ一覧"
|
||||
label_wiki_pdf_header: Wiki PDF header
|
||||
label_wiki_pdf_remove_attachments: Remove attachments from PDF view
|
||||
label_wiki_pdf_remove_title: Remove Wiki title from PDF view
|
||||
menu_roles_info: "Only members of selected roles will see this menu entry."
|
||||
new_ticket_message_info: "新規チケットを登録したいときに表示されるメモ書き。例えば、チケット入力のルールや承認規程を掲載する目的にでも使えます。これらの設定は全プロジェクトで有効です。"
|
||||
overview_bottom_info: "Here you can add your text, which will be shown on the overview page at the bottom. For example you can link to a wiki page."
|
||||
overview_right_info: "Here you can add your text, which will be shown on the overview page at the right side. For example you can link to a wiki page."
|
||||
overview_top_info: "Here you can add your text, which will be shown on the overview page at the top. For example you can link to a wiki page."
|
||||
permission_edit_closed_issues: "Edit closed issues"
|
||||
permission_log_time_on_closed_issues: "Log time on closed issues"
|
||||
permission_hide_in_memberbox: "Hide in memberbox"
|
||||
permission_log_time_on_closed_issues: "Log time on closed issues"
|
||||
permission_show_hidden_roles_in_memberbox: "Show hidden roles in member box"
|
||||
project_wiki_skeletal_info: "この文章は、プロジェクト概要のページに表示されます。例えば、メンバー全員に公開されているWikiページ等のリンクを貼る等の使い方があります。一つのWiki構造を維持する事で、プロジェクト基準を良くする事が目的です。"
|
||||
remove_help_info: "「ヘルプ」項目をトップメニューから外す"
|
||||
project_overview_content_info: "この文章は、プロジェクト概要のページに表示されます。例えば、メンバー全員に公開されているWikiページ等のリンクを貼る等の使い方があります。一つのWiki構造を維持する事で、プロジェクト基準を良くする事が目的です。"
|
||||
remove_help_info: "ヘルプ」項目をトップメニューから外す"
|
||||
remove_mypage_info: 'タスクボードを導入するために、「マイ・ページ」のリンクを隠した方が便利な場合があります。タスクボードにより、ステータス毎の順番並び替えに出来るメリットがあります。'
|
||||
remove_news_info: "Remove latest news from overview page."
|
||||
rule_issue_auto_assign_info: 'Use Case: The issue author does not know whom to assign the issue or who will be responsible for solving the task. In that case the issue for example with the status "To Do" is automatically assigned to the first group, which does contain a user of the pre-selected project manager role.'
|
||||
rule_issue_current_user_status_info: "Use Case: Users are only allowed to change the status to \"In Progress\" if they are the person who is actually working on the issue right now."
|
||||
rule_issue_status_change_info: "Use Case: issues should be automatically assigned to autor, if the status changes to \"Approval\"."
|
||||
top_content_help: "Here you can define texts, which will be displayed in diverse areas of Redmine. Use simple text, macros and wiki syntax for your content."
|
||||
top_overview_help: Here you can define contents and settings for your overview page.
|
||||
top_projects_help: Here you can define contents and settings for your project page.
|
||||
top_rules_help: "Here you can define rules, which are used in issues of all projects."
|
||||
top_wiki_help: Here you can define contents and settings for your Wiki.
|
||||
wiki_pdf_header_info: This text block will be displayed on the first page before the regular Wiki content in the PDF view. Macro use is very restricted, here.
|
||||
wiki_pdf_remove_attachments_info: When active the attached Wiki files will not be displayed in PDF view.
|
||||
wiki_pdf_remove_title_info: When active the Wiki title info will not be displayed in PDF view.
|
||||
|
@ -28,9 +28,9 @@ copyright = u'2013-2016, AlphaNodes GmbH'
|
||||
author = u'Alexander Meindl'
|
||||
|
||||
# The short X.Y version.
|
||||
version = u'0.5.8'
|
||||
version = u'1.0.0'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = u'0.5.8'
|
||||
release = u'1.0.0'
|
||||
|
||||
# List of patterns, relative to source directory, that match files and
|
||||
# directories to ignore when looking for source files.
|
||||
|
@ -63,16 +63,7 @@ Features
|
||||
* welcome text for login page
|
||||
* global sidebar content support
|
||||
* set info message above new ticket (e.g. for guidelines)
|
||||
* Wiki date macros
|
||||
* Wiki Gist marco
|
||||
* Wiki issue macro
|
||||
* Wiki members macro
|
||||
* Wiki projects macro
|
||||
* Wiki Slideshare marco
|
||||
* Wiki twitter macro
|
||||
* Wiki user macro
|
||||
* Wiki Youtube marco
|
||||
* Wiki Vimeo marco
|
||||
* Wiki macros for: date, Gihub gist, issues, members, projects slideshare, twitter, user, youtube and vimeo
|
||||
* option to remove "my page" from top menu
|
||||
* customize "Help" url in top menu
|
||||
* customize top menu items
|
||||
|
123
docs/manual.rst
123
docs/manual.rst
@ -1,54 +1,74 @@
|
||||
Manual
|
||||
======
|
||||
|
||||
Content section
|
||||
---------------
|
||||
General section
|
||||
--------------
|
||||
|
||||
The content section offers several options for the user with admin rights to define texts, which will be displayed in diverse areas of Redmine.
|
||||
The general section tab allows you to define some special behaviours for your Redmine installation.
|
||||
It is divided into two areas called ``Content`` and ``Settings``.
|
||||
|
||||
.. note:: Use simple text, macros and wiki syntax for your content.
|
||||
|
||||
The following areas are available to be edited:
|
||||
The following plugin options are available to be edited by users with administration rights in the area ``Content``:
|
||||
|
||||
* Text for login page. This section is for a short information on the login page below the login mask. For example who to contact in order to get Redmine access.
|
||||
* Note for new tickets. Use this section if you want to place important issue notes above every new issue. Keep it short and use a link to a common wiki page with further information.
|
||||
* Global sidebar. Place your global information here, if needed. Use wiki links or available macros that can be seen by every one.
|
||||
* Project wide footer. In case you want to put some information about your company or for your imprint. Here you can also use wiki syntax for structuring your text.
|
||||
|
||||
And the following options can be edited by users with administratios righst in the area ``Settings``:
|
||||
|
||||
* Add "Go to top" link. If you have a lot of long pages, it is enabling users to easily return to the top of a page.
|
||||
* Change the option for ``External urls`` into default behaviour, open in new window or open with NoReferrer.
|
||||
|
||||
.. note:: Please restart the application server, if you make changes to the external urls settings.
|
||||
|
||||
Overview page section
|
||||
---------------------
|
||||
|
||||
If you click on this tab you get to the area, where you can customize contents and settings for your overview page in Redmine.
|
||||
These settings allows you to define some special behaviours for your Redmine installation.
|
||||
It is divided into two areas called ``Contents`` and ``Settings``.
|
||||
|
||||
The following plugin options are available to be edited by users with administration rights in the area ``Contents``:
|
||||
|
||||
* Overview page, right. Place information here you want to display at the right side of your overview page.
|
||||
* Overview page, top. Place information here you want to display at the top of your overview page.
|
||||
* Overview page, bottom. Place information here you want to display on the bottom of your overview page.
|
||||
* Project guide. The project guide box will provide every user information that is necessary for your Redmine projects.
|
||||
* Global sidebar. Place your global information here, if needed. Use wiki links or macros that can be seen by every one.
|
||||
|
||||
Changes you can make in the area ``Settings`` are:
|
||||
|
||||
* Remove "Latest news" from overview page in case you do not use the "News" function very often. Remember: Old news is bad news.
|
||||
|
||||
Wiki section
|
||||
------------
|
||||
|
||||
If you click on this tab you get to the area, where users with administration rights can customize contents and settings for your Wiki pages in Redmine.
|
||||
It is divided into two areas called ``Contents`` and ``PDF Wiki settings``.
|
||||
|
||||
Changes you can make in the area ``Contents`` are:
|
||||
|
||||
* Global wiki sidebar. Here you can implement useful macros like a display of your page hierarchy. But remember - only people with the correspondent rights will get a display of the content.
|
||||
* Project wide wiki header
|
||||
* Project wide wiki footer. For example to implement some date or author macros (e.g. last updated, updated by)
|
||||
* Project wide footer. In case you want to put some information about your company or for your imprint.
|
||||
* Project wide wiki footer. For example to implement some date or author macros (e.g. last_updated_at, last_updated_by)
|
||||
|
||||
Common section
|
||||
.. note:: Use simple text, macros and wiki syntax for your content.
|
||||
|
||||
Changes you can make in the area ``PDF Wiki settings`` are:
|
||||
|
||||
* Wiki PDF header. This block will display the defined text in front of the regular Wiki page content in the PDF view. The use of macros is very restricted. And it is not possible to add images. You can only use your Wiki text syntax to adjust the text display.
|
||||
* Remove Wiki title from PDF view. When acitvated the general Wiki title info in the page header of the PDF viewl will not be displayed.
|
||||
* Remove attachments from PDF view. When activated the attachments will not be displayed in the PDF view of a Wiki page.
|
||||
|
||||
Issues section
|
||||
--------------
|
||||
|
||||
The common section allows you to define some special behaviours for your Redmine installation.
|
||||
Here you can define issue rules, which are used in issues of all projects as well as special issue content and other settings.
|
||||
|
||||
The following options are available to be edited by users with admin rights:
|
||||
The following plugin options are available to be edited by users with administration rights in the area ``Content``:
|
||||
|
||||
* Change the option for ``External urls`` into default behaviour, open in new window or open with NoReferrer. Redmine must be restarted after changing ``Custom Help URL`` value before the new url is used.
|
||||
* Enter a ``Custom help URL`` instead of linking to the help on Redmine.org
|
||||
* Remove "Help" from top menu in order to keep the menu shorter.
|
||||
* Remove "My Page" from top menu in order you don't want your users to use this page.
|
||||
* Remove "Latest news" from overview page in case you do not use this function very often.
|
||||
* Add "Go to top" link. If you have a lot of long pages, it is enabling users to easily return to the top of a page.
|
||||
* ``Disable modules``, this feature will hide the selected modules in the project settings. Even if the module is enabled for use in the admin area it can not be selected by the project manager within the projects. Please note, if these modules already activated in existing projects, you will have to change and re-save the respective project settings first.
|
||||
* Note for new tickets. Use this section if you want to place important issue notes above every new issue. Keep it short and use a link to a common wiki page with further information.
|
||||
|
||||
Additional permissions
|
||||
-------------------
|
||||
.. note:: You can use wiki syntax for your text, but use it wisely.
|
||||
|
||||
* Edit closed issues
|
||||
* Log time to closed issues
|
||||
|
||||
Issue rules section
|
||||
-------------------
|
||||
|
||||
Here you can define rules, which are used in issues of all projects.
|
||||
|
||||
The following options are available at the moment:
|
||||
The following options are available at the moment in the area ``Settings`` where you can define rules which will be used in all projects:
|
||||
|
||||
* Issues with open sub-issues cannot be closed
|
||||
* If "Assignee" is unchanged and the issue status changed from x to y, than the author is assigned to the issue.
|
||||
@ -63,23 +83,50 @@ The following options are available at the moment:
|
||||
|
||||
.. note:: Use Case: The issue author does not know whom the issue should be assigned to. Or he is unsure who will be responsible for solving the task. In that case the issue for example with the status "To Do" is automatically assigned to the first group, which does contain a user of the pre-selected project manager role. Imagine you have a group called "Support", and there are users assigend to the "Manager" role, this support group will be automatically adressed to solve the issue when the issue author saves it.
|
||||
|
||||
Projects section
|
||||
----------------
|
||||
|
||||
The projects section offers several options for the user with admin rights to define texts, which will be displayed in the project areas of Redmine as well as disable special modules which should not be available for projects.
|
||||
|
||||
* Project guide. The project guide box will provide every user information that is necessary for your Redmine projects. Here you can link to a wiki page or leave a text message.
|
||||
* ``Disable modules``, this feature will hide the selected modules in the project settings. Even if the module is enabled for use in the admin area it can not be selected by the project manager within the projects. Please note, if these modules already activated in existing projects, you will have to change and re-save the respective project settings first.
|
||||
|
||||
.. note:: Use simple text, macros and wiki syntax for your content of the project guide. Make sure every one has access to the displayed information in case you link to a wiki page.
|
||||
|
||||
Menu section
|
||||
------------
|
||||
|
||||
Here you can define new top menu items.
|
||||
Here you can define new top menu items and change some standard settings on the menu behaviour.
|
||||
|
||||
.. note:: Please restart the webserver, if you remove a menu item or change permissions.
|
||||
.. note:: Please restart the application server, if you remove a menu item or change permissions as well as changing the custom help url.
|
||||
|
||||
This area offers you the possibility to add up to 5 additional menu items to your Redmine main menu. The following input fields are available for each entry:
|
||||
This area offers you the possibility to add up to 5 additional menu items to your Redmine main menu.
|
||||
The following input fields are available for each entry:
|
||||
|
||||
* Name. Enter the name of the menu item.
|
||||
* URL. Enter an URL starting with ``http://``
|
||||
* Title (optional)
|
||||
* Permissions: here you select one ore more existing roles to which the menu item will be displayed.
|
||||
* Permissions: here you select one ore more existing roles to which the menu item will be displayed. Only members of selected roles will be displayed in this list.
|
||||
|
||||
Macro section
|
||||
-------------
|
||||
In the ``Settings`` area of the menu tab there are the following functions available.
|
||||
|
||||
* Enter a ``Custom help URL`` instead of linking to the help on Redmine.org. Make sure you restart your application server after your changes.
|
||||
* Remove "Help" from top menu in order to keep the menu shorter.
|
||||
* Remove "My Page" from top menu in order you don't want your users to use this page.
|
||||
|
||||
Macros section
|
||||
--------------
|
||||
|
||||
Because it's sometimes hard to remember what kind of macros you can use in your Redmine installation we implemented the macro section.
|
||||
Here is simply displayed a list of all available Redmine macros of your installation, which are provided by Redmine in general and the installed Redmine plugins.
|
||||
Macros can be used in the Wiki of a project or as well as in the text area of an issue, for example. For more information on how to add macros use the Redmine help.
|
||||
|
||||
Additional permissions
|
||||
----------------------
|
||||
|
||||
The following permissions are provided by the plugin and must be configured in the administration area ``Roles and permissions`` for the plugin functions to make sure it's working properly.
|
||||
|
||||
* Hide in member box
|
||||
* Show hidden roles in member box
|
||||
* Edit closed issues
|
||||
* Log time to closed issues
|
||||
|
18
init.rb
18
init.rb
@ -8,33 +8,35 @@ Redmine::Plugin.register :redmine_tweaks do
|
||||
name 'Tweaks'
|
||||
author 'AlphaNodes GmbH'
|
||||
description 'Wiki and content extensions'
|
||||
version '0.5.9-dev'
|
||||
version '1.0.0'
|
||||
author_url 'https://alphanodes.com/'
|
||||
url 'https://github.com/alphanodes/redmine_tweaks'
|
||||
|
||||
default_settings = {
|
||||
account_login_bottom: '',
|
||||
add_go_to_top: false,
|
||||
add_go_to_top: 0,
|
||||
custom_help_url: 'http://www.redmine.org/guide',
|
||||
disabled_modules: nil,
|
||||
external_urls: '0',
|
||||
external_urls: 0,
|
||||
global_footer: '',
|
||||
global_sidebar: '',
|
||||
wiki_pdf_header: '',
|
||||
wiki_pdf_remove_title: 0,
|
||||
wiki_pdf_remove_attachments: 0,
|
||||
global_wiki_footer: '',
|
||||
global_wiki_header: '',
|
||||
global_wiki_sidebar: '',
|
||||
issue_auto_assign_role: '',
|
||||
issue_auto_assign_status: '',
|
||||
issue_auto_assign: false,
|
||||
issue_auto_assign: 0,
|
||||
new_ticket_message: 'Don\'t forget to define acceptance criteria!',
|
||||
overview_bottom: '',
|
||||
overview_right: '',
|
||||
overview_top: '',
|
||||
project_overview_content: 'Go to admin area and define a nice wiki text here as a fixed skeletal for all projects.',
|
||||
remove_help: false,
|
||||
remove_lastest_projects: false,
|
||||
remove_mypage: false,
|
||||
remove_news_box: false
|
||||
remove_help: 0,
|
||||
remove_mypage: 0,
|
||||
remove_news: 0
|
||||
}
|
||||
|
||||
5.times do |i|
|
||||
|
@ -9,6 +9,7 @@ if ActiveRecord::Base.connection.table_exists?(:settings)
|
||||
require_dependency 'redmine_tweaks/patches/time_entry_patch'
|
||||
require_dependency 'redmine_tweaks/patches/wiki_patch'
|
||||
require_dependency 'redmine_tweaks/patches/wiki_controller_patch'
|
||||
require_dependency 'redmine_tweaks/patches/wiki_pdf_helper_patch'
|
||||
|
||||
# Global helpers for Tweaks
|
||||
require_dependency 'redmine_tweaks/helpers'
|
||||
|
67
lib/redmine_tweaks/patches/wiki_pdf_helper_patch.rb
Normal file
67
lib/redmine_tweaks/patches/wiki_pdf_helper_patch.rb
Normal file
@ -0,0 +1,67 @@
|
||||
# Redmine Tweaks plugin for Redmine
|
||||
# Copyright (C) 2013-2016 AlphaNodes GmbH
|
||||
|
||||
module RedmineTweaks
|
||||
module Patches
|
||||
module WikiPdfHelperPatch
|
||||
def self.included(base)
|
||||
base.send(:include, InstanceMethods)
|
||||
base.class_eval do
|
||||
alias_method_chain :wiki_page_to_pdf, :tweaks
|
||||
end
|
||||
end
|
||||
|
||||
module InstanceMethods
|
||||
include Redmine::Export::PDF
|
||||
|
||||
def wiki_page_to_pdf_with_tweaks(page, project)
|
||||
pdf = ITCPDF.new(current_language)
|
||||
pdf.set_title("#{project} - #{page.title}")
|
||||
pdf.alias_nb_pages
|
||||
pdf.footer_date = format_date(User.current.today)
|
||||
pdf.add_page
|
||||
unless RedmineTweaks.settings[:wiki_pdf_header].blank?
|
||||
pdf.SetFontStyle('', 9)
|
||||
pdf.RDMwriteFormattedCell(100,
|
||||
5,
|
||||
'',
|
||||
'',
|
||||
textilizable(RedmineTweaks.settings[:wiki_pdf_header],
|
||||
only_path: false,
|
||||
edit_section_links: false,
|
||||
headings: false,
|
||||
inline_attachments: false))
|
||||
end
|
||||
if RedmineTweaks.settings[:wiki_pdf_remove_title].to_i != 1
|
||||
pdf.SetFontStyle('B', 11)
|
||||
pdf.RDMMultiCell(190, 5,
|
||||
"#{project} - #{page.title} - # #{page.content.version}")
|
||||
end
|
||||
pdf.ln
|
||||
# Set resize image scale
|
||||
pdf.set_image_scale(1.6)
|
||||
pdf.SetFontStyle('', 9)
|
||||
if RedmineTweaks.settings[:wiki_pdf_remove_attachments].to_i == 1
|
||||
pdf.RDMwriteFormattedCell(190,
|
||||
5,
|
||||
'',
|
||||
'',
|
||||
textilizable(page.content,
|
||||
:text,
|
||||
only_path: false,
|
||||
edit_section_links: false,
|
||||
headings: false,
|
||||
inline_attachments: false), page.attachments)
|
||||
else
|
||||
write_wiki_page(pdf, page)
|
||||
end
|
||||
pdf.output
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
unless Redmine::Export::PDF::WikiPdfHelper.included_modules.include? RedmineTweaks::Patches::WikiPdfHelperPatch
|
||||
Redmine::Export::PDF::WikiPdfHelper.send(:include, RedmineTweaks::Patches::WikiPdfHelperPatch)
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user