Import archive redmine_checklists-3_1_24-light

This commit is contained in:
Alexandr Antonov 2024-06-04 11:35:10 +03:00
parent 5acbd9372f
commit 99d4f0f38e
5 changed files with 10 additions and 4 deletions

View File

@ -17,8 +17,8 @@
# You should have received a copy of the GNU General Public License
# along with redmine_checklists. If not, see <http://www.gnu.org/licenses/>.
class Checklist < ActiveRecord::Base
class Checklist < ApplicationRecord
include Redmine::SafeAttributes
belongs_to :issue
belongs_to :author, :class_name => "User", :foreign_key => "author_id"

View File

@ -4,7 +4,7 @@
<% end %>
<span class="checklist-show checklist-subject <%= done_css(f) %>">
<%= f.object.subject.to_s.strip.html_safe %>
<%= f.object.subject.to_s.strip.gsub('<', '&lt;').gsub('>', '&gt;').html_safe %>
</span>
<span class="checklist-edit checklist-new checklist-edit-box">

View File

@ -4,6 +4,11 @@ Redmine Checklists plugin - managing issue checklists plugin for Redmine
Copyright (C) 2011-2024 Kirill Bezrukov (RedmineUP)
http://www.redmineup.com/
== 2024-05-27 v3.1.24
* Updated Redmine 5.0 compatibility
* Fixed input for items with <> tags
== 2024-02-14 v3.1.23
* Dropped Redmine 3 support

View File

@ -19,7 +19,7 @@
requires_redmineup version_or_higher: '1.0.5' rescue raise "\n\033[31mRedmine requires newer redmineup gem version.\nPlease update with 'bundle update redmineup'.\033[0m"
CHECKLISTS_VERSION_NUMBER = '3.1.23'.freeze
CHECKLISTS_VERSION_NUMBER = '3.1.24'.freeze
CHECKLISTS_VERSION_TYPE = "Light version"
Redmine::Plugin.register :redmine_checklists do

View File

@ -17,6 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with redmine_checklists. If not, see <http://www.gnu.org/licenses/>.
require 'ostruct'
class OpenStruct2 < OpenStruct
undef id if defined?(id)