From 98c27aae57aec6c5b36571cd3495600faff40f3a Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Mon, 30 Nov 2009 06:11:27 +0000 Subject: [PATCH] adding changelog + CREATE TABLE for password policy management features --- debian/changelog | 4 +++- install/upgrades/0.9.10.sql | 12 +++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index ef12182e..87b13e5f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,6 +17,8 @@ alternc (0.9.10~rc1) stable; urgency=low * add new field to member form: 'notes' which is just a text field * send an email on new account creation. the actual email needs to be configured through the AlternC variables for this to work. + * added the password policy management module : you can choose which + password complexity you want to force for each place a password is required. * API changes * m_mysql->get_db_list() doesn't include size anymore because this is a major performance hit on MySQL < 5.1.22 if there are > 1000 @@ -25,7 +27,7 @@ alternc (0.9.10~rc1) stable; urgency=low * Major patch * Blue desktop using only css, no frameset etc * Sanitizing of get/request/post parameters - + -- Benjamin Sonntag Sat, 12 May 2009 17:55:30 +0200 alternc (0.9.9) stable; urgency=low diff --git a/install/upgrades/0.9.10.sql b/install/upgrades/0.9.10.sql index ce8efc3d..d3517abf 100644 --- a/install/upgrades/0.9.10.sql +++ b/install/upgrades/0.9.10.sql @@ -1 +1,11 @@ -ALTER IGNORE TABLE `membres` ADD COLUMN `notes` TEXT NOT NULL AFTER `type`; \ No newline at end of file +ALTER IGNORE TABLE `membres` ADD COLUMN `notes` TEXT NOT NULL AFTER `type`; + +CREATE TABLE IF NOT EXISTS `policy` ( + `name` varchar(64) NOT NULL, + `minsize` tinyint(3) unsigned NOT NULL, + `maxsize` tinyint(3) unsigned NOT NULL, + `classcount` tinyint(3) unsigned NOT NULL, + `allowlogin` tinyint(3) unsigned NOT NULL, + PRIMARY KEY (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='The password policies for services'; +