<commit_before>require 'redmine'
require 'dispatcher'
require 'account_controller_patch'

Redmine::Plugin.register :redmine_self_service_password do
  name 'Redmine Self Service Password plugin'
  author '<NAME>'
  description 'This is a plugin that allows Redmine to work with the Keep\'s Authentication Management Service'
  version '0.0.4'
  author_url 'mailto:<EMAIL>'

  settings :default => {
    'selfServicePasswordURL' => 'https://www.keep.pt/ams/',
    'selfServicePasswordName' => 'KEEP SOLUTIONS authentication management service'
  }, :partial => 'settings/self_service_password'
  project_module :self_service_password do
    permission :self_service, {:self_service_password => :show}
  end
end

Dispatcher.to_prepare do
	 require_dependency 'account_controller'
  AccountController.send(:include, AccountControllerPatch)
end
<commit_msg>Removed "Project Module"<commit_after>require 'redmine'
require 'dispatcher'
require 'account_controller_patch'

Redmine::Plugin.register :redmine_self_service_password do
  name 'Redmine Self Service Password plugin'
  author '<NAME>'
  description 'This is a plugin that allows Redmine to work with the Keep\'s Authentication Management Service'
  version '0.0.4'
  author_url 'mailto:<EMAIL>'

  settings :default => {
    'selfServicePasswordURL' => 'https://www.keep.pt/ams/',
    'selfServicePasswordName' => '<PASSWORD>'
  }, :partial => 'settings/self_service_password'
end

Dispatcher.to_prepare do
	 require_dependency 'account_controller'
  AccountController.send(:include, AccountControllerPatch)
end

{'fraction_non_alphanumeric': 0.10025542784163474, 'fraction_numerical': 0.0038314176245210726, 'mean_word_length': 5.933628318584071, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 17, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '4051708', 'n_tokens_mistral': 460, 'n_tokens_neox': 446, 'n_words': 120}