summaryrefslogtreecommitdiff
path: root/updates
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-11-14 20:30:08 +0000
committerDries Buytaert <dries@buytaert.net>2001-11-14 20:30:08 +0000
commite42d97b5ce6b7a54c016ceeddd22d79b17595977 (patch)
tree3c8751cf735fc12cb282401e851c0f14cd237985 /updates
parentdeaf0271031b6040356c9c23595a00974ce51a6f (diff)
downloadbrdo-e42d97b5ce6b7a54c016ceeddd22d79b17595977.tar.gz
brdo-e42d97b5ce6b7a54c016ceeddd22d79b17595977.tar.bz2
User module and DA modules:
+ Updated the documentation to use a Jabber or Drupal IDs instead of Deplhi IDs (as delphi.module won't be part of the default distro). Drupal and Jabber authentication make a better example. + added missing localization / t() functions in user_validate_authmaps() + applied coding convention: * fixed indentation * removed "EOF"; and <<EOFs from user module * changed some HTML into XHTML: use small letters, quote attributes * quoted some array indices: $edit[foo] --> $edit["foo"] + removed some useless sprintf()'s + removed hard-coded references to drop.org. + I don't think the authentication methods should /know/ there help link. Instead, the user module should now where to find the help (it does by knowing the hook to look for), and it is the user module that should take care of exporting the help to the preferred location: * removed the "link" field from the $info field in drupal_info and jabber_info; it wasn't used anyway? + removed the "maintainer" and "maintaineremail" from the auth modules; we don't keep this info in the other modules either so I don't see a reason to do so here.
Diffstat (limited to 'updates')
-rw-r--r--updates/3.00-to-x.xx.mysql34
1 files changed, 19 insertions, 15 deletions
diff --git a/updates/3.00-to-x.xx.mysql b/updates/3.00-to-x.xx.mysql
index 0495ff5c9..b8d90b2bc 100644
--- a/updates/3.00-to-x.xx.mysql
+++ b/updates/3.00-to-x.xx.mysql
@@ -155,18 +155,22 @@ ALTER TABLE book DROP pid;
# visit http://www.yoursite.com/3.00-to-x.xx.php?part=3
#
-## work in progress
-
-# ALTER TABLE users ADD session TEXT DEFAULT '' NOT NULL;
-# ALTER TABLE users ADD data TEXT DEFAULT '' NOT NULL;
-
-#CREATE TABLE mail (
-# mid tinyint(10) DEFAULT '0' NOT NULL auto_increment,
-# subject varchar(255) DEFAULT '' NOT NULL,
-# recepient varchar(255) DEFAULT '' NOT NULL,
-# sender varchar(255) DEFAULT '' NOT NULL,
-# header text,
-# body text,
-# timestamp int(11) DEFAULT '0' NOT NULL,
-# PRIMARY KEY (mid)
-#);
+# 08/11/01:
+ALTER TABLE watchdog CHANGE message message text NOT NULL;
+
+# 14/11/01:
+CREATE TABLE authmap (
+ aid int(10) unsigned DEFAULT '0' NOT NULL auto_increment,
+ authname varchar(128) DEFAULT '' NOT NULL,
+ uid int(10) DEFAULT '' NOT NULL,
+ module varchar(128) DEFAULT '' NOT NULL,
+ UNIQUE authname (authname),
+ PRIMARY KEY (aid)
+);
+
+DELETE FROM variable WHERE name = 'user_jabber';
+DELETE FROM variable WHERE name = 'user_drupal';
+
+# TODO:
+# write some PHP code that moves the 'jabber' and 'drupal' fields
+# to the new 'authmap' table.