comoblog-commit Mailing List for CoMoblog Mobile Blog Application (Page 31)
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-10-05 00:46:25
|
Update of /cvsroot/comoblog/comoblog/modules/mod_search/img In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14311/img Log Message: Directory /cvsroot/comoblog/comoblog/modules/mod_search/img added to the repository |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-05 00:46:25
|
Update of /cvsroot/comoblog/comoblog/modules/mod_search/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14311/templates Log Message: Directory /cvsroot/comoblog/comoblog/modules/mod_search/templates added to the repository |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-05 00:46:25
|
Update of /cvsroot/comoblog/comoblog/modules/mod_search/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14311/include Log Message: Directory /cvsroot/comoblog/comoblog/modules/mod_search/include added to the repository |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-05 00:46:25
|
Update of /cvsroot/comoblog/comoblog/modules/mod_search/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14311/admin Log Message: Directory /cvsroot/comoblog/comoblog/modules/mod_search/admin added to the repository |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-05 00:46:25
|
Update of /cvsroot/comoblog/comoblog/modules/mod_search/css In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14311/css Log Message: Directory /cvsroot/comoblog/comoblog/modules/mod_search/css added to the repository |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-05 00:45:56
|
Update of /cvsroot/comoblog/comoblog/modules/mod_search In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14279/mod_search Log Message: Directory /cvsroot/comoblog/comoblog/modules/mod_search added to the repository |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-05 00:45:48
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14199/docs Modified Files: CHANGELOG MODULES UPGRADE Log Message: Added functionality to allow pre and post database save post filtering. This is prework for the mod_search module Index: UPGRADE =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/UPGRADE,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- UPGRADE 4 Oct 2005 06:14:35 -0000 1.2 +++ UPGRADE 5 Oct 2005 00:45:34 -0000 1.3 @@ -15,9 +15,11 @@ If you wish to install CoMoblog into the same folder location as EasyMoblog then remove all EasyMoblog files and folders. 3. Extract the new release tar.gz file into the CoMoblog folder -4. Login to MySql as your easymoblog SQL user and run the following +4. Edit the docs/upgrades/easymoblog-0.5.1_to_comoblog-0.1.sql script + and insert any table prefix you have configured in your db. +5. Login to MySql as your easymoblog SQL user and run the following script: docs/upgrades/easymoblog-0.5.1_to_comoblog-0.1.sql -5. Update your cron job if required to run /batch/comoblog_batch.php +6. Update your cron job if required to run /batch/comoblog_batch.php instead of easymoblog_batch.php ______________________________________________________________________ END OF UPGRADE FILE Index: MODULES =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/MODULES,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- MODULES 2 Sep 2005 05:45:48 -0000 1.4 +++ MODULES 5 Oct 2005 00:45:34 -0000 1.5 @@ -109,7 +109,13 @@ storing the post in the database. You can access and modify the $post associative array in your {mod_name}_filter_post.php script (see {CoMoblog}/batch/comoblog_batch.php source code). - + + You can also mark a post Filter module to be run after the post has + been stored into the database and assigned a post_id value. This is + useful for processing tasks that require the post_id of the post they + are working on. To make a post filter run after the data has been + stored set the filter_posts to O in the XML initallation file. + Comments filters works in the same way, but you have to set to 'Y' the filter_module parameter in XML installation file and create a {CoMoblog}/modules/{mod_name}/{mod_name}_filter_comment.php Index: CHANGELOG =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/CHANGELOG,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- CHANGELOG 4 Oct 2005 11:26:56 -0000 1.11 +++ CHANGELOG 5 Oct 2005 00:45:34 -0000 1.12 @@ -8,6 +8,7 @@ * FEATURE: Debugging now optionally available for POP3 (1280310) * FEATURE: POP3 errors now reported from batch script (1280310) * FEATURE: Cookie stores comments data (1280298) +* FEATURE: Added pre/post db save post filter framework * BUG: Disable POP3 APOP authentication by default (1280278) * BUG: Background images now displaying (1280325) * BUG: Trackback pings now work (1280323) |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-05 00:45:48
|
Update of /cvsroot/comoblog/comoblog/_install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14199/_install Modified Files: comoblog_db.xml Log Message: Added functionality to allow pre and post database save post filtering. This is prework for the mod_search module Index: comoblog_db.xml =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/comoblog_db.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- comoblog_db.xml 2 Sep 2005 02:35:30 -0000 1.3 +++ comoblog_db.xml 5 Oct 2005 00:45:34 -0000 1.4 @@ -57,7 +57,7 @@ <field name="mod_pos" specs="enum('sidebar','top','not_visible') NOT NULL default 'sidebar'" /> <field name="mod_display_order" specs="int(10) unsigned default NULL" /> <field name="mod_allowed_pos" specs="varchar(32) default NULL" /> - <field name="mod_filter_posts" specs="enum('N','Y') NOT NULL default 'N'" /> + <field name="mod_filter_posts" specs="enum('N','Y','O') NOT NULL default 'N'" /> <field name="mod_filter_comments" specs="enum('N','Y') NOT NULL default 'N'" /> <field name="mod_info" specs="text" /> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-05 00:45:48
|
Update of /cvsroot/comoblog/comoblog/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14199/admin Modified Files: post_add.php post_edit.php Log Message: Added functionality to allow pre and post database save post filtering. This is prework for the mod_search module Index: post_add.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/admin/post_add.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- post_add.php 16 Aug 2005 05:49:44 -0000 1.1.1.1 +++ post_add.php 5 Oct 2005 00:45:34 -0000 1.2 @@ -48,9 +48,9 @@ } // apply post filters - if (count($POST_FILTERS) > 0) { - for ($filter_cnt = 0; $filter_cnt < count($POST_FILTERS); $filter_cnt++) { - include_once (CFG_BASE_PATH.'/modules/'.$POST_FILTERS[$filter_cnt].'/'.$POST_FILTERS[$filter_cnt].'_post_filter.php'); + if (count($POST_PRE_FILTERS) > 0) { + for ($filter_cnt = 0; $filter_cnt < count($POST_PRE_FILTERS); $filter_cnt++) { + include_once (CFG_BASE_PATH.'/modules/'.$POST_PRE_FILTERS[$filter_cnt].'/'.$POST_PRE_FILTERS[$filter_cnt].'_post_filter.php'); } } @@ -78,6 +78,13 @@ $post['post_id'] = mysql_insert_id(); + // apply post filters + if (count($POST_POST_FILTERS) > 0) { + for ($filter_cnt = 0; $filter_cnt < count($POST_POST_FILTERS); $filter_cnt++) { + include_once (CFG_BASE_PATH.'/modules/'.$POST_POST_FILTERS[$filter_cnt].'/'.$POST_POST_FILTERS[$filter_cnt].'_post_filter.php'); + } + } + for ($i = 0; $i < count($images); $i++) { $query = "insert into ".CFG_MYSQL_TABPREFIX."images (img_mime,img_extension,post_id,img_display,img_thumb) values ('".$images[$i]['ctype']."','".$images[$i]['ext']."','".$post['post_id']."','attach','N')"; Index: post_edit.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/admin/post_edit.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- post_edit.php 16 Aug 2005 05:49:44 -0000 1.1.1.1 +++ post_edit.php 5 Oct 2005 00:45:34 -0000 1.2 @@ -79,9 +79,9 @@ } // apply post filters - if (count($POST_FILTERS) > 0) { - for ($filter_cnt = 0; $filter_cnt < count($POST_FILTERS); $filter_cnt++) { - include_once (CFG_BASE_PATH.'/modules/'.$POST_FILTERS[$filter_cnt].'/'.$POST_FILTERS[$filter_cnt].'_post_filter.php'); + if (count($POST_PRE_FILTERS) > 0) { + for ($filter_cnt = 0; $filter_cnt < count($POST_PRE_FILTERS); $filter_cnt++) { + include_once (CFG_BASE_PATH.'/modules/'.$POST_PRE_FILTERS[$filter_cnt].'/'.$POST_PRE_FILTERS[$filter_cnt].'_post_filter.php'); } } @@ -102,6 +102,13 @@ post_id = '".$post['post_id'] ."' "; $res = mysql_query($query); + + // apply post filters + if (count($POST_POST_FILTERS) > 0) { + for ($filter_cnt = 0; $filter_cnt < count($POST_POST_FILTERS); $filter_cnt++) { + include_once (CFG_BASE_PATH.'/modules/'.$POST_POST_FILTERS[$filter_cnt].'/'.$POST_POST_FILTERS[$filter_cnt].'_post_filter.php'); + } + } echo '<html><head></head><body><script language="javascript">opener.location.reload();this.close();</script></body></html>'; exit(); |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-05 00:45:48
|
Update of /cvsroot/comoblog/comoblog/batch In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14199/batch Modified Files: comoblog_batch.php Log Message: Added functionality to allow pre and post database save post filtering. This is prework for the mod_search module Index: comoblog_batch.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/batch/comoblog_batch.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- comoblog_batch.php 4 Oct 2005 05:39:06 -0000 1.4 +++ comoblog_batch.php 5 Oct 2005 00:45:34 -0000 1.5 @@ -55,11 +55,11 @@ else $post['post_mail_body'] = clean_up_html($post['post_mail_body'], true); - // apply filters - global $POST_FILTERS; - if (count($POST_FILTERS) > 0) { - for ($filter_cnt = 0; $filter_cnt < count($POST_FILTERS); $filter_cnt++) { - include (CFG_BASE_PATH.'/modules/'.$POST_FILTERS[$filter_cnt].'/'.$POST_FILTERS[$filter_cnt].'_post_filter.php'); + // apply pre filters + global $POST_PRE_FILTERS; + if (count($POST_PRE_FILTERS) > 0) { + for ($filter_cnt = 0; $filter_cnt < count($POST_PRE_FILTERS); $filter_cnt++) { + include (CFG_BASE_PATH.'/modules/'.$POST_PRE_FILTERS[$filter_cnt].'/'.$POST_PRE_FILTERS[$filter_cnt].'_post_filter.php'); } } @@ -94,6 +94,15 @@ $res = mysql_query($query); $post_id = mysql_insert_id(); + $post['post_id'] = $post_id; + + // apply post filters + global $POST_POST_FILTERS; + if (count($POST_POST_FILTERS) > 0) { + for ($filter_cnt = 0; $filter_cnt < count($POST_POST_FILTERS); $filter_cnt++) { + include (CFG_BASE_PATH.'/modules/'.$POST_POST_FILTERS[$filter_cnt].'/'.$POST_POST_FILTERS[$filter_cnt].'_post_filter.php'); + } + } for ($i = 0; $i < $howmany_images; $i++) { if ($post['images_mime'][$i] == 'image/jpg') |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-05 00:45:48
|
Update of /cvsroot/comoblog/comoblog/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14199/include Modified Files: config.inc.php Log Message: Added functionality to allow pre and post database save post filtering. This is prework for the mod_search module Index: config.inc.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/include/config.inc.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- config.inc.php 16 Aug 2005 05:49:46 -0000 1.1.1.1 +++ config.inc.php 5 Oct 2005 00:45:34 -0000 1.2 @@ -47,7 +47,8 @@ // modules and filters $TOP_MODULES = array(); $SIDEBAR_MODULES = array(); -$POST_FILTERS = array(); +$POST_PRE_FILTERS = array(); +$POST_POST_FILTERS = array(); $COMMENT_FILTERS = array(); $query = " select mod_name, mod_pos, mod_display_order, mod_filter_posts, mod_filter_comments @@ -67,9 +68,11 @@ } if ($row['mod_filter_posts'] == 'Y') - $POST_FILTERS[] = $row['mod_name']; + $POST_PRE_FILTERS[] = $row['mod_name']; + else if ($row['mod_filter_posts'] == 'O') + $POST_POST_FILTERS[] = $row['mod_name']; if ($row['mod_filter_comments'] == 'Y') $COMMENT_FILTERS[] = $row['mod_name']; } } -?> \ No newline at end of file +?> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-05 00:45:47
|
Update of /cvsroot/comoblog/comoblog/docs/upgrades In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14199/docs/upgrades Modified Files: easymoblog-0.5.1_to_comoblog-0.1.sql Log Message: Added functionality to allow pre and post database save post filtering. This is prework for the mod_search module Index: easymoblog-0.5.1_to_comoblog-0.1.sql =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/upgrades/easymoblog-0.5.1_to_comoblog-0.1.sql,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- easymoblog-0.5.1_to_comoblog-0.1.sql 4 Oct 2005 06:14:35 -0000 1.2 +++ easymoblog-0.5.1_to_comoblog-0.1.sql 5 Oct 2005 00:45:34 -0000 1.3 @@ -1,3 +1,4 @@ +alter table comoblog_modules modify column mod_filter_posts enum('N','Y','O') NOT NULL default 'N'; update comoblog_preferences SET pref_value='0.1' where pref_name='CFG_VERSION'; update comoblog_preferences SET pref_description='Max width (in pixels) for post images (requires GD library)' where pref_name='CFG_IMG_MAX_W'; update comoblog_preferences SET pref_description='Max height (in pixels) for post images (requirets GD library)' where pref_name='CFG_IMG_MAX_H'; |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-04 11:27:07
|
Update of /cvsroot/comoblog/comoblog In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25808 Modified Files: add_comment.php Log Message: RFE: 1280298 - Cookie's now store users name and email address when they enter a comment. Patched based off patch provided by Iamdecal Index: add_comment.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/add_comment.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- add_comment.php 16 Aug 2005 05:49:43 -0000 1.1.1.1 +++ add_comment.php 4 Oct 2005 11:26:56 -0000 1.2 @@ -43,6 +43,13 @@ $comment = $form; $comment = comment_add ($comment); + + $cookie_period = 60*60*24*365; + $domain = parse_url(CFG_SITE_URL); + $domain = $domain['host']; + setcookie("comment-name", $form['comment_author'], time() + $cookie_period, "/", $domain, 0); + setcookie("comment-email", $form['comment_author_email'], time() + $cookie_period, "/", $domain, 0); + Header ("Location: list_comments.php?i=".$comment['post_id']); exit(); } @@ -60,6 +67,12 @@ $tpl->assign("ACTION", basename($_SERVER['PHP_SELF'])); + +if (isset($_COOKIE['comment-name'])) + $form['comment_author'] = $_COOKIE['comment-name']; +if (isset($_COOKIE['comment-email'])) + $form['comment_author_email'] = $_COOKIE['comment-email']; + $tpl->assign("FORM", $form); @@ -69,4 +82,4 @@ // close db connection mysql_close (); -?> \ No newline at end of file +?> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-04 11:27:04
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25808/docs Modified Files: CHANGELOG Log Message: RFE: 1280298 - Cookie's now store users name and email address when they enter a comment. Patched based off patch provided by Iamdecal Index: CHANGELOG =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/CHANGELOG,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- CHANGELOG 4 Oct 2005 06:55:56 -0000 1.10 +++ CHANGELOG 4 Oct 2005 11:26:56 -0000 1.11 @@ -4,14 +4,15 @@ Initial Release. Based on the Easymoblog 0.5.1 release with the following additions. -* More informational error messages during MYSQL setup (1280250) -* Disable POP3 APOP authentication by default (1280278) -* Background images now displaying (1280325) -* Trackback pings now work (1280323) -* Updated documentation requirements around the GD library (1280322) -* Additional debugging now optionally available for POP3 (1280310) -* POP3 errors are now reported in detail from batch script (1280310) -* Post Date now populated correctly in RSS (1280277) +* FEATURE: Fnformational error messages during MYSQL setup (1280250) +* FEATURE: Debugging now optionally available for POP3 (1280310) +* FEATURE: POP3 errors now reported from batch script (1280310) +* FEATURE: Cookie stores comments data (1280298) +* BUG: Disable POP3 APOP authentication by default (1280278) +* BUG: Background images now displaying (1280325) +* BUG: Trackback pings now work (1280323) +* BUG: Updated doco requirements around the GD library (1280322) +* BUG: Post Date now populated correctly in RSS (1280277) ______________________________________________________________________ END OF CHANGELOG FILE |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-04 06:56:05
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2557/docs Modified Files: CHANGELOG Log Message: RFE: 1280277 - Fixed reporting of post_date in RSS Index: CHANGELOG =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/CHANGELOG,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- CHANGELOG 4 Oct 2005 05:39:06 -0000 1.9 +++ CHANGELOG 4 Oct 2005 06:55:56 -0000 1.10 @@ -11,6 +11,7 @@ * Updated documentation requirements around the GD library (1280322) * Additional debugging now optionally available for POP3 (1280310) * POP3 errors are now reported in detail from batch script (1280310) +* Post Date now populated correctly in RSS (1280277) ______________________________________________________________________ END OF CHANGELOG FILE |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-04 06:56:05
|
Update of /cvsroot/comoblog/comoblog/modules/mod_rss In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2557/modules/mod_rss Modified Files: rss.php Log Message: RFE: 1280277 - Fixed reporting of post_date in RSS Index: rss.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/modules/mod_rss/rss.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- rss.php 2 Sep 2005 01:06:16 -0000 1.2 +++ rss.php 4 Oct 2005 06:55:56 -0000 1.3 @@ -42,7 +42,7 @@ $posts[$c]['post_mail_subject'] = htmlspecialchars(strip_tags($posts[$c]['post_mail_subject'])); $posts[$c]['post_mail_body'] = htmlspecialchars(strip_tags($posts[$c]['post_mail_body'])); $posts[$c]['post_mail_from'] = htmlspecialchars(strip_tags($posts[$c]['post_mail_from'])); - + $posts[$c]['post_mail_date'] = strftime($CAL_DATE_FORMAT." %H:%M", $posts[$c]['post_mail_date']); $post['post_category'] = ''; $tpl->assign('POST', $posts[$c]); |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-04 06:14:44
|
Update of /cvsroot/comoblog/comoblog/docs/upgrades In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28144/upgrades Modified Files: easymoblog-0.5.1_to_comoblog-0.1.sql Log Message: Additional DB changes to 0.5.1->0.1 update script Index: easymoblog-0.5.1_to_comoblog-0.1.sql =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/upgrades/easymoblog-0.5.1_to_comoblog-0.1.sql,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- easymoblog-0.5.1_to_comoblog-0.1.sql 2 Sep 2005 12:30:45 -0000 1.1 +++ easymoblog-0.5.1_to_comoblog-0.1.sql 4 Oct 2005 06:14:35 -0000 1.2 @@ -1 +1,9 @@ +update comoblog_preferences SET pref_value='0.1' where pref_name='CFG_VERSION'; +update comoblog_preferences SET pref_description='Max width (in pixels) for post images (requires GD library)' where pref_name='CFG_IMG_MAX_W'; +update comoblog_preferences SET pref_description='Max height (in pixels) for post images (requirets GD library)' where pref_name='CFG_IMG_MAX_H'; +update comoblog_preferences SET pref_display_order=1 where pref_name='CFG_BODY_BGCOLOR'; +update comoblog_preferences SET pref_display_order=2 where pref_name='CFG_PAGE_WIDTH'; +update comoblog_preferences SET pref_display_order=3 where pref_name='CFG_BG_IMG'; +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, ''); +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, ''); 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, ''); |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-04 06:14:43
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28144 Modified Files: UPGRADE Log Message: Additional DB changes to 0.5.1->0.1 update script Index: UPGRADE =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/UPGRADE,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- UPGRADE 2 Sep 2005 12:30:45 -0000 1.1 +++ UPGRADE 4 Oct 2005 06:14:35 -0000 1.2 @@ -10,11 +10,14 @@ Upgrade: Easymoblog 0.5.1 -> Comoblog 0.1 -1. Make a backup of your database and comoblog/ folder -2. Extract the new release tar.gz file overtop of your existing - /comoblog folder -3. Login to MySql as your comoblog SQL user and run the following +1. Make a backup of your database and easymoblog install folder +2. Create a new installation folder for CoMoblog (i.e. /comoblog). + If you wish to install CoMoblog into the same folder location as + EasyMoblog then remove all EasyMoblog files and folders. +3. Extract the new release tar.gz file into the CoMoblog folder +4. Login to MySql as your easymoblog SQL user and run the following script: docs/upgrades/easymoblog-0.5.1_to_comoblog-0.1.sql - +5. Update your cron job if required to run /batch/comoblog_batch.php + instead of easymoblog_batch.php ______________________________________________________________________ END OF UPGRADE FILE |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-04 05:39:14
|
Update of /cvsroot/comoblog/comoblog/batch In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23027/batch Modified Files: comoblog_batch.php Log Message: RFE: 1280310 - POP3 debugging and error reporting Index: comoblog_batch.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/batch/comoblog_batch.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- comoblog_batch.php 2 Sep 2005 12:53:56 -0000 1.3 +++ comoblog_batch.php 4 Oct 2005 05:39:06 -0000 1.4 @@ -181,17 +181,26 @@ // pop3 connection and log-in $pop3 =& new Net_POP3(); - $apop = 0; + $popMethod = 'USER'; if (CFG_MAIL_APOP == "yes") - $apop = 1; + $popMethod = 'APOP'; + + if (CFG_MAIL_DEBUG == "yes") + $pop3->setDebug(true); + + if (!$pop3->connect(CFG_MAIL_POP, 110)) { + echo "\n ** Failure to connect to POP3 Server **\n"; + } + + if(PEAR::isError($ret= $pop3->login(CFG_MAIL_USER, CFG_MAIL_PW, $popMethod))) { + echo "\n ** Error logging into POP3 Server **"; + echo "\n ** Error Message: ".$ret->getMessage()." **"; + } - $pop3->connect(CFG_MAIL_POP, 110); - $pop3->login(CFG_MAIL_USER, CFG_MAIL_PW, $apop); - $howmany_msg = $pop3->numMsg(); if ($howmany_msg == 0) { - if ($BATCH_LOG) echo "\n ** No mail found **"; + if ($BATCH_LOG) echo "\n ** No mail found **\n"; // pop3 disconnect $pop3->disconnect(); |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-04 05:39:14
|
Update of /cvsroot/comoblog/comoblog/_install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23027/_install Modified Files: comoblog_preferences.xml Log Message: RFE: 1280310 - POP3 debugging and error reporting Index: comoblog_preferences.xml =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/comoblog_preferences.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- comoblog_preferences.xml 4 Oct 2005 03:40:42 -0000 1.7 +++ comoblog_preferences.xml 4 Oct 2005 05:39:06 -0000 1.8 @@ -235,6 +235,19 @@ editable="Y" display_order="4" /> + + <param + name="CFG_MAIL_DEBUG" + value="no" + description="POP3 enable debugging" + topic_id="4" + encrypt="M" + type="select" + restrict_values="no|yes" + accept_null="N" + editable="Y" + display_order="5" + /> <param name="CFG_MAIL_USER" |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-04 05:39:14
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23027/docs Modified Files: CHANGELOG Log Message: RFE: 1280310 - POP3 debugging and error reporting Index: CHANGELOG =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/CHANGELOG,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- CHANGELOG 4 Oct 2005 03:05:57 -0000 1.8 +++ CHANGELOG 4 Oct 2005 05:39:06 -0000 1.9 @@ -9,6 +9,8 @@ * Background images now displaying (1280325) * Trackback pings now work (1280323) * Updated documentation requirements around the GD library (1280322) - +* Additional debugging now optionally available for POP3 (1280310) +* POP3 errors are now reported in detail from batch script (1280310) + ______________________________________________________________________ END OF CHANGELOG FILE |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-04 05:33:58
|
Update of /cvsroot/comoblog/comoblog/include/pear/Net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22181 Modified Files: POP3.php Log Message: RFE: 1280310 - Upgrade of PEAR library to support POP3 debugging Index: POP3.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/include/pear/Net/POP3.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- POP3.php 16 Aug 2005 05:49:46 -0000 1.1.1.1 +++ POP3.php 4 Oct 2005 05:33:50 -0000 1.2 @@ -1,647 +1,1229 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Copyright (c) 2002, Richard Heyes | -// | All rights reserved. | -// | | -// | Redistribution and use in source and binary forms, with or without | -// | modification, are permitted provided that the following conditions | -// | are met: | -// | | -// | o Redistributions of source code must retain the above copyright | -// | notice, this list of conditions and the following disclaimer. | [...1845 lines suppressed...] + if (@substr(strtoupper($response), 0, 3) == '+OK') { + return true; + }else{ + if (@substr(strtoupper($response), 0, 4) == '-ERR') { + return $this->_raiseError($response); + }else{ + if (@substr(strtoupper($response), 0, 2) == '+ ') { + return true; + } + } + + } + return $this->_raiseError("Unknown Response ($response)"); + } + + + +} + +?> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-04 03:40:50
|
Update of /cvsroot/comoblog/comoblog/_install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5976 Modified Files: comoblog_preferences.xml Log Message: Admin: Update version in DB preferences Index: comoblog_preferences.xml =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/comoblog_preferences.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- comoblog_preferences.xml 4 Oct 2005 03:05:57 -0000 1.6 +++ comoblog_preferences.xml 4 Oct 2005 03:40:42 -0000 1.7 @@ -4,7 +4,7 @@ <param name="CFG_VERSION" - value="0.5.1" + value="0.1" description="CoMoblog version number" topic_id="0" encrypt="N" |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-04 03:24:02
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3798 Modified Files: INSTALL Log Message: Bug: 1280322 - Updated the doco for the GD library requirement Index: INSTALL =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/INSTALL,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- INSTALL 2 Sep 2005 02:35:30 -0000 1.3 +++ INSTALL 4 Oct 2005 03:23:54 -0000 1.4 @@ -16,7 +16,8 @@ - PHP >= 4.2 - MySQL >= 3.23 - + NOTE: CoMoblog requirets the GD library to be compiled into your + PHP installation if you wish it to resiZe attached images 2. POP3 MAILBOX |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-04 03:18:37
|
Update of /cvsroot/comoblog/comoblog/_install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3004 Modified Files: step_1.php Log Message: RFE: 1280250 - Cleanup of mysql error reporting Index: step_1.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/step_1.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- step_1.php 2 Sep 2005 01:06:14 -0000 1.2 +++ step_1.php 4 Oct 2005 03:18:29 -0000 1.3 @@ -50,8 +50,11 @@ $dbconn = @mysql_connect ($_POST['mysql_host'], $_POST['mysql_username'], $_POST['mysql_password']); if (!$dbconn) - $errors[] = 'Error connecting to mySQL server (' . mysql_error() . ')'; - + { + $errors[] = 'Error connecting to mySQL server'; + $errors[] = 'error reported: ' . mysql_error(); + } + $selectdb = @mysql_select_db ($_POST['mysql_dbname']); if (!$selectdb) $errors[] = 'Error selecting database (check database name)'; |