Project

General

Profile

Feature #32938 » 0001-Explicitly-require-a-class-called-in-initializers-th.patch

Mizuki ISHIKAWA, 2021-10-19 08:50

View differences:

app/models/custom_field.rb
359 359
    end
360 360
  end
361 361
end
362

  
363
require_dependency 'redmine/field_format'
config/initializers/10-patches.rb
1 1
# frozen_string_literal: true
2 2

  
3 3
require 'active_record'
4
require 'redmine/i18n'
4 5

  
5 6
module ActiveRecord
6 7
  class Base
lib/plugins/acts_as_tree/init.rb
1 1
# frozen_string_literal: true
2 2

  
3
require File.dirname(__FILE__) + '/lib/active_record/acts/tree'
3 4
ActiveRecord::Base.send :include, ActiveRecord::Acts::Tree
lib/redmine.rb
37 37

  
38 38
require 'redmine/acts/positioned'
39 39

  
40
require 'redmine/helpers/url'
41
require 'redmine/safe_attributes'
42
require 'redmine/subclass_factory'
43
require 'redmine/utils'
44
require 'issue_relation'
45
require 'redmine/configuration'
46
require 'redmine/scm/adapters/command_failed'
47
require 'redmine/wiki_formatting'
48
require 'redmine/wiki_formatting/macros'
49
require 'redmine/wiki_formatting/html_parser'
50
require 'redmine/wiki_formatting/textile/helper'
51
require 'redmine/wiki_formatting/textile/formatter'
52
require 'redmine/wiki_formatting/textile/html_parser'
53
if Object.const_defined?(:Redcarpet)
54
  require 'redmine/wiki_formatting/markdown/helper'
55
  require 'redmine/wiki_formatting/markdown/formatter'
56
  require 'redmine/wiki_formatting/markdown/html_parser'
57
end
58
if Object.const_defined?(:CommonMarker)
59
  require 'html/pipeline'
60
  require 'redmine/wiki_formatting/common_mark/markdown_filter'
61
  require 'redmine/wiki_formatting/common_mark/sanitization_filter'
62
  require 'redmine/wiki_formatting/common_mark/syntax_highlight_filter'
63
  require 'redmine/wiki_formatting/common_mark/fixup_auto_links_filter'
64
  require 'redmine/wiki_formatting/common_mark/external_links_filter'
65
  require 'redmine/wiki_formatting/common_mark/formatter'
66
  require 'redmine/wiki_formatting/common_mark/helper'
67
  require 'redmine/wiki_formatting/common_mark/html_parser'
68
end
69

  
70
require 'redmine/pagination'
71
require 'redmine/sudo_mode'
72
require 'redmine/views/api_template_handler'
73
require 'redmine/export/csv'
40 74
require 'redmine/scm/base'
41 75
require 'redmine/access_control'
42 76
require 'redmine/access_keys'
......
44 78
require 'redmine/activity/fetcher'
45 79
require 'redmine/ciphering'
46 80
require 'redmine/codeset_util'
47
require 'redmine/field_format'
48 81
require 'redmine/info'
49 82
require 'redmine/menu_manager'
50 83
require 'redmine/notifiable'
......
56 89
require 'redmine/syntax_highlighting'
57 90
require 'redmine/thumbnail'
58 91
require 'redmine/unified_diff'
59
require 'redmine/utils'
60 92
require 'redmine/version'
61
require 'redmine/wiki_formatting'
62 93

  
63 94
require 'redmine/default_data/loader'
64 95
require 'redmine/helpers/calendar'
......
72 103
require 'redmine/themes'
73 104
require 'redmine/hook'
74 105
require 'redmine/hook/listener'
106
require 'application_helper'
75 107
require 'redmine/hook/view_listener'
76 108
require 'redmine/plugin'
77 109
require 'redmine/twofa'
(1-1/16)