Skip to content

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

add descriptive text about the storages module

Christophe Bliardc8b503d758db
diff --git a/modules/storages/app/contracts/storages/storages/concerns/manage_storages_guarded.rb b/modules/storages/app/contracts/storages/storages/concerns/manage_storages_guarded.rb
index cece3d1fd99..be6875a5466 100644
--- a/modules/storages/app/contracts/storages/storages/concerns/manage_storages_guarded.rb
+++ b/modules/storages/app/contracts/storages/storages/concerns/manage_storages_guarded.rb
@@ -29,7 +29,7 @@
#++
# Purpose: This is a "concern" to check if a user is authorized to
-# Manage Storages. ToDo: Why "Guarded"?
+# Manage Storages and guard against unauthorized users.
# It acts as a factored-out add-on to a model, that's why there is
# model specific functions in the "included" callback.
# Reference: Here is a tutorial about concerns. They basically inject
diff --git a/modules/storages/openproject-storages.gemspec b/modules/storages/openproject-storages.gemspec
index 75795cab164..cd50194d35c 100644
--- a/modules/storages/openproject-storages.gemspec
+++ b/modules/storages/openproject-storages.gemspec
@@ -1,40 +1,42 @@
-# This is the first file in the storages plugin, so I'll use # it to
-# include some general comments (ToDo: Move this into a separate
-# file?).
-# With the comments in this file we try to lift you from a beginner's
-# level to an intermediary level of Ruby on Rails in the context of
+# The comments in the files of this module will try to lift you from a
+# beginner's level to an intermediary level of Ruby on Rails in the context of
# OpenProject.
-# After reviewing this plugin, you will probably be able to create new
-# plugins yourself and to perform small to medium extensions of OpenProject.
+#
+# After reviewing this plugin, you will probably be able to create new plugins
+# yourself and perform small to medium extensions of OpenProject.
+#
# Preconditions:
-# - We assume that you are more or less familiar with the Ruby
-# language. If not, please check: ToDo: Ruby tutorial
-# - We also assume that you are familiar with the basic Rails concepts
-# and that you have built the usual toy application (blog with
-# posts) yourself. So you know what is a model, a controller, a view,
-# a database migration etc.
-# - Just go to https://guides.rubyonrails.org/
-# and read and practice most of the guides, except for the last sections
-# on Extending Rails, Contributions, Policies and Release Notes.
-# - Frank Bergmann has put together some tips and tricks on how to setup
-# a development environment and to get started developing:
-# ToDo: Publish PPTs
-#
-# ToDo: Copy /db/ and migrations from the global application to a local
-# ./db/ folder?
+#
+# - You are familiar with the Ruby language. If not,
+# https://www.ruby-lang.org/en/documentation/quickstart/ may be a good place
+# to start.
+#
+# - You are familiar with the basic Rails concepts, meaning you're able to build
+# a basic application like a blog with post: you know what are models,
+# controllers, views, database migrations, etc.
+#
+# - You are familiar with Ruby on Rails guides available on
+# https://guides.rubyonrails.org/. You have read and practiced most of them
+# (except for the last sections on Extending Rails, Contributions, Policies
+# and Release Notes) and know how to look them up for information.
+#
+# - You have an OpenProject development environment set up. If not, use
+# https://www.openproject.org/docs/development/#additional-resources to
+# prepare one.
+#
+# - Frank Bergmann has put together additional tips and tricks on how to setup a
+# development environment and to get started developing: ToDo: Publish PPTs
#
# Other good resources:
# - Modules vs. Classes:
# https://medium.com/rubycademy/modules-in-ruby-part-i-a2cdfaccdb6e and
-# Explains the concepts of module (vs. class) and mixing, together with
-# the keywords module, include, prepend and extend.
+# Explains the concepts of module (vs. class) and mixing, together with the
+# keywords module, include, prepend and extend.
# - Mixins and Modules:
# https://blog.appsignal.com/2021/01/13/using-mixins-and-modules-in-your-ruby-on-rails-application.html
-#
-#
-# Used by: OpenProject package manager(?)
-# Purpose: Defines the metadata for the module
-# References: https://guides.rubygems.org/specification-reference/
+
+# Used by: OpenProject package manager(?) Purpose: Defines the metadata for the
+# module References: https://guides.rubygems.org/specification-reference/
# rubocop:disable Gemspec/RequireMFA
Gem::Specification.new do |s|
s.name = 'openproject-storages'