Project

General

Profile

Patch #1671 » version_times.patch

fixed version_test duplication - Artem Vasiliev, 2008-07-22 11:04

View differences:

app/views/versions/show.rhtml (working copy)
<fieldset><legend><%= l(:label_time_tracking) %></legend>
<table>
<tr>
<td width="130px" align="right"><%= l(:field_estimated_hours) %></td>
<td width="240px" class="total-hours"width="130px" align="right"><%= html_hours(lwr(:label_f_hour, @version.estimated_hours)) %></td>
<td class="label"><%= l(:field_estimated_hours) %></td>
<td class="total-hours"><%= html_hours(lwr(:label_f_hour, @version.estimated_hours)) %></td>
</tr>
<% if User.current.allowed_to?(:view_time_entries, @project) %>
<tr>
<td width="130px" align="right"><%= l(:label_spent_time) %></td>
<td width="240px" class="total-hours"><%= html_hours(lwr(:label_f_hour, @version.spent_hours)) %></td>
<td class="label"><%= l(:label_spent_time) %></td>
<td class="total-hours"><%= html_hours(lwr(:label_f_hour, @version.spent_hours)) %></td>
</tr>
<tr>
<td class="label"><%= l(:label_remaining_time) %></td>
<td class="total-hours"><%= html_hours(lwr(:label_f_hour, @version.remaining_hours)) %></td>
</tr>
<tr>
<% title = "#{l(:label_spent_time)} + #{l(:label_remaining_time)}" %>
<td class="label" title="<%= title %>"><%= l(:label_current_total_time) %></td>
<td class="total-hours" title="<%= title %>"><%= html_hours(lwr(:label_f_hour, @version.total_hours)) %></td>
</tr>
<% end %>
</table>
</fieldset>
app/views/versions/_issue_counts.rhtml (working copy)
:onchange => remote_function(:url => { :action => :status_by, :id => version },
:with => "Form.serialize('status_by_form')"))) %>
</legend>
<% if counts.empty? %>
<% if grouped_metrics.empty? %>
<p><em><%= l(:label_no_data) %></em></p>
<% else %>
<table>
<% counts.each do |count| %>
<tr>
<td width="130px" align="right" >
<%= link_to count[:group], {:controller => 'issues',
:action => 'index',
:project_id => version.project,
:set_filter => 1,
:fixed_version_id => version,
"#{criteria}_id" => count[:group]} %>
</td>
<td width="240px">
<%= progress_bar((count[:closed].to_f / count[:total])*100,
:legend => "#{count[:closed]}/#{count[:total]}",
:width => "#{(count[:total].to_f / max * 200).floor}px;") %>
</td>
</tr>
<table class="category_metrics">
<% grouped_metrics.each do |metrics_group|
category, metrics = *metrics_group
%>
<% color_class = cycle('odd', 'even')%>
<tr class="header <%= color_class %>">
<td colspan="5">
<%= criteria_operator = category ? "=" : "!*"
link_to category || "[#{l(:text_not_assigned)}]",
{:controller => 'issues',
:action => 'index',
:project_id => version.project,
:set_filter => 1,
:fields => ["#{criteria}_id", "fixed_version_id", "status_id"],
:values => {"#{criteria}_id" => [category], "fixed_version_id" => [version], "status_id" => [1]},
:operators => {"#{criteria}_id" => criteria_operator, "fixed_version_id" => "=", "status_id" => "*"}
}
%>
</td>
</tr>
<tr class="<%= color_class %>">
<td><%= l(:label_issues_count) %> </td>
<% if spent_time_allowed %>
<td><%= l(:label_time) %></td>
<% end %>
<td class="metric_comment">
<span title="<%= l(:field_estimated_hours) %>">
<%= l(:label_estimated_time_short) %>
</span>
</td>
<% if spent_time_allowed %>
<td class="metric_comment">
<span title="<%= l(:label_spent_time) %>">
<%= l(:label_spent_time_short) %>
</span>
</td>
<td class="metric_comment">
<span title="<%= l(:label_remaining_time) %>">
<%= l(:label_remaining_time_short) %>
</span>
</td>
<% max_progress_width = 70 %>
<% else
max_progress_width = 150
end %>
</tr>
<tr class="<%= color_class %>">
<td class="progress count">
<%= count = metrics[:count]; progress_bar((count[:closed].to_f / count[:total])*100,
:legend =>
"<span title=\"#{l(:label_closed_issues_plural)}\">" +
"#{count[:closed]}</span>/" +
"<span title=\"#{l(:label_total).chars.downcase}\">" +
"#{count[:total]}</span>",
:width => "#{(count[:total].to_f / max[:count] * max_progress_width).floor}px;") %>
</td>
<%
time = metrics[:time]
if spent_time_allowed %>
<td class="progress time">
<%= progress_bar(time_progress(time)*100,
:legend =>
"<span title=\"#{l(:label_spent_time)}\">" +
"#{time[:spent].ceil}</span>/" +
"<span title=\"#{l(:label_current_total_time)}\">" +
"#{time[:total].ceil}</span>",
:width => "#{(time[:total] / max[:time] * max_progress_width).floor}px;") %>
</td>
<% end %>
<% hours = l(:text_hours_short) %>
<td class="metric_comment">
<span title="<%= l(:field_estimated_hours) %>">
<%= "#{time[:estimated].ceil}#{hours}" %>
</span>
</td>
<% if spent_time_allowed %>
<td class="metric_comment">
<span title="<%= l(:label_spent_time) %>">
<%= "#{time[:spent].ceil}#{hours}" %>
</span>
</td>
<td class="metric_comment">
<span title="<%= l(:label_remaining_time) %>">
<%= "#{time[:remaining].ceil}#{hours}" %>
</span>
</td>
<% end %>
</tr>
<% end %>
</table>
<% end %>
app/helpers/versions_helper.rb (working copy)
criteria ||= 'category'
raise 'Unknown criteria' unless STATUS_BY_CRITERIAS.include?(criteria)
h = Hash.new {|k,v| k[v] = [0, 0]}
begin
# Total issue count
Issue.count(:group => criteria,
:conditions => ["#{Issue.table_name}.fixed_version_id = ?", version.id]).each {|c,s| h[c][0] = s}
# Open issues count
Issue.count(:group => criteria,
:include => :status,
:conditions => ["#{Issue.table_name}.fixed_version_id = ? AND #{IssueStatus.table_name}.is_closed = ?", version.id, false]).each {|c,s| h[c][1] = s}
rescue ActiveRecord::RecordNotFound
# When grouping by an association, Rails throws this exception if there's no result (bug)
#sort them alphabetically by category name
metrics = version.get_grouped_metrics(criteria).to_a.sort {|x, y| x[0].to_s <=> y[0].to_s}
max = {}
[{:count => :total}, {:time => :total}].each do |metric_info|
metrics_group, total_metric = metric_info.to_a.flatten
max[metrics_group] = metrics.map{|item| item[1]}.map {|item| item[metrics_group]}.map {|item| item[total_metric]}.max
max[metrics_group] = 1 if max[metrics_group] == 0
end
counts = h.keys.compact.sort.collect {|k| {:group => k, :total => h[k][0], :open => h[k][1], :closed => (h[k][0] - h[k][1])}}
max = counts.collect {|c| c[:total]}.max
render :partial => 'issue_counts', :locals => {:version => version, :criteria => criteria, :counts => counts, :max => max}
render :partial => 'issue_counts', :locals => {:version => version,
:criteria => criteria, :grouped_metrics => metrics, :max => max,
:spent_time_allowed => User.current.allowed_to?(:view_time_entries, @project),
}
end
def time_progress(time_info)
logger.debug "time_info[:spent] = #{time_info[:spent].inspect}"
logger.debug "time_info[:total] = #{time_info[:total].inspect}"
if (time_info[:total] != 0)
time_progress = time_info[:spent].to_f / time_info[:total]
else
time_progress = 0 #no total also means there's no spent time
end
time_progress
end
def status_by_options_for_select(value)
options_for_select(STATUS_BY_CRITERIAS.collect {|criteria| [l("field_#{criteria}".to_sym), criteria]}, value)
app/models/version.rb (working copy)
def spent_hours
@spent_hours ||= TimeEntry.sum(:hours, :include => :issue, :conditions => ["#{Issue.table_name}.fixed_version_id = ?", id]).to_f
end
def calc_remaining_and_total_time
@remaining_hours = 0
@total_hours = 0
get_grouped_metrics(:category).to_a.map{|item| item[1]}.map {|item| item[:time]}.each do |times|
@remaining_hours += times[:remaining]
@total_hours += times[:total]
end
end
def remaining_hours
return @remaining_hours if @remaining_hours
calc_remaining_and_total_time
@remaining_hours
end
def total_hours
return @total_hours if @total_hours
calc_remaining_and_total_time
@total_hours
end
# Returns true if the version is completed: due date reached and no open issues
def completed?
effective_date && (effective_date <= Date.today) && (open_issues_count == 0)
......
end
end
private
def get_grouped_metrics(criteria)
condition = issues_version_condition
issues = Issue.find(:all, :include => [:status, criteria],
:conditions => condition)
spent_times = {}
TimeEntry.sum(:hours, :group => :issue_id, :include => :issue,
:conditions => condition).each do |issue_id, hours|
spent_times[issue_id] = hours
end
categories_metrics = {}
issues.each do |issue|
category = issue.send(criteria)
categories_metrics[category] ||= {}
categories_metrics[category][:time] ||= {:estimated => 0,
:spent => 0, :remaining => 0, :total => 0}
metrics = categories_metrics[category][:time]
estimated = issue.estimated_hours || 0
metrics[:estimated] += estimated
spent = spent_times[issue.id] || 0
metrics[:spent] += spent
remaining = issue.closed? ? 0 : estimated - spent
remaining = 0 if remaining < 0
metrics[:remaining] += remaining
metrics[:total] += (remaining + spent)
categories_metrics[category][:count] ||= {:open => 0, :closed => 0, :total => 0}
metrics = categories_metrics[category][:count]
metrics[:total] += 1
if issue.closed?
metrics[:closed] += 1
else
metrics[:open] += 1
end
end
categories_metrics
end
def issues_version_condition
["#{Issue.table_name}.fixed_version_id = ?", id]
end
private
def check_integrity
raise "Can't delete version" if self.fixed_issues.find(:first)
end
public/stylesheets/application.css (working copy)
#main { background: #fff; }
#content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; }
}
div.category_metrics {
padding: 0.5em 0 0.5em 0;
}
table.category_metrics {
border-collapse: collapse;
}
.category_metrics .header {
font-weight:bold;
}
.category_metrics th {
text-align: left;
font-weight:normal;
}
.category_metrics td.progress {
text-align: left;
white-space: nowrap;
}
.category_metrics td.progress.count {
width: 30%;
}
.category_metrics td.progress.time {
width: 30%;
}
th.metric_comment, td.metric_comment {
font-weight:normal;
font-size:90%;
width: 5%;
}
#version-summary td.label {
text-align:right;
width: 40%;
}
#version-summary td.total-hours {
text-align:right;
}
#version-summary table {
width:100%;
}
test/unit/version_test.rb (revision 0)
# redMine - project management software
# Copyright (C) 2006-2008 Jean-Philippe Lang
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
require File.dirname(__FILE__) + '/../test_helper'
class VersionTest < Test::Unit::TestCase
fixtures :all
def verify_counts(count_metrics, open, closed)
assert_equal open + closed, count_metrics[:total]
assert_equal open, count_metrics[:open]
assert_equal closed, count_metrics[:closed]
end
def test_get_grouped_metrics_count
version = versions(:versions_002)
grouped_metrics = version.get_grouped_metrics(:tracker)
verify_counts(grouped_metrics[trackers(:trackers_001)][:count], 2, 1)
verify_counts(grouped_metrics[trackers(:trackers_002)][:count], 1, 0)
end
def test_get_grouped_metrics_time
version = versions(:versions_002)
grouped_metrics = version.get_grouped_metrics(:tracker)
time_metrics = grouped_metrics[trackers(:trackers_001)][:time]
estimated = [:issues_001, :issues_003, :issues_007].inject(0) do |prev, current|
issues(current).estimated_hours + prev
end
assert_equal estimated, time_metrics[:estimated]
spent = [:issues_001, :issues_003].inject(0) do |prev, current|
issues(current).spent_hours + prev
end
assert_equal spent, time_metrics[:spent]
i3 = issues(:issues_003)
#issue 1 is not counted because it spent more than estimated;
# issue 7 not counted because because it's closed
remaining = i3.estimated_hours - i3.spent_hours
assert_equal remaining, time_metrics[:remaining]
assert_equal spent + remaining, time_metrics[:total]
end
end
test/unit/enumeration_test.rb (working copy)
def test_objects_count
# low priority
assert_equal 5, Enumeration.find(4).objects_count
assert_equal 7, Enumeration.find(4).objects_count
# urgent
assert_equal 0, Enumeration.find(7).objects_count
end
......
def test_destroy_with_reassign
Enumeration.find(4).destroy(Enumeration.find(6))
assert_nil Issue.find(:first, :conditions => {:priority_id => 4})
assert_equal 5, Enumeration.find(6).objects_count
assert_equal 7, Enumeration.find(6).objects_count
end
end
test/unit/user_test.rb (working copy)
assert_equal "Manager", role.name
# user with no role
assert !@dlopper.role_for_project(Project.find(2)).member?
assert !@dlopper.role_for_project(Project.find(3)).member?
end
def test_mail_notification_all
test/functional/versions_controller_test.rb (working copy)
class VersionsController; def rescue_action(e) raise e end; end
class VersionsControllerTest < Test::Unit::TestCase
fixtures :projects, :versions, :issues, :users, :roles, :members, :enabled_modules
fixtures :projects, :versions, :issues, :users, :roles, :members, :enabled_modules, :issue_statuses, :trackers
def setup
@controller = VersionsController.new
......
User.current = nil
end
def test_show
get :show, :id => 2
{:view_time_entries_allowed => {:version_id => 2},
:view_time_entries_not_allowed => {:user_id => 3, :version_id => 4}
}.each do |case_key, case_info|
define_method "test_show_when_#{case_key}" do
@request.session[:user_id] = case_info[:user_id] if case_info[:user_id]
if case_info[:verify]
case_info[:verify].call()
end
get :show, :id => case_info[:version_id]
assert_response :success
assert_template 'show'
assert_not_nil assigns(:version)
assert_tag :tag => 'h2', :content => Version.find(case_info[:version_id]).name
end
define_method "test_issue_status_by_when_#{case_key}" do
@request.session[:user_id] = case_info[:user_id] if case_info[:user_id]
xhr :get, :status_by, :id => case_info[:version_id]
assert_response :success
assert_template '_issue_counts'
end
end
#specific bug was reproduced when there were no time records and all the issues were closed
def test_issue_status_by_no_division_by_zero
version = versions(:versions_003)
user = users(:users_002)
@request.session[:user_id] = user.id
assert version.fixed_issues.size > 0, "version should have issues"
project = version.project
assert user.allowed_to?(:view_time_entries, project), "user should have :view_time_entries permission to project #{project.id}"
version.fixed_issues.all? do |i|
assert_equal 0, i.spent_hours
assert !i.estimated_hours || i.estimated_hours == 0
assert i.closed?
end
xhr :get, :status_by, :id => version.id
assert_response :success
assert_template 'show'
assert_not_nil assigns(:version)
assert_tag :tag => 'h2', :content => /1.0/
assert_template '_issue_counts'
end
def test_get_edit
@request.session[:user_id] = 2
get :edit, :id => 2
......
def test_destroy
@request.session[:user_id] = 2
post :destroy, :id => 3
version = versions(:versions_001)
assert version.fixed_issues.empty?, "version should have no issues"
post :destroy, :id => version.id
assert_redirected_to 'projects/settings/ecookbook'
assert_nil Version.find_by_id(3)
assert_nil Version.find_by_id(version.id)
end
def test_issue_status_by
xhr :get, :status_by, :id => 2
assert_response :success
assert_template '_issue_counts'
end
end
test/fixtures/roles.yml (working copy)
- :view_changesets
position: 5
roles_006:
name: NoTimeEntries
id: 6
builtin: 0
permissions: |
---
- :add_issue_notes
- :view_gantt
- :view_calendar
- :view_documents
- :view_wiki_pages
- :view_files
- :browse_repository
- :view_changesets
position: 6
test/fixtures/issues.yml (working copy)
priority_id: 4
subject: Can't print recipes
id: 1
fixed_version_id:
fixed_version_id: 2
category_id: 1
description: Unable to print recipes
tracker_id: 1
......
status_id: 1
start_date: <%= 1.day.ago.to_date.to_s(:db) %>
due_date: <%= 10.day.from_now.to_date.to_s(:db) %>
estimated_hours: 100
issues_002:
created_on: 2006-07-19 21:04:21 +02:00
project_id: 1
......
priority_id: 4
subject: Error 281 when updating a recipe
id: 3
fixed_version_id:
fixed_version_id: 2
category_id:
description: Error 281 is encountered when saving a recipe
tracker_id: 1
......
status_id: 1
start_date: <%= 1.day.from_now.to_date.to_s(:db) %>
due_date: <%= 40.day.ago.to_date.to_s(:db) %>
estimated_hours: 2
issues_004:
created_on: <%= 5.days.ago.to_date.to_s(:db) %>
project_id: 2
......
priority_id: 4
subject: Issue on project 2
id: 4
fixed_version_id:
fixed_version_id: 4
category_id:
description: Issue on project 2
tracker_id: 1
......
status_id: 1
start_date: <%= Date.today.to_s(:db) %>
due_date: <%= 1.days.from_now.to_date.to_s(:db) %>
issues_007:
created_on: 2006-07-19 21:07:27 +02:00
project_id: 1
updated_on: 2006-07-19 21:07:27 +02:00
priority_id: 4
subject: Some closed bug for version 1.0
id: 7
fixed_version_id: 2
category_id:
description: Some closed bug for version 1.0
tracker_id: 1
assigned_to_id: 3
author_id: 2
status_id: 6
start_date: <%= 1.day.from_now.to_date.to_s(:db) %>
due_date: <%= 40.day.ago.to_date.to_s(:db) %>
estimated_hours: 10
issues_008:
created_on: <%= 1.minute.ago.to_date.to_s(:db) %>
project_id: 1
updated_on: <%= 1.minute.ago.to_date.to_s(:db) %>
priority_id: 4
subject: Issue of version 3
id: 8
fixed_version_id: 3
category_id:
description: Issue of version 3
tracker_id: 1
assigned_to_id:
author_id: 2
status_id: 6
start_date: <%= Date.today.to_s(:db) %>
due_date: <%= 1.days.from_now.to_date.to_s(:db) %>
test/fixtures/members.yml (working copy)
project_id: 5
role_id: 1
user_id: 2
members_006:
created_on: 2006-07-19 19:35:36 +02:00
project_id: 2
role_id: 6
id: 6
user_id: 3
test/fixtures/versions.yml (working copy)
id: 3
description: Future version
effective_date:
versions_004:
created_on: 2006-07-19 21:00:33 +02:00
name: "1.0"
project_id: 2
updated_on: 2006-07-19 21:00:33 +02:00
id: 4
description: 1.0
effective_date: 2008-07-21
lang/en.yml (working copy)
label_planning: Planning
label_incoming_emails: Incoming emails
label_generate_key: Generate a key
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
button_login: Login
button_submit: Submit
......
text_enumeration_destroy_question: '%d objects are assigned to this value.'
text_enumeration_category_reassign_to: 'Reassign them to this value:'
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
text_not_assigned: Not assigned
text_hours_short: h
default_role_manager: Manager
default_role_developper: Developer
......
enumeration_issue_priorities: Issue priorities
enumeration_doc_categories: Document categories
enumeration_activities: Activities (time tracking)
lang/ru.yml (working copy)
label_associated_revisions: Связанные редакции
label_issues_by: Сортировать по %s
label_display_per_page: 'На страницу: %s'
label_remaining_time: Осталось
label_current_total_time: Всего
label_estimated_time_short: Оценка
label_spent_time_short: Затр.
label_remaining_time_short: Ост.
label_issues_count: Число задач
label_time: Время
button_login: Вход
button_submit: Принять
......
text_caracters_minimum: Должно быть не менее %d знаков.
text_load_default_configuration: Загрузить конфигурацию по-умолчанию
text_no_configuration_data: "Роли, трекеры, статусы задач и оперативный план не были сконфигурированы.\nНастоятельно рекомендуется загрузить конфигурацию по-умолчанию. Вы сможете её изменить потом."
text_not_assigned: Не назначено
text_hours_short: ч
default_role_manager: Менеджер
default_role_developper: Разработчик
lang/lt.yml (working copy)
setting_mail_handler_api_key: API raktas
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/uk.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/ro.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/zh.yml (working copy)
enumeration_doc_categories: 文档类别
enumeration_activities: 活动(时间跟踪)
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/pt.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/da.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/pt-br.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/sr.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/de.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/bg.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/sv.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/ja.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/he.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/fi.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/cs.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/fr.yml (working copy)
enumeration_issue_priorities: Priorités des demandes
enumeration_doc_categories: Catégories des documents
enumeration_activities: Activités (suivi du temps)
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/es.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/nl.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/ko.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/zh-tw.yml (working copy)
enumeration_issue_priorities: 項目優先權
enumeration_doc_categories: 文件分類
enumeration_activities: 活動 (時間追蹤)
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/pl.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/th.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/no.yml (working copy)
setting_mail_handler_api_enabled: Enable WS for incoming emails
setting_mail_handler_api_key: API key
text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/it.yml (working copy)
setting_mail_handler_api_enabled: Abilita WS per le e-mail in arrivo
setting_mail_handler_api_key: chiave API
text_email_delivery_not_configured: "La consegna via e-mail non è configurata e le notifiche sono disabilitate.\nConfigura il tuo server SMTP in config/email.yml e riavvia l'applicazione per abilitarle."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
lang/hu.yml (working copy)
setting_mail_handler_api_enabled: Web Service engedélyezése a beérkezett levelekhez
setting_mail_handler_api_key: API kulcs
text_email_delivery_not_configured: "Az E-mail küldés nincs konfigurálva, és az értesítések ki vannak kapcsolva.\nÁllítsd be az SMTP szervert a config/email.yml fájlban és indítsd újra az alkalmazást, hogy érvénybe lépjen."
label_remaining_time: Remaining time
label_current_total_time: Total
label_estimated_time_short: Est.
label_spent_time_short: Spent
label_remaining_time_short: Rem.
label_issues_count: Count
label_time: Time
text_hours_short: h
text_not_assigned: Not assigned
(3-3/6)