<commit_before>require 'redmine'

require 'event_notification/patches/users_helper_patch'
require 'event_notification/patches/user_patch'
require 'event_notification/patches/project_patch'
require 'event_notification/patches/member_patch'
require 'event_notification/patches/issue_patch'
require 'event_notification/patches/document_patch'
require 'event_notification/patches/journal_patch'
require 'event_notification/patches/message_patch'
require 'event_notification/patches/wiki_content_patch'
require 'event_notification/patches/watchers_controller_patch'
require 'event_notification/patches/groups_controller_patch'
require 'event_notification/patches/principal_memberships_controller_patch'
require 'event_notification/patches/user_preference_patch'
require 'event_notification/patches/custom_field_patch'

require 'event_notification/patches/mailer_patch'

ActionDispatch::Callbacks.to_prepare do
  require_dependency 'event_notification/hooks/event_notification_hook_listener'
end

Redmine::Plugin.register :event_notifications do
  name 'Event Notifications plugin'
  author '<NAME>'
  description 'Customizes redmine project notification settings for every project event.'
  version '2.1.0'
  author_url 'mailto:<EMAIL>'

  settings :default => {
    'enable_event_notifications'        => false,
    'issue_cf_notifications'            => [],
    'issue_category_notifications'      => [],
    'issue_involved_in_related_notified'=> nil,
    'issue_relation_attachment_notified'=> false,
    'event_notifications_with_author'   => false },
  	:partial => 'settings/event_notifications_settings'
end<commit_msg>Updated the event notification plugin version. -> 2.2<commit_after>require 'redmine'

require 'event_notification/patches/users_helper_patch'
require 'event_notification/patches/user_patch'
require 'event_notification/patches/project_patch'
require 'event_notification/patches/member_patch'
require 'event_notification/patches/issue_patch'
require 'event_notification/patches/document_patch'
require 'event_notification/patches/journal_patch'
require 'event_notification/patches/message_patch'
require 'event_notification/patches/wiki_content_patch'
require 'event_notification/patches/watchers_controller_patch'
require 'event_notification/patches/groups_controller_patch'
require 'event_notification/patches/principal_memberships_controller_patch'
require 'event_notification/patches/user_preference_patch'
require 'event_notification/patches/custom_field_patch'

require 'event_notification/patches/mailer_patch'

ActionDispatch::Callbacks.to_prepare do
  require_dependency 'event_notification/hooks/event_notification_hook_listener'
end

Redmine::Plugin.register :event_notifications do
  name 'Event Notifications plugin'
  author '<NAME>'
  description 'Customizes redmine project notification settings for every project event.'
  version '2.2.0'
  author_url 'mailto:<EMAIL>'

  settings :default => {
    'enable_event_notifications'        => false,
    'issue_cf_notifications'            => [],
    'issue_category_notifications'      => [],
    'issue_involved_in_related_notified'=> nil,
    'issue_relation_attachment_notified'=> false,
    'event_notifications_with_author'   => false },
  	:partial => 'settings/event_notifications_settings'
end
{'fraction_non_alphanumeric': 0.08587088915956151, 'fraction_numerical': 0.00243605359317905, 'mean_word_length': 7.27455919395466, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 24, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4237214', 'n_tokens_mistral': 940, 'n_tokens_neox': 932, 'n_words': 155}