From: Roland Häder Date: Tue, 30 Jul 2013 07:21:10 +0000 (+0000) Subject: Updated domain without a dash :( X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=15e0995f7a4a4b2c9b1b1a9273f785cf13605829;p=mailer.git Updated domain without a dash :( --- diff --git a/inc/extensions/ext-register.php b/inc/extensions/ext-register.php index 1e158c4a98..21fad5d869 100644 --- a/inc/extensions/ext-register.php +++ b/inc/extensions/ext-register.php @@ -41,10 +41,10 @@ if (!defined('__SECURITY')) { } // END - if // Version number -setThisExtensionVersion('0.5.8'); +setThisExtensionVersion('0.5.9'); // Version history array (add more with , '0.0.1' and so on) -setExtensionVersionHistory(array('0.0.0', '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8', '0.1.9', '0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6', '0.2.7', '0.2.8', '0.2.9', '0.3.0', '0.3.1', '0.3.2', '0.3.3', '0.3.4', '0.3.5', '0.3.6', '0.3.7', '0.3.8', '0.3.9', '0.4.0', '0.4.1', '0.4.2', '0.4.3', '0.4.4', '0.4.5', '0.4.6', '0.4.7', '0.4.8', '0.4.9', '0.5.0', '0.5.1', '0.5.2', '0.5.3', '0.5.4', '0.5.5', '0.5.6', '0.5.7', '0.5.8')); +setExtensionVersionHistory(array('0.0.0', '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8', '0.1.9', '0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6', '0.2.7', '0.2.8', '0.2.9', '0.3.0', '0.3.1', '0.3.2', '0.3.3', '0.3.4', '0.3.5', '0.3.6', '0.3.7', '0.3.8', '0.3.9', '0.4.0', '0.4.1', '0.4.2', '0.4.3', '0.4.4', '0.4.5', '0.4.6', '0.4.7', '0.4.8', '0.4.9', '0.5.0', '0.5.1', '0.5.2', '0.5.3', '0.5.4', '0.5.5', '0.5.6', '0.5.7', '0.5.8', '0.5.9')); switch (getExtensionMode()) { case 'setup': // Do stuff when installation is running diff --git a/inc/extensions/ext-user.php b/inc/extensions/ext-user.php index 4376ddda90..4dcc4c25ae 100644 --- a/inc/extensions/ext-user.php +++ b/inc/extensions/ext-user.php @@ -41,10 +41,10 @@ if (!defined('__SECURITY')) { } // END - if // Version number -setThisExtensionVersion('0.6.0'); +setThisExtensionVersion('0.6.1'); // Version history array (add more with , '0.0.1' and so on) -setExtensionVersionHistory(array('0.0.0', '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8', '0.1.9', '0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6', '0.2.7', '0.2.8', '0.2.9', '0.3.0', '0.3.1', '0.3.2', '0.3.3', '0.3.4', '0.3.5', '0.3.6', '0.3.7', '0.3.8', '0.3.9', '0.4.0', '0.4.1', '0.4.2', '0.4.3', '0.4.4', '0.4.5', '0.4.6', '0.4.7', '0.4.8', '0.4.9', '0.5.0', '0.5.1', '0.5.2', '0.5.3', '0.5.4', '0.5.5', '0.5.6', '0.5.7', '0.5.8', '0.5.9', '0.6.0')); +setExtensionVersionHistory(array('0.0.0', '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8', '0.1.9', '0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6', '0.2.7', '0.2.8', '0.2.9', '0.3.0', '0.3.1', '0.3.2', '0.3.3', '0.3.4', '0.3.5', '0.3.6', '0.3.7', '0.3.8', '0.3.9', '0.4.0', '0.4.1', '0.4.2', '0.4.3', '0.4.4', '0.4.5', '0.4.6', '0.4.7', '0.4.8', '0.4.9', '0.5.0', '0.5.1', '0.5.2', '0.5.3', '0.5.4', '0.5.5', '0.5.6', '0.5.7', '0.5.8', '0.5.9', '0.6.0', '0.6.1')); // Keep this extension always active! setExtensionAlwaysActive('Y'); diff --git a/inc/extensions/register/mode-update.php b/inc/extensions/register/mode-update.php index 34f091dd63..99576ee687 100644 --- a/inc/extensions/register/mode-update.php +++ b/inc/extensions/register/mode-update.php @@ -330,6 +330,27 @@ PRIMARY KEY (`id`)", // Update notes setExtensionUpdateNotes("Anmeldewillkommensgutschrift wird nun über die Tabelle {OPEN_CONFIG}_MYSQL_PREFIX{CLOSE_CONFIG}_points_data verwaltet."); break; + + case '0.5.9': // SQL queries for v0.5.9 + // Add table for user register provider + addDropTableSql('user_register_provider'); + addCreateTableSql('user_register_provider', " +`provider_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, +`provider_name` VARCHAR(255) NOT NULL DEFAULT 'local_generic_user_register', +`provider_extension` VARCHAR(255) NOT NULL DEFAULT 'user', +`provider_is_active` ENUM('Y','N') NOT NULL DEFAULT 'N', +PRIMARY KEY (`provider_id`)", + 'User register providers'); + + // Add (activated) default entry + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_user_register_provider` (`provider_is_active`) VALUES ('Y')"); + + // Admin menu + addAdminMenuSql('setup', 'list_usr_register_provider', 'MAP verwalten', 'Alle Mitgliedsanmelde-Provider (MAP) auflisten und verwalten.', 11); + + // Update notes (these will be set as task text!) + setExtensionUpdateNotes("Tabelle für Mitgliedsanmelde-Provider hinzugefügt."); + break; } // END - switch // [EOF] diff --git a/inc/extensions/user/mode-remove.php b/inc/extensions/user/mode-remove.php index 43c97cd9dd..2760f86cac 100644 --- a/inc/extensions/user/mode-remove.php +++ b/inc/extensions/user/mode-remove.php @@ -51,10 +51,13 @@ addDropTableSql('user_stats'); addDropTableSql('user_stats_data'); addDropTableSql('user_subids'); addDropTableSql('subid_log'); -addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `what` = 'config_user' OR `action`='user'"); +addDropTableSql('user_login_provider'); + +// Remove admin/member +addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `what` IN ('config_user','list_user_login_provider') OR `action`='user'"); addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE `what` IN ('subids')"); -// Register new filters for gathering points +// Unregister filters unregisterFilter(__FILE__, __LINE__, 'get_total_points', 'USER_POINTS', TRUE, isExtensionDryRun()); unregisterFilter(__FILE__, __LINE__, 'get_own_points', 'USER_POINTS', TRUE, isExtensionDryRun()); unregisterFilter(__FILE__, __LINE__, 'get_locked_points', 'LOCKED_USER_POINTS', TRUE, isExtensionDryRun()); diff --git a/inc/extensions/user/mode-update.php b/inc/extensions/user/mode-update.php index b4dfc68f44..7ff71f3a9a 100644 --- a/inc/extensions/user/mode-update.php +++ b/inc/extensions/user/mode-update.php @@ -525,6 +525,27 @@ INDEX (`subid`)", // Update notes (these will be set as task text!) setExtensionUpdateNotes("Menüpunkt umbenannt um Platz für Konflikt mit what-config_cats.php zu schaffen."); break; + + case '0.6.1': // SQL queries for v0.6.1 + // Add table for user login provider + addDropTableSql('user_login_provider'); + addCreateTableSql('user_login_provider', " +`provider_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, +`provider_name` VARCHAR(255) NOT NULL DEFAULT 'local_generic_user_login', +`provider_extension` VARCHAR(255) NOT NULL DEFAULT 'user', +`provider_is_active` ENUM('Y','N') NOT NULL DEFAULT 'N', +PRIMARY KEY (`provider_id`)", + 'User login providers'); + + // Add (activated) default entry + addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_user_login_provider` (`provider_is_active`) VALUES ('Y')"); + + // Admin menu + addAdminMenuSql('setup', 'list_user_login_provider', 'MLP verwalten', 'Alle Mitgliederlogin-Provider (MLP) auflisten und verwalten.', 10); + + // Update notes (these will be set as task text!) + setExtensionUpdateNotes("Tabelle für Mitgliedslogin-Provider hinzugefügt."); + break; } // END - switch // [EOF]