OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
require "open_project/patches"
module OpenProject::Patches::CarrierwaveSanitizedFile
extend ActiveSupport::Concern
included do
# create the directory if it doesn't exist
# Overwritten to avoid ruby 2.7 deprecations
def mkdir!(path, directory_permissions)
options = {}
options[:mode] = directory_permissions if directory_permissions
FileUtils.mkdir_p(File.dirname(path), **options)
end
end
end
OpenProject::Patches.patch_gem_version "carrierwave", "1.3.4" do
CarrierWave::SanitizedFile.include OpenProject::Patches::CarrierwaveSanitizedFile
end