Protected cms service from registering many time the same module type.
Moved library/persistence/implementation/* under library/persistence/.
Moved site/www/themes to site/themes
For SQLite storage driver, auto create sqlite db file using associated sql script (to be completed).
Added code in demo module to reuse storage for module purpose.
Always call sql_post_execution in sql_query and sql_change, and not anymore by the callers.
Removed is_web and is_html from {CMS_SETUP}, it was not used.
Reused SHARED_*_ENCODER in CMS_ENCODERS
Added CMS_API.logger rather than using directly the SHARED_LOGGER.log ...
Centralize the implementation of current_user in CMS_REQUEST_UTIL
Removed the inheritance on WSF_FILTER for node handlers, since it is useless and unused.
Added CMS_NODE_API and CMS_USER_API
Prefix html id for block generated html items with "block-", to avoid css name conflict on "main", "content" or similar.
Code cleaning
14 lines
490 B
SQL
14 lines
490 B
SQL
DROP TABLE IF EXISTS nodes;
|
|
|
|
CREATE TABLE nodes
|
|
(
|
|
id smallint unsigned NOT NULL auto_increment,
|
|
publication_date date NOT NULL, #When the article was published
|
|
creation_date date NOT NULL, #When the article was created
|
|
modification_date date NOT NULL, #When the article was updated
|
|
title varchar(255) NOT NULL, #Full title of the article
|
|
summary text NOT NULL, #A short summary of the articule
|
|
content mediumtext NOT NULL, #The HTML content of the article
|
|
|
|
PRIMARY KEY (ID)
|
|
); |