From 24a9a41f969cfd7625847c77a949e4b279f68406 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 19 Dec 2010 17:46:26 -0800 Subject: added "secret" profile search keywords --- update.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'update.php') diff --git a/update.php b/update.php index c5aa56194..382c83e5a 100644 --- a/update.php +++ b/update.php @@ -243,3 +243,7 @@ function update_1023() { ADD `login_date` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `register_date` "); } +function update_1024() { + q("ALTER TABLE `profile` ADD `keywords` TEXT NOT NULL AFTER `religion` "); +} + -- cgit v1.2.3 From 878067101f09b20014fab4c7f1265656528575d8 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 20 Dec 2010 00:27:00 -0800 Subject: block connection/friend request spam --- update.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'update.php') diff --git a/update.php b/update.php index 382c83e5a..5b4d99603 100644 --- a/update.php +++ b/update.php @@ -247,3 +247,7 @@ function update_1024() { q("ALTER TABLE `profile` ADD `keywords` TEXT NOT NULL AFTER `religion` "); } +function update_1025() { + q("ALTER TABLE `user` ADD `maxreq` int(11) NOT NULL DEFAULT '10' AFTER `pwdreset` "); +} + -- cgit v1.2.3 From ddec422de6707809aceb541e1191073b43aec18a Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 20 Dec 2010 19:38:34 -0800 Subject: begin plugin api --- update.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'update.php') diff --git a/update.php b/update.php index 5b4d99603..81c5f0aea 100644 --- a/update.php +++ b/update.php @@ -251,3 +251,13 @@ function update_1025() { q("ALTER TABLE `user` ADD `maxreq` int(11) NOT NULL DEFAULT '10' AFTER `pwdreset` "); } +function update_1026() { + q("CREATE TABLE IF NOT EXISTS `hook` ( + `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , + `hook` CHAR( 255 ) NOT NULL , + `file` CHAR( 255 ) NOT NULL , + `function` CHAR( 255 ) NOT NULL + ) ENGINE = MYISAM DEFAULT CHARSET=utf8 "); +} + + -- cgit v1.2.3