Import archive redmineup_tags-2_0_13-light
This commit is contained in:
parent
b7e7462b0f
commit
5cf6c17be9
@ -16,15 +16,14 @@ local Pipeline(rubyVer, db, license, redmine, dependents) = {
|
||||
};
|
||||
|
||||
[
|
||||
Pipeline("2.7.3", "mysql", "pro", "trunk", "redmine_agile+pro"),
|
||||
Pipeline("2.7.3", "mysql", "light", "trunk", "redmine_agile+light"),
|
||||
Pipeline("2.7.3", "pg", "pro", "trunk", ""),
|
||||
Pipeline("2.2.6", "mysql", "pro", "3.4", ""),
|
||||
Pipeline("2.2.6", "mysql", "pro", "3.3", ""),
|
||||
Pipeline("2.2.6", "mysql", "light", "3.3", ""),
|
||||
Pipeline("2.2.6", "pg", "pro","3.3", ""),
|
||||
Pipeline("2.2.6", "pg", "light", "3.3", ""),
|
||||
Pipeline("2.4.1", "mysql", "light", "3.4", ""),
|
||||
Pipeline("3.1.0", "pg", "pro", "trunk", ""),
|
||||
Pipeline("3.1.0", "mysql", "pro", "trunk", "redmine_agile+pro"),
|
||||
Pipeline("3.1.0", "mysql", "light", "trunk", "redmine_agile+light"),
|
||||
Pipeline("3.1.0", "pg", "pro", "5.0", ""),
|
||||
Pipeline("2.7.3", "mysql", "pro", "4.2", ""),
|
||||
Pipeline("2.7.3", "pg", "light", "4.2", ""),
|
||||
Pipeline("2.4.1", "mysql", "light", "4.0", ""),
|
||||
Pipeline("2.4.1", "pg", "pro", "3.4", "redmine_contacts+pro"),
|
||||
Pipeline("2.2.6", "pg", "light", "3.4", ""),
|
||||
Pipeline("2.2.6", "mysql", "pro", "3.0", "")
|
||||
]
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -3,7 +3,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -3,7 +3,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
36
config/locales/ro.yml
Normal file
36
config/locales/ro.yml
Normal file
@ -0,0 +1,36 @@
|
||||
ro:
|
||||
tags: Etichete
|
||||
field_tags: Etichete
|
||||
field_tag_list: Etichete
|
||||
label_add_tags: Adaugă etichete
|
||||
notice_tags_added: Etichetele au fost adăugate
|
||||
notice_failed_to_add_tags: Etichetele nu s-au putut adăuga
|
||||
setting_issue_tags: Etichete de sarcini
|
||||
issues_sidebar: Mod de afișare etichete în sidebar
|
||||
issues_show_count: Afișează numărul de sarcini
|
||||
issues_open_only: Afișează doar pentru sarcinile deschise
|
||||
issues_sort_by: Sortează etichetele după
|
||||
issues_use_colors: Folosește culori
|
||||
|
||||
issue_tags_sidebar_none: Deloc
|
||||
issue_tags_sidebar_list: Listă
|
||||
issue_tags_sidebar_cloud: Nor
|
||||
issue_tags_sidebar_simple_cloud: Nor simplu
|
||||
|
||||
issues_sort_by_name: Denumire
|
||||
issues_sort_by_count: Număr de sarcini
|
||||
issues_sort_order_asc: Crescător
|
||||
issues_sort_order_desc: Descrescător
|
||||
|
||||
auto_complete_new_tag: "Adaugă..."
|
||||
|
||||
issue_tags_label_add_tag: "+ adaugă etichetă"
|
||||
issue_tags_manage_tags: Administrare etichete
|
||||
issue_tags_tag: Etichetă
|
||||
issue_tags_button_merge: Unește
|
||||
issue_tags_label_merge: Unește etichetele selectate
|
||||
|
||||
tags_suggestion_order: Sugerează în ordine, pornind de la
|
||||
tags_order_by_name: Denumire alfabetic
|
||||
tags_order_by_last_created: Ultima creată
|
||||
tags_order_by_most_used: Cea mai folosită
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,9 +1,14 @@
|
||||
== Redmine Tags plugin changelog
|
||||
|
||||
Redmine Tags plugin - Tags board plugin for redmine
|
||||
Copyright (C) 2011-2022 RedmineUP
|
||||
Copyright (C) 2011-2023 RedmineUP
|
||||
http://www.redmineup.com/
|
||||
|
||||
== 2023-01-27 v2.0.13
|
||||
|
||||
* Romanian locale updated (MarianV)
|
||||
* Fixed "is not" tags filter condition
|
||||
|
||||
== 2022-04-11 v2.0.12
|
||||
|
||||
* Fixed broken link
|
||||
|
6
init.rb
6
init.rb
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
@ -17,11 +17,11 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with redmine_tags. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
requires_redmine_crm version_or_higher: '0.0.56' rescue raise "\n\033[31mRedmine requires newer redmine_crm gem version.\nPlease update with 'bundle update redmine_crm'.\033[0m"
|
||||
requires_redmine_crm version_or_higher: '0.0.59' rescue raise "\n\033[31mRedmine requires newer redmine_crm gem version.\nPlease update with 'bundle update redmine_crm'.\033[0m"
|
||||
|
||||
require 'redmine'
|
||||
|
||||
TAGS_VERSION_NUMBER = '2.0.12'
|
||||
TAGS_VERSION_NUMBER = '2.0.13'
|
||||
TAGS_VERSION_TYPE = 'Light version'
|
||||
|
||||
Redmine::Plugin.register :redmineup_tags do
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
@ -52,7 +52,7 @@ module RedmineupTags
|
||||
op = operator_for('issue_tags')
|
||||
case op
|
||||
when '=', '!'
|
||||
issues = issues.tagged_with(values_for('issue_tags').clone, match_all: true)
|
||||
issues = issues.tagged_with(values_for('issue_tags').clone, any: true)
|
||||
when '!*'
|
||||
issues = issues.joins(:tags).uniq
|
||||
else
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -3,7 +3,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -3,7 +3,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -3,7 +3,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -3,7 +3,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -3,7 +3,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
@ -68,6 +68,26 @@ class IssuesControllerTest < ActionController::TestCase
|
||||
issue.tags = []
|
||||
end
|
||||
|
||||
def test_get_index_without_selected_tags
|
||||
issue1, issue2 = Issue.find(1), Issue.find(2)
|
||||
issue1.tags << @tag
|
||||
issue2.tags << @last_tag
|
||||
compatible_request(
|
||||
:get,
|
||||
:index,
|
||||
f: ['issue_tags'],
|
||||
op: { issue_tags: '!' },
|
||||
v: { issue_tags: ['test_tag', 'last_tag'] },
|
||||
c: ['status', 'priority', 'subject', 'tags_relations']
|
||||
)
|
||||
assert_response :success
|
||||
assert_select 'table.list.issues tr.issue', (Issue.count - 2)
|
||||
assert_select 'table.list.issues tr.issue td.subject', text: issue2.subject, count: 0
|
||||
assert_select 'table.list.issues tr.issue td.tags a', text: 'test_tag', count: 0
|
||||
ensure
|
||||
issue1.tags, issue2.tags = [], []
|
||||
end
|
||||
|
||||
def test_get_index_with_sidebar_tags_in_list_by_count
|
||||
issue1 = Issue.find(1)
|
||||
issue1.tags << @tag
|
||||
|
@ -3,7 +3,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -3,7 +3,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -3,7 +3,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -3,7 +3,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
@ -3,7 +3,7 @@
|
||||
# This file is a part of Redmine Tags (redmine_tags) plugin,
|
||||
# customer relationship management plugin for Redmine
|
||||
#
|
||||
# Copyright (C) 2011-2022 RedmineUP
|
||||
# Copyright (C) 2011-2023 RedmineUP
|
||||
# http://www.redmineup.com/
|
||||
#
|
||||
# redmine_tags is free software: you can redistribute it and/or modify
|
||||
|
Loading…
x
Reference in New Issue
Block a user