diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a1123e9
--- /dev/null
+++ b/README.md
@@ -0,0 +1,4 @@
+ROC: The "REST On CMS" solution
+
+Simple content management system built with Eiffel, and the Eiffel Web Framework, with REST API in mind.
+
diff --git a/cms/cms-safe.ecf b/cms/cms-safe.ecf
index 2c2d41f..56aac47 100644
--- a/cms/cms-safe.ecf
+++ b/cms/cms-safe.ecf
@@ -10,7 +10,7 @@
-
+
diff --git a/cms/layout/license.lic b/cms/layout/license.lic
new file mode 100644
index 0000000..1f97942
--- /dev/null
+++ b/cms/layout/license.lic
@@ -0,0 +1,3 @@
+${NOTE_KEYWORD}
+ copyright: "2011-${YEAR}, Javier Velilla, Jocelyn Fiat, Eiffel Software and others"
+ license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
diff --git a/cms/layout/src/application_layout.e b/cms/layout/src/application_layout.e
index a76e3d3..aded89d 100644
--- a/cms/layout/src/application_layout.e
+++ b/cms/layout/src/application_layout.e
@@ -1,7 +1,18 @@
note
- description: "[API Layout, to provide paths(config, application, log, documentation, www, html cj)]"
- date: "$Date: 2014-08-20 15:21:15 -0300 (mi., 20 ago. 2014) $"
- revision: "$Revision: 95678 $"
+ description: "[
+ Application layout
+ Related to file system locations such as
+ - configuration locations
+ - application
+ - log
+ - documentation
+ - www
+ - assets
+ - templates (html, Collection+JSON, ...)
+ - ...
+ ]"
+ date: "$Date$"
+ revision: "$Revision$"
class
APPLICATION_LAYOUT
@@ -31,6 +42,7 @@ feature {NONE} -- Initialization
feature -- Access
path: PATH
+ -- Root location.
feature -- Access: internal
@@ -150,4 +162,7 @@ feature {NONE} -- Implementation
internal_template_path: detachable like template_path
-- Directory for templates (HTML, etc).
+;note
+ copyright: "2011-2014, Javier Velilla, Jocelyn Fiat, Eiffel Software and others"
+ license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
end
diff --git a/cms/layout/src/configuration/database_configuration.e b/cms/layout/src/configuration/database_configuration.e
index c24629b..e4441f3 100644
--- a/cms/layout/src/configuration/database_configuration.e
+++ b/cms/layout/src/configuration/database_configuration.e
@@ -36,4 +36,7 @@ feature -- Access
Result := "Driver={"+driver+"};" + database_string;
end
+note
+ copyright: "2011-2014, Javier Velilla, Jocelyn Fiat, Eiffel Software and others"
+ license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
end
diff --git a/cms/layout/src/configuration/json_configuration.e b/cms/layout/src/configuration/json_configuration.e
index 087e233..e8f0453 100644
--- a/cms/layout/src/configuration/json_configuration.e
+++ b/cms/layout/src/configuration/json_configuration.e
@@ -97,4 +97,7 @@ feature {NONE} -- JSON
create Result.make_parser (a_string)
end
+note
+ copyright: "2011-2014, Javier Velilla, Jocelyn Fiat, Eiffel Software and others"
+ license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
end
diff --git a/cms/layout/src/configuration/logger_configuration.e b/cms/layout/src/configuration/logger_configuration.e
index 25650a6..7a16ee4 100644
--- a/cms/layout/src/configuration/logger_configuration.e
+++ b/cms/layout/src/configuration/logger_configuration.e
@@ -1,5 +1,5 @@
note
- description: "Object that represent Logger configuration settings"
+ description: "Object that represents Logger configuration settings"
date: "$Date: 2014-08-20 15:21:15 -0300 (mi., 20 ago. 2014) $"
revision: "$Revision: 95678 $"
@@ -42,7 +42,7 @@ feature -- Access
-- When non-zero, the value specifies the maximum number of backup files.
level: INTEGER
- -- Logger level.
+ -- Logger level.
feature -- Element Change
@@ -77,4 +77,7 @@ feature -- Element Change
level := 0
end
end
+note
+ copyright: "2011-2014, Javier Velilla, Jocelyn Fiat, Eiffel Software and others"
+ license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
end
diff --git a/cms/layout/src/error/basic_error_handler.e b/cms/layout/src/error/basic_error_handler.e
index 3c29d2c..f010565 100644
--- a/cms/layout/src/error/basic_error_handler.e
+++ b/cms/layout/src/error/basic_error_handler.e
@@ -48,4 +48,7 @@ feature -- Change Element
error_location_set: error_location = a_location
end
+note
+ copyright: "2011-2014, Javier Velilla, Jocelyn Fiat, Eiffel Software and others"
+ license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
end
diff --git a/cms/layout/src/error/shared_error.e b/cms/layout/src/error/shared_error.e
index 82c87b6..943cd5c 100644
--- a/cms/layout/src/error/shared_error.e
+++ b/cms/layout/src/error/shared_error.e
@@ -102,4 +102,7 @@ feature -- Element Settings
last_error__reset: last_error = Void
successful: successful
end
+note
+ copyright: "2011-2014, Javier Velilla, Jocelyn Fiat, Eiffel Software and others"
+ license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
end
diff --git a/cms/layout/src/logger/logging_facility.e b/cms/layout/src/logger/logging_facility.e
index e2cbb94..7807e15 100644
--- a/cms/layout/src/logger/logging_facility.e
+++ b/cms/layout/src/logger/logging_facility.e
@@ -134,4 +134,7 @@ feature -- Output
l_retry := True
retry
end
+note
+ copyright: "2011-2014, Javier Velilla, Jocelyn Fiat, Eiffel Software and others"
+ license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
end
diff --git a/cms/layout/src/logger/shared_logger.e b/cms/layout/src/logger/shared_logger.e
index f8160a8..9f6996f 100644
--- a/cms/layout/src/logger/shared_logger.e
+++ b/cms/layout/src/logger/shared_logger.e
@@ -106,4 +106,7 @@ feature {NONE} -- JSON
create Result.make_parser (a_string)
end
+note
+ copyright: "2011-2014, Javier Velilla, Jocelyn Fiat, Eiffel Software and others"
+ license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
end
diff --git a/cms/license.lic b/cms/license.lic
new file mode 100644
index 0000000..3e50931
--- /dev/null
+++ b/cms/license.lic
@@ -0,0 +1,3 @@
+${NOTE_KEYWORD}
+ copyright: "2011-${YEAR}, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
+ license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
diff --git a/cms/model/model-safe.ecf b/cms/model/cms_model-safe.ecf
similarity index 81%
rename from cms/model/model-safe.ecf
rename to cms/model/cms_model-safe.ecf
index cc50b08..18d774b 100644
--- a/cms/model/model-safe.ecf
+++ b/cms/model/cms_model-safe.ecf
@@ -1,6 +1,6 @@
-
-
+
+
-
+
diff --git a/cms/persistence/implementation/sqlite/persistence_sqlite-safe.ecf b/cms/persistence/implementation/sqlite/persistence_sqlite-safe.ecf
index 90af783..9e6d263 100644
--- a/cms/persistence/implementation/sqlite/persistence_sqlite-safe.ecf
+++ b/cms/persistence/implementation/sqlite/persistence_sqlite-safe.ecf
@@ -11,6 +11,7 @@
+
diff --git a/examples/roc_api/modules/demo/cms_demo_module-safe.ecf b/examples/roc_api/modules/demo/cms_demo_module-safe.ecf
index e1b0524..bb9ae6d 100644
--- a/examples/roc_api/modules/demo/cms_demo_module-safe.ecf
+++ b/examples/roc_api/modules/demo/cms_demo_module-safe.ecf
@@ -12,7 +12,7 @@
-
+