comoblog-commit Mailing List for CoMoblog Mobile Blog Application (Page 25)
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...> - 2005-11-24 06:41:16
|
Update of /cvsroot/comoblog/modules/mod_purge/img In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6101/mod_purge/img Added Files: mod_purge.gif mod_purge_big.gif Log Message: 1352436 - Initial release - mod_purge --- NEW FILE: mod_purge.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mod_purge_big.gif --- (This appears to be a binary file; contents omitted.) |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-24 06:41:16
|
Update of /cvsroot/comoblog/modules/mod_purge In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6101/mod_purge Added Files: img_purge.gif img_purge.php mod_purge.php Log Message: 1352436 - Initial release - mod_purge --- NEW FILE: img_purge.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: img_purge.php --- <?php @ignore_user_abort(true); include_once (dirname(__FILE__).'/../../include/config.inc.php'); // purge interval $interval = CFG_PURGE_INTERVAL * 60 * 60; $now = time(); $diff = $now - CFG_LAST_PURGE; // if last_purge was more than CFG_PURGE_INTERVAL minutes ago, execute purge if ($diff > $interval) { // connect to db mysql_connect (CFG_MYSQL_HOST, CFG_MYSQL_USERNAME, CFG_MYSQL_PASSWORD) or die ('Error connecting to mySQL server'); mysql_select_db (CFG_MYSQL_DBNAME) or die ('Error selecting database'); $age_limit = $now - (CFG_PURGE_AGE * 24 * 60 * 60); $query = "delete from ".CFG_MYSQL_TABPREFIX."posts where post_added < ".$age_limit; $result = mysql_query($query); echo $query; // update timestamp in CFG_LAST_PURGE $query = "update ".CFG_MYSQL_TABPREFIX."preferences set pref_value='".$now."' where pref_name='CFG_LAST_PURGE'"; $result = mysql_query($query); } // output fake image $img_file = 'img_purge.gif'; $img_ctype = 'image/gif'; $fp = fopen($img_file, 'rb'); $img = fread($fp, filesize($img_file)); fclose($fp); header ('Cache-Control: no-cache, must-revalidate'); // HTTP/1.1 header ('Pragma: no-cache'); // HTTP/1.0 header ('Content-type: '.$img_ctype); echo $img; // exit exit; ?> --- NEW FILE: mod_purge.php --- <?php $rand = time(); if (CFG_USE_PATH_INFO == 'no') $pathinfobug = '?'; else $pathinfobug = ''; $mod_contents = '<img src="'.CFG_SITE_URL.'modules/mod_purge/img_purge.php'.$pathinfobug.'/'.$rand.'" border="0" width="1" height="1" style="display:none;visibility:hidden;" alt="" />'; ?> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-24 06:40:39
|
Update of /cvsroot/comoblog/modules/mod_purge/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6004/install Log Message: Directory /cvsroot/comoblog/modules/mod_purge/install added to the repository |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-24 06:40:39
|
Update of /cvsroot/comoblog/modules/mod_purge/img In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6004/img Log Message: Directory /cvsroot/comoblog/modules/mod_purge/img added to the repository |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-24 06:40:31
|
Update of /cvsroot/comoblog/modules/mod_purge In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5964/mod_purge Log Message: Directory /cvsroot/comoblog/modules/mod_purge added to the repository |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-24 05:45:48
|
Update of /cvsroot/comoblog/comoblog/admin/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30127/admin/include Modified Files: modules.inc.php Log Message: 1364384 - Module install can fail without warning Index: modules.inc.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/admin/include/modules.inc.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- modules.inc.php 18 Nov 2005 08:24:51 -0000 1.4 +++ modules.inc.php 24 Nov 2005 05:45:39 -0000 1.5 @@ -50,7 +50,7 @@ // parse content of xml install file $xmlparse = &new ParseXML; $xml = $xmlparse->GetXMLTree($install_file); - + $mod_name = trim($xml['MODULE'][0]['NAME'][0]['VALUE']); $mod_version = trim($xml['MODULE'][0]['VERSION'][0]['VALUE']); $mod_minimum_supported = trim($xml['MODULE'][0]['MINIMUM_SUPPORTED'][0]['VALUE']); @@ -58,6 +58,8 @@ $mod_info = trim($xml['MODULE'][0]['INFO'][0]['VALUE']); $mod_filter_posts = trim($xml['MODULE'][0]['FILTER_POSTS'][0]['VALUE']); $mod_filter_comments = trim($xml['MODULE'][0]['FILTER_COMMENTS'][0]['VALUE']); + if ($mod_name == "") + return "Invalid module XML. Installation failed."; if ($mod_minimum_supported != NULL && intval($mod_minimum_supported) > intval(CFG_VERSION)) return "Module not supported on this version. Minimum supported version is ".$mod_minimum_supported; |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-24 05:45:48
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30127/docs Modified Files: CHANGELOG Log Message: 1364384 - Module install can fail without warning Index: CHANGELOG =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/CHANGELOG,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- CHANGELOG 23 Nov 2005 04:24:44 -0000 1.24 +++ CHANGELOG 24 Nov 2005 05:45:39 -0000 1.25 @@ -5,6 +5,7 @@ * FEATURE: Ability to edit comments (1347626) * MODULE: Updated mod_calendar to 1.1 * BUG: Module upgrade tries to upgrade half-written modules +* BUG: Module install/upgrade can fail without warning (1364384) CoMoblog 1.0, 2005-11-19 |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-23 04:24:53
|
Update of /cvsroot/comoblog/comoblog/admin/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8252/admin/templates Modified Files: post_edit.tpl.htm Log Message: 1347626 - Ability to edit comments Index: post_edit.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/comoblog/admin/templates/post_edit.tpl.htm,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- post_edit.tpl.htm 7 Oct 2005 14:09:48 -0000 1.2 +++ post_edit.tpl.htm 23 Nov 2005 04:24:45 -0000 1.3 @@ -35,7 +35,7 @@ <tr> <td colspan="3"> <p>Body:<br /> - <textarea name="post_mail_body" style="width:550px;" cols="50" rows="10" wrap="virtual">{POST.post_mail_body}</textarea><br>(HTML allowed) + <textarea name="post_mail_body" style="width:550px;" cols="50" rows="7" wrap="virtual">{POST.post_mail_body}</textarea><br>(HTML allowed) </p> </td> </tr> @@ -79,6 +79,26 @@ </tr> <!-- END: image --> <!-- END: images --> + <!-- BEGIN: comments --> + <tr> + <td colspan="3"><b>COMMENTS:</b></td> + </tr> + <!-- BEGIN: comment --> + <tr> + <td valign="middle"> + Author: <input type="text" size="20" name="comment_author_{COUNTER}" value="{COMMENT.comment_author}"> + <input type="hidden" name="comment_id_{COUNTER}" value="{COMMENT.comment_id}"> + </td> + <td valign="top"> + <table><tr><td valign="top">Comment: </td> + <td><textarea name="comment_text_{COUNTER}">{COMMENT.comment_text} + </textarea></td></tr></table> + </td> + <td align="right" valign="middle"> + delete: <input type="checkbox" name="comment_delete_{COUNTER}" value="{COMMENT.comment_id}"> + </tr> + <!-- END: comment --> + <!-- END: comments --> <tr> <td align="right" colspan="3"><input type="image" src="img/save_big.gif" border="0" onClick="this.src='img/save_wait.gif';"> </td> </tr> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-23 04:24:53
|
Update of /cvsroot/comoblog/comoblog/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8252/admin Modified Files: post_edit.php Log Message: 1347626 - Ability to edit comments Index: post_edit.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/admin/post_edit.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- post_edit.php 12 Nov 2005 01:37:23 -0000 1.6 +++ post_edit.php 23 Nov 2005 04:24:45 -0000 1.7 @@ -12,6 +12,28 @@ $post[$k] = trim($v); foreach($_POST as $k => $v) { + if (substr($k, 0, 11) == 'comment_id_') { + $comment_cnt = substr($k, 11); + $comment = array(); + $comment['comment_id'] = $post['comment_id_'.$comment_cnt]; + $comment['comment_text'] = $post['comment_text_'.$comment_cnt]; + $comment['comment_author'] = $post['comment_author_'.$comment_cnt]; + $comment['comment_delete'] = $post['comment_delete_'.$comment_cnt]; + + if ($comment['comment_delete'] == $comment['comment_id']) { + $query = "delete from ".CFG_MYSQL_TABPREFIX."comments + where comment_id=".$comment['comment_id']; + $res = mysql_query($query); + } + else { + $query = "update ".CFG_MYSQL_TABPREFIX."comments + set comment_text='".$comment['comment_text']."', + comment_author='".$comment['comment_author']."' + where comment_id=".$comment['comment_id']; +echo $query; + $res = mysql_query($query); + } + } if (substr($k, 0, 9) == 'image_id_') { $image_cnt = substr($k, 9); @@ -132,7 +154,7 @@ exit(); } else { - foreach($errrs as $k => $v) { + foreach($errors as $k => $v) { $tpl->assign('ERROR', $v); $tpl->parse('main.errors.error'); } @@ -194,6 +216,24 @@ } $tpl->parse('main.images'); } + + $comments = comment_list($post_id); + + if ($comments) { + for ($c = 0; $c < count($comments); $c++) { + $comments[$c]['comment_author_email'] = antispam ($comments[$c]['comment_a +uthor_email'], true); + + $tpl->assign("COMMENT", $comments[$c]); + $tpl->assign("COUNTER", $c); + + if ($comments[$c]['comment_author_email'] != '') + $tpl->parse("main.comments.comment.email"); + + $tpl->parse("main.comments.comment"); + } + $tpl->parse("main.comments"); + } } $tpl->assign('ACTION', basename($_SERVER['PHP_SELF'])); |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-23 04:24:53
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8252/docs Modified Files: CHANGELOG Log Message: 1347626 - Ability to edit comments Index: CHANGELOG =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/CHANGELOG,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- CHANGELOG 22 Nov 2005 06:26:01 -0000 1.23 +++ CHANGELOG 23 Nov 2005 04:24:44 -0000 1.24 @@ -2,6 +2,7 @@ ---------------------------- Patch release to resolve some issues. +* FEATURE: Ability to edit comments (1347626) * MODULE: Updated mod_calendar to 1.1 * BUG: Module upgrade tries to upgrade half-written modules |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-22 06:26:09
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5348 Modified Files: CHANGELOG Log Message: 1362801 - Change Color of Date at Top of Calendar Index: CHANGELOG =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/CHANGELOG,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- CHANGELOG 20 Nov 2005 00:23:35 -0000 1.22 +++ CHANGELOG 22 Nov 2005 06:26:01 -0000 1.23 @@ -2,7 +2,8 @@ ---------------------------- Patch release to resolve some issues. - +* MODULE: Updated mod_calendar to 1.1 +* BUG: Module upgrade tries to upgrade half-written modules CoMoblog 1.0, 2005-11-19 |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-22 06:24:16
|
Update of /cvsroot/comoblog/comoblog/modules/mod_calendar/css In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5070/css Modified Files: mod_calendar.css.php Log Message: 1362801 - Change Color of Date at Top of Calendar Index: mod_calendar.css.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/modules/mod_calendar/css/mod_calendar.css.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- mod_calendar.css.php 16 Aug 2005 05:49:47 -0000 1.1.1.1 +++ mod_calendar.css.php 22 Nov 2005 06:24:08 -0000 1.2 @@ -19,6 +19,10 @@ margin:0; } +.calendar_date { + color: #'.CFG_CALENDAR_DATE_COLOR.'; +} + .calendar_header { font-weight: bold; color: #'.CFG_CALENDAR_HEADER_COLOR.'; |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-22 06:24:16
|
Update of /cvsroot/comoblog/comoblog/modules/mod_calendar/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5070/templates Modified Files: mod_calendar.tpl.htm Log Message: 1362801 - Change Color of Date at Top of Calendar Index: mod_calendar.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/comoblog/modules/mod_calendar/templates/mod_calendar.tpl.htm,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- mod_calendar.tpl.htm 8 Oct 2005 13:27:41 -0000 1.3 +++ mod_calendar.tpl.htm 22 Nov 2005 06:24:08 -0000 1.4 @@ -1,7 +1,7 @@ <!-- BEGIN: main --> <!-- BEGIN: calendar --> <div id="mod_calendar"> - <p><!-- BEGIN: prev --><a href="{SITE_URL}index.php{IISBUG}/{PREV_DATE}" title="{TXT.cal_previous}"><img src="{SITE_URL}{ARROW_LEFT}" border="0" alt="{TXT.cal_previous}" /></a><!-- END: prev --> {CAL_DATE} <!-- BEGIN: next --><a href="{SITE_URL}index.php{IISBUG}/{NEXT_DATE}" title="{TXT.cal_next}"><img src="{SITE_URL}{ARROW_RIGHT}" border="0" alt="{TXT.cal_next}" /></a><!-- END: next --></p> + <p class="calendar_date"><!-- BEGIN: prev --><a href="{SITE_URL}index.php{IISBUG}/{PREV_DATE}" title="{TXT.cal_previous}"><img src="{SITE_URL}{ARROW_LEFT}" border="0" alt="{TXT.cal_previous}" /></a><!-- END: prev --> {CAL_DATE} <!-- BEGIN: next --><a href="{SITE_URL}index.php{IISBUG}/{NEXT_DATE}" title="{TXT.cal_next}"><img src="{SITE_URL}{ARROW_RIGHT}" border="0" alt="{TXT.cal_next}" /></a><!-- END: next --></p> <table cellspacing="0"> <tr class="calendar_header"> <!-- BEGIN: header--> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-22 06:24:16
|
Update of /cvsroot/comoblog/comoblog/modules/mod_calendar/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5070/install Modified Files: mod_calendar.xml Log Message: 1362801 - Change Color of Date at Top of Calendar Index: mod_calendar.xml =================================================================== RCS file: /cvsroot/comoblog/comoblog/modules/mod_calendar/install/mod_calendar.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- mod_calendar.xml 13 Nov 2005 12:35:27 -0000 1.8 +++ mod_calendar.xml 22 Nov 2005 06:24:08 -0000 1.9 @@ -4,7 +4,7 @@ <name>mod_calendar</name> - <version>1.0</version> + <version>1.1</version> <minimum_supported>1.0</minimum_supported> @@ -73,6 +73,15 @@ /> <param + name="CFG_CALENDAR_DATE_COLOR" + description="" + type="color_picker" + editable="Y" + accept_null="N" + value="000000" + /> + + <param name="CFG_CALENDAR_HEADER_BACKGROUND_COLOR" description="" type="color_picker" |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-21 23:11:42
|
Update of /cvsroot/comoblog/comoblog/modules/mod_search/css In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11655 Removed Files: :wq! Log Message: Remove stray file --- :wq! DELETED --- |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-20 08:01:43
|
Update of /cvsroot/comoblog/comoblog/_install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25960 Modified Files: upgrade_3.php Log Message: Fix to stop module developers getting upgrade failures on half-built modules Index: upgrade_3.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/upgrade_3.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- upgrade_3.php 18 Nov 2005 08:41:52 -0000 1.3 +++ upgrade_3.php 20 Nov 2005 08:01:35 -0000 1.4 @@ -22,7 +22,7 @@ if (is_dir($old_path)) { $dh = opendir($old_path); while (($dir = readdir($dh)) != false) { - if (strpos($dir, "mod_") !== FALSE) { + if (strpos($dir, "mod_") !== FALSE && file_exists($old_path."/".$dir."/install/".$dir.".xml")) { if (is_dir($new_path."/".$dir) == FALSE) { module_deactivate_by_name($dir); if (is_module_certified($dir)) |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-20 03:06:24
|
Update of /cvsroot/comoblog/comoblog/admin/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11091 Modified Files: manage_modules.tpl.htm Log Message: Clarification of 'uncertified' in manage modules Index: manage_modules.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/comoblog/admin/templates/manage_modules.tpl.htm,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- manage_modules.tpl.htm 18 Nov 2005 08:24:51 -0000 1.4 +++ manage_modules.tpl.htm 20 Nov 2005 03:06:10 -0000 1.5 @@ -114,7 +114,7 @@ <!-- BEGIN: uncertified_warning --> <table width="760" border="0" align="center" border="0" cellspacing="0" cellpadding="0"> <tr> - <td align="center"><br /><img src='img/warning.gif'> - WARNING: This module is not certified against this version of CoMoblog. It may not function correctly.</td> + <td align="center"><br /><img src='img/warning.gif'> - WARNING: This module is not certified against this version of CoMoblog. It may not function correctly. Please see the CoMoblog website for an updated version.</td> </tr> </table> <!-- END: uncertified_warning --> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-20 00:23:45
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14767 Modified Files: CHANGELOG Log Message: Changelog update for 1.1 Index: CHANGELOG =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/CHANGELOG,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- CHANGELOG 13 Nov 2005 12:37:50 -0000 1.21 +++ CHANGELOG 20 Nov 2005 00:23:35 -0000 1.22 @@ -1,4 +1,11 @@ -CoMoblog 1.0, 2005-10-10 +CoMoblog 1.1, xxxx-xx-xx +---------------------------- +Patch release to resolve some issues. + + + + +CoMoblog 1.0, 2005-11-19 ---------------------------- Initial Release. Based on the Easymoblog 0.5.1 release with the |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-19 22:40:09
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16030 Modified Files: UPGRADE Log Message: Additional upgrade assistance for remembering your old database configuration details Index: UPGRADE =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/UPGRADE,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- UPGRADE 12 Nov 2005 14:21:04 -0000 1.6 +++ UPGRADE 19 Nov 2005 22:40:01 -0000 1.7 @@ -24,6 +24,9 @@ of your existing Easymoblog instance. Make sure when entering your database details that you get the table prefix correct (most likely easymoblog_) + If you are unsure what your database configurations details are + then open up the includes/param.inc.php file in your existing + installation - the details will be contained inside that file. The script will then detect an existing install and switch to upgrade mode. Follow the instructions given. 5. Update your cron job if required to run /batch/comoblog_batch.php |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-18 09:17:56
|
Update of /cvsroot/comoblog/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12713/modules Log Message: Directory /cvsroot/comoblog/modules added to the repository |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-18 09:14:29
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12044 Modified Files: MODULES Log Message: Updated module doco with website directory reference Index: MODULES =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/MODULES,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- MODULES 18 Nov 2005 08:34:42 -0000 1.7 +++ MODULES 18 Nov 2005 09:14:22 -0000 1.8 @@ -162,6 +162,11 @@ in the XML. Users will be warned if they are running a CoMoblog version that isn't in your "compatability" list. - +15) RELEASE: + + All new modules should be emailed to mw...@se... so they can + be added to the Website directory. + + ______________________________________________________________________ END OF MODULES FILE |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-18 09:12:27
|
Update of /cvsroot/comoblog/comoblog/_install/upgrades In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11418 Modified Files: 0.5.1_to_1.0.xml Log Message: Fixes for Easymoblog logo branding Index: 0.5.1_to_1.0.xml =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/upgrades/0.5.1_to_1.0.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- 0.5.1_to_1.0.xml 18 Nov 2005 08:24:50 -0000 1.3 +++ 0.5.1_to_1.0.xml 18 Nov 2005 09:12:20 -0000 1.4 @@ -17,6 +17,12 @@ <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_value='1.0' where pref_name='CFG_VERSION'; </dbquery> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-18 08:42:00
|
Update of /cvsroot/comoblog/comoblog/_install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4539 Added Files: upgrade_3.php Log Message: 1327274 - Updating with existing modules fails --- NEW FILE: upgrade_3.php --- <?php require ('../include/xtemplate.inc.php'); require('../admin/include/xml2array.inc.php'); require_once (dirname(__FILE__).'/../include/config.inc.php'); require_once (dirname(__FILE__).'/../admin/include/modules.inc.php'); $tpl = @new XTemplate ('templates/upgrade_3.tpl.htm', 'main'); session_start(); $old_path = $_SESSION['old_path']."/modules"; $new_path = $_SESSION['new_path']."/modules"; $migrated = 0; $upgraded = 0; $new_path = $_SESSION['new_path']."/modules"; $migrated = 0; $upgraded = 0; $uncertified = 0; if (is_dir($old_path)) { $dh = opendir($old_path); while (($dir = readdir($dh)) != false) { if (strpos($dir, "mod_") !== FALSE) { if (is_dir($new_path."/".$dir) == FALSE) { module_deactivate_by_name($dir); if (is_module_certified($dir)) $tpl->assign('MODULE', $dir); else { $tpl->assign('MODULE', $dir." (uncertified)"); $uncertified++; } $tpl->parse('main.migrated.module'); $migrated++; } else { $compare = compare_module_version($dir); if ($compare > 0) { $module_install = module_install($dir); if (!$module_install) { if (is_module_certified($dir)) $tpl->assign('MODULE', $dir); else { module_deactivate_by_name($dir); $tpl->assign('MODULE', $dir." (uncertified)"); $uncertified++; } $tpl->parse('main.upgraded.module'); $upgraded++; } } else if ($compare < 0) { module_deactivate_by_name($dir); if (is_module_certified($dir)) $tpl->assign('main.migrated.module', $dir); else { $tpl->assign('main.migrated.module', $dir." (uncertified)"); $uncertified++; } $tpl->parse('main.migrated.module'); $migrated++; } } } } } if ($upgraded > 0) $tpl->parse('main.upgraded'); if ($migrated > 0) $tpl->parse('main.migrated'); if ($uncertified > 0) $tpl->parse('main.uncertified'); if ($upgraded == 0 && $migrated == 0 && $uncertified == 0) $tpl->parse('main.nothing'); $tpl->parse('main'); $tpl->out('main'); ?> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-18 08:42:00
|
Update of /cvsroot/comoblog/comoblog/_install/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4539/templates Added Files: upgrade_3.tpl.htm Log Message: 1327274 - Updating with existing modules fails --- NEW FILE: upgrade_3.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>Step 4 (of 5) - Module Upgrades</h1> <p> </p> <table border="0" cellspacing="0" cellpadding="5" width="740" align="center"> <tr> <td valign="top" width="300"><img src="img/install2.jpg" width="300" height="150" alt="" border="0"> </td> <td valign="top" width="450"> <!-- BEGIN: migrated --> <p align="center">You will need to <b>manually reinstall</b> these modules and then reenable them in the 'Manage Modules' page. Please see the User Guide for instructions on how to install modules.</p> <ul> <!-- BEGIN: module --> <p align="center"> <li><b>{MODULE}</b></li><br /> </p> <!-- END: module --> </ul> <p> </p> <!-- END: migrated --> <!-- BEGIN: upgraded --> <p align="center">The following modules have been <b>upgraded</b> from your previous installation.</p> <ul> <!-- BEGIN: module --> <p align="center"> <li><b>{MODULE}</b></li><br /> </p> <!-- END: module --> </ul> <p> </p> <!-- END: upgraded --> <!-- BEGIN: uncertified --> <p align="center">Any modules that are marked as <b>uncertified</b> have been disabled. You will need to manually enable these modules and test that they work with this version of CoMoblog once the upgrade is complete</p> <!-- END: uncertified --> <!-- BEGIN: nothing --> <p align="center">No modules were upgraded or migrated from your previous installation</p> <!-- END: nothing --> <p> </p> <p align="center"> <a href="upgrade_4.php">Click here to finish the upgrade >></a> </p> </td> </tr> <tr> <td> </td> </tr> </table> {FILE "templates/footer.tpl.htm"} |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-18 08:34:51
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3233 Modified Files: MODULES Log Message: 1327274 - Updating with existing modules fails Index: MODULES =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/MODULES,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- MODULES 9 Oct 2005 08:42:10 -0000 1.6 +++ MODULES 18 Nov 2005 08:34:42 -0000 1.7 @@ -138,7 +138,29 @@ download the "mod_examples" packages here: http://comoblog.serialmonkey.com/download.php - +12) VERSIONS: + + You need to specify a version number for your module in the XML. If you + make a change to your module then you need to increase the version + number in the XML to be larger than your previous version. This will + trigger CoMoblog to upgrade your module. + +13) UPGRADES: + + Be warned that any dbquery's you put in the install XML may be executed + more than once - as they are all rerun during a module upgrade. No + preferences are deleted on module upgrades but new preferences that you + add to the install XML will be added to the database. + +14) SUPPORTED CORE VERSIONS: + + You need to specify a minimum supported CoMoblog version in your XML file. + A user will not be able to install your module on a CoMoblog version + smaller than this value. + + You can also list the CoMoblog versions you have tested your module using + in the XML. Users will be warned if they are running a CoMoblog version + that isn't in your "compatability" list. ______________________________________________________________________ |