comoblog-commit Mailing List for CoMoblog Mobile Blog Application (Page 16)
Status: Inactive
Brought to you by:
markwallis
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(49) |
Oct
(127) |
Nov
(211) |
Dec
(56) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(51) |
Feb
(128) |
Mar
(1) |
Apr
(2) |
May
|
Jun
|
Jul
(2) |
Aug
(24) |
Sep
|
Oct
(151) |
Nov
(9) |
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
(17) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2006-01-10 02:17:00
|
Update of /cvsroot/comoblog/comoblog/_install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16470 Modified Files: patch_0.php Added Files: failed_patch.php Log Message: Add support for notification of failed patching attempts --- NEW FILE: failed_patch.php --- <?php require ('../include/xtemplate.inc.php'); require_once (dirname(__FILE__).'/../include/config.inc.php'); $tpl = @new XTemplate ('templates/failed_patch.tpl.htm', 'main'); $query = "select pref_value from ".CFG_MYSQL_TABPREFIX."preferences where pref_name='CFG_VERSION'"; $res = mysql_query($query); $row = mysql_fetch_array($res, MYSQL_NUM); $old_ver = $row[0]; $file_version = file(dirname(__FILE__).'/../VERSION'); $new_ver = $file_version[0]; if ($old_ver == "0.5.1") $tpl->assign('OLD_VERSION', "Easymoblog ".$old_ver); else $tpl->assign('OLD_VERSION', "CoMoblog ".$old_ver); $tpl->assign('NEW_VERSION', "CoMoblog ".$new_ver); $tpl->parse('main'); $tpl->out('main'); ?> Index: patch_0.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/patch_0.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- patch_0.php 10 Jan 2006 01:26:01 -0000 1.2 +++ patch_0.php 10 Jan 2006 02:16:47 -0000 1.3 @@ -13,7 +13,7 @@ $file_version = file(dirname(__FILE__).'/../VERSION'); if (!in_supported_patch_list(CFG_VERSION)) { - Header ('Location: ../_install/upgrade_0.php'); + Header ('Location: failed_patch.php'); exit; } |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2006-01-10 01:26:09
|
Update of /cvsroot/comoblog/comoblog/_install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9481 Modified Files: patch_0.php Log Message: Fix patch to upgrade switch typo Index: patch_0.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/patch_0.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- patch_0.php 22 Dec 2005 05:30:18 -0000 1.1 +++ patch_0.php 10 Jan 2006 01:26:01 -0000 1.2 @@ -13,7 +13,7 @@ $file_version = file(dirname(__FILE__).'/../VERSION'); if (!in_supported_patch_list(CFG_VERSION)) { - Header ('Location: _install/upgrade_0.php'); + Header ('Location: ../_install/upgrade_0.php'); exit; } |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2006-01-10 00:46:08
|
Update of /cvsroot/comoblog/comoblog/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32440/include Modified Files: libraries.inc.php Log Message: Fix bugs in upgrade process Index: libraries.inc.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/include/libraries.inc.php,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- libraries.inc.php 22 Dec 2005 05:30:19 -0000 1.7 +++ libraries.inc.php 10 Jan 2006 00:45:57 -0000 1.8 @@ -49,7 +49,7 @@ $res = mysql_query($query); if (!$res) - $errors[] = "Error running statement ".$c." in script ".$script_name; + $errors[] = "Error running statement ".$c." in script ".$script_name."\n(".$query.")\n(".mysql_error().")"; } unset ($xmlparse); |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2006-01-10 00:46:08
|
Update of /cvsroot/comoblog/comoblog/_install/upgrades In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32440/_install/upgrades Modified Files: 0.5.1_to_1.1.xml Log Message: Fix bugs in upgrade process Index: 0.5.1_to_1.1.xml =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/upgrades/0.5.1_to_1.1.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- 0.5.1_to_1.1.xml 2 Jan 2006 06:21:02 -0000 1.2 +++ 0.5.1_to_1.1.xml 10 Jan 2006 00:45:57 -0000 1.3 @@ -63,7 +63,7 @@ </dbquery> <dbquery> - upgrade comoblog_preferences set pref_value='1.1' where pref_name='CFG_VERSION'; + update comoblog_preferences set pref_value='1.1' where pref_name='CFG_VERSION'; </dbquery> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2006-01-09 23:50:33
|
Update of /cvsroot/comoblog/comoblog/_install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16946 Modified Files: upgrade_0.php Log Message: Typo in upgrade script Index: upgrade_0.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/upgrade_0.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- upgrade_0.php 22 Dec 2005 05:30:18 -0000 1.2 +++ upgrade_0.php 9 Jan 2006 23:50:26 -0000 1.3 @@ -11,7 +11,7 @@ $ver = $row[0]; // Check supported upgrade versions. -if (in_supported_upgrade_list($ver))) +if (in_supported_upgrade_list($ver)) { if ($ver == "0.5.1") $tpl->assign('VERSION', "Easymoblog ".$ver); |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2006-01-09 13:22:54
|
Update of /cvsroot/comoblog/comoblog/_install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26316 Modified Files: comoblog_preferences.xml Log Message: Update for version 1.1 Index: comoblog_preferences.xml =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/comoblog_preferences.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- comoblog_preferences.xml 2 Jan 2006 06:21:02 -0000 1.14 +++ comoblog_preferences.xml 9 Jan 2006 13:22:43 -0000 1.15 @@ -3,7 +3,7 @@ <param name="CFG_VERSION" - value="1.0" + value="1.1" description="CoMoblog version number" topic_id="0" encrypt="N" |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2006-01-09 02:53:04
|
Update of /cvsroot/comoblog/comoblog/modules/mod_calendar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4621 Modified Files: mod_calendar.php Log Message: Fix issue with mod_calendar showing posts available on incorrect days due to post editing Index: mod_calendar.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/modules/mod_calendar/mod_calendar.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- mod_calendar.php 8 Oct 2005 13:27:41 -0000 1.6 +++ mod_calendar.php 9 Jan 2006 02:52:56 -0000 1.7 @@ -117,9 +117,9 @@ // Find prev day with posts $currenttime = mktime(23,59,59,$current_date['mon'],$current_date['mday'] - 1,$current_date['year']); $query = " - select post_added + select post_mail_date from ".CFG_MYSQL_TABPREFIX."posts - where post_added <= '".$currenttime."' order by post_added desc limit 1"; + where post_mail_date <= '".$currenttime."' order by post_mail_date desc limit 1"; $res = mysql_query($query); if ($row = mysql_fetch_row($res)) { @@ -131,9 +131,9 @@ // Find next day with posts $currenttime = mktime(0,0,0,$current_date['mon'],$current_date['mday']+1,$current_date['year']); $query = " - select post_added + select post_mail_date from ".CFG_MYSQL_TABPREFIX."posts - where post_added >= '".$currenttime."' order by post_added limit 1"; + where post_mail_date >= '".$currenttime."' order by post_mail_date limit 1"; $res = mysql_query($query); if ($row = mysql_fetch_row($res)) { @@ -228,10 +228,10 @@ if ($start_day == 7) $start_day = 0; // posts in days of month $query = " - select post_added + select post_mail_date from ".CFG_MYSQL_TABPREFIX."posts - where post_added > '".mktime(0,0,0,$current_date['mon'],1,$current_date['year'])."' - and post_added <= '".mktime(23,59,59,$current_date['mon'],$days_in_month,$current_date['year'])."' + where post_mail_date > '".mktime(0,0,0,$current_date['mon'],1,$current_date['year'])."' + and post_mail_date <= '".mktime(23,59,59,$current_date['mon'],$days_in_month,$current_date['year'])."' "; $res = mysql_query($query); |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2006-01-09 02:53:04
|
Update of /cvsroot/comoblog/comoblog/modules/mod_calendar/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4621/install Modified Files: mod_calendar.xml Log Message: Fix issue with mod_calendar showing posts available on incorrect days due to post editing Index: mod_calendar.xml =================================================================== RCS file: /cvsroot/comoblog/comoblog/modules/mod_calendar/install/mod_calendar.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- mod_calendar.xml 22 Nov 2005 06:24:08 -0000 1.9 +++ mod_calendar.xml 9 Jan 2006 02:52:56 -0000 1.10 @@ -4,7 +4,7 @@ <name>mod_calendar</name> - <version>1.1</version> + <version>1.2</version> <minimum_supported>1.0</minimum_supported> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2006-01-02 22:05:25
|
Update of /cvsroot/comoblog/comoblog In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19422 Modified Files: topic.php Log Message: 1391334 - Fixed mod_calendar display in topic.php Index: topic.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/topic.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- topic.php 2 Jan 2006 06:12:02 -0000 1.2 +++ topic.php 2 Jan 2006 22:05:17 -0000 1.3 @@ -9,6 +9,8 @@ // /////////////////////////////////////////////////////////////////////////////// +$current_timestamp = time(); + $topic = topic_details ($topic_id); if (!$topic) |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2006-01-02 06:21:16
|
Update of /cvsroot/comoblog/comoblog/_install/upgrades In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16013/_install/upgrades Modified Files: 1.0_to_1.1.xml 0.5.1_to_1.1.xml Log Message: 1387715 - Removed restriction on the select box for how many posts appear on the front page Index: 0.5.1_to_1.1.xml =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/upgrades/0.5.1_to_1.1.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- 0.5.1_to_1.1.xml 22 Dec 2005 05:30:19 -0000 1.1 +++ 0.5.1_to_1.1.xml 2 Jan 2006 06:21:02 -0000 1.2 @@ -3,6 +3,10 @@ <comoblog_upgrade> <dbquery> + update comoblog_preferences set pref_type='text',pref_restrict_values='' where pref_name='CFG_HOWMANY_ITEMS'; + </dbquery> + + <dbquery> alter table comoblog_modules add column mod_version varchar(6) default NULL; </dbquery> Index: 1.0_to_1.1.xml =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/upgrades/1.0_to_1.1.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- 1.0_to_1.1.xml 22 Dec 2005 05:30:19 -0000 1.2 +++ 1.0_to_1.1.xml 2 Jan 2006 06:21:02 -0000 1.3 @@ -7,6 +7,10 @@ </dbquery> <dbquery> + update comoblog_preferences set pref_type='text',pref_restrict_values='' where pref_name='CFG_HOWMANY_ITEMS'; + </dbquery> + + <dbquery> update comoblog_preferences set pref_value='1.1' where pref_name='CFG_VERSION'; </dbquery> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2006-01-02 06:21:16
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16013/docs Modified Files: CHANGELOG Log Message: 1387715 - Removed restriction on the select box for how many posts appear on the front page Index: CHANGELOG =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/CHANGELOG,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- CHANGELOG 2 Jan 2006 06:12:43 -0000 1.34 +++ CHANGELOG 2 Jan 2006 06:21:02 -0000 1.35 @@ -7,6 +7,7 @@ * FEATURE: Initial support for 3g2 video * FEATURE: Support for posts with no subjects (1280303) * FEATURE: DB changes now supported in point-release upgrades (1378108) +* FEATURE: Remove restrictions on post count limit (1387715) * MODULE: Updated mod_calendar to 1.1 * MODULE: Updated mod_search to 1.1 * BUG: Module upgrade tries to upgrade half-written modules |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2006-01-02 06:21:16
|
Update of /cvsroot/comoblog/comoblog/_install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16013/_install Modified Files: comoblog_preferences.xml Log Message: 1387715 - Removed restriction on the select box for how many posts appear on the front page Index: comoblog_preferences.xml =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/comoblog_preferences.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- comoblog_preferences.xml 1 Dec 2005 14:56:16 -0000 1.13 +++ comoblog_preferences.xml 2 Jan 2006 06:21:02 -0000 1.14 @@ -85,8 +85,8 @@ description="How many posts would you like to show on blog's home page?" topic_id="10" encrypt="N" - type="select" - restrict_values="1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|10" + type="text" + restrict_values="" accept_null="N" editable="Y" display_order="0" |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2006-01-02 06:12:51
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14977/docs Modified Files: CHANGELOG Log Message: 1391334 - Error in date-parsing in topic.php Index: CHANGELOG =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/CHANGELOG,v retrieving revision 1.33 retrieving revision 1.34 diff -u -d -r1.33 -r1.34 --- CHANGELOG 22 Dec 2005 05:31:31 -0000 1.33 +++ CHANGELOG 2 Jan 2006 06:12:43 -0000 1.34 @@ -16,6 +16,7 @@ * BUG: More visible trackback icon for dark page backgrounds (1368650) * BUG: Date format issues with editing posts (1375731) * BUG: German spelling corrected (1383037) +* BUG: Error in date-parsing in topic.php (1391334) CoMoblog 1.0, 2005-11-19 ---------------------------- |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2006-01-02 06:12:10
|
Update of /cvsroot/comoblog/comoblog In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14887 Modified Files: topic.php Log Message: 1391334 - Error in date-parsing in topic.php Index: topic.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/topic.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- topic.php 16 Aug 2005 05:49:43 -0000 1.1.1.1 +++ topic.php 2 Jan 2006 06:12:02 -0000 1.2 @@ -22,12 +22,13 @@ $posts = posts_in_topic ($topic_id); for ($c = 0; $c < count($posts); $c++) { + $post = $posts[$c]; $post['post_mail_from'] = antispam(htmlentities($post['post_mail_from']), true); $post['post_mail_subject'] = antispam(htmlentities($post['post_mail_subject']), true); $date = getdate($post['post_mail_date']); $post['post_mail_date'] = strftime($CAL_DATE_FORMAT." %H:%M", $post['post_mail_date']); - $tpl->assign('POST', $posts[$c]); + $tpl->assign('POST', $post); $tpl->parse('main.posts_list.post'); } $tpl->parse('main.posts_list'); |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-22 05:31:40
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16532/docs Modified Files: CHANGELOG Log Message: 1378108 - DB data changes in point version upgrades now supported Index: CHANGELOG =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/CHANGELOG,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- CHANGELOG 22 Dec 2005 02:48:37 -0000 1.32 +++ CHANGELOG 22 Dec 2005 05:31:31 -0000 1.33 @@ -6,6 +6,7 @@ * FEATURE: Ability to edit post ctypes * FEATURE: Initial support for 3g2 video * FEATURE: Support for posts with no subjects (1280303) +* FEATURE: DB changes now supported in point-release upgrades (1378108) * MODULE: Updated mod_calendar to 1.1 * MODULE: Updated mod_search to 1.1 * BUG: Module upgrade tries to upgrade half-written modules |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-22 05:31:01
|
Update of /cvsroot/comoblog/comoblog In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16428 Added Files: VERSION Log Message: 1378108 - DB data changes in point version upgrades now supported --- NEW FILE: VERSION --- 1.1 |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-22 05:30:28
|
Update of /cvsroot/comoblog/comoblog/_install/upgrades In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16310/_install/upgrades Modified Files: 1.0_to_1.1.xml Added Files: 0.5.1_to_1.1.xml Log Message: 1378108 - DB data changes in point version upgrades now supported --- NEW FILE: 0.5.1_to_1.1.xml --- <?xml version="1.0" standalone="yes"?> <comoblog_upgrade> <dbquery> alter table comoblog_modules add column mod_version varchar(6) default NULL; </dbquery> <dbquery> alter table comoblog_modules add column mod_minimum_supported varchar(6) default NULL; </dbquery> <dbquery> alter table comoblog_modules add column mod_certified varchar(255) default NULL; </dbquery> <dbquery> alter table comoblog_modules modify column mod_filter_posts enum('N','Y','O') NOT NULL default 'N'; </dbquery> <dbquery> update comoblog_preferences set pref_name='CFG_DISPLAY_COMOBLOGO',pref_description='Display "powered by CoMoblog" image' where pref_name="CFG_DISPLA Y_EASYMOBLOGO"; </dbquery> <dbquery> update comoblog_preferences SET pref_description='Max width (in pixels) for post images (requires GD library)' where pref_name='CFG_IMG_MAX_W'; </dbquery> <dbquery> update comoblog_preferences SET pref_description='Max height (in pixels) for post images (requirets GD library)' where pref_name='CFG_IMG_MAX_H'; </dbquery> <dbquery> update comoblog_preferences SET pref_display_order=1 where pref_name='CFG_BODY_BGCOLOR'; </dbquery> <dbquery> update comoblog_preferences SET pref_display_order=2 where pref_name='CFG_PAGE_WIDTH'; </dbquery> <dbquery> update comoblog_preferences SET pref_display_order=3 where pref_name='CFG_BG_IMG'; </dbquery> <dbquery> insert into comoblog_preferences (pref_name, pref_value, pref_description, pref_topic_id, pref_encrypt, pref_type, pref_restrict_values, pref_accept_null, pref_editable, pref_display_order, mod_name) VALUES ('CFG_ALLOW_HTML','yes', 'Allow HTML from posts to be displayed', 1, 'N', 'select', 'yes|no', 'N', 'Y', 0, ''); </dbquery> <dbquery> insert into comoblog_preferences (pref_name, pref_value, pref_description, pref_topic_id, pref_encrypt, pref_type, pref_restrict_values, pref_accept_null, pref_editable, pref_display_order, mod_name) VALUES ('CFG_MAX_ALLOWED_IMAGES', 'unlimited', 'The maximum number of images that will be read from an email post.', 1, 'N', 'select', 'unlimited|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|10', 'N', 'Y', 0, ''); </dbquery> <dbquery> insert into comoblog_preferences (pref_name, pref_value, pref_description, pref_topic_id, pref_encrypt, pref_type, pref_restrict_values, pref_accept_null, pref_editable, pref_display_order, mod_name) VALUES ('CFG_BG_IMG_REPEAT', 'repeat', 'Repeat of background image', 14, 'N', 'select', 'repeat|repeat-x|repeat-y|no-repeat', 'N', 'Y', 4, ''); </dbquery> <dbquery> insert into comoblog_preferences (pref_name, pref_value, pref_description, pref_topic_id, pref_encrypt, pref_type, pref_restrict_values, pref_accept_null, pref_editable, pref_display_order, mod_name) VALUES ('CFG_MAIL_DEBUG', 'no', 'POP3 enable debugging', 4, 'N', 'select', 'no|yes', 'N', 'Y', 5, ''); </dbquery> <dbquery> insert into comoblog_preferences (pref_name, pref_value, pref_description, pref_topic_id, pref_encrypt, pref_type, pref_restrict_values, pref_accept_null, pref_editable, pref_display_order, mod_name) VALUES ('CFG_MAIL_APOP', 'no', 'POP3 enable APOP protocol', 4, 'N', 'select', 'no|yes', 'N', 'Y', 4, ''); </dbquery> <dbquery> insert into comoblog_preferences (pref_name, pref_value, pref_description, pref_topic_id, pref_encrypt, pref_type, pref_restrict_values, pref_accept_null, pref_editable, pref_display_order, mod_name) VALUES ('CFG_INTERACTION_HTML_COMMENTS', 'no', 'Allow HTML Comments', 4, 'N', 'select', 'no|yes', 'N', 'Y', 5, ''); </dbquery> <dbquery> upgrade comoblog_preferences set pref_value='1.1' where pref_name='CFG_VERSION'; </dbquery> </comoblog_upgrade> Index: 1.0_to_1.1.xml =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/upgrades/1.0_to_1.1.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- 1.0_to_1.1.xml 11 Dec 2005 12:22:30 -0000 1.1 +++ 1.0_to_1.1.xml 22 Dec 2005 05:30:19 -0000 1.2 @@ -6,5 +6,9 @@ insert into comoblog_preferences (pref_name, pref_value, pref_description, pref_topic_id, pref_encrypt, pref_type, pref_restrict_values, pref_accept_null, pref_editable, pref_display_order, mod_name) VALUES ('CFG_INTERACTION_HTML_COMMENTS', 'no', 'Allow HTML Comments', 4, 'N', 'select', 'no|yes', 'N', 'Y', 5, ''); </dbquery> + <dbquery> + update comoblog_preferences set pref_value='1.1' where pref_name='CFG_VERSION'; + </dbquery> + </comoblog_upgrade> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-22 05:30:28
|
Update of /cvsroot/comoblog/comoblog/_install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16310/_install Modified Files: upgrade_0.php upgrade_1.php Added Files: patch_0.php patch_1.php patch_2.php Log Message: 1378108 - DB data changes in point version upgrades now supported Index: upgrade_0.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/upgrade_0.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- upgrade_0.php 9 Oct 2005 14:11:35 -0000 1.1 +++ upgrade_0.php 22 Dec 2005 05:30:18 -0000 1.2 @@ -11,9 +11,13 @@ $ver = $row[0]; // Check supported upgrade versions. -if ($ver == "0.5.1") +if (in_supported_upgrade_list($ver))) { - $tpl->assign('VERSION', "Easymoblog 0.5.1"); + if ($ver == "0.5.1") + $tpl->assign('VERSION', "Easymoblog ".$ver); + else + $tpl->assign('VERSION', "CoMoblog ".$ver); + $tpl->parse('main.upgrade'); } else --- NEW FILE: patch_1.php --- <?php require ('../include/xtemplate.inc.php'); require_once (dirname(__FILE__).'/../include/config.inc.php'); $query = "select pref_value from ".CFG_MYSQL_TABPREFIX."preferences where pref_name='CFG_VERSION'"; $res = mysql_query($query); $row = mysql_fetch_array($res, MYSQL_NUM); $ver = $row[0]; $errors = array(); if ($ver = "1.0") $errors = run_script(dirname(__FILE__)."/upgrades/1.0_to_1.1.xml"); if (count($errors) == 0) { Header ('Location: patch_2.php'); } else { $tpl = @new XTemplate ('templates/patch_1.tpl.htm', 'main'); foreach ($errors as $k => $v) { $tpl->assign('ERROR', $v); $tpl->parse('main.errors.error'); } $tpl->parse('main.errors'); $tpl->parse('main'); $tpl->out('main'); } ?> --- NEW FILE: patch_2.php --- <?php require ('../include/xtemplate.inc.php'); require_once (dirname(__FILE__).'/../include/config.inc.php'); $tpl = @new XTemplate ('templates/patch_2.tpl.htm', 'main'); $tpl->assign('SITE_URL', CFG_SITE_URL); $tpl->assign('BASE_PATH', CFG_BASE_PATH); $tpl->assign('WIN_BASE_PATH', str_replace('/','\\',CFG_BASE_PATH)); $tpl->assign('ADMIN_USERNAME', CFG_ADMIN_USERNAME); session_start(); $tpl->assign('ADMIN_PW', $_SESSION['admin_pw']); $allowed_from = explode (',', CFG_ALLOWED_FROM); if (CFG_ALLOWED_FROM == '') { $tpl->assign('ALLOWED_FROM', 'everybody'); $tpl->parse('main.allowed_from'); } else { for ($c = 0; $c < count($allowed_from); $c++) { $tpl->assign('ALLOWED_FROM', $allowed_from[$c]); $tpl->parse('main.allowed_from'); } } $tpl->parse('main'); $tpl->out('main'); ?> --- NEW FILE: patch_0.php --- <?php require ('../include/xtemplate.inc.php'); require_once (dirname(__FILE__).'/../include/config.inc.php'); $tpl = @new XTemplate ('templates/patch.tpl.htm', 'main'); $query = "select pref_value from ".CFG_MYSQL_TABPREFIX."preferences where pref_name='CFG_VERSION'"; $res = mysql_query($query); $row = mysql_fetch_array($res, MYSQL_NUM); $ver = $row[0]; $file_version = file(dirname(__FILE__).'/../VERSION'); if (!in_supported_patch_list(CFG_VERSION)) { Header ('Location: _install/upgrade_0.php'); exit; } // Check supported upgrade versions. $tpl->assign('CURRENT', CFG_VERSION); $tpl->assign('PATCH', $file_version[0]); $tpl->parse('main'); $tpl->out('main'); ?> Index: upgrade_1.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/upgrade_1.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- upgrade_1.php 9 Oct 2005 14:11:35 -0000 1.1 +++ upgrade_1.php 22 Dec 2005 05:30:18 -0000 1.2 @@ -10,8 +10,9 @@ $errors = array(); -if ($ver = "0.5.1") - $errors = run_script(dirname(__FILE__)."/upgrades/0.5.1_to_1.0.xml"); +$current_ver = file(dirname(__FILE__).'/../VERSION')[0]; + +$errors = run_script(dirname(__FILE__)."/upgrades/".$ver."_to_".$current_ver.".xml"); if (count($errors) == 0) { |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-22 05:30:28
|
Update of /cvsroot/comoblog/comoblog In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16310 Modified Files: index.php Log Message: 1378108 - DB data changes in point version upgrades now supported Index: index.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- index.php 11 Dec 2005 12:14:00 -0000 1.2 +++ index.php 22 Dec 2005 05:30:18 -0000 1.3 @@ -5,6 +5,15 @@ } require_once ("include/config.inc.php"); +// CHECK VERSION UPGRADE ///////////////////////////////////////////////////// +if (!check_version_match()) { + Header ('Location: _install/patch_0.php'); + exit; +} + + +////////////////////////////////////////////////////////////////////////////// + // CURRENT_TIMESTAMP ////////////////////////////////////////////////////////// // $current_timestamp = ''; |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-22 05:30:28
|
Update of /cvsroot/comoblog/comoblog/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16310/include Modified Files: libraries.inc.php Log Message: 1378108 - DB data changes in point version upgrades now supported Index: libraries.inc.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/include/libraries.inc.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- libraries.inc.php 15 Dec 2005 23:58:06 -0000 1.6 +++ libraries.inc.php 22 Dec 2005 05:30:19 -0000 1.7 @@ -4,6 +4,30 @@ exit(); } +function in_supported_upgrade_list ($ver) { + if ($ver == "0.5.1" || $ver == "1.0") + return true; + else + return false; +} + +function in_supported_patch_list ($ver) { + if ($ver == "1.0") + return true; + else + return false; +} + +function check_version_match () { + $db_version = floatval(CFG_VERSION); + $file_version = file(dirname(__FILE__).'/../VERSION'); + + if ($db_version == floatval($file_version[0])) + return true; + else + return false; +} + function run_script ($script_name) { $errors = array(); |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-22 05:30:27
|
Update of /cvsroot/comoblog/comoblog/_install/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16310/_install/templates Modified Files: upgrade.tpl.htm Added Files: patch.tpl.htm patch_1.tpl.htm patch_2.tpl.htm Log Message: 1378108 - DB data changes in point version upgrades now supported Index: upgrade.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/templates/upgrade.tpl.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- upgrade.tpl.htm 9 Oct 2005 14:11:35 -0000 1.1 +++ upgrade.tpl.htm 22 Dec 2005 05:30:18 -0000 1.2 @@ -31,6 +31,7 @@ The installer script will now attempt to upgrade your existing installation. Please make sure that: <ol> <li>you have made a backup of your MySQL database</li> + <li>you have extracted the new version of CoMoblog into a new folder. You cannot extract it overtop of a previous installation</li> <li>you have access to the install folder of the previous verson as the upgrade script will need to copy over some files from the previous install</li> </ol> </p> --- NEW FILE: patch_1.tpl.htm --- <!-- BEGIN: main --> {FILE "templates/header.tpl.htm"} <table width="740" align="center" border="0" cellspacing="0" cellpadding="15" style="border-width:1px; border-color: #000000; border-style: solid;"> <tr> <td> </td> </tr> <tr> <td> <h1>Patch failed</h1> <p> </p> <p> The patch script has failed to upgrade your database. Please restore your backups and contact the CoMoblog support team at <a href="http://comoblog.serialmonkey.com">comoblog.serialmonkey.com</a> and provide the information below for more assistance. </p> <br /><br /> <!-- BEGIN: errors --> <h1><img src="img/warning.gif" border="0" align="absmiddle"> ERROR processing the script</h1> <p align="center"> <!-- BEGIN: error --> <span class="error">{ERROR}</span><br /> <!-- END: error --> <br /> <br /> <!-- END: errors --> </td> </tr> <tr> <td> </td> </tr> </table> {FILE "templates/footer.tpl.htm"} <!-- END: main --> --- NEW FILE: patch.tpl.htm --- <!-- BEGIN: main --> {FILE "templates/header.tpl.htm"} <table width="740" align="center" border="0" cellspacing="0" cellpadding="15" style="border-width:1px; border-color: #000000; border-style: solid;"> <tr> <td> </td> </tr> <tr> <td> <h1>Welcome to the CoMoblog patch wizard</h1> <p> </p> <table width="500" border="0" align="center"> <tr> <td><p class="biggest"><b>Existing installation detected</b></p><p> </p><p> </p></td> <td><img src="img/install1.jpg" width="300" height="200" alt="" border="0"></td> </tr> <tr> <td colspan="2"> <p> </p> <h3>Current Version: {VERSION}</h3> <h3>Will patch to: {PATCH}</h3> </td> </tr> <tr> <td colspan="2"> <p> </p> <h2>Before you start</h2> <p> The installer script will now attempt to patch your existing installation. Please make sure that: <ol> <li>you have made a backup of your MySQL database</li> </ol> </p> <p> </p> <p> </p> <p align="center"> <a href="patch_1.php">Click here to begin the patch >></a> </p> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> {FILE "templates/footer.tpl.htm"} <!-- END: main --> --- NEW FILE: patch_2.tpl.htm --- <!-- BEGIN: main --> {FILE "templates/header.tpl.htm"} <table width="740" align="center" border="0" cellspacing="0" cellpadding="15" style="border-width:1px; border-color: #000000; border-style: solid;"> <tr> <td> </td> </tr> <tr> <td> <h1>Congratulations! Patch is now complete</h1> <p> </p> <table width="600" border="0" align="center"> <tr> <td align="center"><img src="img/install3.jpg" width="500" height="200" alt="" border="0"></td> </tr> <tr> <td> <p> </p> <h2>Print this page!</h2> <p> This page contains important information you'll need to use your CoMoblog site. </p> <p> </p> <p> You can reach your CoMoblog site here:<br /> <a href="{SITE_URL}" class="bigger"><b>{SITE_URL}</b></a> </p> <p> You can configure and personalize your CoMoblog site through Admin Area:<br /> <a href="{SITE_URL}admin/" class="bigger"><b>{SITE_URL}admin/</b></a></p> <p> To access this area you have to authenticate using the following username/password:<br /> - username: <b><span class="bigger">{ADMIN_USERNAME}</span></b><br /> - password: <b><span class="bigger">{ADMIN_PW}</span></b><br /> </p> <p> The following people are allowed to post to your CoMoblog site:<br /> <!-- BEGIN: allowed_from --> - <b><span class="bigger">{ALLOWED_FROM}</span></b><br /> <!-- END: allowed_from --> </p> <p> </p> <h2>Important!</h2> <p>If you have upgraded from Easymoblog and were previously using a Cron task to check your POP3 account then you need to change the name of the script you are executing from easymoblog_batch.php to comoblog_batch.php <br /> </p> <p> </p> <h2>Enjoy blogging!</h2> <p>Now you can start blogging!<br /> To publish a new post on your site, just write it in an email message, and send it to the mailbox account you specified during installation.<br /> You can add images to your posts sending them as attachments (use .jpg, .gif or .png files).</p> <p>For more info about CoMoblog: <a href="http://comoblog.serialmonkey.com/" target="_blank">http://comoblog.serialmonkey.com/</a></p> <p> </p> <p> </p> <p> </p> <p align="right"><a href="http://comoblog.serialmonkey.com/" target="_blank">the CoMoblog staff</a></p> </td> </tr> </table> </td> </tr> </table> {FILE "templates/footer.tpl.htm"} <!-- END: main --> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-22 03:36:57
|
Update of /cvsroot/comoblog/modules/mod_postbytopic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31048 Modified Files: mod_postbytopic.php Log Message: 1369072 - IIS Bug in mod_postbytopic Index: mod_postbytopic.php =================================================================== RCS file: /cvsroot/comoblog/modules/mod_postbytopic/mod_postbytopic.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mod_postbytopic.php 28 Nov 2005 11:13:14 -0000 1.1 +++ mod_postbytopic.php 22 Dec 2005 03:36:48 -0000 1.2 @@ -13,12 +13,20 @@ if (CFG_POSTBYTOPIC_TOPLINE){ $mod_postbytopic_tpl->assign('CFG_POSTBYTOPIC_TOPLINE', CFG_POSTBYTOPIC_TOPLINE ); } + + if (CFG_USE_PATH_INFO == 'no') + $iisbug = '?'; + else + $iisbug = ''; + for ($c = 0; $c < count($postbytopic_items); $c++) { if ($c % 2){ $tpl->assign('BGCOLOR', '#ffffff'); }else{ $tpl->assign('BGCOLOR', '#efefef'); } + $topic_id = $postbytopic_items[$c]['topic_id']; + $postbytopic_items[$c]['url'] = CFG_SITE_URL.'topic.php'.$iisbug.'/'.$topic_id; $mod_postbytopic_tpl->assign('ITEM', $postbytopic_items[$c]); $mod_postbytopic_tpl->parse('main.item'); } @@ -29,4 +37,4 @@ else{ $mod_contents = ''; } -?> \ No newline at end of file +?> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-22 03:36:57
|
Update of /cvsroot/comoblog/modules/mod_postbytopic/templates/top In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31048/templates/top Modified Files: mod_postbytopic.tpl.htm Log Message: 1369072 - IIS Bug in mod_postbytopic Index: mod_postbytopic.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/modules/mod_postbytopic/templates/top/mod_postbytopic.tpl.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mod_postbytopic.tpl.htm 28 Nov 2005 11:13:15 -0000 1.1 +++ mod_postbytopic.tpl.htm 22 Dec 2005 03:36:48 -0000 1.2 @@ -2,7 +2,7 @@ <select name="mod_postbytopic" id="mod_postbytopic" class="topbar_selector" onchange="if(this.value!='nolink') location=this.value;"> <option value="nolink">{CFG_POSTBYTOPIC_TOPLINE}</option> <!-- BEGIN: item --> - <option value="topic.php?/{ITEM.topic_id}">{ITEM.topic_name} ({ITEM.post_count} posts)</option> + <option value="{ITEM.url}">{ITEM.topic_name} ({ITEM.post_count} posts)</option> <!-- END: item --> </select> -<!-- END: main --> \ No newline at end of file +<!-- END: main --> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-22 03:36:57
|
Update of /cvsroot/comoblog/modules/mod_postbytopic/templates/sidebar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31048/templates/sidebar Modified Files: mod_postbytopic.tpl.htm Log Message: 1369072 - IIS Bug in mod_postbytopic Index: mod_postbytopic.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/modules/mod_postbytopic/templates/sidebar/mod_postbytopic.tpl.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mod_postbytopic.tpl.htm 28 Nov 2005 11:13:14 -0000 1.1 +++ mod_postbytopic.tpl.htm 22 Dec 2005 03:36:48 -0000 1.2 @@ -3,7 +3,7 @@ <ul>{CFG_POSTBYTOPIC_TOPLINE} <!-- BEGIN: item --> <li> - <a href="topic.php?/{ITEM.topic_id}">{ITEM.topic_name}</a><br><sub>( + <a href="{ITEM.url}">{ITEM.topic_name}</a><br><sub>( {ITEM.topic_description} {ITEM.post_count} posts)</sub> </li> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-22 02:48:45
|
Update of /cvsroot/comoblog/comoblog/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23687/lang Modified Files: german.inc.php Log Message: 1383037 - Patch commited from Schnitter for German spelling corrections Index: german.inc.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/lang/german.inc.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- german.inc.php 2 Sep 2005 01:06:16 -0000 1.2 +++ german.inc.php 22 Dec 2005 02:48:37 -0000 1.3 @@ -50,7 +50,7 @@ $TXT['post_from'] = 'von'; // comments - $TXT['add_comment'] = 'Schreib ein Kommentar'; + $TXT['add_comment'] = 'Schreibe einen Kommentar'; $TXT['view_comments'] = 'Nachrichten anzeigen'; $TXT['no_comments'] = 'Kein Kommentar für diese Nachricht'; $TXT['comments_for_post'] = 'Kommentare für diese Nachricht'; @@ -60,7 +60,7 @@ $TXT['view'] = 'Anzeigen'; $TXT['submit'] = 'Senden'; $TXT['your_name'] = 'Dein Name'; - $TXT['your_email'] = 'Deine e-mail Adresse'; + $TXT['your_email'] = 'Deine E-Mail-Adresse'; // misc $TXT['permalink'] = 'permalink'; @@ -70,7 +70,7 @@ $TXT['rss1channel'] = 'rss 1.0 channel'; $TXT['rss2channel'] = 'rss 2.0 channel'; - $TXT['click_to_enlarge'] = 'Zum Vergröß bitte hier klicken'; + $TXT['click_to_enlarge'] = 'Zum Vergrößern bitte hier klicken'; // |