[geeklog-hg] geeklog: Geeklog version change from 2.0.1 to 2.1.0. History fil...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Sep 1 10:11:36 EDT 2013


changeset 9275:ed1acfcd5be6
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/ed1acfcd5be6
user: Tom <websitemaster at cogeco.net>
date: Sun Sep 01 10:10:05 2013 -0400
description:
Geeklog version change from 2.0.1 to 2.1.0. History file updated.

diffstat:

 plugins/calendar/autoinstall.php          |    2 +-
 plugins/links/autoinstall.php             |    2 +-
 plugins/polls/autoinstall.php             |    2 +-
 plugins/spamx/autoinstall.php             |    2 +-
 plugins/staticpages/autoinstall.php       |    2 +-
 public_html/admin/install/lib-install.php |    2 +-
 public_html/admin/install/lib-upgrade.php |    6 +-
 public_html/docs/english/theme.html       |    2 +-
 public_html/docs/history                  |   24 ++++++-
 public_html/siteconfig.php.dist           |    2 +-
 sql/updates/mssql_2.0.0_to_2.0.1.php      |  103 ------------------------------
 sql/updates/mssql_2.0.0_to_2.1.0.php      |  103 ++++++++++++++++++++++++++++++
 sql/updates/mysql_2.0.0_to_2.0.1.php      |  103 ------------------------------
 sql/updates/mysql_2.0.0_to_2.1.0.php      |  103 ++++++++++++++++++++++++++++++
 sql/updates/pgsql_2.0.0_to_2.0.1.php      |  103 ------------------------------
 sql/updates/pgsql_2.0.0_to_2.1.0.php      |  103 ++++++++++++++++++++++++++++++
 16 files changed, 343 insertions(+), 321 deletions(-)

diffs (truncated from 791 to 300 lines):

diff -r b8ed0056b562 -r ed1acfcd5be6 plugins/calendar/autoinstall.php
--- a/plugins/calendar/autoinstall.php	Sun Sep 01 20:22:54 2013 +0900
+++ b/plugins/calendar/autoinstall.php	Sun Sep 01 10:10:05 2013 -0400
@@ -45,7 +45,7 @@
         'pi_name'         => $pi_name,
         'pi_display_name' => $pi_display_name,
         'pi_version'      => '1.1.4',
-        'pi_gl_version'   => '2.0.1',
+        'pi_gl_version'   => '2.1.0',
         'pi_homepage'     => 'http://www.geeklog.net/'
     );
 
diff -r b8ed0056b562 -r ed1acfcd5be6 plugins/links/autoinstall.php
--- a/plugins/links/autoinstall.php	Sun Sep 01 20:22:54 2013 +0900
+++ b/plugins/links/autoinstall.php	Sun Sep 01 10:10:05 2013 -0400
@@ -52,7 +52,7 @@
         'pi_name'         => $pi_name,
         'pi_display_name' => $pi_display_name,
         'pi_version'      => '2.1.3',
-        'pi_gl_version'   => '2.0.1',
+        'pi_gl_version'   => '2.1.0',
         'pi_homepage'     => 'http://www.geeklog.net/'
     );
 
diff -r b8ed0056b562 -r ed1acfcd5be6 plugins/polls/autoinstall.php
--- a/plugins/polls/autoinstall.php	Sun Sep 01 20:22:54 2013 +0900
+++ b/plugins/polls/autoinstall.php	Sun Sep 01 10:10:05 2013 -0400
@@ -52,7 +52,7 @@
         'pi_name'         => $pi_name,
         'pi_display_name' => $pi_display_name,
         'pi_version'      => '2.1.5',
-        'pi_gl_version'   => '2.0.1',
+        'pi_gl_version'   => '2.1.0',
         'pi_homepage'     => 'http://www.geeklog.net/'
     );
 
diff -r b8ed0056b562 -r ed1acfcd5be6 plugins/spamx/autoinstall.php
--- a/plugins/spamx/autoinstall.php	Sun Sep 01 20:22:54 2013 +0900
+++ b/plugins/spamx/autoinstall.php	Sun Sep 01 10:10:05 2013 -0400
@@ -52,7 +52,7 @@
         'pi_name'         => $pi_name,
         'pi_display_name' => $pi_display_name,
         'pi_version'      => '1.3.1',
-        'pi_gl_version'   => '2.0.1',
+        'pi_gl_version'   => '2.1.0',
         'pi_homepage'     => 'http://www.geeklog.net/'
     );
 
diff -r b8ed0056b562 -r ed1acfcd5be6 plugins/staticpages/autoinstall.php
--- a/plugins/staticpages/autoinstall.php	Sun Sep 01 20:22:54 2013 +0900
+++ b/plugins/staticpages/autoinstall.php	Sun Sep 01 10:10:05 2013 -0400
@@ -52,7 +52,7 @@
         'pi_name'         => $pi_name,
         'pi_display_name' => $pi_display_name,
         'pi_version'      => '1.6.6',
-        'pi_gl_version'   => '2.0.1',
+        'pi_gl_version'   => '2.1.0',
         'pi_homepage'     => 'http://www.geeklog.net/'
     );
 
diff -r b8ed0056b562 -r ed1acfcd5be6 public_html/admin/install/lib-install.php
--- a/public_html/admin/install/lib-install.php	Sun Sep 01 20:22:54 2013 +0900
+++ b/public_html/admin/install/lib-install.php	Sun Sep 01 10:10:05 2013 -0400
@@ -56,7 +56,7 @@
     * This constant defines Geeklog's version number. It will be written to
     * siteconfig.php and the database (in the latter case minus any suffix).
     */
-    define('VERSION', '2.0.1');
+    define('VERSION', '2.1.0');
 }
 if (!defined('XHTML')) {
     define('XHTML', ' /');
diff -r b8ed0056b562 -r ed1acfcd5be6 public_html/admin/install/lib-upgrade.php
--- a/public_html/admin/install/lib-upgrade.php	Sun Sep 01 20:22:54 2013 +0900
+++ b/public_html/admin/install/lib-upgrade.php	Sun Sep 01 10:10:05 2013 -0400
@@ -498,12 +498,12 @@
             break;
 
         case '2.0.0':
-            require_once $_CONF['path'] . 'sql/updates/' . $_DB_dbms . '_2.0.0_to_2.0.1.php';
+            require_once $_CONF['path'] . 'sql/updates/' . $_DB_dbms . '_2.0.0_to_2.1.0.php';
             INST_updateDB($_SQL);
 
-            update_ConfValuesFor201();
+            update_ConfValuesFor210();
 
-            $current_gl_version = '2.0.1';
+            $current_gl_version = '2.1.0';
             $_SQL = '';
             break;
             
diff -r b8ed0056b562 -r ed1acfcd5be6 public_html/docs/english/theme.html
--- a/public_html/docs/english/theme.html	Sun Sep 01 20:22:54 2013 +0900
+++ b/public_html/docs/english/theme.html	Sun Sep 01 10:10:05 2013 -0400
@@ -200,7 +200,7 @@
 featured and archived stories.</li>
 </ol>
 
-<h2><a name="changes">Theme changes in Geeklog 2.0.1</a></h2>
+<h2><a name="changes">Theme changes in Geeklog 2.1.0</a></h2>
 
 <ul>
 <li>Added the template variable {related_topics} to <tt>featuredstorytext.thtml</tt> and <tt>storytext.thtml</tt></li>li>
diff -r b8ed0056b562 -r ed1acfcd5be6 public_html/docs/history
--- a/public_html/docs/history	Sun Sep 01 20:22:54 2013 +0900
+++ b/public_html/docs/history	Sun Sep 01 10:10:05 2013 -0400
@@ -1,7 +1,29 @@
 Geeklog History/Changes:
 
-??? ??, 2013 (2.0.1)
+??? ??, 2013 (2.1.0)
 ------------
+- Integrated Caching Template Library original developed by Joe Mucchiello [Tom]
+- Support for themes to specify a default theme. Default themes template and css 
+  files will be used unless they are included in the new theme directory [Tom]
+- Added configruable caching support for blocks (regular and gldefault), 
+  staticpages and articles [Tom]
+- Speed increases by caching topic tree structire [Tom]
+- What's Related article block now includes all Topics. Can set length of titles 
+  [Tom]
+- Articles now list what Topics they are filed under. [Tom]
+- New related_topics autotag. It displays all topics an item belongs too. [To]
+- New related_items autotag. It displays all other related items based on what 
+  topics the defined item belongs too [Tom]
+- Updated Command & Control layout. Plugins can now organized into groups. [Tom]
+- New OAuth login methods supported (Google, Microsoft, Yahoo). OAuth supported 
+  now includes 1.0, 1.0a, and 2.0 (depends on what the provider supports) [Tom]
+- Javascript and css can now be loaded in a specified order. [Tom]
+- Numerous fixes for multi-language support [Tom]
+- Added CKEditor as the default advanced editor for Geeklog [Dengen]
+- New article render which fixes entities etc... from showing up where they 
+  shouldn't [Dengen]
+- New Advanced Editor System that allows developers to easily to add new 
+  javascript editors [Dengen]
 - Updated Hebrew language files, provided by LWC
 
 Mar 29, 2013 (2.0.0)
diff -r b8ed0056b562 -r ed1acfcd5be6 public_html/siteconfig.php.dist
--- a/public_html/siteconfig.php.dist	Sun Sep 01 20:22:54 2013 +0900
+++ b/public_html/siteconfig.php.dist	Sun Sep 01 10:10:05 2013 -0400
@@ -38,7 +38,7 @@
   define('LB',"\n");
 }
 if (!defined('VERSION')) {
-  define('VERSION', '2.0.1');
+  define('VERSION', '2.1.0');
 }
 
 ?>
diff -r b8ed0056b562 -r ed1acfcd5be6 sql/updates/mssql_2.0.0_to_2.0.1.php
--- a/sql/updates/mssql_2.0.0_to_2.0.1.php	Sun Sep 01 20:22:54 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-<?php
-
-// Delete anonymous user comment settings since all 3 are now config options
-$_SQL[] = "DELETE FROM {$_TABLES['usercomment']} WHERE uid = 1";
-
-// Add Cache Time variable to Blocks table
-$_SQL[] = "ALTER TABLE {$_TABLES['blocks']} ADD [cache_time] INT NOT NULL DEFAULT '0' AFTER [allow_autotags]"; 
-
-// Remove unused columns in Comments table
-$_SQL[] = "ALTER TABLE {$_TABLES['comments']}  DROP `score`, DROP `reason`";
-
-// Add version of GLText engine to stories table
-$_SQL[] = "ALTER TABLE {$_TABLES['stories']} ADD [text_version] [tinyint] NOT NULL DEFAULT (1) AFTER [bodytext]";
-
-// Add version of GLText engine to storysubmission table
-$_SQL[] = "ALTER TABLE {$_TABLES['storysubmission']} ADD [text_version] [tinyint] NOT NULL DEFAULT (1) AFTER [bodytext]";
-
-// Update all topic ids and Topic name to 128 characters
-$_SQL[] = "ALTER TABLE {$_TABLES['topics']} CHANGE [tid] VARCHAR(128) NOT NULL";
-$_SQL[] = "ALTER TABLE {$_TABLES['topics']} CHANGE [topic] VARCHAR(128) NULL DEFAULT NULL";
-$_SQL[] = "ALTER TABLE {$_TABLES['topics']} CHANGE [parent_id] VARCHAR(128) NOT NULL DEFAULT 'root'";
-$_SQL[] = "ALTER TABLE {$_TABLES['topic_assignments']} CHANGE [tid] VARCHAR(128) NOT NULL";
-$_SQL[] = "ALTER TABLE {$_TABLES['topic_assignments']} CHANGE [id] VARCHAR(128) NOT NULL";
-$_SQL[] = "ALTER TABLE {$_TABLES['sessions']} CHANGE [topic] VARCHAR(128) NOT NULL DEFAULT ''";
-$_SQL[] = "ALTER TABLE {$_TABLES['syndication']} CHANGE [topic] VARCHAR(128) NOT NULL DEFAULT '::all'";
-$_SQL[] = "ALTER TABLE {$_TABLES['syndication']} CHANGE [header_tid] VARCHAR(128) NOT NULL DEFAULT 'none'";
-
-// Update all article ids to 128 characters
-$_SQL[] = "ALTER TABLE {$_TABLES['article_images']} CHANGE [ai_sid] VARCHAR(128) NOT NULL";
-$_SQL[] = "ALTER TABLE {$_TABLES['comments']} CHANGE [sid] VARCHAR(128) NOT NULL DEFAULT ''";
-$_SQL[] = "ALTER TABLE {$_TABLES['commentsubmissions']} CHANGE [sid] VARCHAR(128) NOT NULL";
-$_SQL[] = "ALTER TABLE {$_TABLES['stories']} CHANGE [sid] VARCHAR(128) NOT NULL DEFAULT ''";
-$_SQL[] = "ALTER TABLE {$_TABLES['trackback']} CHANGE [sid] VARCHAR(128) NOT NULL";
-
-// Clear out Older Stories Block
-$_SQL[] = "UPDATE {$_TABLES['blocks']} SET `content` = '' WHERE name = 'older_stories'";
-
-/**
- * Add new config options
- *
- */
-function update_ConfValuesFor201()
-{
-    global $_CONF, $_TABLES;
-
-    require_once $_CONF['path_system'] . 'classes/config.class.php';
-
-    $c = config::get_instance();
-
-    $me = 'Core';
-    
-    // Default Comment Order
-    $c->add('comment_order','ASC','select',4,21,31,1665,TRUE, $me, 21);
-    
-    // Caching Template Library Options
-    $c->add('cache_templates',TRUE,'select',2,10,1,220,TRUE, $me, 10);
-    $c->add('template_comments',FALSE,'select',2,11,1,1370,TRUE, $me, 11);
-    
-    // Article Related Topics    
-    $c->add('related_topics',1,'select',1,7,32,1340,TRUE, $me, 7);
-    $c->add('related_topics_max',6,'text',1,7,NULL,1350,TRUE, $me, 7);   
-    
-    // Article What's Related
-    $c->add('whats_related',1,'select',1,7,33,1360,TRUE, $me, 7);
-    $c->add('whats_related_max',0,'text',1,7,NULL,1370,TRUE, $me, 7);
-    $c->add('whats_related_trim',26,'text',1,7,NULL,1380,TRUE, $me, 7);
-    
-    // What's New Block
-    $c->add('whatsnew_cache_time',3600,'text',3,15,NULL,1060,TRUE, $me, 15);    
-
-    // New Topic autotag permissions
-    $c->add('autotag_permissions_topic', array(2, 2, 2, 2), '@select', 7, 41, 28, 1890, TRUE, $me, 37);
-    $c->add('autotag_permissions_related_topics', array(2, 2, 0, 0), '@select', 7, 41, 28, 1900, TRUE, $me, 37);
-    $c->add('autotag_permissions_related_items', array(2, 2, 0, 0), '@select', 7, 41, 28, 1910, TRUE, $me, 37);
-    
-    // Update Language Configuration
-    $c->del('allow_user_language', 'Core');
-    $c->add('allow_user_language', 1,'select',6,28,0,360,TRUE, $me, 28); // Move from Users and Submissions to Language
-    $c->add('fs_multilanguage', NULL, 'fieldset', 6, 29, NULL, 0, TRUE, $me, 28);
-    $c->del('language_files', 'Core');
-    $c->add('language_files',array('en'=>'english_utf-8', 'de'=>'german_formal_utf-8'),'*text',6,29,NULL,470,FALSE, $me, 28);
-    $c->del('languages', 'Core');
-    $c->add('languages',array('en'=>'English', 'de'=>'Deutsch'),'*text',6,29,NULL,480,FALSE, $me, 28);       
-    
-    // New OAuth Services 
-    $c->add('google_login',0,'select',4,16,1,359,TRUE, $me, 16);
-    $c->add('google_consumer_key','','text',4,16,NULL,360,TRUE, $me, 16);
-    $c->add('google_consumer_secret','','text',4,16,NULL,361,TRUE, $me, 16);    
-    $c->add('microsoft_login',0,'select',4,16,1,362,TRUE, $me, 16);
-    $c->add('microsoft_consumer_key','','text',4,16,NULL,363,TRUE, $me, 16);
-    $c->add('microsoft_consumer_secret','','text',4,16,NULL,364,TRUE, $me, 16);
-    $c->add('yahoo_login',0,'select',4,16,1,365,TRUE, $me, 16);
-    $c->add('yahoo_consumer_key','','text',4,16,NULL,366,TRUE, $me, 16);
-    $c->add('yahoo_consumer_secret','','text',4,16,NULL,367,TRUE, $me, 16);       
-
-    // Advanced Editor Options
-    $c->add('path_editors','','text',0,3,NULL,132,TRUE, $me, 3);
-    $c->add('advanced_editor_name','ckeditor','select',4,20,NULL,845,TRUE, $me, 20);
-
-    return true;
-}
-
-?>
diff -r b8ed0056b562 -r ed1acfcd5be6 sql/updates/mssql_2.0.0_to_2.1.0.php
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sql/updates/mssql_2.0.0_to_2.1.0.php	Sun Sep 01 10:10:05 2013 -0400
@@ -0,0 +1,103 @@
+<?php
+
+// Delete anonymous user comment settings since all 3 are now config options
+$_SQL[] = "DELETE FROM {$_TABLES['usercomment']} WHERE uid = 1";
+
+// Add Cache Time variable to Blocks table
+$_SQL[] = "ALTER TABLE {$_TABLES['blocks']} ADD [cache_time] INT NOT NULL DEFAULT '0' AFTER [allow_autotags]"; 
+
+// Remove unused columns in Comments table
+$_SQL[] = "ALTER TABLE {$_TABLES['comments']}  DROP `score`, DROP `reason`";
+
+// Add version of GLText engine to stories table
+$_SQL[] = "ALTER TABLE {$_TABLES['stories']} ADD [text_version] [tinyint] NOT NULL DEFAULT (1) AFTER [bodytext]";
+
+// Add version of GLText engine to storysubmission table
+$_SQL[] = "ALTER TABLE {$_TABLES['storysubmission']} ADD [text_version] [tinyint] NOT NULL DEFAULT (1) AFTER [bodytext]";
+
+// Update all topic ids and Topic name to 128 characters
+$_SQL[] = "ALTER TABLE {$_TABLES['topics']} CHANGE [tid] VARCHAR(128) NOT NULL";
+$_SQL[] = "ALTER TABLE {$_TABLES['topics']} CHANGE [topic] VARCHAR(128) NULL DEFAULT NULL";
+$_SQL[] = "ALTER TABLE {$_TABLES['topics']} CHANGE [parent_id] VARCHAR(128) NOT NULL DEFAULT 'root'";
+$_SQL[] = "ALTER TABLE {$_TABLES['topic_assignments']} CHANGE [tid] VARCHAR(128) NOT NULL";
+$_SQL[] = "ALTER TABLE {$_TABLES['topic_assignments']} CHANGE [id] VARCHAR(128) NOT NULL";
+$_SQL[] = "ALTER TABLE {$_TABLES['sessions']} CHANGE [topic] VARCHAR(128) NOT NULL DEFAULT ''";
+$_SQL[] = "ALTER TABLE {$_TABLES['syndication']} CHANGE [topic] VARCHAR(128) NOT NULL DEFAULT '::all'";
+$_SQL[] = "ALTER TABLE {$_TABLES['syndication']} CHANGE [header_tid] VARCHAR(128) NOT NULL DEFAULT 'none'";
+
+// Update all article ids to 128 characters
+$_SQL[] = "ALTER TABLE {$_TABLES['article_images']} CHANGE [ai_sid] VARCHAR(128) NOT NULL";
+$_SQL[] = "ALTER TABLE {$_TABLES['comments']} CHANGE [sid] VARCHAR(128) NOT NULL DEFAULT ''";
+$_SQL[] = "ALTER TABLE {$_TABLES['commentsubmissions']} CHANGE [sid] VARCHAR(128) NOT NULL";
+$_SQL[] = "ALTER TABLE {$_TABLES['stories']} CHANGE [sid] VARCHAR(128) NOT NULL DEFAULT ''";
+$_SQL[] = "ALTER TABLE {$_TABLES['trackback']} CHANGE [sid] VARCHAR(128) NOT NULL";
+
+// Clear out Older Stories Block
+$_SQL[] = "UPDATE {$_TABLES['blocks']} SET `content` = '' WHERE name = 'older_stories'";
+
+/**
+ * Add new config options
+ *



More information about the geeklog-cvs mailing list