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 2026-02-10 00:27:40 +01:00
Code Issues Packages Projects Releases Activity
Files
661b05d9f32cc171b94de7d5313fa253d509ea50
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: 89ms Template: 1ms
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