diff --git a/INSTALL/build/technical_design/TD-ACL.txt b/INSTALL/build/technical_design/TD-ACL.txt deleted file mode 100644 index 99e9525e2..000000000 --- a/INSTALL/build/technical_design/TD-ACL.txt +++ /dev/null @@ -1,16 +0,0 @@ -ACL Technical Design (TD) - -To use Access Control in CakePHP we use its own AclComponent. - -http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/simple-acl-controlled-application.html -http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/part-two.html - - CakePHP example, just telling how to populate and connect the CakePHP AclController. - -http://stackoverflow.com/questions/6154285/aros-table-in-cakephp-is-still-including-users-even-after-bindnode - - If ACL on Role level add this small correction, to just only add Roles to CakePHP ACL tables and not to add the Users. - -http://bakery.cakephp.org/articles/theshz/2006/11/28/user-permissions-and-cakephp-acl - - Calling the ACL from within a controller. diff --git a/INSTALL/build/technical_design/TD-forum.txt b/INSTALL/build/technical_design/TD-forum.txt deleted file mode 100644 index 7cb7102ab..000000000 --- a/INSTALL/build/technical_design/TD-forum.txt +++ /dev/null @@ -1,12 +0,0 @@ -Forum Technical Design (TD) - -We use a plugin giving Forum use in CakePHP. - -http://milesj.me/code/cakephp/forum - -Alternative PhpBB in conjunction with CakePHP Users and Roles tables. - -http://bakery.cakephp.org/articles/wilsonsheldon/2009/01/13/phpbb3-api-bridge -http://www.phpbb.com/community/viewtopic.php?f=71&t=993475 - - CakePHP and a PhpBB3 forum. diff --git a/INSTALL/documentation.pdf b/INSTALL/documentation.pdf deleted file mode 100644 index fb3ae638e..000000000 Binary files a/INSTALL/documentation.pdf and /dev/null differ diff --git a/INSTALL/setup/upgrade_2.3.sql b/INSTALL/setup/upgrade_2.3.sql deleted file mode 100644 index 7568929a6..000000000 --- a/INSTALL/setup/upgrade_2.3.sql +++ /dev/null @@ -1,122 +0,0 @@ --- Copyright (c) 2009 www.cryer.co.uk --- Script is free to use provided this copyright header is included. -drop procedure if exists AddColumnUnlessExists; -delimiter '//' - -create procedure AddColumnUnlessExists( - IN dbName tinytext, - IN tableName tinytext, - IN fieldName tinytext, - IN fieldDef text) -begin - IF NOT EXISTS ( - SELECT * FROM information_schema.COLUMNS - WHERE column_name=fieldName - and table_name=tableName - and table_schema=dbName - ) - THEN - set @ddl=CONCAT('ALTER TABLE ',dbName,'.',tableName, - ' ADD COLUMN ',fieldName,' ',fieldDef); - prepare stmt from @ddl; - execute stmt; - END IF; -end; -// - -delimiter ';' - -call AddColumnUnlessExists(Database(), 'roles', 'perm_template', 'TINYINT( 1 ) NOT NULL DEFAULT 0'); --- -------------------------------------------------------- - --- --- Table structure for table `templates` --- - -CREATE TABLE IF NOT EXISTS `templates` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, - `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, - `org` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, - `share` tinyint(1) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- -------------------------------------------------------- - --- --- Table structure for table `template_elements` --- - -CREATE TABLE IF NOT EXISTS `template_elements` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `template_id` int(11) NOT NULL, - `position` int(11) NOT NULL, - `element_definition` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- -------------------------------------------------------- - --- --- Table structure for table `template_element_attributes` --- - -CREATE TABLE IF NOT EXISTS `template_element_attributes` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `template_element_id` int(11) NOT NULL, - `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, - `description` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, - `to_ids` tinyint(1) NOT NULL DEFAULT '1', - `category` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, - `complex` tinyint(1) NOT NULL, - `type` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, - `mandatory` tinyint(1) NOT NULL, - `batch` tinyint(1) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- -------------------------------------------------------- - --- --- Table structure for table `template_element_files` --- - -CREATE TABLE IF NOT EXISTS `template_element_files` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `template_element_id` int(11) NOT NULL, - `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, - `description` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, - `category` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, - `malware` tinyint(1) NOT NULL, - `mandatory` tinyint(1) NOT NULL, - `batch` tinyint(1) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- -------------------------------------------------------- - --- --- Table structure for table `template_element_texts` --- - -CREATE TABLE IF NOT EXISTS `template_element_texts` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, - `template_element_id` int(11) NOT NULL, - `text` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- -------------------------------------------------------- - --- --- Table structure for table `template_tags` --- - -CREATE TABLE IF NOT EXISTS `template_tags` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `template_id` int(11) NOT NULL, - `tag_id` int(11) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1;