Added login form with Javascript (example).
Updated feature and class comments.
This commit is contained in:
@@ -137,6 +137,8 @@ feature -- Access
|
||||
build_auth_engine
|
||||
do
|
||||
to_implement ("Not implemented authentication")
|
||||
-- Note: we can remoce this feature, unless we want to
|
||||
-- provide a custom auth strategy.
|
||||
end
|
||||
|
||||
build_mailer
|
||||
@@ -157,7 +159,7 @@ feature -- Element change
|
||||
modules.extend (m)
|
||||
end
|
||||
|
||||
feature -- Compute location
|
||||
feature -- Theme: Compute location
|
||||
|
||||
compute_theme_location
|
||||
do
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
note
|
||||
description: "Class that enable to set basic configuration, application layout, core modules and themes."
|
||||
description: "[
|
||||
Class that enable to set basic configuration, application layout, core modules and themes.
|
||||
]"
|
||||
date: "$Date: 2015-02-13 13:08:13 +0100 (ven., 13 févr. 2015) $"
|
||||
revision: "$Revision: 96616 $"
|
||||
|
||||
@@ -104,10 +106,12 @@ feature -- Access: Theme
|
||||
feature -- Access: storage
|
||||
|
||||
storage_drivers: STRING_TABLE [CMS_STORAGE_BUILDER]
|
||||
--
|
||||
deferred
|
||||
end
|
||||
|
||||
storage (a_error_handler: ERROR_HANDLER): detachable CMS_STORAGE
|
||||
-- Retrieve current CMS_STORAGE strategy based on a configuration file.
|
||||
local
|
||||
retried: BOOLEAN
|
||||
l_message: STRING
|
||||
@@ -146,20 +150,24 @@ feature -- Access: storage
|
||||
retry
|
||||
end
|
||||
|
||||
feature -- Element change
|
||||
feature -- Status Report: Modules
|
||||
|
||||
module_registered (m: CMS_MODULE): BOOLEAN
|
||||
-- Is the module `m' registered?
|
||||
do
|
||||
Result := modules.has (m)
|
||||
end
|
||||
|
||||
module_with_same_type_registered (m: CMS_MODULE): BOOLEAN
|
||||
-- Is there a module `m' already registered with the same type?
|
||||
do
|
||||
Result := modules.has_module_with_same_type (m)
|
||||
end
|
||||
|
||||
feature -- Element change
|
||||
|
||||
register_module (m: CMS_MODULE)
|
||||
-- Add module `m' to `modules'
|
||||
-- Add module `m' to `modules'.
|
||||
require
|
||||
module_not_registered: not module_registered (m)
|
||||
no_module_with_same_type_registered: not module_with_same_type_registered (m)
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
note
|
||||
description: "Summary description for {CMS_BLOCK_REGION}."
|
||||
description: "[
|
||||
Describe where the block should appear on a site.
|
||||
]"
|
||||
date: "$Date: 2014-11-13 16:23:47 +0100 (jeu., 13 nov. 2014) $"
|
||||
|
||||
class
|
||||
@@ -19,12 +21,16 @@ feature {NONE} -- Initialization
|
||||
feature -- Access
|
||||
|
||||
name: READABLE_STRING_8
|
||||
-- Block region name.
|
||||
|
||||
blocks: ARRAYED_LIST [CMS_BLOCK]
|
||||
-- List of blocks.
|
||||
|
||||
|
||||
feature -- Element change
|
||||
|
||||
extend (b: CMS_BLOCK)
|
||||
-- Add a block `b' to the list of `blocks'.
|
||||
do
|
||||
blocks.force (b)
|
||||
end
|
||||
|
||||
@@ -37,12 +37,15 @@ feature {NONE} -- Initialization
|
||||
feature -- Access
|
||||
|
||||
name: READABLE_STRING_8
|
||||
-- <Precursor>
|
||||
|
||||
title: detachable READABLE_STRING_32
|
||||
-- <Precursor>
|
||||
|
||||
content: READABLE_STRING_8
|
||||
|
||||
format: detachable CONTENT_FORMAT
|
||||
--
|
||||
|
||||
feature -- Status report
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
note
|
||||
description: "Summary description for {CMS_ENCODERS}."
|
||||
author: ""
|
||||
date: "$Date: 2015-02-13 13:08:13 +0100 (ven., 13 févr. 2015) $"
|
||||
revision: "$Revision: 96616 $"
|
||||
|
||||
@@ -9,7 +8,7 @@ class
|
||||
|
||||
inherit
|
||||
ANY
|
||||
|
||||
|
||||
SHARED_HTML_ENCODER
|
||||
export
|
||||
{NONE} all
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
note
|
||||
description: "Summary description for {CMS_FORMATS}."
|
||||
author: ""
|
||||
date: "$Date: 2014-11-13 16:23:47 +0100 (jeu., 13 nov. 2014) $"
|
||||
revision: "$Revision: 96085 $"
|
||||
|
||||
@@ -26,6 +25,8 @@ feature -- Access
|
||||
|
||||
all_formats: LIST [CONTENT_FORMAT]
|
||||
once
|
||||
-- Can we provide an external file to read the
|
||||
-- supported formats?
|
||||
create {ARRAYED_LIST [CONTENT_FORMAT]} Result.make (3)
|
||||
Result.force (plain_text)
|
||||
Result.force (full_html)
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
note
|
||||
description: "Processes a HTTP request's BASIC authorization headers, putting the result into the execution variable user."
|
||||
description: "[
|
||||
Processes a HTTP request's BASIC authorization headers, putting the result into the execution variable user.
|
||||
]"
|
||||
date: "$Date: 2015-02-13 13:08:13 +0100 (ven., 13 févr. 2015) $"
|
||||
revision: "$Revision: 96616 $"
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
note
|
||||
description: "Summary description for {CMS_PAGE_CONTENT_TYPE}."
|
||||
author: ""
|
||||
date: "$Date$"
|
||||
revision: "$Revision$"
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
note
|
||||
description: "Summary description for {WSF_CMS_THEME}."
|
||||
author: ""
|
||||
date: "$Date$"
|
||||
revision: "$Revision$"
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
note
|
||||
description: "Summary description for {CMS_USER_STORAGE_I}."
|
||||
author: ""
|
||||
date: "$Date: 2015-01-27 19:15:02 +0100 (mar., 27 janv. 2015) $"
|
||||
revision: "$Revision: 96542 $"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user