From 163d809ce7a1ad9009300de23b10396fc09bde09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Tue, 17 Dec 2024 13:21:49 +0100 Subject: [PATCH] v4.0.0 released --- .github/workflows/rubyonrails.yml | 4 ++-- .rubocop.yml | 6 +++--- CHANGELOG.md | 15 ++++++++++++++- README.md | 8 ++++---- init.rb | 6 +++--- 5 files changed, 26 insertions(+), 13 deletions(-) diff --git a/.github/workflows/rubyonrails.yml b/.github/workflows/rubyonrails.yml index 60d29c6b..5a7626cb 100644 --- a/.github/workflows/rubyonrails.yml +++ b/.github/workflows/rubyonrails.yml @@ -21,9 +21,9 @@ name: "GitHub CI" on: push: - branches: ["devel"] + branches: ["master"] pull_request: - branches: ["devel"] + branches: ["master"] jobs: plugin_tests: strategy: diff --git a/.rubocop.yml b/.rubocop.yml index d8dbfe41..cd06be9f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -85,7 +85,7 @@ Naming/AccessorMethodName: Naming/PredicateName: Exclude: - - lib/redmine_dmsf/patches/attachable_patch.rb # Easy tests + - patches/attachable_patch.rb # Easy tests Style/HashSyntax: EnforcedShorthandSyntax: either @@ -111,8 +111,8 @@ Rails/SkipsModelValidations: Exclude: - app/helpers/dmsf_upload_helper.rb # touch is Okay - app/models/dmsf_workflow.rb # update doesn't work here - - lib/redmine_dmsf/patches/user_patch.rb - - lib/redmine_dmsf/patches/role_patch.rb + - patches/user_patch.rb + - patches/role_patch.rb - db/migrate/20170526144701_dmsf_attachable.rb - db/migrate/20170421101901_dmsf_file_container_rollback.rb - db/migrate/20170118142001_dmsf_file_container.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index f7e243b9..48bca8fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,22 @@ Changelog for Redmine DMSF ========================== -3.2.5 *???-??-??* +4.0.0 *2024-12-17* ------------------ + Redmine 6 + +* New: #1571 - Update de.yml +* Bug: #1570 - Emails are not sent to the author if no_self_notified +* Bug: #1568 - The "Link from" doesn't work after upgrading the browsers +* Bug: #1567 - Fixes Column 'dmsf_mail_notification' cannot be null +* Bug: #1566 - Approval workflow notifications +* Bug: #1565 - Plugin settings "Display notified recipients" does not apply! +* Bug: #1564 - Revision API issues +* New: #1563 - Redmine 6 +* New: #1561 - Add a waring about max number of uploaded files exceeded +* Bug: #1560 - Can't add more than one link to an issue + 3.2.4 *2024-10-24* ------------------ diff --git a/README.md b/README.md index b65eb8a6..964d1c64 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Redmine DMSF Plugin 3.2.5 devel +# Redmine DMSF Plugin 4.0.0 -[![GitHub CI](https://github.com/danmunn/redmine_dmsf/actions/workflows/rubyonrails.yml/badge.svg?branch=devel)](https://github.com/danmunn/redmine_dmsf/actions/workflows/rubyonrails.yml) +[![GitHub CI](https://github.com/danmunn/redmine_dmsf/actions/workflows/rubyonrails.yml/badge.svg?branch=master)](https://github.com/danmunn/redmine_dmsf/actions/workflows/rubyonrails.yml) [![Support Ukraine Badge](https://bit.ly/support-ukraine-now)](https://github.com/support-ukraine/support-ukraine) Redmine DMSF is Document Management System Features plugin for Redmine issue tracking system; It is aimed to replace current Redmine's Documents module. @@ -38,11 +38,11 @@ Further information about the GPL license can be found at * Editing of office documents * REST API * DMS Document revision as a custom field type - * Compatible with Redmine 5.0.x + * Compatible with Redmine 6 ## Dependencies - * Redmine 5.0 or higher + * Redmine 6.0 or higher ### Full-text search (optional) diff --git a/init.rb b/init.rb index 9d8c2e91..44e33f2a 100644 --- a/init.rb +++ b/init.rb @@ -24,7 +24,7 @@ author_url 'https://github.com/danmunn/redmine_dmsf/graphs/contributors' author 'Vít Jonáš / Daniel Munn / Karel Pičman' description 'Document Management System Features' - version '4.0.0 devel' + version '4.0.0' requires_redmine version_or_higher: '6.0.0' @@ -33,7 +33,7 @@ else '0' end - use_project_names = Redmine::Plugin.installed?('easy_extensions') ? '1' : '0' + use_project_names = defined?(EasyExtensions) ? '1' : '0' settings partial: 'settings/dmsf_settings', default: { @@ -69,4 +69,4 @@ } end -require_relative 'after_init' unless Redmine::Plugin.installed?('easy_extensions') +require_relative 'after_init' unless defined?(EasyExtensions)