Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

merged reporting_engine into reporting

ulfertsc6e4e8a2b699
diff --git a/Gemfile.lock b/Gemfile.lock
index 0c8cd9c3a9a..111028e8550 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -168,18 +168,11 @@ PATH
openproject-recaptcha (1.0.0)
recaptcha (~> 5.5)
-PATH
- remote: modules/reporting_engine
- specs:
- reporting_engine (1.0.0)
- json
-
PATH
remote: modules/reporting
specs:
openproject-reporting (1.0.0)
costs
- reporting_engine
PATH
remote: modules/two_factor_authentication
@@ -1094,7 +1087,6 @@ DEPENDENCIES
rails-i18n (~> 6.0.0)
rails_12factor
rdoc (>= 2.4.2)
- reporting_engine!
request_store (~> 1.5.0)
responders (~> 3.0)
rest-client (~> 2.0)
diff --git a/Gemfile.modules b/Gemfile.modules
index c63541d5a67..5550badf1d2 100644
--- a/Gemfile.modules
+++ b/Gemfile.modules
@@ -26,7 +26,6 @@ group :opf_plugins do
gem 'openproject-openid_connect', path: 'modules/openid_connect'
gem 'openproject-documents', path: 'modules/documents'
gem 'openproject-xls_export', path: 'modules/xls_export'
- gem 'reporting_engine', path: 'modules/reporting_engine'
gem 'costs', path: 'modules/costs'
gem 'openproject-reporting', path: 'modules/reporting'
gem 'openproject-meeting', path: 'modules/meeting'
diff --git a/modules/reporting/app/controllers/cost_reports_controller.rb b/modules/reporting/app/controllers/cost_reports_controller.rb
index 7843fa563c3..09118f7c0b7 100644
--- a/modules/reporting/app/controllers/cost_reports_controller.rb
+++ b/modules/reporting/app/controllers/cost_reports_controller.rb
@@ -27,20 +27,6 @@
#++
class CostReportsController < ApplicationController
- module QueryPreperation
- ##
- # Make sure to add cost type filter after the
- # query filters have been reset by .prepare_query
- # from the Report::Controller.
- def prepare_query
- query = super
-
- set_cost_type if @unit_id.present?
-
- query
- end
- end
-
rescue_from Exception do |exception|
session.delete(CostQuery.name.underscore.to_sym)
raise exception
@@ -57,11 +43,7 @@ class CostReportsController < ApplicationController
before_action :find_optional_project
before_action :find_optional_user
- include Report::Controller
include Layout
- prepend QueryPreperation
-
- before_action :set_cost_types # has to be set AFTER the Report::Controller filters run
helper_method :cost_types
helper_method :cost_type
@@ -69,8 +51,23 @@ class CostReportsController < ApplicationController
helper_method :public_queries
helper_method :private_queries
+ attr_accessor :report_engine
+ helper_method :current_user
+ helper_method :allowed_to?
+
+ include ReportingHelper
+ helper ReportingHelper
+ helper { def engine; @report_engine; end }
+
+ before_action :determine_engine
+ before_action :prepare_query, only: [:index, :create]
+ before_action :find_optional_report, only: [:index, :show, :update, :destroy, :rename]
+ before_action :possibly_only_narrow_values
+
attr_accessor :cost_types, :unit_id, :cost_type
+ before_action :set_cost_types # has to be set AFTER the Report::Controller filters run
+
layout 'angular'
# Checks if custom fields have been updated, added or removed since we
@@ -80,11 +77,9 @@ class CostReportsController < ApplicationController
CostQuery::Cache.check
end
- ##
- # @Override
- # Use respond_to hook, so redmine_export can hook up the excel exporting
def index
- super
+ table
+
respond_to do |format|
format.html {
session[report_engine.name.underscore.to_sym].try(:delete, :name)
@@ -92,6 +87,14 @@ class CostReportsController < ApplicationController
end unless performed?
end
+ ##
+ # Render the report. Renders either the complete index or the table only
+ def table
+ if set_filter? && request.xhr?
+ self.response_body = render_widget(Widget::Table, @query)
+ end
+ end
+
current_menu_item :index do |controller|
controller.menu_item_to_highlight_on_index
end
@@ -100,10 +103,101 @@ class CostReportsController < ApplicationController
@project ? :costs : :cost_reports_global
end
+ ##
+ # Create a new saved query. Returns the redirect url to an XHR or redirects directly
+ def create
+ @query.name = params[:query_name].present? ? params[:query_name] : ::I18n.t(:label_default)
+ @query.public! if make_query_public?
+ @query.send("#{user_key}=", current_user.id)
+ @query.save!
+
+ redirect_params = { action: 'show', id: @query.id }
+ redirect_params[:project_id] = @project.identifier if @project
+
+ if request.xhr? # Update via AJAX - return url for redirect
+ render plain: url_for(**redirect_params)
+ else # Redirect to the new record
+ redirect_to **redirect_params
+ end
+ end
+
+ ##
+ # Show a saved record, if found. Raises RecordNotFound if the specified query
+ # at :id does not exist
+ def show
+ if @query
+ store_query(@query)
+ table
+ render action: 'index' unless performed?
+ else
+ raise ActiveRecord::RecordNotFound
+ end
+ end
+
+ ##
+ # Delete a saved record, if found. Redirects to index on success, raises a
+ # RecordNotFound if the query at :id does not exist
+ def destroy
+ if @query
+ @query.destroy if allowed_to? :destroy, @query
+ else
+ raise ActiveRecord::RecordNotFound
+ end
+ redirect_to action: 'index', default: 1
+ end
+
+ ##
+ # Update a record with new query parameters and save it. Redirects to the
+ # specified record or renders the updated table on XHR
+ def update
+ if params[:set_filter].to_i == 1 # save
+ old_query = @query
+ prepare_query
+ old_query.migrate(@query)
+ old_query.save!
+ @query = old_query
+ end
+ if request.xhr?
+ table
+ else
+ redirect_to action: 'show', id: @query.id
+ end
+ end
+
+ ##
+ # Rename a record and update its publicity. Redirects to the updated record or
+ # renders the updated name on XHR
+ def rename
+ @query.name = params[:query_name]
+ @query.public! if make_query_public?
+ @query.save!
+ store_query(@query)
+ unless request.xhr?
+ redirect_to action: 'show', id: @query.id
+ else
+ render plain: @query.name
+ end
+ end
+
def drill_down
redirect_to action: :index
end
+ # renders option tags for each available value for a single filter
+ def available_values
+ name = params[:filter_name]
+
+ return unless name
+
+ f_cls = report_engine::Filter.const_get(name.to_s.camelcase)
+ filter = f_cls.new.tap do |f|
+ f.values = JSON.parse(params[:values].gsub("'", '"')) if params[:values].present? && params[:values]
+ end
+ render_widget Widget::Filters::Option, filter, to: canvas = ''
+
+ render plain: canvas, layout: !request.xhr?
+ end
+
##
# Determines if the request sets a unit type
def set_unit?
@@ -137,12 +231,23 @@ class CostReportsController < ApplicationController
##
# Get the filter params with an optional project context
def filter_params
- filters = super
+ filters = http_filter_parameters if set_filter?
+ filters ||= session[report_engine.name.underscore.to_sym].try(:[], :filters)
+ filters ||= default_filter_parameters
+
update_project_context!(filters)
filters
end
+ ##
+ # Return the active group bys
+ def group_params
+ groups = http_group_parameters if set_filter?
+ groups ||= session[report_engine.name.underscore.to_sym].try(:[], :groups)
+ groups || default_group_parameters
+ end
+
##
# Clear the query if the project context changed
def update_project_context!(filters)
@@ -316,4 +421,163 @@ class CostReportsController < ApplicationController
def find_optional_user
@current_user = User.current || User.anonymous
end
+
+ ##
+ # Determine the available values for the specified filter and return them as
+ # json, if that was requested. This will be executed INSTEAD of the actual action
+ def possibly_only_narrow_values
+ if params[:narrow_values] == '1'
+ sources = params[:sources]
+ dependent = params[:dependent]
+
+ query = report_engine.new
+ sources.each do |dependency|
+ query.filter(dependency.to_sym,
+ operator: params[:operators][dependency],
+ values: params[:values][dependency])
+ end
+ query.column(dependent)
+ values = [[::I18n.t(:label_inactive), '<<inactive>>']] + query.result.map { |r| r.fields[query.group_bys.first.field] }
+ # replace null-values with corresponding placeholder
+ values = values.map { |value| value.nil? ? [::I18n.t(:label_none), '<<null>>'] : value }
+ # try to find corresponding labels to the given values
+ values = values.map do |value|
+ filter = report_engine::Filter.const_get(dependent.camelcase.to_sym)
+ filter_value = filter.label_for_value value
+ if filter_value && filter_value.first.is_a?(Symbol)
+ [::I18n.t(filter_value.first), filter_value.second]
+ elsif filter_value && filter_value.first.is_a?(String)
+ [filter_value.first, filter_value.second]
+ else
+ value
+ end
+ end
+ render json: values.to_json
+ end
+ end
+
+ ##
+ # Determines if the request contains filters to set
+ def set_filter? # FIXME: rename to set_query?
+ params[:set_filter].to_i == 1
+ end
+
+ ##
+ # Extract active filters from the http params
+ def http_filter_parameters
+ params[:fields] ||= []
+ (params[:fields].reject(&:empty?) || []).inject(operators: {}, values: {}) do |hash, field|
+ hash[:operators][field.to_sym] = params[:operators][field]
+ hash[:values][field.to_sym] = params[:values][field]
+ hash
+ end
+ end
+
+ ##
+ # Extract active group bys from the http params
+ def http_group_parameters
+ if params[:groups]
+ rows = params[:groups]['rows']
+ columns = params[:groups]['columns']
+ end
+ { rows: (rows || []), columns: (columns || []) }
+ end
+
+ ##
+ # Determines if the query settings should be reset
+ def force_default?
+ params[:default].to_i == 1
+ end
+
+ ##
+ # Prepare the query from the request
+ def prepare_query
+ determine_settings
+ @query = build_query(session[report_engine.name.underscore.to_sym][:filters],
+ session[report_engine.name.underscore.to_sym][:groups])
+
+ set_cost_type if @unit_id.present?
+ end
+
+ ##
+ # Determine the query settings the current request and save it to
+ # the session.
+ def determine_settings
+ if force_default?
+ filters = default_filter_parameters
+ groups = default_group_parameters
+ session[report_engine.name.underscore.to_sym].try :delete, :name
+ else
+ filters = filter_params
+ groups = group_params
+ end
+ cookie = session[report_engine.name.underscore.to_sym] || {}
+ session[report_engine.name.underscore.to_sym] = cookie.merge(filters: filters, groups: groups)
+ end
+
+ ##
+ # Build the query from the passed session hash
+ def build_query(filters, groups = {})
+ query = report_engine.new project: @project
+ query.tap do |q|
+ filters[:operators].each do |filter, operator|
+ unless filters[:values][filter] == ['<<inactive>>']
+ values = Array(filters[:values][filter]).map { |v| v == '<<null>>' ? nil : v }
+ q.filter(filter.to_sym,
+ operator: operator,
+ values: values)
+ end
+ end
+ end
+ groups[:columns].try(:reverse_each) { |c| query.column(c) }
+ groups[:rows].try(:reverse_each) { |r| query.row(r) }
+ query
+ end
+
+ ##
+ # Store query in the session
+ def store_query(_query)
+ cookie = {}
+ cookie[:groups] = @query.group_bys.inject({}) do |h, group|
+ ((h[:"#{group.type}s"] ||= []) << group.underscore_name.to_sym) && h
+ end
+ cookie[:filters] = @query.filters.inject(operators: {}, values: {}) do |h, filter|
+ h[:operators][filter.underscore_name.to_sym] = filter.operator.to_s
+ h[:values][filter.underscore_name.to_sym] = filter.values
+ h
+ end
+ cookie[:name] = @query.name if @query.name
+ session[report_engine.name.underscore.to_sym] = cookie
+ end
+
+ ##
+ # Override in subclass if user key
+ def user_key
+ 'user_id'
+ end
+
+ ##
+ # Override in subclass if you like
+ def is_public_sql(val = true)
+ "(is_public = #{val ? report_engine.reporting_connection.quoted_true : report_engine.reporting_connection.quoted_false})"
+ end
+
+ def make_query_public?
+ !!params[:query_is_public]
+ end
+
+ ##
+ # Find a report if :id was passed as parameter.
+ # Raises RecordNotFound if an invalid :id was passed.
+ #
+ # @param query An optional query added to the disjunction qualifiying reports to be returned.
+ def find_optional_report(query = '1=0')
+ if params[:id]
+ @query = report_engine
+ .where(["#{is_public_sql} OR (#{user_key} = ?) OR (#{query})", current_user.id])
+ .find(params[:id].to_i)
+ @query.deserialize if @query
+ end
+ rescue ActiveRecord::RecordNotFound
+ end
end
diff --git a/modules/reporting/app/models/cost_query.rb b/modules/reporting/app/models/cost_query.rb
index 4dbe3a6147e..ea609dcb83e 100644
--- a/modules/reporting/app/models/cost_query.rb
+++ b/modules/reporting/app/models/cost_query.rb
@@ -26,9 +26,200 @@
# See docs/COPYRIGHT.rdoc for more details.
#++
-class CostQuery < Report
+class CostQuery < ApplicationRecord
+ extend Forwardable
+ include Enumerable
+ include Engine
+
+ belongs_to :user
+ belongs_to :project
+
+ before_save :serialize
+ serialize :serialized, Hash
+
def_delegators :result, :real_costs
+ def self.accepted_properties
+ @@accepted_properties ||= []
+ end
+
+ def self.reporting_connection
+ connection
+ end
+
+ def self.chain_initializer
+ @chain_initializer ||= []
+ end
+
+ def self.deserialize(hash, object = new)
+ object.tap do |q|
+ hash[:filters].each { |name, opts| q.filter(name, opts) }
+ hash[:group_bys].each { |name, opts| q.group_by(name, opts) }
+ end
+ end
+
+ def serialize
+ # have to take the reverse group_bys to retain the original order when deserializing
+ self.serialized = { filters: (filters.map(&:serialize).reject(&:nil?).sort { |a, b| a.first <=> b.first }),
+ group_bys: group_bys.map(&:serialize).reject(&:nil?).reverse }
+ end
+
+ def deserialize
+ unless @chain
+ hash = serialized || serialize
+ self.class.deserialize(hash, self)
+ else
+ raise ArgumentError, 'Cannot deserialize a report which already has a chain'
+ end
+ end
+
+ # Convenience method to generate a params hash readable by Controller#determine_settings
+ def to_params
+ params = {}
+ filters.select { |f| f.class.display? }.each do |f|
+ filter_name = f.class.underscore_name
+ params[:fields] << filter_name
+ params[:operators].merge! filter_name => f.operator.to_s
+ params[:values].merge! filter_name => f.values
+ end
+ group_bys.each do |g|
+ params[:groups] ||= { rows: [], columns: [] }
+ params[:groups][g.row? ? :rows : :columns] << g.class.underscore_name
+ end
+ params
+ end
+
+ ##
+ # Migrates this report to look like the given report.
+ # This may be used to alter report properties without
+ # creating a new report in a database.
+ def migrate(report)
+ [:@chain, :@query, :@transformer, :@walker, :@table, :@depths, :@chain_initializer].each do |inst_var|
+ instance_variable_set inst_var, (report.instance_variable_get inst_var)
+ end
+ end
+
+ def available_filters
+ Report::Filter.all
+ end
+
+ def transformer
+ @transformer ||= Report::Transformer.new self
+ end
+
+ def walker
+ @walker ||= Report::Walker.new self
+ end
+
+ def add_chain(type, name, options)
+ chain type.const_get(name.to_s.camelcase), options
+ @transformer, @table, @depths, @walker = nil, nil, nil, nil
+ self
+ end
+
+ def chain(klass = nil, options = {})
+ build_new_chain unless @chain
+ if klass
+ @chain = klass.new @chain, options
+ @chain.engine = self.class
+ end
+ @chain = @chain.parent until @chain.top?
+ @chain
+ end
+
+ def build_new_chain
+ # FIXME: is there a better way to load all filter and groups?
+ self.class::Filter.all && self.class::GroupBy.all
+
+ minimal_chain!
+ self.class.chain_initializer.each { |block| block.call self }
+ self
+ end
+
+ def filter(name, options = {})
+ add_chain self.class::Filter, name, options
+ end
+
+ def group_by(name, options = {})
+ add_chain self.class::GroupBy, name, options.reverse_merge(type: :column)
+ end
+
+ def column(name, options = {})
+ group_by name, options.merge(type: :column)
+ end
+
+ def row(name, options = {})
+ group_by name, options.merge(type: :row)
+ end
+
+ def table
+ @table = self.class::Table.new(self)
+ end
+
+ def group_bys(type = nil)
+ chain.select { |c| c.group_by? && (type.nil? || c.type == type) }
+ end
+
+ def filters
+ chain.select(&:filter?)
+ end
+
+ def depth_of(name)
+ @depths ||= {}
+ @depths[name] ||= chain.inject(0) { |sum, child| child.type == name ? sum + 1 : sum }
+ end
+
+ def_delegators :transformer, :column_first, :row_first
+ def_delegators :chain, :empty_chain, :top, :bottom, :chain_collect, :sql_statement, :all_group_fields, :child, :clear, :result
+ def_delegators :result, :each_direct_result, :recursive_each, :recursive_each_with_level, :each, :each_row, :count,
+ :units, :final_number
+ def_delegators :table, :row_index, :colum_index
+
+ def to_a
+ chain.to_a
+ end
+
+ def to_s
+ chain.to_s
+ end
+
+ def size
+ size = 0
+ recursive_each { |r| size += r.size }
+ size
+ end
+
+ def cache_key
+ deserialize unless @chain
+ parts = [self.class.table_name.sub('_reports', '')]
+ parts.concat [filters.sort, group_bys].map { |l| l.map(&:cache_key).join(' ') }
+ parts.join '/'
+ end
+
+ def self.engine
+ self
+ end
+
+ def minimal_chain!
+ @chain = self.class::Filter::NoFilter.new
+ end
+
+ def public!
+ self.is_public = true
+ end
+
+ def public?
+ is_public
+ end
+
+ def private!
+ self.is_public = false
+ end
+
+ def private?
+ !public?
+ end
+
User.before_destroy do |user|
CostQuery.where(user_id: user.id, is_public: false).delete_all
CostQuery.where(['user_id = ?', user.id]).update_all ['user_id = ?', DeletedUser.first.id]
diff --git a/modules/reporting/config/locales/en.yml b/modules/reporting/config/locales/en.yml
index 2e0a2705063..9f116ec31d7 100644
--- a/modules/reporting/config/locales/en.yml
+++ b/modules/reporting/config/locales/en.yml
@@ -72,6 +72,18 @@ en:
label_units: "Units"
label_week_reporting: "Week (Spent)"
label_year_reporting: "Year (Spent)"
+ label_count: "Count"
+ label_filter: "Filter"
+ label_filter_add: "Add Filter"
+ label_filter_plural: "Filters"
+ label_group_by: "Group by"
+ label_group_by_add: "Add Group-by Attribute"
+ label_inactive: "«inactive»"
+ label_no: "No"
+ label_none: "(no data)"
+ label_report: "Report"
+ label_yes: "Yes"
+
load_query_question: "Report will have %{size} table cells and may take some time to render. Do you still want to try rendering it?"
permission_save_cost_reports: "Save public cost reports"
@@ -85,3 +97,8 @@ en:
validation_failure_date: "is not a valid date"
validation_failure_integer: "is not a valid integer"
+
+ reporting:
+ group_by:
+ selected_columns: "Selected columns"
+ selected_rows: "Selected rows"
diff --git a/modules/reporting_engine/config/locales/js-en.yml b/modules/reporting/config/locales/js-en.yml
similarity index 100%
rename from modules/reporting_engine/config/locales/js-en.yml
rename to modules/reporting/config/locales/js-en.yml
diff --git a/modules/reporting/doc/CHANGELOG.md b/modules/reporting/doc/CHANGELOG.md
deleted file mode 100644
index f995a6249dd..00000000000
--- a/modules/reporting/doc/CHANGELOG.md
+++ /dev/null
@@ -1,72 +0,0 @@
-<!---- copyright
-OpenProject Reporting Plugin
-
-Copyright (C) 2010 - 2014 the OpenProject Foundation (OPF)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-version 3.
-
-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.
-
-++-->
-
-# Changelog
-
-## 3.0.8
-
-* `#7905` custom field not removed from cost report after delete
-* `#5191` Public Release Reporting Plugin
-* `#4024` Fix: Subpages have no unique page titles
-
-## 4.0.0
-
-* `#3216` Fix: Reporting creates 500 when a CustomField with content type version or user exists
-* `#4024` Subpages have no unique page titles
-
-## 4.0.0.pre9
-
-* Adaptations for new icon font
-* added icon for new project menu
-
-## 4.0.0.pre8
-
-* `#2731` Migrated serialized yaml from syck to psych
-
-## 4.0.0.pre7
-
-* `#2449` Squash old migrations
-* `#2517` XSS: unescaped fields in cost report view (cost log comment, work package title)
-
-## 4.0.0.pre6
-
-* New core version dependency.
-
-## 4.0.0.pre5
-
-* Rename IssueCategory to Category
-
-## 4.0.0.pre4
-
-* `#2061` Migrate to new data model.
-
-## 4.0.0.pre3
-
-Adapt to OpenProject core
-
-## 4.0.0.pre2
-
-* Fixed grouping by authors
-* Added reporting permissions
-* Translation fixes
-
-## 4.0.0.pre1
-
-* First release of the Rails 3 version
diff --git a/modules/reporting/doc/COPYRIGHT.md b/modules/reporting/doc/COPYRIGHT.md
deleted file mode 100644
index de7d8de8486..00000000000
--- a/modules/reporting/doc/COPYRIGHT.md
+++ /dev/null
@@ -1,18 +0,0 @@
-OpenProject Reporting Plugin
-
-An OpenProject plugin to create cost reports
-
-Copyright (C) 2010 - 2014 the OpenProject Foundation (OPF)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-version 3.
-
-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.
diff --git a/modules/reporting/doc/COPYRIGHT_short.md b/modules/reporting/doc/COPYRIGHT_short.md
deleted file mode 100644
index 812d9ca4fcc..00000000000
--- a/modules/reporting/doc/COPYRIGHT_short.md
+++ /dev/null
@@ -1,16 +0,0 @@
-OpenProject Reporting Plugin
-
-Copyright (C) 2010 - 2014 the OpenProject Foundation (OPF)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-version 3.
-
-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.
diff --git a/modules/reporting/doc/GPL.txt b/modules/reporting/doc/GPL.txt
deleted file mode 100644
index 94a9ed024d3..00000000000
--- a/modules/reporting/doc/GPL.txt
+++ /dev/null
@@ -1,674 +0,0 @@
- GNU GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The GNU General Public License is a free, copyleft license for
-software and other kinds of works.
-
- The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works. By contrast,
-the GNU General Public License is intended to guarantee your freedom to
-share and change all versions of a program--to make sure it remains free
-software for all its users. We, the Free Software Foundation, use the
-GNU General Public License for most of our software; it applies also to
-any other work released this way by its authors. You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-them if you wish), that you receive source code or can get it if you
-want it, that you can change the software or use pieces of it in new
-free programs, and that you know you can do these things.
-
- To protect your rights, we need to prevent others from denying you
-these rights or asking you to surrender the rights. Therefore, you have
-certain responsibilities if you distribute copies of the software, or if
-you modify it: responsibilities to respect the freedom of others.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must pass on to the recipients the same
-freedoms that you received. You must make sure that they, too, receive
-or can get the source code. And you must show them these terms so they
-know their rights.
-
- Developers that use the GNU GPL protect your rights with two steps:
-(1) assert copyright on the software, and (2) offer you this License
-giving you legal permission to copy, distribute and/or modify it.
-
- For the developers' and authors' protection, the GPL clearly explains
-that there is no warranty for this free software. For both users' and
-authors' sake, the GPL requires that modified versions be marked as
-changed, so that their problems will not be attributed erroneously to
-authors of previous versions.
-
- Some devices are designed to deny users access to install or run
-modified versions of the software inside them, although the manufacturer
-can do so. This is fundamentally incompatible with the aim of
-protecting users' freedom to change the software. The systematic
-pattern of such abuse occurs in the area of products for individuals to
-use, which is precisely where it is most unacceptable. Therefore, we
-have designed this version of the GPL to prohibit the practice for those
-products. If such problems arise substantially in other domains, we
-stand ready to extend this provision to those domains in future versions
-of the GPL, as needed to protect the freedom of users.
-
- Finally, every program is threatened constantly by software patents.
-States should not allow patents to restrict development and use of
-software on general-purpose computers, but in those that do, we wish to
-avoid the special danger that patents applied to a free program could
-make it effectively proprietary. To prevent this, the GPL assures that
-patents cannot be used to render the program non-free.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- TERMS AND CONDITIONS
-
- 0. Definitions.
-
- "This License" refers to version 3 of the GNU General Public License.
-
- "Copyright" also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
-
- "The Program" refers to any copyrightable work licensed under this
-License. Each licensee is addressed as "you". "Licensees" and
-"recipients" may be individuals or organizations.
-
- To "modify" a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy. The resulting work is called a "modified version" of the
-earlier work or a work "based on" the earlier work.
-
- A "covered work" means either the unmodified Program or a work based
-on the Program.
-
- To "propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy. Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
- To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies. Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
- An interactive user interface displays "Appropriate Legal Notices"
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License. If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
- 1. Source Code.
-
- The "source code" for a work means the preferred form of the work
-for making modifications to it. "Object code" means any non-source
-form of a work.
-
- A "Standard Interface" means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
- The "System Libraries" of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form. A
-"Major Component", in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
- The "Corresponding Source" for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities. However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work. For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
- The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
- The Corresponding Source for a work in source code form is that
-same work.
-
- 2. Basic Permissions.
-
- All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met. This License explicitly affirms your unlimited
-permission to run the unmodified Program. The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work. This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
- You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force. You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright. Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
- Conveying under any other circumstances is permitted solely under
-the conditions stated below. Sublicensing is not allowed; section 10
-makes it unnecessary.
-
- 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
- No covered work shall be deemed part of an effective technological
-measure under any applicable law fulfilling obligations under article
-11 of the WIPO copyright treaty adopted on 20 December 1996, or
-similar laws prohibiting or restricting circumvention of such
-measures.
-
- When you convey a covered work, you waive any legal power to forbid
-circumvention of technological measures to the extent such circumvention
-is effected by exercising rights under this License with respect to
-the covered work, and you disclaim any intention to limit operation or
-modification of the work as a means of enforcing, against the work's
-users, your or third parties' legal rights to forbid circumvention of
-technological measures.
-
- 4. Conveying Verbatim Copies.
-
- You may convey verbatim copies of the Program's source code as you
-receive it, in any medium, provided that you conspicuously and
-appropriately publish on each copy an appropriate copyright notice;
-keep intact all notices stating that this License and any
-non-permissive terms added in accord with section 7 apply to the code;
-keep intact all notices of the absence of any warranty; and give all
-recipients a copy of this License along with the Program.
-
- You may charge any price or no price for each copy that you convey,
-and you may offer support or warranty protection for a fee.
-
- 5. Conveying Modified Source Versions.
-
- You may convey a work based on the Program, or the modifications to
-produce it from the Program, in the form of source code under the
-terms of section 4, provided that you also meet all of these conditions:
-
- a) The work must carry prominent notices stating that you modified
- it, and giving a relevant date.
-
- b) The work must carry prominent notices stating that it is
- released under this License and any conditions added under section
- 7. This requirement modifies the requirement in section 4 to
- "keep intact all notices".
-
- c) You must license the entire work, as a whole, under this
- License to anyone who comes into possession of a copy. This
- License will therefore apply, along with any applicable section 7
- additional terms, to the whole of the work, and all its parts,
- regardless of how they are packaged. This License gives no
- permission to license the work in any other way, but it does not
- invalidate such permission if you have separately received it.
-
- d) If the work has interactive user interfaces, each must display
- Appropriate Legal Notices; however, if the Program has interactive
- interfaces that do not display Appropriate Legal Notices, your
- work need not make them do so.
-
- A compilation of a covered work with other separate and independent
-works, which are not by their nature extensions of the covered work,
-and which are not combined with it such as to form a larger program,
-in or on a volume of a storage or distribution medium, is called an
-"aggregate" if the compilation and its resulting copyright are not
-used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit. Inclusion of a covered work
-in an aggregate does not cause this License to apply to the other
-parts of the aggregate.
-
- 6. Conveying Non-Source Forms.
-
- You may convey a covered work in object code form under the terms
-of sections 4 and 5, provided that you also convey the
-machine-readable Corresponding Source under the terms of this License,
-in one of these ways:
-
- a) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by the
- Corresponding Source fixed on a durable physical medium
- customarily used for software interchange.
-
- b) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by a
- written offer, valid for at least three years and valid for as
- long as you offer spare parts or customer support for that product
- model, to give anyone who possesses the object code either (1) a
- copy of the Corresponding Source for all the software in the
- product that is covered by this License, on a durable physical
- medium customarily used for software interchange, for a price no
- more than your reasonable cost of physically performing this
- conveying of source, or (2) access to copy the
- Corresponding Source from a network server at no charge.
-
- c) Convey individual copies of the object code with a copy of the
- written offer to provide the Corresponding Source. This
- alternative is allowed only occasionally and noncommercially, and
- only if you received the object code with such an offer, in accord
- with subsection 6b.
-
- d) Convey the object code by offering access from a designated
- place (gratis or for a charge), and offer equivalent access to the
- Corresponding Source in the same way through the same place at no
- further charge. You need not require recipients to copy the
- Corresponding Source along with the object code. If the place to
- copy the object code is a network server, the Corresponding Source
- may be on a different server (operated by you or a third party)
- that supports equivalent copying facilities, provided you maintain
- clear directions next to the object code saying where to find the
- Corresponding Source. Regardless of what server hosts the
- Corresponding Source, you remain obligated to ensure that it is
- available for as long as needed to satisfy these requirements.
-
- e) Convey the object code using peer-to-peer transmission, provided
- you inform other peers where the object code and Corresponding
- Source of the work are being offered to the general public at no
- charge under subsection 6d.
-
- A separable portion of the object code, whose source code is excluded
-from the Corresponding Source as a System Library, need not be
-included in conveying the object code work.
-
- A "User Product" is either (1) a "consumer product", which means any
-tangible personal property which is normally used for personal, family,
-or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling. In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage. For a particular
-product received by a particular user, "normally used" refers to a
-typical or common use of that class of product, regardless of the status
-of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product. A product
-is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent
-the only significant mode of use of the product.
-
- "Installation Information" for a User Product means any methods,
-procedures, authorization keys, or other information required to install
-and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source. The information must
-suffice to ensure that the continued functioning of the modified object
-code is in no case prevented or interfered with solely because
-modification has been made.
-
- If you convey an object code work under this section in, or with, or
-specifically for use in, a User Product, and the conveying occurs as
-part of a transaction in which the right of possession and use of the
-User Product is transferred to the recipient in perpetuity or for a
-fixed term (regardless of how the transaction is characterized), the
-Corresponding Source conveyed under this section must be accompanied
-by the Installation Information. But this requirement does not apply
-if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has
-been installed in ROM).
-
- The requirement to provide Installation Information does not include a
-requirement to continue to provide support service, warranty, or updates
-for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed. Access to a
-network may be denied when the modification itself materially and
-adversely affects the operation of the network or violates the rules and
-protocols for communication across the network.
-
- Corresponding Source conveyed, and Installation Information provided,
-in accord with this section must be in a format that is publicly
-documented (and with an implementation available to the public in
-source code form), and must require no special password or key for
-unpacking, reading or copying.
-
- 7. Additional Terms.
-
- "Additional permissions" are terms that supplement the terms of this
-License by making exceptions from one or more of its conditions.
-Additional permissions that are applicable to the entire Program shall
-be treated as though they were included in this License, to the extent
-that they are valid under applicable law. If additional permissions
-apply only to part of the Program, that part may be used separately
-under those permissions, but the entire Program remains governed by
-this License without regard to the additional permissions.
-
- When you convey a copy of a covered work, you may at your option
-remove any additional permissions from that copy, or from any part of
-it. (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.) You may place
-additional permissions on material, added by you to a covered work,
-for which you have or can give appropriate copyright permission.
-
- Notwithstanding any other provision of this License, for material you
-add to a covered work, you may (if authorized by the copyright holders of
-that material) supplement the terms of this License with terms:
-
- a) Disclaiming warranty or limiting liability differently from the
- terms of sections 15 and 16 of this License; or
-
- b) Requiring preservation of specified reasonable legal notices or
- author attributions in that material or in the Appropriate Legal
- Notices displayed by works containing it; or
-
- c) Prohibiting misrepresentation of the origin of that material, or
- requiring that modified versions of such material be marked in
- reasonable ways as different from the original version; or
-
- d) Limiting the use for publicity purposes of names of licensors or
- authors of the material; or
-
- e) Declining to grant rights under trademark law for use of some
- trade names, trademarks, or service marks; or
-
- f) Requiring indemnification of licensors and authors of that
- material by anyone who conveys the material (or modified versions of
- it) with contractual assumptions of liability to the recipient, for
- any liability that these contractual assumptions directly impose on
- those licensors and authors.
-
- All other non-permissive additional terms are considered "further
-restrictions" within the meaning of section 10. If the Program as you
-received it, or any part of it, contains a notice stating that it is
-governed by this License along with a term that is a further
-restriction, you may remove that term. If a license document contains
-a further restriction but permits relicensing or conveying under this
-License, you may add to a covered work material governed by the terms
-of that license document, provided that the further restriction does
-not survive such relicensing or conveying.
-
- If you add terms to a covered work in accord with this section, you
-must place, in the relevant source files, a statement of the
-additional terms that apply to those files, or a notice indicating
-where to find the applicable terms.
-
- Additional terms, permissive or non-permissive, may be stated in the
-form of a separately written license, or stated as exceptions;
-the above requirements apply either way.
-
- 8. Termination.
-
- You may not propagate or modify a covered work except as expressly
-provided under this License. Any attempt otherwise to propagate or
-modify it is void, and will automatically terminate your rights under
-this License (including any patent licenses granted under the third
-paragraph of section 11).
-
- However, if you cease all violation of this License, then your
-license from a particular copyright holder is reinstated (a)
-provisionally, unless and until the copyright holder explicitly and
-finally terminates your license, and (b) permanently, if the copyright
-holder fails to notify you of the violation by some reasonable means
-prior to 60 days after the cessation.
-
- Moreover, your license from a particular copyright holder is
-reinstated permanently if the copyright holder notifies you of the
-violation by some reasonable means, this is the first time you have
-received notice of violation of this License (for any work) from that
-copyright holder, and you cure the violation prior to 30 days after
-your receipt of the notice.
-
- Termination of your rights under this section does not terminate the
-licenses of parties who have received copies or rights from you under
-this License. If your rights have been terminated and not permanently
-reinstated, you do not qualify to receive new licenses for the same
-material under section 10.
-
- 9. Acceptance Not Required for Having Copies.
-
- You are not required to accept this License in order to receive or
-run a copy of the Program. Ancillary propagation of a covered work
-occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance. However,
-nothing other than this License grants you permission to propagate or
-modify any covered work. These actions infringe copyright if you do
-not accept this License. Therefore, by modifying or propagating a
-covered work, you indicate your acceptance of this License to do so.
-
- 10. Automatic Licensing of Downstream Recipients.
-
- Each time you convey a covered work, the recipient automatically
-receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License. You are not responsible
-for enforcing compliance by third parties with this License.
-
- An "entity transaction" is a transaction transferring control of an
-organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations. If propagation of a covered
-work results from an entity transaction, each party to that
-transaction who receives a copy of the work also receives whatever
-licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the
-Corresponding Source of the work from the predecessor in interest, if
-the predecessor has it or can get it with reasonable efforts.
-
- You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License. For example, you may
-not impose a license fee, royalty, or other charge for exercise of
-rights granted under this License, and you may not initiate litigation
-(including a cross-claim or counterclaim in a lawsuit) alleging that
-any patent claim is infringed by making, using, selling, offering for
-sale, or importing the Program or any portion of it.
-
- 11. Patents.
-
- A "contributor" is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based. The
-work thus licensed is called the contributor's "contributor version".
-
- A contributor's "essential patent claims" are all patent claims
-owned or controlled by the contributor, whether already acquired or
-hereafter acquired, that would be infringed by some manner, permitted
-by this License, of making, using, or selling its contributor version,
-but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version. For
-purposes of this definition, "control" includes the right to grant
-patent sublicenses in a manner consistent with the requirements of
-this License.
-
- Each contributor grants you a non-exclusive, worldwide, royalty-free
-patent license under the contributor's essential patent claims, to
-make, use, sell, offer for sale, import and otherwise run, modify and
-propagate the contents of its contributor version.
-
- In the following three paragraphs, a "patent license" is any express
-agreement or commitment, however denominated, not to enforce a patent
-(such as an express permission to practice a patent or covenant not to
-sue for patent infringement). To "grant" such a patent license to a
-party means to make such an agreement or commitment not to enforce a
-patent against the party.
-
- If you convey a covered work, knowingly relying on a patent license,
-and the Corresponding Source of the work is not available for anyone
-to copy, free of charge and under the terms of this License, through a
-publicly available network server or other readily accessible means,
-then you must either (1) cause the Corresponding Source to be so
-available, or (2) arrange to deprive yourself of the benefit of the
-patent license for this particular work, or (3) arrange, in a manner
-consistent with the requirements of this License, to extend the patent
-license to downstream recipients. "Knowingly relying" means you have
-actual knowledge that, but for the patent license, your conveying the
-covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that
-country that you have reason to believe are valid.
-
- If, pursuant to or in connection with a single transaction or
-arrangement, you convey, or propagate by procuring conveyance of, a
-covered work, and grant a patent license to some of the parties
-receiving the covered work authorizing them to use, propagate, modify
-or convey a specific copy of the covered work, then the patent license
-you grant is automatically extended to all recipients of the covered
-work and works based on it.
-
- A patent license is "discriminatory" if it does not include within
-the scope of its coverage, prohibits the exercise of, or is
-conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License. You may not convey a covered
-work if you are a party to an arrangement with a third party that is
-in the business of distributing software, under which you make payment
-to the third party based on the extent of your activity of conveying
-the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory
-patent license (a) in connection with copies of the covered work
-conveyed by you (or copies made from those copies), or (b) primarily
-for and in connection with specific products or compilations that
-contain the covered work, unless you entered into that arrangement,
-or that patent license was granted, prior to 28 March 2007.
-
- Nothing in this License shall be construed as excluding or limiting
-any implied license or other defenses to infringement that may
-otherwise be available to you under applicable patent law.
-
- 12. No Surrender of Others' Freedom.
-
- If conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot convey a
-covered work so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you may
-not convey it at all. For example, if you agree to terms that obligate you
-to collect a royalty for further conveying from those to whom you convey
-the Program, the only way you could satisfy both those terms and this
-License would be to refrain entirely from conveying the Program.
-
- 13. Use with the GNU Affero General Public License.
-
- Notwithstanding any other provision of this License, you have
-permission to link or combine any covered work with a work licensed
-under version 3 of the GNU Affero General Public License into a single
-combined work, and to convey the resulting work. The terms of this
-License will continue to apply to the part which is the covered work,
-but the special requirements of the GNU Affero General Public License,
-section 13, concerning interaction through a network will apply to the
-combination as such.
-
- 14. Revised Versions of this License.
-
- The Free Software Foundation may publish revised and/or new versions of
-the GNU General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Program specifies that a certain numbered version of the GNU General
-Public License "or any later version" applies to it, you have the
-option of following the terms and conditions either of that numbered
-version or of any later version published by the Free Software
-Foundation. If the Program does not specify a version number of the
-GNU General Public License, you may choose any version ever published
-by the Free Software Foundation.
-
- If the Program specifies that a proxy can decide which future
-versions of the GNU General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
- Later license versions may give you additional or different
-permissions. However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
- 15. Disclaimer of Warranty.
-
- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. Limitation of Liability.
-
- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES.
-
- 17. Interpretation of Sections 15 and 16.
-
- If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
- <one line to give the program's name and a brief idea of what it does.>
- Copyright (C) <year> <name of author>
-
- 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 3 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, see <http://www.gnu.org/licenses/>.
-
-Also add information on how to contact you by electronic and paper mail.
-
- If the program does terminal interaction, make it output a short
-notice like this when it starts in an interactive mode:
-
- <program> Copyright (C) <year> <name of author>
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, your program's commands
-might be different; for a GUI interface, you would use an "about box".
-
- You should also get your employer (if you work as a programmer) or school,
-if any, to sign a "copyright disclaimer" for the program, if necessary.
-For more information on this, and how to apply and follow the GNU GPL, see
-<http://www.gnu.org/licenses/>.
-
- The GNU General Public License does not permit incorporating your program
-into proprietary programs. If your program is a subroutine library, you
-may consider it more useful to permit linking proprietary applications with
-the library. If this is what you want to do, use the GNU Lesser General
-Public License instead of this License. But first, please read
-<http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/modules/reporting_engine/lib/engine.rb b/modules/reporting/lib/engine.rb
similarity index 87%
rename from modules/reporting_engine/lib/engine.rb
rename to modules/reporting/lib/engine.rb
index 374c41b4ab7..f3141e28dd7 100644
--- a/modules/reporting_engine/lib/engine.rb
+++ b/modules/reporting/lib/engine.rb
@@ -32,15 +32,10 @@ module Engine
# It is considered public API to override this method i.e. in Tests.
#
# @return [Class] subclass
+ # TODO: get rid of this module
def engine
return @engine if @engine
- if is_a? Module
- @engine = Object.const_get(name[/^[^:]+/] || :Report)
- elsif respond_to? :parent and parent.respond_to? :engine
- parent.engine
- else
- self.class.engine
- end
+ CostQuery
end
end
diff --git a/modules/reporting/lib/open_project/reporting/engine.rb b/modules/reporting/lib/open_project/reporting/engine.rb
index 8d854009c68..ab3d6827017 100644
--- a/modules/reporting/lib/open_project/reporting/engine.rb
+++ b/modules/reporting/lib/open_project/reporting/engine.rb
@@ -32,6 +32,8 @@ module OpenProject::Reporting
include OpenProject::Plugins::ActsAsOpEngine
+ config.eager_load_paths += Dir["#{config.root}/lib/"]
+
register 'openproject-reporting',
author_url: 'https://www.openproject.com',
bundled: true do
@@ -83,6 +85,11 @@ module OpenProject::Reporting
require 'open_project/reporting/hooks'
end
+ initializer 'reporting.load_patches' do
+ require_relative 'patches/big_decimal_patch'
+ require_relative 'patches/to_date_patch'
+ end
+
config.to_prepare do
require_dependency 'report/walker'
require_dependency 'report/transformer'
diff --git a/modules/reporting_engine/lib/reporting_engine/patches/big_decimal_patch.rb b/modules/reporting/lib/open_project/reporting/patches/big_decimal_patch.rb
similarity index 96%
rename from modules/reporting_engine/lib/reporting_engine/patches/big_decimal_patch.rb
rename to modules/reporting/lib/open_project/reporting/patches/big_decimal_patch.rb
index 67b4e7bfc2e..c3aa6b52b64 100644
--- a/modules/reporting_engine/lib/reporting_engine/patches/big_decimal_patch.rb
+++ b/modules/reporting/lib/open_project/reporting/patches/big_decimal_patch.rb
@@ -26,7 +26,7 @@
# See docs/COPYRIGHT.rdoc for more details.
#++
-module ReportingEngine::Patches::BigDecimalPatch
+module OpenProject::Reporting::Patches::BigDecimalPatch
class BigDecimal
def to_d; self end
end
diff --git a/modules/reporting_engine/lib/reporting_engine/patches/to_date_patch.rb b/modules/reporting/lib/open_project/reporting/patches/to_date_patch.rb
similarity index 96%
rename from modules/reporting_engine/lib/reporting_engine/patches/to_date_patch.rb
rename to modules/reporting/lib/open_project/reporting/patches/to_date_patch.rb
index 0286bc8b9da..75caf97abec 100644
--- a/modules/reporting_engine/lib/reporting_engine/patches/to_date_patch.rb
+++ b/modules/reporting/lib/open_project/reporting/patches/to_date_patch.rb
@@ -28,7 +28,7 @@
require 'date'
-module ReportingEngine::Patches::ToDatePatch
+module OpenProject::Reporting::Patches::ToDatePatch
module StringAndNil
::String.send(:include, self)
::NilClass.send(:include, self)
diff --git a/modules/reporting_engine/lib/report/chainable.rb b/modules/reporting/lib/report/chainable.rb
similarity index 96%
rename from modules/reporting_engine/lib/report/chainable.rb
rename to modules/reporting/lib/report/chainable.rb
index 034647095c5..dfee016504a 100644
--- a/modules/reporting_engine/lib/report/chainable.rb
+++ b/modules/reporting/lib/report/chainable.rb
@@ -26,9 +26,9 @@
# See docs/COPYRIGHT.rdoc for more details.
#++
-# Provides convinience layer and logic shared between GroupBy::Base and Filter::Base.
+# Provides convenience layer and logic shared between GroupBy::Base and Filter::Base.
# Implements a double linked list (FIXME: is that the correct term?).
-class Report < ApplicationRecord
+module Report
class Chainable
include Enumerable
include Report::QueryUtils
@@ -51,9 +51,9 @@ class Report < ApplicationRecord
end
def self.base?
- superclass == engine::Chainable or self == engine::Chainable or
+ superclass == Report::Chainable or self == Report::Chainable or
superclass == Chainable or self == Chainable or
- self == engine::Filter::Base or self == engine::GroupBy::Base
+ self == Report::Filter::Base or self == Report::GroupBy::Base
end
def self.base
@@ -178,10 +178,6 @@ class Report < ApplicationRecord
clear
end
- def to_a
- cached :compute_to_a
- end
-
def compute_to_a
[[self.class.field, @options], *child.try(:to_a)].compact
end
diff --git a/modules/reporting_engine/lib/report/filter.rb b/modules/reporting/lib/report/filter.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/filter.rb
rename to modules/reporting/lib/report/filter.rb
diff --git a/modules/reporting_engine/lib/report/filter/base.rb b/modules/reporting/lib/report/filter/base.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/filter/base.rb
rename to modules/reporting/lib/report/filter/base.rb
diff --git a/modules/reporting_engine/lib/report/filter/multi_choice.rb b/modules/reporting/lib/report/filter/multi_choice.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/filter/multi_choice.rb
rename to modules/reporting/lib/report/filter/multi_choice.rb
diff --git a/modules/reporting_engine/lib/report/filter/no_filter.rb b/modules/reporting/lib/report/filter/no_filter.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/filter/no_filter.rb
rename to modules/reporting/lib/report/filter/no_filter.rb
diff --git a/modules/reporting_engine/lib/report/group_by.rb b/modules/reporting/lib/report/group_by.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/group_by.rb
rename to modules/reporting/lib/report/group_by.rb
diff --git a/modules/reporting_engine/lib/report/group_by/base.rb b/modules/reporting/lib/report/group_by/base.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/group_by/base.rb
rename to modules/reporting/lib/report/group_by/base.rb
diff --git a/modules/reporting_engine/lib/report/group_by/ruby_aggregation.rb b/modules/reporting/lib/report/group_by/ruby_aggregation.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/group_by/ruby_aggregation.rb
rename to modules/reporting/lib/report/group_by/ruby_aggregation.rb
diff --git a/modules/reporting_engine/lib/report/group_by/singleton_value.rb b/modules/reporting/lib/report/group_by/singleton_value.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/group_by/singleton_value.rb
rename to modules/reporting/lib/report/group_by/singleton_value.rb
diff --git a/modules/reporting_engine/lib/report/group_by/sql_aggregation.rb b/modules/reporting/lib/report/group_by/sql_aggregation.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/group_by/sql_aggregation.rb
rename to modules/reporting/lib/report/group_by/sql_aggregation.rb
diff --git a/modules/reporting_engine/lib/report/inherited_attribute.rb b/modules/reporting/lib/report/inherited_attribute.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/inherited_attribute.rb
rename to modules/reporting/lib/report/inherited_attribute.rb
diff --git a/modules/reporting_engine/lib/report/operator.rb b/modules/reporting/lib/report/operator.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/operator.rb
rename to modules/reporting/lib/report/operator.rb
diff --git a/modules/reporting_engine/lib/report/query_utils.rb b/modules/reporting/lib/report/query_utils.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/query_utils.rb
rename to modules/reporting/lib/report/query_utils.rb
diff --git a/modules/reporting_engine/lib/report/result.rb b/modules/reporting/lib/report/result.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/result.rb
rename to modules/reporting/lib/report/result.rb
diff --git a/modules/reporting_engine/lib/report/sql_statement.rb b/modules/reporting/lib/report/sql_statement.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/sql_statement.rb
rename to modules/reporting/lib/report/sql_statement.rb
diff --git a/modules/reporting_engine/lib/report/table.rb b/modules/reporting/lib/report/table.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/table.rb
rename to modules/reporting/lib/report/table.rb
diff --git a/modules/reporting_engine/lib/report/transformer.rb b/modules/reporting/lib/report/transformer.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/transformer.rb
rename to modules/reporting/lib/report/transformer.rb
diff --git a/modules/reporting_engine/lib/report/validation.rb b/modules/reporting/lib/report/validation.rb
similarity index 93%
rename from modules/reporting_engine/lib/report/validation.rb
rename to modules/reporting/lib/report/validation.rb
index 4a3b043980d..2cc7da2ea3d 100644
--- a/modules/reporting_engine/lib/report/validation.rb
+++ b/modules/reporting/lib/report/validation.rb
@@ -38,7 +38,7 @@ module Report::Validation
def register_validation(val_method)
const_name = val_method.to_s.camelize
begin
- val_module = engine::Validation.const_get const_name
+ val_module = Report::Validation.const_get const_name
singleton_class.send(:include, val_module)
val_method = 'validate_' + val_method.to_s.pluralize
if method(val_method)
@@ -47,7 +47,7 @@ module Report::Validation
warn "#{val_module.name} does not define #{val_method}"
end
rescue NameError
- warn "No Module #{engine}::Validation::#{const_name} found to validate #{val_method}"
+ warn "No Module Report::Validation::#{const_name} found to validate #{val_method}"
end
self
end
diff --git a/modules/reporting_engine/lib/report/validation/dates.rb b/modules/reporting/lib/report/validation/dates.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/validation/dates.rb
rename to modules/reporting/lib/report/validation/dates.rb
diff --git a/modules/reporting_engine/lib/report/validation/integers.rb b/modules/reporting/lib/report/validation/integers.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/validation/integers.rb
rename to modules/reporting/lib/report/validation/integers.rb
diff --git a/modules/reporting_engine/lib/report/walker.rb b/modules/reporting/lib/report/walker.rb
similarity index 100%
rename from modules/reporting_engine/lib/report/walker.rb
rename to modules/reporting/lib/report/walker.rb
diff --git a/modules/reporting_engine/lib/widget/base.rb b/modules/reporting/lib/widget/base.rb
similarity index 98%
rename from modules/reporting_engine/lib/widget/base.rb
rename to modules/reporting/lib/widget/base.rb
index c6674537c5d..280fca5dc56 100644
--- a/modules/reporting_engine/lib/widget/base.rb
+++ b/modules/reporting/lib/widget/base.rb
@@ -28,9 +28,8 @@
require 'digest/sha1'
-require_dependency 'reporting_widget'
module ::Widget
- class Base < ::ReportingWidget
+ class Base < Widget::ReportingWidget
attr_reader :engine, :output
attr_accessor :request
diff --git a/modules/reporting_engine/lib/widget/controls.rb b/modules/reporting/lib/widget/controls.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/controls.rb
rename to modules/reporting/lib/widget/controls.rb
diff --git a/modules/reporting_engine/lib/widget/controls/apply.rb b/modules/reporting/lib/widget/controls/apply.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/controls/apply.rb
rename to modules/reporting/lib/widget/controls/apply.rb
diff --git a/modules/reporting_engine/lib/widget/controls/clear.rb b/modules/reporting/lib/widget/controls/clear.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/controls/clear.rb
rename to modules/reporting/lib/widget/controls/clear.rb
diff --git a/modules/reporting_engine/lib/widget/controls/delete.rb b/modules/reporting/lib/widget/controls/delete.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/controls/delete.rb
rename to modules/reporting/lib/widget/controls/delete.rb
diff --git a/modules/reporting_engine/lib/widget/controls/query_name.rb b/modules/reporting/lib/widget/controls/query_name.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/controls/query_name.rb
rename to modules/reporting/lib/widget/controls/query_name.rb
diff --git a/modules/reporting_engine/lib/widget/controls/save.rb b/modules/reporting/lib/widget/controls/save.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/controls/save.rb
rename to modules/reporting/lib/widget/controls/save.rb
diff --git a/modules/reporting_engine/lib/widget/controls/save_as.rb b/modules/reporting/lib/widget/controls/save_as.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/controls/save_as.rb
rename to modules/reporting/lib/widget/controls/save_as.rb
diff --git a/modules/reporting_engine/lib/widget/filters.rb b/modules/reporting/lib/widget/filters.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/filters.rb
rename to modules/reporting/lib/widget/filters.rb
diff --git a/modules/reporting_engine/lib/widget/filters/base.rb b/modules/reporting/lib/widget/filters/base.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/filters/base.rb
rename to modules/reporting/lib/widget/filters/base.rb
diff --git a/modules/reporting_engine/lib/widget/filters/date.rb b/modules/reporting/lib/widget/filters/date.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/filters/date.rb
rename to modules/reporting/lib/widget/filters/date.rb
diff --git a/modules/reporting_engine/lib/widget/filters/heavy.rb b/modules/reporting/lib/widget/filters/heavy.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/filters/heavy.rb
rename to modules/reporting/lib/widget/filters/heavy.rb
diff --git a/modules/reporting_engine/lib/widget/filters/label.rb b/modules/reporting/lib/widget/filters/label.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/filters/label.rb
rename to modules/reporting/lib/widget/filters/label.rb
diff --git a/modules/reporting_engine/lib/widget/filters/multi_choice.rb b/modules/reporting/lib/widget/filters/multi_choice.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/filters/multi_choice.rb
rename to modules/reporting/lib/widget/filters/multi_choice.rb
diff --git a/modules/reporting_engine/lib/widget/filters/multi_values.rb b/modules/reporting/lib/widget/filters/multi_values.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/filters/multi_values.rb
rename to modules/reporting/lib/widget/filters/multi_values.rb
diff --git a/modules/reporting_engine/lib/widget/filters/operators.rb b/modules/reporting/lib/widget/filters/operators.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/filters/operators.rb
rename to modules/reporting/lib/widget/filters/operators.rb
diff --git a/modules/reporting_engine/lib/widget/filters/option.rb b/modules/reporting/lib/widget/filters/option.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/filters/option.rb
rename to modules/reporting/lib/widget/filters/option.rb
diff --git a/modules/reporting_engine/lib/widget/filters/remove_button.rb b/modules/reporting/lib/widget/filters/remove_button.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/filters/remove_button.rb
rename to modules/reporting/lib/widget/filters/remove_button.rb
diff --git a/modules/reporting_engine/lib/widget/filters/text_box.rb b/modules/reporting/lib/widget/filters/text_box.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/filters/text_box.rb
rename to modules/reporting/lib/widget/filters/text_box.rb
diff --git a/modules/reporting_engine/lib/widget/group_bys.rb b/modules/reporting/lib/widget/group_bys.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/group_bys.rb
rename to modules/reporting/lib/widget/group_bys.rb
diff --git a/modules/reporting_engine/lib/reporting_widget.rb b/modules/reporting/lib/widget/reporting_widget.rb
similarity index 91%
rename from modules/reporting_engine/lib/reporting_widget.rb
rename to modules/reporting/lib/widget/reporting_widget.rb
index 9c55817806f..86083f611d1 100644
--- a/modules/reporting_engine/lib/reporting_widget.rb
+++ b/modules/reporting/lib/widget/reporting_widget.rb
@@ -28,7 +28,7 @@
require_dependency 'reporting_helper'
-class ReportingWidget < ActionView::Base
+class Widget::ReportingWidget < ActionView::Base
include ActionView::Helpers::TagHelper
include ActionView::Helpers::AssetTagHelper
include ActionView::Helpers::FormTagHelper
@@ -73,5 +73,5 @@ class ReportingWidget < ActionView::Base
end
end
-ActionView::Base.send(:include, ReportingWidget::RenderWidgetInstanceMethods)
-ActionController::Base.send(:include, ReportingWidget::RenderWidgetInstanceMethods)
+ActionView::Base.send(:include, Widget::ReportingWidget::RenderWidgetInstanceMethods)
+ActionController::Base.send(:include, Widget::ReportingWidget::RenderWidgetInstanceMethods)
diff --git a/modules/reporting_engine/lib/widget/settings.rb b/modules/reporting/lib/widget/settings.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/settings.rb
rename to modules/reporting/lib/widget/settings.rb
diff --git a/modules/reporting_engine/lib/widget/settings/fieldset.rb b/modules/reporting/lib/widget/settings/fieldset.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/settings/fieldset.rb
rename to modules/reporting/lib/widget/settings/fieldset.rb
diff --git a/modules/reporting_engine/lib/widget/table.rb b/modules/reporting/lib/widget/table.rb
similarity index 96%
rename from modules/reporting_engine/lib/widget/table.rb
rename to modules/reporting/lib/widget/table.rb
index 5dc78ee299c..eda1df6cea5 100644
--- a/modules/reporting_engine/lib/widget/table.rb
+++ b/modules/reporting/lib/widget/table.rb
@@ -35,7 +35,7 @@ class Widget::Table < Widget::Base
attr_accessor :mapping
def initialize(query)
- raise ArgumentError, 'Tables only work on Reports!' unless query.is_a? Report
+ raise ArgumentError, 'Tables only work on CostQuery!' unless query.is_a? CostQuery
super
end
diff --git a/modules/reporting_engine/lib/widget/table/report_table.rb b/modules/reporting/lib/widget/table/report_table.rb
similarity index 100%
rename from modules/reporting_engine/lib/widget/table/report_table.rb
rename to modules/reporting/lib/widget/table/report_table.rb
diff --git a/modules/reporting/openproject-reporting.gemspec b/modules/reporting/openproject-reporting.gemspec
index 1d4ff030b69..6a1ad5ff21e 100644
--- a/modules/reporting/openproject-reporting.gemspec
+++ b/modules/reporting/openproject-reporting.gemspec
@@ -13,5 +13,4 @@ Gem::Specification.new do |s|
s.test_files = Dir["spec/**/*"]
s.add_dependency "costs"
- s.add_dependency "reporting_engine"
end
diff --git a/modules/reporting/spec/models/cost_query/chaining_spec.rb b/modules/reporting/spec/models/cost_query/chaining_spec.rb
index 30989023636..3227d3b67fb 100644
--- a/modules/reporting/spec/models/cost_query/chaining_spec.rb
+++ b/modules/reporting/spec/models/cost_query/chaining_spec.rb
@@ -102,18 +102,6 @@ describe CostQuery, type: :model, reporting_query_helper: true do
expect(@query.chain.top.type).to eq(:row)
end
- it "should place columns in front of filters" do
- skip "This fails unreproducible on travis" if ENV['CI']
- @query.column :project_id
- expect(@query.chain.bottom.parent.type).to eq(:column)
- expect(@query.chain.top.type).to eq(:column)
-
- @query.filter :project_id
- expect(@query.chain.bottom.parent).to be_a(CostQuery::Filter::ProjectId)
- expect(@query.chain.top).to be_a(CostQuery::GroupBy::Base)
- expect(@query.chain.top.type).to eq(:column)
- end
-
it "should return all filters, including the NoFilter" do
@query.filter :project_id
@query.group_by :project_id
@@ -203,7 +191,7 @@ describe CostQuery, type: :model, reporting_query_helper: true do
it "sets new top when prepending elements" do
current = @chain
10.times do
- old, current = current, CostQuery::Chainable.new(current)
+ old, current = current, Report::Chainable.new(current)
expect(old.top).to eq(current)
expect(@chain.top).to eq(current)
end
diff --git a/modules/reporting/spec/models/cost_query/validation_spec.rb b/modules/reporting/spec/models/cost_query/validation_spec.rb
index b14ff56c460..8c8a851a0a9 100644
--- a/modules/reporting/spec/models/cost_query/validation_spec.rb
+++ b/modules/reporting/spec/models/cost_query/validation_spec.rb
@@ -30,7 +30,7 @@ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
describe "CostQuery::Validation", type: :model do
class CostQuery::SomeBase
- include CostQuery::Validation
+ include Report::Validation
def engine
CostQuery
diff --git a/modules/reporting/spec/models/cost_query/walker_spec.rb b/modules/reporting/spec/models/cost_query/walker_spec.rb
index 613c48ea8e4..55054075703 100644
--- a/modules/reporting/spec/models/cost_query/walker_spec.rb
+++ b/modules/reporting/spec/models/cost_query/walker_spec.rb
@@ -38,7 +38,7 @@ describe CostQuery, type: :model, reporting_query_helper: true do
FactoryBot.create(:time_entry, work_package: work_package, project: project)
end
- describe CostQuery::Transformer do
+ describe Report::Transformer do
it "should walk down row_first" do
@query.group_by :work_package_id
@query.column :tweek
diff --git a/modules/reporting_engine/config/locales/crowdin/ar.yml b/modules/reporting_engine/config/locales/crowdin/ar.yml
deleted file mode 100644
index c69500a5a0a..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/ar.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-ar:
- description_drill_down: "أظهر التفاصيل"
- label_click_to_edit: "اضغط للتعديل."
- label_columns: "الأعمدة"
- label_count: "العد"
- label_filter: "فلترة"
- label_filter_add: "إضافة عامل تصفية"
- label_filter_plural: "عوامل التصفية"
- label_greater: ">"
- label_group_by: "مجموعة من"
- label_group_by_add: "أضِف مجموعة بحسب السّمة"
- label_inactive: "<<غير فعّال>>"
- label_less: "<"
- label_no: "لا"
- label_none: "(لا توجد بيانات)"
- label_progress_bar_explanation: "جاري إعداد التقرير..."
- label_really_delete_question: "هل أنت متأكد من أنك تريد حذف هذا التقرير؟"
- label_report: "تقرير"
- label_rows: "الصفوف"
- label_saving: "جاري الحفظ ..."
- label_sum: "المجموع"
- label_yes: "نعم"
- load_query_question: "سيكون للتقرير %{size} من خلايا الجدول، وقد يستغرق بعض الوقت للتقديم. هل ما زلت تريد المحاولة لتقديمه؟"
- units: "الوحدات"
- validation_failure_date: "ليس تاريخًا صالحًا"
- validation_failure_integer: "ليس عددًا صحيحًا صالحًا"
- reporting:
- group_by:
- selected_columns: "Selected columns"
- selected_rows: "Selected rows"
diff --git a/modules/reporting_engine/config/locales/crowdin/bg.yml b/modules/reporting_engine/config/locales/crowdin/bg.yml
deleted file mode 100644
index 7cadcf27cf2..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/bg.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-bg:
- description_drill_down: "Show details"
- label_click_to_edit: "Click to edit."
- label_columns: "Колони"
- label_count: "Count"
- label_filter: "Филтър"
- label_filter_add: "Add Filter"
- label_filter_plural: "Филтри"
- label_greater: ">"
- label_group_by: "Групиране по"
- label_group_by_add: "Add Group-by Attribute"
- label_inactive: "«inactive»"
- label_less: "<"
- label_no: "Не"
- label_none: "(no data)"
- label_progress_bar_explanation: "Generating report..."
- label_really_delete_question: "Are you sure you want to delete this report?"
- label_report: "Отчет"
- label_rows: "Rows"
- label_saving: "Saving ..."
- label_sum: "Sum"
- label_yes: "Да"
- load_query_question: "Report will have %{size} table cells and may take some time to render. Do you still want to try rendering it?"
- units: "Units"
- validation_failure_date: "is not a valid date"
- validation_failure_integer: "is not a valid integer"
- reporting:
- group_by:
- selected_columns: "Selected columns"
- selected_rows: "Selected rows"
diff --git a/modules/reporting_engine/config/locales/crowdin/ca.yml b/modules/reporting_engine/config/locales/crowdin/ca.yml
deleted file mode 100644
index 1f6294b1197..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/ca.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-ca:
- description_drill_down: "Mostra els detalls"
- label_click_to_edit: "Feu clic per editar."
- label_columns: "Columnes"
- label_count: "Recompte"
- label_filter: "Filtre"
- label_filter_add: "Afegir filtre"
- label_filter_plural: "Filtres"
- label_greater: ">"
- label_group_by: "Agrupa per"
- label_group_by_add: "Afegir grup per atribut"
- label_inactive: "«inactiu»"
- label_less: "<"
- label_no: "No"
- label_none: "(no hi ha dades)"
- label_progress_bar_explanation: "Generant informe..."
- label_really_delete_question: "Esteu segur que voleu suprimir aquest informe?"
- label_report: "Informe"
- label_rows: "Files"
- label_saving: "Desant ..."
- label_sum: "Suma"
- label_yes: "Sí"
- load_query_question: "L'informe tindrà %{size} de cel·les i pot trigar algun temps per generar-se. Encara voleu intentar la generació?"
- units: "Unitats"
- validation_failure_date: "no és una data vàlida"
- validation_failure_integer: "no és un enter vàlid"
- reporting:
- group_by:
- selected_columns: "Columnes seleccionades"
- selected_rows: "Files seleccionades"
diff --git a/modules/reporting_engine/config/locales/crowdin/cs.yml b/modules/reporting_engine/config/locales/crowdin/cs.yml
deleted file mode 100644
index 378e52ba98f..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/cs.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-cs:
- description_drill_down: "Zobrazit detaily"
- label_click_to_edit: "Kliekněte pro editaci."
- label_columns: "Sloupce"
- label_count: "Počet"
- label_filter: "Filtr"
- label_filter_add: "Přidat filtr"
- label_filter_plural: "Filtry"
- label_greater: ">"
- label_group_by: "Seskupit podle"
- label_group_by_add: "Add Group-by Attribute"
- label_inactive: "«inactive»"
- label_less: "<"
- label_no: "Ne"
- label_none: "(žádná data)"
- label_progress_bar_explanation: "Generování sestavy..."
- label_really_delete_question: "Are you sure you want to delete this report?"
- label_report: "Hlášení"
- label_rows: "Řádky"
- label_saving: "Saving ..."
- label_sum: "Sum"
- label_yes: "Ano"
- load_query_question: "Report will have %{size} table cells and may take some time to render. Do you still want to try rendering it?"
- units: "Jednotky"
- validation_failure_date: "není platné datum"
- validation_failure_integer: "není platné číslo"
- reporting:
- group_by:
- selected_columns: "Vybrané sloupce"
- selected_rows: "Vybrané řádky"
diff --git a/modules/reporting_engine/config/locales/crowdin/da.yml b/modules/reporting_engine/config/locales/crowdin/da.yml
deleted file mode 100644
index 34efbb98ced..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/da.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-da:
- description_drill_down: "Vis detaljer"
- label_click_to_edit: "Klik for at redigere."
- label_columns: "Kolonner"
- label_count: "Antal"
- label_filter: "Filter"
- label_filter_add: "Tilføj filter"
- label_filter_plural: "Filtre"
- label_greater: ">"
- label_group_by: "Gruppér efter"
- label_group_by_add: "Tilføj Gruppér efter-attribut"
- label_inactive: "«inaktiv»"
- label_less: "<"
- label_no: "Nej"
- label_none: "(ingen data)"
- label_progress_bar_explanation: "Genererer rapport..."
- label_really_delete_question: "Sikker på, at du ønsker denne rapport slettet?"
- label_report: "Rapport"
- label_rows: "Rækker"
- label_saving: "Gemmer ..."
- label_sum: "Sum"
- label_yes: "Ja"
- load_query_question: "Rapporten vil indeholde %{size} celler og kan tage nogen tid at danne. Fortsæt alligevel?"
- units: "Enheder"
- validation_failure_date: "er en ugyldig dato"
- validation_failure_integer: "er et ugyldigt heltal"
- reporting:
- group_by:
- selected_columns: "Selected columns"
- selected_rows: "Selected rows"
diff --git a/modules/reporting_engine/config/locales/crowdin/de.yml b/modules/reporting_engine/config/locales/crowdin/de.yml
deleted file mode 100644
index 32aa563fec1..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/de.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-de:
- description_drill_down: "Details anzeigen"
- label_click_to_edit: "Zum Bearbeiten hier klicken."
- label_columns: "Spalten"
- label_count: "Anzahl"
- label_filter: "Filter"
- label_filter_add: "Filter hinzufügen"
- label_filter_plural: "Filter"
- label_greater: ">"
- label_group_by: "Gruppiere Ergebnisse"
- label_group_by_add: "Gruppierung hinzufügen"
- label_inactive: "«nicht aktiviert»"
- label_less: "<"
- label_no: "Nein"
- label_none: "(Keine Angabe)"
- label_progress_bar_explanation: "Report wird erstellt ..."
- label_really_delete_question: "Diesen Report wirklich löschen?"
- label_report: "Report"
- label_rows: "Zeilen"
- label_saving: "Speichern ..."
- label_sum: "Summe"
- label_yes: "Ja"
- load_query_question: "Der Report wird %{size} Tabellen-Zellen haben, was sehr rechenintensiv sein kann. Wollen Sie dennoch versuchen, den Report durch zu führen?"
- units: "Einheiten"
- validation_failure_date: "ist kein gültiges Datum"
- validation_failure_integer: "ist keine ganze Zahl"
- reporting:
- group_by:
- selected_columns: "Ausgewählte Spalten"
- selected_rows: "Ausgewählte Zeilen"
diff --git a/modules/reporting_engine/config/locales/crowdin/el.yml b/modules/reporting_engine/config/locales/crowdin/el.yml
deleted file mode 100644
index 5b19379ec4f..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/el.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-el:
- description_drill_down: "Εμφάνιση λεπτομερειών"
- label_click_to_edit: "Κάντε κλικ για επεξεργασία."
- label_columns: "Στήλες"
- label_count: "Πλήθος"
- label_filter: "Φίλτρο"
- label_filter_add: "Προσθήκη Φίλτρου"
- label_filter_plural: "Φίλτρα"
- label_greater: ">"
- label_group_by: "Ομαδοποίηση κατά"
- label_group_by_add: "Προσθήκη χαρακτηριστικού Ομαδοποίησης-κατά"
- label_inactive: "«αδρανές»"
- label_less: "<"
- label_no: "Όχι"
- label_none: "(δεν υπάρχουν δεδομένα)"
- label_progress_bar_explanation: "Δημιουργία αναφοράς..."
- label_really_delete_question: "Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτήν την αναφορά;"
- label_report: "Αναφορά"
- label_rows: "Σειρές"
- label_saving: "Αποθήκευση ..."
- label_sum: "Άθροισμα"
- label_yes: "Ναι"
- load_query_question: "Η αναφορά θα έχει %{size} κελιά πίνακα και μπορεί να πάρει κάποιο χρόνο για να γίνει. Θέλετε ακόμα να δοκιμάσετε την απόδοση;"
- units: "Μονάδες"
- validation_failure_date: "δεν είναι έγκυρη ημερομηνία"
- validation_failure_integer: "δεν είναι έγκυρος ακέραιος αριθμός"
- reporting:
- group_by:
- selected_columns: "Επιλεγμένες στήλες"
- selected_rows: "Επιλεγμένες σειρές"
diff --git a/modules/reporting_engine/config/locales/crowdin/es.yml b/modules/reporting_engine/config/locales/crowdin/es.yml
deleted file mode 100644
index 197089a32f7..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/es.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-es:
- description_drill_down: "Ver detalles"
- label_click_to_edit: "Clic para editar."
- label_columns: "Columnas"
- label_count: "Contador"
- label_filter: "Filtro"
- label_filter_add: "Añadir filtro"
- label_filter_plural: "Filtros"
- label_greater: ">"
- label_group_by: "Agrupar por"
- label_group_by_add: "Añadir atributo de agrupación"
- label_inactive: "«inactivo»"
- label_less: "<"
- label_no: "No"
- label_none: "(sin datos)"
- label_progress_bar_explanation: "Generando informe..."
- label_really_delete_question: "¿Está seguro que desea eliminar este informe?"
- label_report: "Informe"
- label_rows: "Filas"
- label_saving: "Guardando ..."
- label_sum: "Suma"
- label_yes: "Sí"
- load_query_question: "El informe tendrá %{size} celdas de tabla y puede tardar algún tiempo en generarse. ¿Desea generarlo de todas formas?"
- units: "Unidades"
- validation_failure_date: "no es una fecha válida"
- validation_failure_integer: "no es un entero válido"
- reporting:
- group_by:
- selected_columns: "Columnas seleccionadas"
- selected_rows: "Filas seleccionadas"
diff --git a/modules/reporting_engine/config/locales/crowdin/fi.yml b/modules/reporting_engine/config/locales/crowdin/fi.yml
deleted file mode 100644
index 30518fd3a51..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/fi.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-fi:
- description_drill_down: "Näytä tiedot"
- label_click_to_edit: "Muokkaa napsauttamalla tätä."
- label_columns: "Sarakkeet"
- label_count: "Määrä"
- label_filter: "Suodata"
- label_filter_add: "Lisää suodatin"
- label_filter_plural: "Suodattimet"
- label_greater: ">"
- label_group_by: "Ryhmittely"
- label_group_by_add: "Lisää ryhmittely-valinta"
- label_inactive: "«passiivinen»"
- label_less: "<"
- label_no: "Ei"
- label_none: "(ei tietoja)"
- label_progress_bar_explanation: "Luodaan raporttia..."
- label_really_delete_question: "Haluat varmasti poistaa tämän raportin?"
- label_report: "Raportti"
- label_rows: "Rivit"
- label_saving: "Tallennetaan..."
- label_sum: "Yhteensä"
- label_yes: "Kyllä"
- load_query_question: "Raportissa tulee olemaan %{size} solua ja sen luominen voi kentää jonkin aikaa. Haluatko silti kokeilla sen luomista?"
- units: "Yksiköt"
- validation_failure_date: "ei ole kelvollinen päivämäärä"
- validation_failure_integer: "ei ole kelvollinen kokonaisluku"
- reporting:
- group_by:
- selected_columns: "Valitut sarakkeet"
- selected_rows: "Valitut rivit"
diff --git a/modules/reporting_engine/config/locales/crowdin/fil.yml b/modules/reporting_engine/config/locales/crowdin/fil.yml
deleted file mode 100644
index e78f7b1e956..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/fil.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-fil:
- description_drill_down: "Show details"
- label_click_to_edit: "Click to edit."
- label_columns: "Mga hanay"
- label_count: "Count"
- label_filter: "Salain"
- label_filter_add: "Add Filter"
- label_filter_plural: "Mga nasala"
- label_greater: ">"
- label_group_by: "Pangkat sa"
- label_group_by_add: "Add Group-by Attribute"
- label_inactive: "«inactive»"
- label_less: "<"
- label_no: "Hindi"
- label_none: "(no data)"
- label_progress_bar_explanation: "Generating report..."
- label_really_delete_question: "Are you sure you want to delete this report?"
- label_report: "Ulat"
- label_rows: "Rows"
- label_saving: "Saving ..."
- label_sum: "Sum"
- label_yes: "Oo"
- load_query_question: "Report will have %{size} table cells and may take some time to render. Do you still want to try rendering it?"
- units: "Units"
- validation_failure_date: "is not a valid date"
- validation_failure_integer: "is not a valid integer"
- reporting:
- group_by:
- selected_columns: "Selected columns"
- selected_rows: "Selected rows"
diff --git a/modules/reporting_engine/config/locales/crowdin/fr.yml b/modules/reporting_engine/config/locales/crowdin/fr.yml
deleted file mode 100644
index cb31e611bf7..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/fr.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-fr:
- description_drill_down: "Afficher les détails"
- label_click_to_edit: "Cliquez pour modifier."
- label_columns: "Colonnes"
- label_count: "Décompte"
- label_filter: "Filtrer"
- label_filter_add: "Ajouter un filtre"
- label_filter_plural: "Filtres"
- label_greater: ">"
- label_group_by: "Grouper par"
- label_group_by_add: "Ajoutez l'attribut \"Grouper par\""
- label_inactive: "« inactif »"
- label_less: "<"
- label_no: "Non"
- label_none: "(aucune donnée)"
- label_progress_bar_explanation: "Rapport en cours de génération..."
- label_really_delete_question: "Êtes-vous sûr de vouloir supprimer ce rapport ?"
- label_report: "Rapport"
- label_rows: "Lignes"
- label_saving: "Enregistrement en cours …"
- label_sum: "Total"
- label_yes: "Oui"
- load_query_question: "Le rapport contiendra un tableau de %{size} cellules et peut prendre un certain temps à être généré. Voulez-vous quand même le générer ?"
- units: "Unités"
- validation_failure_date: "n'est pas une date valide"
- validation_failure_integer: "n'est pas un nombre entier valide"
- reporting:
- group_by:
- selected_columns: "Colonnes sélectionnées"
- selected_rows: "Lignes sélectionnées"
diff --git a/modules/reporting_engine/config/locales/crowdin/hr.yml b/modules/reporting_engine/config/locales/crowdin/hr.yml
deleted file mode 100644
index c0e1d259c1a..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/hr.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-hr:
- description_drill_down: "Prikaži detalje"
- label_click_to_edit: "Kliknite za uređivanje."
- label_columns: "Stupci"
- label_count: "Zbroji"
- label_filter: "Filter"
- label_filter_add: "Dodaj filter"
- label_filter_plural: "Filteri"
- label_greater: ">"
- label_group_by: "Grupiraj po"
- label_group_by_add: "Dodaj grupu - po Atributu"
- label_inactive: "«neaktivan»"
- label_less: "<"
- label_no: "Ne"
- label_none: "(nema podataka)"
- label_progress_bar_explanation: "Generiranje izvješća..."
- label_really_delete_question: "Da li ste sigurni da želite izbrisati ovo izvješće?"
- label_report: "Izvješće"
- label_rows: "Redci"
- label_saving: "Spremanje ..."
- label_sum: "Zbroj"
- label_yes: "Da"
- load_query_question: "Izvješće će imati %{size} veličinu tablice te će biti potrebno određeno vrijeme za prikaz. Da li želite prikazati ga i dalje?"
- units: "Jedinice"
- validation_failure_date: "nije valjan datum"
- validation_failure_integer: "nije valjan cijeli broj"
- reporting:
- group_by:
- selected_columns: "Selected columns"
- selected_rows: "Selected rows"
diff --git a/modules/reporting_engine/config/locales/crowdin/hu.yml b/modules/reporting_engine/config/locales/crowdin/hu.yml
deleted file mode 100644
index df00958c88f..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/hu.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-hu:
- description_drill_down: "Részletek megjelenítése"
- label_click_to_edit: "Szerkesztéséhez kattintson ide."
- label_columns: "Oszlopok"
- label_count: "Darabszám"
- label_filter: "Szűrő"
- label_filter_add: "Szűrő hozzáadása"
- label_filter_plural: "Szürő"
- label_greater: ">"
- label_group_by: "Csoportosítás"
- label_group_by_add: "Csoportosítási tulajdonság hozzáadása"
- label_inactive: "«inaktív»"
- label_less: "<"
- label_no: "Nem"
- label_none: "(nincs adat)"
- label_progress_bar_explanation: "Jelentés létrehozása..."
- label_really_delete_question: "Biztosan törli ezt a jelentést?"
- label_report: "Jelentés"
- label_rows: "Sorok"
- label_saving: "Mentés..."
- label_sum: "Össz."
- label_yes: "Igen"
- load_query_question: "A jelentés %{size} cellát fog tartalmazni, így eltarthat egy ideig az elkészítése. Továbbra is el szeretné készíteni?"
- units: "Egységek"
- validation_failure_date: "nem érvényes dátum"
- validation_failure_integer: "nem érvényes egész szám"
- reporting:
- group_by:
- selected_columns: "A kijelölt oszlopok"
- selected_rows: "A kijelölt sorok"
diff --git a/modules/reporting_engine/config/locales/crowdin/id.yml b/modules/reporting_engine/config/locales/crowdin/id.yml
deleted file mode 100644
index fa7bc03e13b..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/id.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-id:
- description_drill_down: "Lihat detail"
- label_click_to_edit: "Klik untuk mengubah."
- label_columns: "Kolom"
- label_count: "Count"
- label_filter: "Filter"
- label_filter_add: "Add Filter"
- label_filter_plural: "Filter"
- label_greater: ">"
- label_group_by: "Pengelompokan"
- label_group_by_add: "Add Group-by Attribute"
- label_inactive: "«inactive»"
- label_less: "<"
- label_no: "No"
- label_none: "(no data)"
- label_progress_bar_explanation: "Membuat laporan..."
- label_really_delete_question: "Laporan akan dihapus, anda yakin?"
- label_report: "Laporan"
- label_rows: "Baris"
- label_saving: "Menyimpan ..."
- label_sum: "Total"
- label_yes: "Yes"
- load_query_question: "Proses laporan memiliki %{size} cell dan akan memakan waktu yang relatif lama. Apakah anda ingin melanjutkan?"
- units: "Unit"
- validation_failure_date: "validasi tanggal gagal"
- validation_failure_integer: "validasi bilangan bulat gagal"
- reporting:
- group_by:
- selected_columns: "Selected columns"
- selected_rows: "Selected rows"
diff --git a/modules/reporting_engine/config/locales/crowdin/it.yml b/modules/reporting_engine/config/locales/crowdin/it.yml
deleted file mode 100644
index 7e9825c88ae..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/it.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-it:
- description_drill_down: "Mostra dettagli"
- label_click_to_edit: "Premi per modificare."
- label_columns: "Colonne"
- label_count: "Conteggio"
- label_filter: "Filtro"
- label_filter_add: "Aggiungi filtro"
- label_filter_plural: "Filtri"
- label_greater: ">"
- label_group_by: "Raggruppa per"
- label_group_by_add: "Aggiungi l'attributo Group-by"
- label_inactive: "«inattivo»"
- label_less: "<"
- label_no: "No"
- label_none: "(nessun dato)"
- label_progress_bar_explanation: "Generazione Report..."
- label_really_delete_question: "Sei sicuro di voler cancellare questa segnalazione?"
- label_report: "Segnalano"
- label_rows: "Righe"
- label_saving: "Salvataggio in corso ..."
- label_sum: "Somma"
- label_yes: "Si"
- load_query_question: "Il report avrà le celle della tabella del %{size} e potrebbe essere necessario del tempo per eseguire il rendering. Vuoi ancora tentare di eseguirne il rendering?"
- units: "Unità di misura"
- validation_failure_date: "non è una data valida"
- validation_failure_integer: "non è un numero intero valido"
- reporting:
- group_by:
- selected_columns: "Colonne selezionate"
- selected_rows: "Righe selezionate"
diff --git a/modules/reporting_engine/config/locales/crowdin/ja.yml b/modules/reporting_engine/config/locales/crowdin/ja.yml
deleted file mode 100644
index 9a844cc21e2..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/ja.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-ja:
- description_drill_down: "詳細を表示"
- label_click_to_edit: "クリックして編集"
- label_columns: "列"
- label_count: "回数"
- label_filter: "フィルタ"
- label_filter_add: "フィルタを追加"
- label_filter_plural: "フィルタ"
- label_greater: ">"
- label_group_by: "グループ化"
- label_group_by_add: "グループ化属性を追加"
- label_inactive: "«非活動»"
- label_less: "<"
- label_no: "いいえ"
- label_none: "(データなし)"
- label_progress_bar_explanation: "レポートを生成中..."
- label_really_delete_question: "このレポートを削除してもよろしいですか?"
- label_report: "レポート"
- label_rows: "行"
- label_saving: "保存中…"
- label_sum: "合計"
- label_yes: "はい"
- load_query_question: "レポートは%{size}つセルを持つために、描画するに時間がかかる場合があります。描画してもよろしいですか?"
- units: "単位"
- validation_failure_date: "は有効な日付ではありません。"
- validation_failure_integer: "は有効な整数ではありません。"
- reporting:
- group_by:
- selected_columns: "選択された列"
- selected_rows: "選択された行"
diff --git a/modules/reporting_engine/config/locales/crowdin/js-ar.yml b/modules/reporting_engine/config/locales/crowdin/js-ar.yml
deleted file mode 100644
index a9c9264f5f8..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-ar.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-ar:
- js:
- reporting_engine:
- label_remove: "احذف"
- label_response_error: "كان هناك خطأ أثناء معالجة الطلب."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-bg.yml b/modules/reporting_engine/config/locales/crowdin/js-bg.yml
deleted file mode 100644
index a2dfe0227dd..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-bg.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-bg:
- js:
- reporting_engine:
- label_remove: "Изтрий"
- label_response_error: "There was an error handling the query."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-ca.yml b/modules/reporting_engine/config/locales/crowdin/js-ca.yml
deleted file mode 100644
index 16695be36bf..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-ca.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-ca:
- js:
- reporting_engine:
- label_remove: "Esborrar"
- label_response_error: "Hi ha un error manipulant la consulta."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-cs.yml b/modules/reporting_engine/config/locales/crowdin/js-cs.yml
deleted file mode 100644
index 66f55f6940e..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-cs.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-cs:
- js:
- reporting_engine:
- label_remove: "Odstranit"
- label_response_error: "Došlo k chybě zpracování dotazu."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-da.yml b/modules/reporting_engine/config/locales/crowdin/js-da.yml
deleted file mode 100644
index de1fc334d72..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-da.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-da:
- js:
- reporting_engine:
- label_remove: "Slet"
- label_response_error: "En fejl opstod under forespørgselshåndteringen."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-de.yml b/modules/reporting_engine/config/locales/crowdin/js-de.yml
deleted file mode 100644
index 1e5017035a3..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-de.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-de:
- js:
- reporting_engine:
- label_remove: "Löschen"
- label_response_error: "Bei der Bearbeitung der Anfrage ist ein Fehler aufgetreten."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-el.yml b/modules/reporting_engine/config/locales/crowdin/js-el.yml
deleted file mode 100644
index 062ccf1d737..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-el.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-el:
- js:
- reporting_engine:
- label_remove: "Διαγραφή"
- label_response_error: "Παρουσιάστηκε σφάλμα κατά το χειρισμό του ερωτήματος."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-es.yml b/modules/reporting_engine/config/locales/crowdin/js-es.yml
deleted file mode 100644
index e130ae2415e..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-es.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-es:
- js:
- reporting_engine:
- label_remove: "Borrar"
- label_response_error: "Se produjo un error procesando la consulta."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-fi.yml b/modules/reporting_engine/config/locales/crowdin/js-fi.yml
deleted file mode 100644
index 8d0436787a3..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-fi.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-fi:
- js:
- reporting_engine:
- label_remove: "Poista"
- label_response_error: "Kyselyn käsittely epäonnistui."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-fil.yml b/modules/reporting_engine/config/locales/crowdin/js-fil.yml
deleted file mode 100644
index 771148954d3..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-fil.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-fil:
- js:
- reporting_engine:
- label_remove: "Burahin"
- label_response_error: "There was an error handling the query."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-fr.yml b/modules/reporting_engine/config/locales/crowdin/js-fr.yml
deleted file mode 100644
index e7924e98ab3..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-fr.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-fr:
- js:
- reporting_engine:
- label_remove: "Supprimer"
- label_response_error: "Une erreur s'est produite lors du traitement de la requête."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-hr.yml b/modules/reporting_engine/config/locales/crowdin/js-hr.yml
deleted file mode 100644
index 4900ae3a496..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-hr.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-hr:
- js:
- reporting_engine:
- label_remove: "Obriši"
- label_response_error: "Dogodila se pogreška prilikom obrade upita."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-hu.yml b/modules/reporting_engine/config/locales/crowdin/js-hu.yml
deleted file mode 100644
index e033658c2e7..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-hu.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-hu:
- js:
- reporting_engine:
- label_remove: "Törlés"
- label_response_error: "Hiba lépett fel a lekérdezés kezelése közben."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-id.yml b/modules/reporting_engine/config/locales/crowdin/js-id.yml
deleted file mode 100644
index b7618808943..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-id.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-id:
- js:
- reporting_engine:
- label_remove: "Hapus"
- label_response_error: "There was an error handling the query."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-it.yml b/modules/reporting_engine/config/locales/crowdin/js-it.yml
deleted file mode 100644
index 7b789c5a36b..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-it.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-it:
- js:
- reporting_engine:
- label_remove: "Cancella"
- label_response_error: "Si è verificato un errore durante l'elaborazione della query."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-ja.yml b/modules/reporting_engine/config/locales/crowdin/js-ja.yml
deleted file mode 100644
index bce255223f1..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-ja.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-ja:
- js:
- reporting_engine:
- label_remove: "削除"
- label_response_error: "クエリを処理中にエラーが発生しました。"
diff --git a/modules/reporting_engine/config/locales/crowdin/js-ko.yml b/modules/reporting_engine/config/locales/crowdin/js-ko.yml
deleted file mode 100644
index 5f6e2a6b60b..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-ko.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-ko:
- js:
- reporting_engine:
- label_remove: "삭제"
- label_response_error: "쿼리 처리 중에 오류가 발생했습니다."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-lt.yml b/modules/reporting_engine/config/locales/crowdin/js-lt.yml
deleted file mode 100644
index a973479eea9..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-lt.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-lt:
- js:
- reporting_engine:
- label_remove: "Ištrinti"
- label_response_error: "Klaida apdorojant užklausą."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-nl.yml b/modules/reporting_engine/config/locales/crowdin/js-nl.yml
deleted file mode 100644
index 3a58ba33f9c..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-nl.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-nl:
- js:
- reporting_engine:
- label_remove: "Verwijderen"
- label_response_error: "Er is een fout opgetreden tijdens het verwerken van het verzoek."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-no.yml b/modules/reporting_engine/config/locales/crowdin/js-no.yml
deleted file mode 100644
index 1c11666f88c..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-no.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-"no":
- js:
- reporting_engine:
- label_remove: "Slett"
- label_response_error: "En feil oppstod under behandling av spørringen."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-pl.yml b/modules/reporting_engine/config/locales/crowdin/js-pl.yml
deleted file mode 100644
index 325f372ed90..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-pl.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-pl:
- js:
- reporting_engine:
- label_remove: "Usuń"
- label_response_error: "Wystąpił błąd podczas próby połączenia z serwerem."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-pt.yml b/modules/reporting_engine/config/locales/crowdin/js-pt.yml
deleted file mode 100644
index 9e1aef9b3ab..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-pt.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-pt:
- js:
- reporting_engine:
- label_remove: "Excluir"
- label_response_error: "Ocorreu um erro na manipulação da consulta."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-ro.yml b/modules/reporting_engine/config/locales/crowdin/js-ro.yml
deleted file mode 100644
index 9c3b01acf45..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-ro.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-ro:
- js:
- reporting_engine:
- label_remove: "Ștergere"
- label_response_error: "There was an error handling the query."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-ru.yml b/modules/reporting_engine/config/locales/crowdin/js-ru.yml
deleted file mode 100644
index 03a3db4c409..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-ru.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-ru:
- js:
- reporting_engine:
- label_remove: "Удалить"
- label_response_error: "Произошла ошибка при обработке запроса."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-sk.yml b/modules/reporting_engine/config/locales/crowdin/js-sk.yml
deleted file mode 100644
index 43a6c1d8e42..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-sk.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-sk:
- js:
- reporting_engine:
- label_remove: "Odstrániť"
- label_response_error: "Počas spracovania dotazu nastala chyba."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-sl.yml b/modules/reporting_engine/config/locales/crowdin/js-sl.yml
deleted file mode 100644
index d91433a6bf2..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-sl.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-sl:
- js:
- reporting_engine:
- label_remove: "Izbriši"
- label_response_error: "Pri obdelavi poizvedbe je prišlo do napake."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-sv.yml b/modules/reporting_engine/config/locales/crowdin/js-sv.yml
deleted file mode 100644
index e98df9fe0a5..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-sv.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-sv:
- js:
- reporting_engine:
- label_remove: "Ta bort"
- label_response_error: "Det uppstod ett fel när frågan hanterades."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-tr.yml b/modules/reporting_engine/config/locales/crowdin/js-tr.yml
deleted file mode 100644
index 2801806089e..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-tr.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-tr:
- js:
- reporting_engine:
- label_remove: "Sil"
- label_response_error: "Sorguyu işlerken hata oluştu."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-uk.yml b/modules/reporting_engine/config/locales/crowdin/js-uk.yml
deleted file mode 100644
index b90d9a02559..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-uk.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-uk:
- js:
- reporting_engine:
- label_remove: "Видалити"
- label_response_error: "Під час обробки запиту сталася помилка."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-vi.yml b/modules/reporting_engine/config/locales/crowdin/js-vi.yml
deleted file mode 100644
index a62d773d631..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-vi.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-vi:
- js:
- reporting_engine:
- label_remove: "Xoá"
- label_response_error: "There was an error handling the query."
diff --git a/modules/reporting_engine/config/locales/crowdin/js-zh-CN.yml b/modules/reporting_engine/config/locales/crowdin/js-zh-CN.yml
deleted file mode 100644
index 1855669a2d7..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-zh-CN.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-zh-CN:
- js:
- reporting_engine:
- label_remove: "删除"
- label_response_error: "处理查询时出错。"
diff --git a/modules/reporting_engine/config/locales/crowdin/js-zh-TW.yml b/modules/reporting_engine/config/locales/crowdin/js-zh-TW.yml
deleted file mode 100644
index a7212d90f0e..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/js-zh-TW.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-zh-TW:
- js:
- reporting_engine:
- label_remove: "删除"
- label_response_error: "處理查詢時發生錯誤"
diff --git a/modules/reporting_engine/config/locales/crowdin/ko.yml b/modules/reporting_engine/config/locales/crowdin/ko.yml
deleted file mode 100644
index a1088980ce8..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/ko.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-ko:
- description_drill_down: "세부 정보 표시"
- label_click_to_edit: "편집하려면 클릭하세요."
- label_columns: "컬럼"
- label_count: "카운트"
- label_filter: "필터"
- label_filter_add: "필터 추가"
- label_filter_plural: "필터"
- label_greater: ">"
- label_group_by: "그룹화 기준"
- label_group_by_add: "그룹화 기준 특성 추가"
- label_inactive: "«비활성»"
- label_less: "<"
- label_no: "아니요"
- label_none: "(데이터 없음)"
- label_progress_bar_explanation: "보고서 생성 중..."
- label_really_delete_question: "이 보고서를 삭제하시겠습니까?"
- label_report: "보고서"
- label_rows: "행"
- label_saving: "저장 중..."
- label_sum: "합계"
- label_yes: "예"
- load_query_question: "보고서에는 %{size}개 테이블 셀이 있고 렌더링하는 데 시간이 걸릴 수 있습니다. 렌더링하시겠습니까?"
- units: "단위"
- validation_failure_date: "은(는) 유효한 날짜가 아닙니다."
- validation_failure_integer: "은(는) 유효한 정수가 아닙니다."
- reporting:
- group_by:
- selected_columns: "선택된 열"
- selected_rows: "선택된 행"
diff --git a/modules/reporting_engine/config/locales/crowdin/lt.yml b/modules/reporting_engine/config/locales/crowdin/lt.yml
deleted file mode 100644
index 2fb37e4f13c..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/lt.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-lt:
- description_drill_down: "Rodyti Išsamią informaciją"
- label_click_to_edit: "Spustelėkite, kad redaguoti."
- label_columns: "Stulpeliai"
- label_count: "Skaičius"
- label_filter: "Filtras"
- label_filter_add: "Pridėti filtrą"
- label_filter_plural: "Filtrai"
- label_greater: ">"
- label_group_by: "Grupuoti pagal"
- label_group_by_add: "Pridėti grupavimą pagal atributą"
- label_inactive: "«neaktyvus»"
- label_less: "<"
- label_no: "Ne"
- label_none: "(nėra duomenų)"
- label_progress_bar_explanation: "Generuojama ataskaita..."
- label_really_delete_question: "Ar Jūs tikri, kad norite ištrinti šią ataskaitą?"
- label_report: "Ataskaita"
- label_rows: "Eilutės"
- label_saving: "Išsaugoma ..."
- label_sum: "Suma"
- label_yes: "Taip"
- load_query_question: "Ataskaita turės %{size} lentelės langelių ir gali užtrukti, kol bus paruošta. Ar Jūs dar vis norite pabandyti sukurti ją?"
- units: "Vienetai"
- validation_failure_date: "nėra tinkama data"
- validation_failure_integer: "nėra tinkamas sveikas skaičius"
- reporting:
- group_by:
- selected_columns: "Pasirinkti stulpeliai"
- selected_rows: "Pasirinktos eilutės"
diff --git a/modules/reporting_engine/config/locales/crowdin/nl.yml b/modules/reporting_engine/config/locales/crowdin/nl.yml
deleted file mode 100644
index 1bf66130c07..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/nl.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-nl:
- description_drill_down: "Details weergeven"
- label_click_to_edit: "Klik om te bewerken."
- label_columns: "Kolommen"
- label_count: "Aantal"
- label_filter: "Filter"
- label_filter_add: "Filter Toevoegen"
- label_filter_plural: "Filters"
- label_greater: ">"
- label_group_by: "Groeperen op"
- label_group_by_add: "Groep, toevoegen aan Attribuut"
- label_inactive: "«inactief»"
- label_less: "<"
- label_no: "Nee"
- label_none: "(geen gegevens)"
- label_progress_bar_explanation: "Rapport aan het genereren..."
- label_really_delete_question: "Weet u zeker dat u dit rapport wilt verwijderen?"
- label_report: "Rapport"
- label_rows: "Rijen"
- label_saving: "Opslaan..."
- label_sum: "Som"
- label_yes: "Ja"
- load_query_question: "Het rapport bevat %{size} tabelcellen en kan enige tijd kosten om te renderen. Wilt u proberen het rapport toch uit te voeren?"
- units: "Eenheden"
- validation_failure_date: "is geen geldige datum"
- validation_failure_integer: "is geen geldig geheel getal"
- reporting:
- group_by:
- selected_columns: "Geselecteerde kolommen"
- selected_rows: "Geselecteerde rijen"
diff --git a/modules/reporting_engine/config/locales/crowdin/no.yml b/modules/reporting_engine/config/locales/crowdin/no.yml
deleted file mode 100644
index 1697bc3d9ba..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/no.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-"no":
- description_drill_down: "Vis detaljer"
- label_click_to_edit: "Klikk for å redigere."
- label_columns: "Kolonner"
- label_count: "Antall"
- label_filter: "Filter"
- label_filter_add: "Legg til Filter"
- label_filter_plural: "Filtre"
- label_greater: ">"
- label_group_by: "Grupper etter"
- label_group_by_add: "Legg grupper etter attributt"
- label_inactive: "«inaktiv»"
- label_less: "<"
- label_no: "Nei"
- label_none: "(ingen data)"
- label_progress_bar_explanation: "Genererer rapport..."
- label_really_delete_question: "Er du sikker på at du vil slette denne rapporten?"
- label_report: "Rapport"
- label_rows: "Rader"
- label_saving: "Lagrer ..."
- label_sum: "Sum"
- label_yes: "Ja"
- load_query_question: "Rapporten vil ha %{size} og kan ta noe tid å gjengi. Vil du likevel gjengi den?"
- units: "Enheter"
- validation_failure_date: "er ikke en gyldig dato"
- validation_failure_integer: "er ikke et gyldig heltall"
- reporting:
- group_by:
- selected_columns: "Selected columns"
- selected_rows: "Selected rows"
diff --git a/modules/reporting_engine/config/locales/crowdin/pl.yml b/modules/reporting_engine/config/locales/crowdin/pl.yml
deleted file mode 100644
index 68058d31751..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/pl.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-pl:
- description_drill_down: "Pokaż szczegóły"
- label_click_to_edit: "Kliknij aby edytować."
- label_columns: "Kolumny"
- label_count: "Ilość"
- label_filter: "Filtr"
- label_filter_add: "Dodaj filtr"
- label_filter_plural: "Filtry"
- label_greater: ">"
- label_group_by: "Grupuj według"
- label_group_by_add: "Dodaj grupowanie po atrybucie"
- label_inactive: "«nieaktywne»"
- label_less: "<"
- label_no: "Nie"
- label_none: "(brak danych)"
- label_progress_bar_explanation: "Generuj raport..."
- label_really_delete_question: "Czy na pewno chcesz usunąć ten raport?"
- label_report: "Raport"
- label_rows: "Wiersze"
- label_saving: "Zapisywanie ..."
- label_sum: "Suma"
- label_yes: "Tak"
- load_query_question: "Raport będzie zawierał %{size} komórek tabeli. Eksport może zająć trochę czasu. Czy nadal chcesz wygenerować raport?"
- units: "Jednostki"
- validation_failure_date: "nie jest poprawną datą"
- validation_failure_integer: "nie jest prawidłową liczbą całkowitą"
- reporting:
- group_by:
- selected_columns: "Wybrane kolumny"
- selected_rows: "Wybrane wiersze"
diff --git a/modules/reporting_engine/config/locales/crowdin/pt.yml b/modules/reporting_engine/config/locales/crowdin/pt.yml
deleted file mode 100644
index ab3c0971a28..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/pt.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-pt:
- description_drill_down: "Exibir detalhes"
- label_click_to_edit: "Clique para editar."
- label_columns: "Colunas"
- label_count: "Contar"
- label_filter: "Filtro"
- label_filter_add: "Adicionar filtro"
- label_filter_plural: "Filtros"
- label_greater: ">"
- label_group_by: "Agrupar por"
- label_group_by_add: "Adicionar atributo Agrupar por"
- label_inactive: "«inativo»"
- label_less: "<"
- label_no: "Não"
- label_none: "(sem dados)"
- label_progress_bar_explanation: "Gerando relatório..."
- label_really_delete_question: "Tem certeza que deseja excluir este relatório?"
- label_report: "Relatório"
- label_rows: "Linhas"
- label_saving: "Salvando ..."
- label_sum: "Soma"
- label_yes: "Sim"
- load_query_question: "Relatório terá %{size} células da tabela e pode levar algum tempo para processar. Você ainda quer tentar processá-lo?"
- units: "Unidades"
- validation_failure_date: "não é uma data válida"
- validation_failure_integer: "não é um valor inteiro válido"
- reporting:
- group_by:
- selected_columns: "Colunas selecionadas"
- selected_rows: "Linhas Selecionadas"
diff --git a/modules/reporting_engine/config/locales/crowdin/ro.yml b/modules/reporting_engine/config/locales/crowdin/ro.yml
deleted file mode 100644
index e985d13a676..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/ro.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-ro:
- description_drill_down: "Afișare detalii"
- label_click_to_edit: "Click pentru editare."
- label_columns: "Coloane"
- label_count: "Count"
- label_filter: "Filtrare"
- label_filter_add: "Add Filter"
- label_filter_plural: "Filtre"
- label_greater: ">"
- label_group_by: "Grupare după"
- label_group_by_add: "Add Group-by Attribute"
- label_inactive: "«inactive»"
- label_less: "<"
- label_no: "Nu"
- label_none: "(no data)"
- label_progress_bar_explanation: "Raport în curs de generare..."
- label_really_delete_question: "Sunteți sigur că doriți să ștergeți acest raport?"
- label_report: "Raportare"
- label_rows: "Rânduri"
- label_saving: "Salvare în curs..."
- label_sum: "Sumă"
- label_yes: "Da"
- load_query_question: "Raportul va avea %{size} de celule şi e posibil ca generarea să dureze un timp. Sunteți sigur că doriți generarea?"
- units: "Unități"
- validation_failure_date: "nu e o dată validă"
- validation_failure_integer: "nu e un întreg valid"
- reporting:
- group_by:
- selected_columns: "Selected columns"
- selected_rows: "Selected rows"
diff --git a/modules/reporting_engine/config/locales/crowdin/ru.yml b/modules/reporting_engine/config/locales/crowdin/ru.yml
deleted file mode 100644
index 32daf76e9d0..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/ru.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-ru:
- description_drill_down: "Показать в деталях"
- label_click_to_edit: "Щелкнуть для изменения."
- label_columns: "Столбцы"
- label_count: "Количество"
- label_filter: "Фильтр"
- label_filter_add: "Добавить фильтр"
- label_filter_plural: "Фильтры"
- label_greater: ">"
- label_group_by: "Группировать по"
- label_group_by_add: "Добавить атрибут \"Группировать по\""
- label_inactive: "«неактивен»"
- label_less: "<"
- label_no: "Нет"
- label_none: "(нет данных)"
- label_progress_bar_explanation: "Создание отчета..."
- label_really_delete_question: "Вы действительно хотите удалить этот отчет?"
- label_report: "Отчет"
- label_rows: "Строки"
- label_saving: "Сохранение ..."
- label_sum: "Сумма"
- label_yes: "да"
- load_query_question: "Отчет будет иметь %{size} ячеек таблицы и может занять некоторое время для визуализации. Вы все еще хотите его сформировать?"
- units: "Модули"
- validation_failure_date: "не является допустимой датой"
- validation_failure_integer: "не является допустимым целым числом"
- reporting:
- group_by:
- selected_columns: "Выбранные столбцы"
- selected_rows: "Выбранные строки"
diff --git a/modules/reporting_engine/config/locales/crowdin/sk.yml b/modules/reporting_engine/config/locales/crowdin/sk.yml
deleted file mode 100644
index 7e456cf4182..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/sk.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-sk:
- description_drill_down: "Zobraziť Podrobnosti"
- label_click_to_edit: "Kliknite pre úpravu."
- label_columns: "Stĺpce"
- label_count: "Počet"
- label_filter: "Filtrovať"
- label_filter_add: "Pridať filter"
- label_filter_plural: "Filtre"
- label_greater: ">"
- label_group_by: "Zoskupiť podľa"
- label_group_by_add: "Pridať atribút \"zoskupiť podľa\""
- label_inactive: "«neaktívny»"
- label_less: "<"
- label_no: "Nie"
- label_none: "(žiadne údaje)"
- label_progress_bar_explanation: "Prebieha tvorba tlačovej zostavy..."
- label_really_delete_question: "Určite chcete odstrániť túto tlačovú zostavu?"
- label_report: "Report"
- label_rows: "Riadky"
- label_saving: "Ukladanie ..."
- label_sum: "Súčet"
- label_yes: "Áno"
- load_query_question: "Výsledná tlačová zostava bude obsahovať %{size} buniek a jej vytvorenie môže trvať dlhšie. Želáte si ju aj napriek tomu vygenerovať?"
- units: "Jednotky"
- validation_failure_date: "nie je platný dátum"
- validation_failure_integer: "nie je platné celé číslo"
- reporting:
- group_by:
- selected_columns: "Vybrané stĺpce"
- selected_rows: "Vybrané riadky"
diff --git a/modules/reporting_engine/config/locales/crowdin/sl.yml b/modules/reporting_engine/config/locales/crowdin/sl.yml
deleted file mode 100644
index 8fa461074e0..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/sl.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-sl:
- description_drill_down: "Pokaži podrobnosti"
- label_click_to_edit: "Kliknite za urejanje."
- label_columns: "Stolpci"
- label_count: "Šteti"
- label_filter: "Filtriraj"
- label_filter_add: "Dodajte filter"
- label_filter_plural: "Filtri"
- label_greater: ">"
- label_group_by: "Razvrsti po"
- label_group_by_add: "Dodajte atribut Group-by"
- label_inactive: "«neaktiven»"
- label_less: "<"
- label_no: "Ne"
- label_none: "(ni podatkov)"
- label_progress_bar_explanation: "Generiram poročilo..."
- label_really_delete_question: "Ali ste prepričani, da bi radi izbrisali to poročilo?"
- label_report: "Poročilo"
- label_rows: "Vrstice"
- label_saving: "Shranjevanje..."
- label_sum: "Vsota"
- label_yes: "Da"
- load_query_question: "Poročilo bo imelo %{size} celice tabel zato lahko traja nekaj časa, da se upodobi. \nAli še vedno želite poskusiti upodabljanje?"
- units: "Enote"
- validation_failure_date: "ni veljaven datum"
- validation_failure_integer: "ni veljavno število"
- reporting:
- group_by:
- selected_columns: "Izbrani stolpci"
- selected_rows: "Izbrane vrstice"
diff --git a/modules/reporting_engine/config/locales/crowdin/sv.yml b/modules/reporting_engine/config/locales/crowdin/sv.yml
deleted file mode 100644
index 810221e2b11..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/sv.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-sv:
- description_drill_down: "Visa detaljer"
- label_click_to_edit: "Klicka för att ändra."
- label_columns: "Kolumner"
- label_count: "Antal"
- label_filter: "Filter"
- label_filter_add: "Lägg till filter"
- label_filter_plural: "Filter"
- label_greater: ">"
- label_group_by: "Gruppera efter"
- label_group_by_add: "Lägg till Gruppera-efter-Attribut"
- label_inactive: "«inaktiv»"
- label_less: "<"
- label_no: "Nej"
- label_none: "(inga data)"
- label_progress_bar_explanation: "Genererar rapport..."
- label_really_delete_question: "Är du säker på att du vill ta bort denna rapport?"
- label_report: "Rapport"
- label_rows: "Rader"
- label_saving: "Sparar ..."
- label_sum: "Summa"
- label_yes: "Ja"
- load_query_question: "Rapporten kommer att ha %{size} celler och kan ta lite tid att skapa. Vill du prova att skapa den ändå?"
- units: "Enheter"
- validation_failure_date: "inte är ett giltigt datum"
- validation_failure_integer: "är inte ett giltigt heltal"
- reporting:
- group_by:
- selected_columns: "Valda kolumner"
- selected_rows: "Markerade rader"
diff --git a/modules/reporting_engine/config/locales/crowdin/tr.yml b/modules/reporting_engine/config/locales/crowdin/tr.yml
deleted file mode 100644
index 38404d19386..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/tr.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-tr:
- description_drill_down: "Ayrıntıları görüntüle"
- label_click_to_edit: "Düzenlemek için tıklayınız."
- label_columns: "Sütunlar"
- label_count: "Sayı"
- label_filter: "Filtre"
- label_filter_add: "Süzgeç ekle"
- label_filter_plural: "Filtreler"
- label_greater: ">"
- label_group_by: "Grupla"
- label_group_by_add: "Grubu Özelliklere Ekleyin"
- label_inactive: "«etkin olmayan»"
- label_less: "<"
- label_no: "Hayır"
- label_none: "(veri yok)"
- label_progress_bar_explanation: "Rapor oluşturuluyor..."
- label_really_delete_question: "Bu raporu silmek istediğinizden emin misiniz?"
- label_report: "Rapor"
- label_rows: "Satırlar"
- label_saving: "Kaydediliyor ..."
- label_sum: "Toplam"
- label_yes: "Evet"
- load_query_question: "Rapor %{size} tablo hücreleri içeriyor ve işlenmesi biraz zaman alabilir. Raporu yine de çalıştırmayı denemek ister misin?"
- units: "Birimler"
- validation_failure_date: "geçerli bir tarih değil"
- validation_failure_integer: "geçerli bir tamsayı değil"
- reporting:
- group_by:
- selected_columns: "Seçili sütunlar"
- selected_rows: "Seçili satırlar"
diff --git a/modules/reporting_engine/config/locales/crowdin/uk.yml b/modules/reporting_engine/config/locales/crowdin/uk.yml
deleted file mode 100644
index 2ab402d05d2..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/uk.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-uk:
- description_drill_down: "Детальніше"
- label_click_to_edit: "Натисніть для редагування."
- label_columns: "Стовпці"
- label_count: "Підрахунок"
- label_filter: "Фільтр"
- label_filter_add: "Додати фільтр"
- label_filter_plural: "Фільтри"
- label_greater: ">"
- label_group_by: "Групувати за"
- label_group_by_add: "Додати групу за атрибутом"
- label_inactive: "«неактивний»"
- label_less: "<"
- label_no: "Ні"
- label_none: "(немає даних)"
- label_progress_bar_explanation: "Формування звіту..."
- label_really_delete_question: "Ви дійсно бажаєте видалити цей звіт?"
- label_report: "Звіт"
- label_rows: "Рядки"
- label_saving: "Збереження ..."
- label_sum: "Сума"
- label_yes: "Так"
- load_query_question: "Звіт матиме %{size} комірок таблиці і може зайняти деякий час для візуалізації. Ви все ще бажаєте спробувати її відобразити?"
- units: "Одиниці"
- validation_failure_date: "є недійсною датою"
- validation_failure_integer: "не є дійсним цілим числом"
- reporting:
- group_by:
- selected_columns: "Вибрані стовпці"
- selected_rows: "Виділені рядки"
diff --git a/modules/reporting_engine/config/locales/crowdin/vi.yml b/modules/reporting_engine/config/locales/crowdin/vi.yml
deleted file mode 100644
index fc0ba1b19d9..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/vi.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-vi:
- description_drill_down: "Show details"
- label_click_to_edit: "Click to edit."
- label_columns: "Cột"
- label_count: "Count"
- label_filter: "Bộ lọc"
- label_filter_add: "Add Filter"
- label_filter_plural: "Bộ lọc"
- label_greater: ">"
- label_group_by: "Nhóm theo"
- label_group_by_add: "Add Group-by Attribute"
- label_inactive: "«inactive»"
- label_less: "<"
- label_no: "Không"
- label_none: "(no data)"
- label_progress_bar_explanation: "Generating report..."
- label_really_delete_question: "Are you sure you want to delete this report?"
- label_report: "Báo cáo"
- label_rows: "Rows"
- label_saving: "Saving ..."
- label_sum: "Sum"
- label_yes: "Có"
- load_query_question: "Report will have %{size} table cells and may take some time to render. Do you still want to try rendering it?"
- units: "Units"
- validation_failure_date: "is not a valid date"
- validation_failure_integer: "is not a valid integer"
- reporting:
- group_by:
- selected_columns: "Selected columns"
- selected_rows: "Selected rows"
diff --git a/modules/reporting_engine/config/locales/crowdin/zh-CN.yml b/modules/reporting_engine/config/locales/crowdin/zh-CN.yml
deleted file mode 100644
index eb71be6c2ee..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/zh-CN.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-zh-CN:
- description_drill_down: "显示详情"
- label_click_to_edit: "点击编辑。"
- label_columns: "列"
- label_count: "数量"
- label_filter: "筛选器"
- label_filter_add: "添加筛选器"
- label_filter_plural: "筛选器"
- label_greater: ">"
- label_group_by: "分组依据"
- label_group_by_add: "添加分组依据属性"
- label_inactive: "«不活动»"
- label_less: "<"
- label_no: "否"
- label_none: "(无数据)"
- label_progress_bar_explanation: "生成报告中..."
- label_really_delete_question: "您是否确定想要删除此报告?"
- label_report: "报告"
- label_rows: "行"
- label_saving: "正在保存..."
- label_sum: "总计"
- label_yes: "是"
- load_query_question: "报告有 %{size} 个表格单元格,可能需要一些时间渲染。您仍然想要尝试渲染它吗?"
- units: "单位"
- validation_failure_date: "不是有效的日期"
- validation_failure_integer: "不是有效的整数"
- reporting:
- group_by:
- selected_columns: "选定的列"
- selected_rows: "选定的行"
diff --git a/modules/reporting_engine/config/locales/crowdin/zh-TW.yml b/modules/reporting_engine/config/locales/crowdin/zh-TW.yml
deleted file mode 100644
index 17d14d950e5..00000000000
--- a/modules/reporting_engine/config/locales/crowdin/zh-TW.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-#-- copyright
-#OpenProject is an open source project management software.
-#Copyright (C) 2012-2020 the OpenProject GmbH
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License version 3.
-#OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-#Copyright (C) 2006-2017 Jean-Philippe Lang
-#Copyright (C) 2010-2013 the ChiliProject Team
-#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.
-#See docs/COPYRIGHT.rdoc for more details.
-#++
-zh-TW:
- description_drill_down: "顯示詳細資訊"
- label_click_to_edit: "按一下編輯"
- label_columns: "欄"
- label_count: "數量"
- label_filter: "篩選器"
- label_filter_add: "新增篩選器"
- label_filter_plural: "篩選器"
- label_greater: ">"
- label_group_by: "分組依據"
- label_group_by_add: "新增分組依據屬性"
- label_inactive: "«不活動»"
- label_less: "<"
- label_no: "否"
- label_none: "(沒有資料)"
- label_progress_bar_explanation: "產生報告中..."
- label_really_delete_question: "你確定你要刪除這個報告?"
- label_report: "報表"
- label_rows: "列"
- label_saving: "儲存中..."
- label_sum: "總和"
- label_yes: "是"
- load_query_question: "報告含有 %{size} 個儲存格,將要花一些時間呈現。你仍然想要嘗試顯示它嗎?"
- units: "單位"
- validation_failure_date: "不是一個有效日期"
- validation_failure_integer: "不是一個有效的整數"
- reporting:
- group_by:
- selected_columns: "選擇列"
- selected_rows: "選定行"
diff --git a/modules/reporting_engine/config/locales/en.yml b/modules/reporting_engine/config/locales/en.yml
deleted file mode 100644
index bdb2a441622..00000000000
--- a/modules/reporting_engine/config/locales/en.yml
+++ /dev/null
@@ -1,63 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2020 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2017 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# 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.
-#
-# See docs/COPYRIGHT.rdoc for more details.
-#++
-
----
-en:
- description_drill_down: "Show details"
-
- label_click_to_edit: "Click to edit."
- label_columns: "Columns"
- label_count: "Count"
- label_filter: "Filter"
- label_filter_add: "Add Filter"
- label_filter_plural: "Filters"
- label_greater: ">"
- label_group_by: "Group by"
- label_group_by_add: "Add Group-by Attribute"
- label_inactive: "«inactive»"
- label_less: "<"
- label_no: "No"
- label_none: "(no data)"
- label_progress_bar_explanation: "Generating report..."
- label_really_delete_question: "Are you sure you want to delete this report?"
- label_report: "Report"
- label_rows: "Rows"
- label_saving: "Saving ..."
- label_sum: "Sum"
- label_yes: "Yes"
- load_query_question: "Report will have %{size} table cells and may take some time to render. Do you still want to try rendering it?"
-
- units: "Units"
-
- validation_failure_date: "is not a valid date"
- validation_failure_integer: "is not a valid integer"
-
- reporting:
- group_by:
- selected_columns: "Selected columns"
- selected_rows: "Selected rows"
diff --git a/modules/reporting_engine/lib/report.rb b/modules/reporting_engine/lib/report.rb
deleted file mode 100644
index 97e836f7056..00000000000
--- a/modules/reporting_engine/lib/report.rb
+++ /dev/null
@@ -1,222 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2020 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2017 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# 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.
-#
-# See docs/COPYRIGHT.rdoc for more details.
-#++
-
-class Report < ApplicationRecord
- extend Forwardable
- include Enumerable
- include Engine
-
- belongs_to :user
- belongs_to :project
-
- before_save :serialize
- serialize :serialized, Hash
-
- self.abstract_class = true # lets have subclasses have their own SQL tables
-
- def self.accepted_properties
- @@accepted_properties ||= []
- end
-
- def self.reporting_connection
- connection
- end
-
- def self.chain_initializer
- @chain_initializer ||= []
- end
-
- def self.deserialize(hash, object = new)
- object.tap do |q|
- hash[:filters].each { |name, opts| q.filter(name, opts) }
- hash[:group_bys].each { |name, opts| q.group_by(name, opts) }
- end
- end
-
- def serialize
- # have to take the reverse group_bys to retain the original order when deserializing
- self.serialized = { filters: (filters.map(&:serialize).reject(&:nil?).sort { |a, b| a.first <=> b.first }),
- group_bys: group_bys.map(&:serialize).reject(&:nil?).reverse }
- end
-
- def deserialize
- unless @chain
- hash = serialized || serialize
- self.class.deserialize(hash, self)
- else
- raise ArgumentError, 'Cannot deserialize a report which already has a chain'
- end
- end
-
- # Convenience method to generate a params hash readable by Controller#determine_settings
- def to_params
- params = {}
- filters.select { |f| f.class.display? }.each do |f|
- filter_name = f.class.underscore_name
- params[:fields] << filter_name
- params[:operators].merge! filter_name => f.operator.to_s
- params[:values].merge! filter_name => f.values
- end
- group_bys.each do |g|
- params[:groups] ||= { rows: [], columns: [] }
- params[:groups][g.row? ? :rows : :columns] << g.class.underscore_name
- end
- params
- end
-
- ##
- # Migrates this report to look like the given report.
- # This may be used to alter report properties without
- # creating a new report in a database.
- def migrate(report)
- [:@chain, :@query, :@transformer, :@walker, :@table, :@depths, :@chain_initializer].each do |inst_var|
- instance_variable_set inst_var, (report.instance_variable_get inst_var)
- end
- end
-
- def available_filters
- self.class::Filter.all
- end
-
- def transformer
- @transformer ||= self.class::Transformer.new self
- end
-
- def walker
- @walker ||= self.class::Walker.new self
- end
-
- def add_chain(type, name, options)
- chain type.const_get(name.to_s.camelcase), options
- @transformer, @table, @depths, @walker = nil, nil, nil, nil
- self
- end
-
- def chain(klass = nil, options = {})
- build_new_chain unless @chain
- if klass
- @chain = klass.new @chain, options
- @chain.engine = self.class
- end
- @chain = @chain.parent until @chain.top?
- @chain
- end
-
- def build_new_chain
- # FIXME: is there a better way to load all filter and groups?
- self.class::Filter.all && self.class::GroupBy.all
-
- minimal_chain!
- self.class.chain_initializer.each { |block| block.call self }
- self
- end
-
- def filter(name, options = {})
- add_chain self.class::Filter, name, options
- end
-
- def group_by(name, options = {})
- add_chain self.class::GroupBy, name, options.reverse_merge(type: :column)
- end
-
- def column(name, options = {})
- group_by name, options.merge(type: :column)
- end
-
- def row(name, options = {})
- group_by name, options.merge(type: :row)
- end
-
- def table
- @table = self.class::Table.new(self)
- end
-
- def group_bys(type = nil)
- chain.select { |c| c.group_by? && (type.nil? || c.type == type) }
- end
-
- def filters
- chain.select(&:filter?)
- end
-
- def depth_of(name)
- @depths ||= {}
- @depths[name] ||= chain.inject(0) { |sum, child| child.type == name ? sum + 1 : sum }
- end
-
- def_delegators :transformer, :column_first, :row_first
- def_delegators :chain, :empty_chain, :top, :bottom, :chain_collect, :sql_statement, :all_group_fields, :child, :clear, :result
- def_delegators :result, :each_direct_result, :recursive_each, :recursive_each_with_level, :each, :each_row, :count,
- :units, :final_number
- def_delegators :table, :row_index, :colum_index
-
- def to_a
- chain.to_a
- end
-
- def to_s
- chain.to_s
- end
-
- def size
- size = 0
- recursive_each { |r| size += r.size }
- size
- end
-
- def cache_key
- deserialize unless @chain
- parts = [self.class.table_name.sub('_reports', '')]
- parts.concat [filters.sort, group_bys].map { |l| l.map(&:cache_key).join(' ') }
- parts.join '/'
- end
-
- def self.engine
- self
- end
-
- def minimal_chain!
- @chain = self.class::Filter::NoFilter.new
- end
-
- def public!
- self.is_public = true
- end
-
- def public?
- is_public
- end
-
- def private!
- self.is_public = false
- end
-
- def private?
- !public?
- end
-end
diff --git a/modules/reporting_engine/lib/report/controller.rb b/modules/reporting_engine/lib/report/controller.rb
deleted file mode 100644
index 36b86f23eca..00000000000
--- a/modules/reporting_engine/lib/report/controller.rb
+++ /dev/null
@@ -1,354 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2020 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2017 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# 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.
-#
-# See docs/COPYRIGHT.rdoc for more details.
-#++
-
-require 'json'
-
-module Report::Controller
- def self.included(base)
- base.class_eval do
- attr_accessor :report_engine
- helper_method :current_user
- helper_method :allowed_to?
-
- include ReportingHelper
- helper ReportingHelper
- helper { def engine; @report_engine; end }
-
- before_action :determine_engine
- before_action :prepare_query, only: [:index, :create]
- before_action :find_optional_report, only: [:index, :show, :update, :destroy, :rename]
- before_action :possibly_only_narrow_values
- end
- end
-
- def index
- table
- end
-
- ##
- # Render the report. Renders either the complete index or the table only
- def table
- if set_filter? && request.xhr?
- self.response_body = render_widget(Widget::Table, @query)
- end
- end
-
- ##
- # Create a new saved query. Returns the redirect url to an XHR or redirects directly
- def create
- @query.name = params[:query_name].present? ? params[:query_name] : ::I18n.t(:label_default)
- @query.public! if make_query_public?
- @query.send("#{user_key}=", current_user.id)
- @query.save!
-
- redirect_params = { action: 'show', id: @query.id }
- redirect_params[:project_id] = @project.identifier if @project
-
- if request.xhr? # Update via AJAX - return url for redirect
- render plain: url_for(**redirect_params)
- else # Redirect to the new record
- redirect_to **redirect_params
- end
- end
-
- ##
- # Show a saved record, if found. Raises RecordNotFound if the specified query
- # at :id does not exist
- def show
- if @query
- store_query(@query)
- table
- render action: 'index' unless performed?
- else
- raise ActiveRecord::RecordNotFound
- end
- end
-
- ##
- # Delete a saved record, if found. Redirects to index on success, raises a
- # RecordNotFound if the query at :id does not exist
- def destroy
- if @query
- @query.destroy if allowed_to? :destroy, @query
- else
- raise ActiveRecord::RecordNotFound
- end
- redirect_to action: 'index', default: 1
- end
-
- ##
- # Update a record with new query parameters and save it. Redirects to the
- # specified record or renders the updated table on XHR
- def update
- if params[:set_filter].to_i == 1 # save
- old_query = @query
- prepare_query
- old_query.migrate(@query)
- old_query.save!
- @query = old_query
- end
- if request.xhr?
- table
- else
- redirect_to action: 'show', id: @query.id
- end
- end
-
- ##
- # Rename a record and update its publicity. Redirects to the updated record or
- # renders the updated name on XHR
- def rename
- @query.name = params[:query_name]
- @query.public! if make_query_public?
- @query.save!
- store_query(@query)
- unless request.xhr?
- redirect_to action: 'show', id: @query.id
- else
- render plain: @query.name
- end
- end
-
- ##
- # Determine the available values for the specified filter and return them as
- # json, if that was requested. This will be executed INSTEAD of the actual action
- def possibly_only_narrow_values
- if params[:narrow_values] == '1'
- sources = params[:sources]
- dependent = params[:dependent]
-
- query = report_engine.new
- sources.each do |dependency|
- query.filter(dependency.to_sym,
- operator: params[:operators][dependency],
- values: params[:values][dependency])
- end
- query.column(dependent)
- values = [[::I18n.t(:label_inactive), '<<inactive>>']] + query.result.map { |r| r.fields[query.group_bys.first.field] }
- # replace null-values with corresponding placeholder
- values = values.map { |value| value.nil? ? [::I18n.t(:label_none), '<<null>>'] : value }
- # try to find corresponding labels to the given values
- values = values.map do |value|
- filter = report_engine::Filter.const_get(dependent.camelcase.to_sym)
- filter_value = filter.label_for_value value
- if filter_value && filter_value.first.is_a?(Symbol)
- [::I18n.t(filter_value.first), filter_value.second]
- elsif filter_value && filter_value.first.is_a?(String)
- [filter_value.first, filter_value.second]
- else
- value
- end
- end
- render json: values.to_json
- end
- end
-
- ##
- # Determine the requested engine by constantizing from the :engine parameter
- # Sets @report_engine and @title based on that, and makes the engine available
- # to views and widgets via the #engine method.
- # Raises RecordNotFound on failure
- def determine_engine
- @report_engine = params[:engine].constantize
- @title = "label_#{@report_engine.name.underscore}"
- rescue NameError
- raise ActiveRecord::RecordNotFound, 'No engine found - override #determine_engine'
- end
-
- ##
- # Determines if the request contains filters to set
- def set_filter? # FIXME: rename to set_query?
- params[:set_filter].to_i == 1
- end
-
- ##
- # Return the active filters
- def filter_params
- filters = http_filter_parameters if set_filter?
- filters ||= session[report_engine.name.underscore.to_sym].try(:[], :filters)
- filters ||= default_filter_parameters
- end
-
- ##
- # Return the active group bys
- def group_params
- groups = http_group_parameters if set_filter?
- groups ||= session[report_engine.name.underscore.to_sym].try(:[], :groups)
- groups ||= default_group_parameters
- end
-
- ##
- # Extract active filters from the http params
- def http_filter_parameters
- params[:fields] ||= []
- (params[:fields].reject(&:empty?) || []).inject(operators: {}, values: {}) do |hash, field|
- hash[:operators][field.to_sym] = params[:operators][field]
- hash[:values][field.to_sym] = params[:values][field]
- hash
- end
- end
-
- ##
- # Extract active group bys from the http params
- def http_group_parameters
- if params[:groups]
- rows = params[:groups]['rows']
- columns = params[:groups]['columns']
- end
- { rows: (rows || []), columns: (columns || []) }
- end
-
- ##
- # Set a default query to cut down initial load time
- def default_filter_parameters
- { operators: {}, values: {} }
- end
-
- ##
- # Set a default query to cut down initial load time
- def default_group_parameters
- { columns: [:sector_id], rows: [:country_id] }
- end
-
- ##
- # Determines if the query settings should be reset
- def force_default?
- params[:default].to_i == 1
- end
-
- ##
- # Prepare the query from the request
- def prepare_query
- determine_settings
- @query = build_query(session[report_engine.name.underscore.to_sym][:filters],
- session[report_engine.name.underscore.to_sym][:groups])
- end
-
- ##
- # Determine the query settings the current request and save it to
- # the session.
- def determine_settings
- if force_default?
- filters = default_filter_parameters
- groups = default_group_parameters
- session[report_engine.name.underscore.to_sym].try :delete, :name
- else
- filters = filter_params
- groups = group_params
- end
- cookie = session[report_engine.name.underscore.to_sym] || {}
- session[report_engine.name.underscore.to_sym] = cookie.merge(filters: filters, groups: groups)
- end
-
- ##
- # Build the query from the passed session hash
- def build_query(filters, groups = {})
- query = report_engine.new project: @project
- query.tap do |q|
- filters[:operators].each do |filter, operator|
- unless filters[:values][filter] == ['<<inactive>>']
- values = Array(filters[:values][filter]).map { |v| v == '<<null>>' ? nil : v }
- q.filter(filter.to_sym,
- operator: operator,
- values: values)
- end
- end
- end
- groups[:columns].try(:reverse_each) { |c| query.column(c) }
- groups[:rows].try(:reverse_each) { |r| query.row(r) }
- query
- end
-
- ##
- # Store query in the session
- def store_query(_query)
- cookie = {}
- cookie[:groups] = @query.group_bys.inject({}) do |h, group|
- ((h[:"#{group.type}s"] ||= []) << group.underscore_name.to_sym) && h
- end
- cookie[:filters] = @query.filters.inject(operators: {}, values: {}) do |h, filter|
- h[:operators][filter.underscore_name.to_sym] = filter.operator.to_s
- h[:values][filter.underscore_name.to_sym] = filter.values
- h
- end
- cookie[:name] = @query.name if @query.name
- session[report_engine.name.underscore.to_sym] = cookie
- end
-
- ##
- # Override in subclass if user key
- def user_key
- 'user_id'
- end
-
- ##
- # Override in subclass if you like
- def is_public_sql(val = true)
- "(is_public = #{val ? report_engine.reporting_connection.quoted_true : report_engine.reporting_connection.quoted_false})"
- end
-
- ##
- # Abstract: Implementation required in application
- def allowed_to?(_action, _subject, _user = current_user)
- raise NotImplementedError, "The #{self.class} should have implemented #allowed_to?(action, subject, user)"
- end
-
- def make_query_public?
- !!params[:query_is_public]
- end
-
- # renders option tags for each available value for a single filter
- def available_values
- name = params[:filter_name]
-
- return unless name
-
- f_cls = report_engine::Filter.const_get(name.to_s.camelcase)
- filter = f_cls.new.tap do |f|
- f.values = JSON.parse(params[:values].gsub("'", '"')) if params[:values].present? && params[:values]
- end
- render_widget Widget::Filters::Option, filter, to: canvas = ''
-
- render plain: canvas, layout: !request.xhr?
- end
-
- ##
- # Find a report if :id was passed as parameter.
- # Raises RecordNotFound if an invalid :id was passed.
- #
- # @param query An optional query added to the disjunction qualifiying reports to be returned.
- def find_optional_report(query = '1=0')
- if params[:id]
- @query = report_engine
- .where(["#{is_public_sql} OR (#{user_key} = ?) OR (#{query})", current_user.id])
- .find(params[:id].to_i)
- @query.deserialize if @query
- end
- rescue ActiveRecord::RecordNotFound
- end
-end
diff --git a/modules/reporting_engine/lib/report/validation/sql.rb b/modules/reporting_engine/lib/report/validation/sql.rb
deleted file mode 100644
index d56363778ae..00000000000
--- a/modules/reporting_engine/lib/report/validation/sql.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2020 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2017 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# 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.
-#
-# See docs/COPYRIGHT.rdoc for more details.
-#++
-
-module Report::Validation
- module Sql
- def validate_sql(_values = [])
- raise NotImplementedError, "Haven't done SQL validation just yet!"
- end
- end
-end
diff --git a/modules/reporting_engine/lib/reporting_engine.rb b/modules/reporting_engine/lib/reporting_engine.rb
deleted file mode 100644
index b587afeef73..00000000000
--- a/modules/reporting_engine/lib/reporting_engine.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2020 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2017 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# 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.
-#
-# See docs/COPYRIGHT.rdoc for more details.
-#++
-
-module ReportingEngine
- require 'reporting_engine/engine'
-end
diff --git a/modules/reporting_engine/lib/reporting_engine/engine.rb b/modules/reporting_engine/lib/reporting_engine/engine.rb
deleted file mode 100644
index 52d4d8a260d..00000000000
--- a/modules/reporting_engine/lib/reporting_engine/engine.rb
+++ /dev/null
@@ -1,46 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2020 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2017 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# 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.
-#
-# See docs/COPYRIGHT.rdoc for more details.
-#++
-
-require 'rails/engine'
-
-module ReportingEngine
- class Engine < ::Rails::Engine
- engine_name :reportingengine
-
- config.eager_load_paths += Dir["#{config.root}/lib/"]
-
- config.to_prepare do
- require 'reporting_engine/patches'
- require 'reporting_engine/patches/big_decimal_patch'
- require 'reporting_engine/patches/to_date_patch'
- # We have to require this here because Ruby will otherwise find Date
- # as Object::Date and Rails wont autoload Widget::Filters::Date
- require_dependency 'widget/filters/date'
- end
- end
-end
diff --git a/modules/reporting_engine/lib/reporting_engine/patches.rb b/modules/reporting_engine/lib/reporting_engine/patches.rb
deleted file mode 100644
index b876fece44f..00000000000
--- a/modules/reporting_engine/lib/reporting_engine/patches.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2020 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2017 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# 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.
-#
-# See docs/COPYRIGHT.rdoc for more details.
-#++
-
-module ReportingEngine::Patches
-end
diff --git a/modules/reporting_engine/lib/reporting_engine/tasks/spec.rake b/modules/reporting_engine/lib/reporting_engine/tasks/spec.rake
deleted file mode 100644
index a39b1fc2cd7..00000000000
--- a/modules/reporting_engine/lib/reporting_engine/tasks/spec.rake
+++ /dev/null
@@ -1,54 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2020 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2017 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# 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.
-#
-# See docs/COPYRIGHT.rdoc for more details.
-#++
-
-begin
- require 'spec/rake/spectask'
- namespace :spec do
- namespace :plugins do
- desc 'Runs the examples for reporting_engine'
- Spec::Rake::SpecTask.new(:reporting_engine) do |t|
- t.spec_opts = ['--options', "\"#{Rails.root}/spec/spec.opts\""]
- t.spec_files = FileList['vendor/plugins/reporting_engine/spec/**/*_spec.rb']
- end
-
- desc 'Runs the examples for reporting_engine'
- Spec::Rake::SpecTask.new(:"reporting_engine:rcov") do |t|
- t.spec_opts = ['--options', "\"#{Rails.root}/spec/spec.opts\""]
- t.spec_files = FileList['vendor/plugins/reporting_engine/spec/**/*_spec.rb']
- t.rcov = true
- t.rcov_opts = ['-x', "\.rb,spec", '-i', 'reporting_engine/app/,redmine_reporting/lib/']
- end
- end
- end
- task spec: 'spec:plugins:reporting_engine'
-
- require 'ci/reporter/rake/rspec' # use this if you're using RSpec
- require 'ci/reporter/rake/test_unit' # use this if you're using Test::Unit
- task :"spec:plugins:reporting_engine:ci" => ['ci:setup:rspec', 'spec:plugins:redmine_reporting']
-rescue LoadError
-end
diff --git a/modules/reporting_engine/lib/reporting_helper.rb b/modules/reporting_engine/lib/reporting_helper.rb
deleted file mode 100644
index 51a9a786dac..00000000000
--- a/modules/reporting_engine/lib/reporting_helper.rb
+++ /dev/null
@@ -1,39 +0,0 @@
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2020 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2017 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# 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.
-#
-# See docs/COPYRIGHT.rdoc for more details.
-#++
-
-##
-# A minimal ReportingHelper module. This is included in Widget and
-# Controller and can be used to extend the specific widgets and
-# controller functionality.
-#
-# It is the default hook for translations, and calls to l() in Widgets
-# or Controllers will go to this module, first. The default behavior
-# is to pass translation work on to I18n.t() or I18n.l(), depending on
-# the type of arguments.
-module ReportingHelper
-end
diff --git a/modules/reporting_engine/reporting_engine.gemspec b/modules/reporting_engine/reporting_engine.gemspec
deleted file mode 100644
index 86ce18e61dd..00000000000
--- a/modules/reporting_engine/reporting_engine.gemspec
+++ /dev/null
@@ -1,16 +0,0 @@
-# encoding: UTF-8
-
-Gem::Specification.new do |s|
- s.name = "reporting_engine"
- s.version = '1.0.0'
- s.authors = "Finn GmbH"
- s.email = "[email protected]"
- s.homepage = "https://www.openproject.org/projects/plugin-reportingengine"
- s.summary = "A Rails engine to create custom database reports"
- s.description = "This Rails engine adds classes to create custom database reports with filtering and grouping functionality."
- s.license = "GPLv3"
-
- s.files = Dir["{config, doc, lib}/**/*", "README.md"]
-
- s.add_dependency "json"
-end