Logo
Explore Help
Register Sign In
Nemcio/Redmine
1
0
Fork 0
You've already forked Redmine
mirror of https://github.com/redmine/redmine.git synced 2025-11-08 06:15:59 +01:00
Code Issues Packages Projects Releases Activity
Files
c17b42509b2a79e53d19facfa00fcc16ec401cf9
Redmine/test/fixtures/plugins/redmine_test_plugin_foo/init.rb

13 lines
360 B
Ruby
Raw Normal View History

Refactor integration test for plugins routing (added in r22328) in order to use the new plugins directory path for test environment (#36320). git-svn-id: https://svn.redmine.org/redmine/trunk@22513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-11 10:56:02 +00:00
Redmine::Plugin.register :redmine_test_plugin_foo do
name 'Test plugin redmine_test_plugin_foo'
author 'Author name'
description 'This is a plugin for Redmine test'
version '0.0.1'
end
Fixes attachments functionality for (custom) plugins broken since fix for CVE-2022-44030 by adding a dynamic routing constraint which can be modified by plugins (#39862). Patch by @jkraemer. git-svn-id: https://svn.redmine.org/redmine/trunk@22551 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-22 02:08:53 +00:00
Redmine::Acts::Attachable::ObjectTypeConstraint.register_object_type('plugin_articles')
Refactor integration test for plugins routing (added in r22328) in order to use the new plugins directory path for test environment (#36320). git-svn-id: https://svn.redmine.org/redmine/trunk@22513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-11 10:56:02 +00:00
Pathname(__dir__).glob("app/**/*.rb").sort.each do |path|
require path
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 178ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API