comoblog-commit Mailing List for CoMoblog Mobile Blog Application (Page 27)
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-12 14:21:58
|
Update of /cvsroot/comoblog/comoblog/_install/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21119/_install/templates Modified Files: upgrade_2.tpl.htm Log Message: Bugfix for missing data population during error flow on upgrade screen Index: upgrade_2.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/templates/upgrade_2.tpl.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- upgrade_2.tpl.htm 9 Oct 2005 14:11:35 -0000 1.1 +++ upgrade_2.tpl.htm 12 Nov 2005 14:21:49 -0000 1.2 @@ -36,7 +36,7 @@ <p> Absolute path on your server of the backup directory<br /><i>i.e. /www/docs/comoblog_old</i>:<br /> - <input type="text" name="old_path" size="40" style="width: 100%" value="" /> + <input type="text" name="old_path" size="40" style="width: 100%" value="{POST.old_path}" /> </p> <p> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-12 14:21:19
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21001/docs Modified Files: INSTALL UPGRADE Log Message: 1335903 - Updated documentation for upgrade and user-friendlyness Index: UPGRADE =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/UPGRADE,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- UPGRADE 9 Oct 2005 14:11:35 -0000 1.5 +++ UPGRADE 12 Nov 2005 14:21:04 -0000 1.6 @@ -12,10 +12,16 @@ 1. Make a backup of your database and easymoblog install folder 2. Rename the folder you currently have EasyMoblog installed into - to something else (e.g. easymoblog_old) + to something else + e.g. if you have Easymoblog installed into a folder like + /var/www/html/blog then you will want to rename it + to something like /var/www/html/blog-old 3. Follow the instructions in INSTALL to install CoMoblog on your - server. Skip Step 3 where you create a new database. -4. When you goto the Install website enter in the Database details. + server. Skip Step 3 where you create a new database. You can find + the INSTALL file in the docs folder of the CoMoblog install + tarball. +4. When you goto the Install website enter in the database details + of your existing Easymoblog instance. Make sure when entering your database details that you get the table prefix correct (most likely easymoblog_) The script will then detect an existing install and switch to Index: INSTALL =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/INSTALL,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- INSTALL 9 Oct 2005 08:42:10 -0000 1.5 +++ INSTALL 12 Nov 2005 14:21:04 -0000 1.6 @@ -2,26 +2,46 @@ | REQUIREMENTS | +--------------------------------------------------------------------+ -1. REQUIRED SOFTWARE +1. OPERATING SYSTEM REQUIREMENTS - CoMoblog requires a web server, PHP4 (http://www.php.net/) and - MySQL (http://www.mysql.com/) + CoMoblog should install on any Operating System that is supported + by the required 3rd party software listed below. The following + environments are tested by our development team - Your php must be compiled with mySQL functions and socket functions - enabled. + * Linux (specifically, Fedora Core 4 and Gentoo) + * Windows XP + * Windows 2003 Server + +2. REQUIRED SOFTWARE + + CoMoblog requires a web server such as Apache (http://httpd.apache.org), + PHP4 (http://www.php.net/) and MySQL (http://www.mysql.com/) + + Your php must be compiled with the MySQL module enabled. To confirm + this, run 'php -m' from a shell prompt and ensure 'mysql' is listed + in the PHP modules list. If it isn't you may need to recompile + your PHP software - please contact your hosting company or see + the PHP website for more detail. + + If you don't have shell access to your server then ask your System + Administrator to confirm that the mysql module is installed into PHP. + + If you wish CoMoblog to automatically resize any images that you post + then the GD functions must also be compiled into your php. To confirm + this, run 'php -m' from a shell prompt and ensure 'gd' is listed in the + PHP modules list. if GD is missing then CoMoblog will still function, but + all your images will be posted in their original size and you will need + to manually resize them yourself before posting to the blog. - NOTE: CoMoblog 0.3 was only tested with the following - configuration: + NOTE: CoMoblog is only tested with the following 3rd party + software versions: - Apache >= 1.3.24 - 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 +3. POP3 MAILBOX - You also need to have accesso to a pop3 mailbox. + You also need to have access to a pop3 mailbox. You are recommended to use a dedicated mailbox for your CoMoblog site: every message sent to this mailbox will be published on your CoMoblog site, and deleted from your mailbox! @@ -40,38 +60,59 @@ 1. DOWNLOAD COMOBLOG You can obtain the latest CoMoblog release from: - http://comoblog.serialmonkey.com/ + http://comoblog.serialmonkey.com/wiki/index.php/Download. + + The same file can be used for both a new install and upgrade to an + existing CoMoblog/EasyMoblog installation. If you are upgrading + please read the UPGRADE document before proceeding. - Download the current tar.gz archive and extract the files: + If you have shell access to your server then you can transfer the + tar.gz file to your home directory and extract using the command + below. If you don't access shell access then extract the tar.gz + file on your local computer and FTP the comoblog-x.x/ folder to + your home directory. $ tar -zxvf comoblog-x.x.tar.gz - This will create a new directory comoblog-x.x/ containing all + You will end up with a new directory comoblog-x.x/ containing all files and directories. Move the contents of that directory into a directory within your web server's document root or your public HTML directory; i.e.: - $ mv comoblog-x.x /var/www/html - - NOTE: when copying files, ensure you also copy the hidden .htaccess - files. + $ mv comoblog-x.x /var/www.mywebsite.com/html 2. FILE PERMISSIONS - You just have to make some folders world writable, in order to + You will need to make some folders world writable, in order to allow CoMoblog to store your posts images and your configurations + + If you have shell access to your server you can run the commands + below, replaciing the /path/to/ with the location you just moved + the CoMoblog files into above. $ chmod -R 777 /path/to/comoblog/img/tmp $ chmod -R 777 /path/to/comoblog/img/comoblog $ chmod -R 777 /path/to/comoblog/img/posts $ chmod -R 777 /path/to/comoblog/img/topics $ chmod -R 777 /path/to/comoblog/include + + If you don't have shell access then your FTP client should allow + you to change the permissions on those directories above. You want + to change their permission to '777' - which means full privledges + for all users. 3. CREATE THE DATABASE - You must create a new database for your CoMoblog site: + You must create a new database for your CoMoblog site. If you + don't administer the local MySql instance that you wish to use + then you will need to request your System Administrator to create + you a new database. They will provide you the database name, + username and password and you can skip the rest of this section. + + If you do administer your own Mysql instance then create a new + database using the command: $ mysqladmin -u user -p create comoblog @@ -106,16 +147,18 @@ 4. INSTALLATION WIZARD - Just open your browser ang enter the following URL: + Just open your browser and enter the following URL: http://<url_of_your_comoblog_site>/ - Follow instructions :) + Follow the instructions provided. 5. CRON JOB In order to work properly, you have to schedule the script - comoblog-x.x/batch/comoblog_batch.php + comoblog-x.x/batch/comoblog_batch.php to run on a regular basis. + This script will check the POP3 mailbox you have configured for + any new messages and post them to your blog. You simply have to add a line to your crontab file. For example, if you want to schedule the batch every 10 minutes: @@ -123,7 +166,11 @@ */10 * * * * /path/to/php -q /path/to/comoblog_batch.php If you have problems with your cron configuration, ask your system - administrator! + administrator. + + If you don't have access to your systems Crontab scheduler then + you will need to enable the mod_batch module through the Admin + interface instead. @@ -181,20 +228,6 @@ -+--------------------------------------------------------------------+ -| FUTURE RELEASES | -+--------------------------------------------------------------------+ - - Subscribe to CoMoblog newsletter if you want to be informed when - future releases will be available. - - Just go to http://comoblog.serialmonkey.com/ and fill in the form - with your e-mail address. - - - - - ______________________________________________________________________ END OF INSTALL FILE |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-12 14:21:16
|
Update of /cvsroot/comoblog/comoblog In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21001 Modified Files: README Log Message: 1335903 - Updated documentation for upgrade and user-friendlyness Index: README =================================================================== RCS file: /cvsroot/comoblog/comoblog/README,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- README 9 Oct 2005 08:42:09 -0000 1.4 +++ README 12 Nov 2005 14:21:04 -0000 1.5 @@ -1,3 +1,5 @@ +Welcome to CoMoblog + CoMoblog documentation is located in the docs directory. Here is a list of the documantation files: @@ -21,6 +23,9 @@ - CHANGELOG CoMoblog versions change log +- UPGRADE + Instructions on how two upgrade from previous versions + - BRANCH Details on our branch from the Easymoblog project |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-12 01:37:50
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1814/docs Modified Files: CHANGELOG Log Message: 1325979 - Posts in from address stop post editing Index: CHANGELOG =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/CHANGELOG,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- CHANGELOG 9 Oct 2005 07:52:18 -0000 1.19 +++ CHANGELOG 12 Nov 2005 01:37:23 -0000 1.20 @@ -23,6 +23,7 @@ * BUG: Trackback pings now work (1280323) * BUG: Updated doco requirements around the GD library (1280322) * BUG: Post Date now populated correctly in RSS (1280277) +* BUG: Quotes in From address stop post editing (1325979) ______________________________________________________________________ END OF CHANGELOG FILE |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-11-12 01:37:50
|
Update of /cvsroot/comoblog/comoblog/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1814/admin Modified Files: post_edit.php Log Message: 1325979 - Posts in from address stop post editing Index: post_edit.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/admin/post_edit.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- post_edit.php 8 Oct 2005 13:14:24 -0000 1.5 +++ post_edit.php 12 Nov 2005 01:37:23 -0000 1.6 @@ -154,6 +154,8 @@ $strdate = strftime($CAL_DATE_FORMAT." %H:%M", $post['post_mail_date']); $post['post_mail_date'] = $strdate; + $post['post_mail_from'] = htmlentities(antispam($post['post_mail_from'])); + $tpl->assign('POST', $post); // topics |
|
From: Rhett N. <rhe...@gm...> - 2005-11-09 05:34:28
|
Hey Mark I don't know if you're the only one on this list but anyways I'm wondering if I should get the CVS version and apply it to my site or not. Is comoblog on CVS stable, as-is, right now? What can I do for you to help out? Let me know Thanks Rhett Nye 'harveyneon' http://www.rhettnye.org |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-11 23:18:35
|
Update of /cvsroot/comoblog/comoblog/_install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18942 Modified Files: upgrade_2.php Log Message: Ensure that the folder/path parameters are prepopulated and a failed attempt Index: upgrade_2.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/upgrade_2.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- upgrade_2.php 9 Oct 2005 14:11:35 -0000 1.1 +++ upgrade_2.php 11 Oct 2005 23:18:14 -0000 1.2 @@ -84,14 +84,13 @@ exit(); } } -else -{ - $current_path = dirname(__FILE__); - $current_script = basename($_SERVER['PHP_SELF']); - $AUTO_DETECTED['base_path'] = substr($current_path, 0, strlen($current_path) - strlen($current_script) + 4); - $current_url = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']; - $AUTO_DETECTED['site_url'] = substr($current_url, 0, strlen($current_url) - strlen('/_install/upgrade_2.php')) . '/'; -} + +$current_path = dirname(__FILE__); +$current_script = basename($_SERVER['PHP_SELF']); +$AUTO_DETECTED['base_path'] = substr($current_path, 0, strlen($current_path) - strlen($current_script) + 4); +$current_url = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']; +$AUTO_DETECTED['site_url'] = substr($current_url, 0, strlen($current_url) - strlen('/_install/upgrade_2.php')) . '/'; +$AUTO_DETECTED['old_path']=$_POST['old_path']; $tpl = @new XTemplate ('templates/upgrade_2.tpl.htm', 'main'); @@ -105,8 +104,8 @@ $tpl->parse('main.errors'); } } -else - $tpl->assign('POST', $AUTO_DETECTED); + +$tpl->assign('POST', $AUTO_DETECTED); $tpl->parse('main'); $tpl->out('main'); |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 14:11:45
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23647/docs Modified Files: UPGRADE Log Message: UPGRADE component to installer added. Customed for 0.5.1->1.0 upgrade Index: UPGRADE =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/UPGRADE,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- UPGRADE 9 Oct 2005 07:52:18 -0000 1.4 +++ UPGRADE 9 Oct 2005 14:11:35 -0000 1.5 @@ -11,15 +11,16 @@ Upgrade: Easymoblog 0.5.1 -> Comoblog 1.0 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. Edit the docs/upgrades/easymoblog-0.5.1_to_comoblog-1.0.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-1.0.sql -6. Update your cron job if required to run /batch/comoblog_batch.php +2. Rename the folder you currently have EasyMoblog installed into + to something else (e.g. easymoblog_old) +3. Follow the instructions in INSTALL to install CoMoblog on your + server. Skip Step 3 where you create a new database. +4. When you goto the Install website enter in the Database details. + Make sure when entering your database details that you get the + table prefix correct (most likely easymoblog_) + 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 instead of easymoblog_batch.php ______________________________________________________________________ END OF UPGRADE FILE |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 14:11:44
|
Update of /cvsroot/comoblog/comoblog/_install/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23647/_install/templates Added Files: upgrade.tpl.htm upgrade_1.tpl.htm upgrade_2.tpl.htm upgrade_3.tpl.htm Log Message: UPGRADE component to installer added. Customed for 0.5.1->1.0 upgrade --- NEW FILE: upgrade_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>Upgrade failed</h1> <p> </p> <p> The upgrade 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: 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>Congratulations! Upgrade 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 --> --- NEW FILE: upgrade_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> <!-- 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 --> <h1>Step 3 (of 4) - Content Migration</h1> <p> </p> <p> Now the upgrade script will migrate all the dynamic content from your previous installation.<br /> Todo this the script needs to know what was the folder name you gave the backup of your previous installation . <br /> <br /> Fill in the following form with proper values, then click on the 'save' icon: </p> <br /> <table border="0" cellspacing="0" cellpadding="5" width="600" 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="300"> <form action="upgrade_2.php" method="POST"> <p> Absolute path on your server of the backup directory<br /><i>i.e. /www/docs/comoblog_old</i>:<br /> <input type="text" name="old_path" size="40" style="width: 100%" value="" /> </p> <p> Absolute path on your server of CoMoblog root directory<br /><i>i.e. /www/docs/comoblog</i>:<br /> <input type="text" name="base_path" size="40" style="width: 100%" value="{POST.base_path}" /> </p> <p> URL of your CoMoblog site<br /><i>i.e. http://www.yoursite.com/comoblog/</i>:<br /> <input type="text" name="site_url" size="40" style="width: 100%" value="{POST.site_url}" /> </p> <p align="right"> <input type="image" src="img/save_big.gif" border="0" onClick="this.src='img/save_wait.gif';" /> </p> </form> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> {FILE "templates/footer.tpl.htm"} <!-- END: main --> --- NEW FILE: upgrade.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 upgrade 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> <!-- BEGIN: upgrade --> <tr> <td colspan="2"> <p> </p> <h3>Version detected: {VERSION}</h3> </td> </tr> <tr> <td colspan="2"> <p> </p> <h2>Before you start</h2> <p> 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 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> <p> </p> <p> </p> <p align="center"> <a href="upgrade_1.php">Click here to begin the upgrade >></a> </p> </td> </tr> <!-- END: upgrade --> <!-- BEGIN: failed --> <tr> <td colspan="2"> <p> </p> <h3>Unsupported version detected</h3> </td> </tr> <tr> <td colspan="2"> <p> </p> <p> Your current installed version isn't supported by this upgrade script. Please see docs/UPGRADE for the list of supported versions. </p> </td> </tr> <!-- END: failed --> </table> </td> </tr> <tr> <td> </td> </tr> </table> {FILE "templates/footer.tpl.htm"} <!-- END: main --> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 14:11:44
|
Update of /cvsroot/comoblog/comoblog/_install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23647/_install Modified Files: step_1.php Added Files: upgrade_0.php upgrade_1.php upgrade_2.php upgrade_3.php Log Message: UPGRADE component to installer added. Customed for 0.5.1->1.0 upgrade --- NEW FILE: upgrade_2.php --- <?php require ('../include/xtemplate.inc.php'); require_once (dirname(__FILE__).'/../include/config.inc.php'); if (strtoupper($_SERVER['REQUEST_METHOD']) == 'POST') { // check form foreach ($_POST as $k => $v) { if (get_magic_quotes_gpc() == 0) $_POST[$k] = addslashes(trim($v)); else $_POST[$k] = trim($v); } $errors = array(); if ($_POST['old_path'] == '') $errors[] = 'old path required'; if ($_POST['base_path'] == '') $errors[] = 'base path required'; if ($_POST['site_url'] == '') $errors[] = 'site url required'; if (count($errors) == 0) { if (file_exists($_POST['old_path'])) { $fromDir = str_replace('//','/',$_POST['old_path']."/img/topics"); if ($fromDir) { $toDir = dirname(__FILE__)."/../img/topics"; $handle=opendir($fromDir); while ($item=readdir($handle)) { $from=str_replace('//','/',$fromDir.'/'.$item); $to=str_replace('//','/',$toDir.'/'.$item); if (strpos($item, ".php") == FALSE && is_file($from)) { if (!copy($from, $to)) $errors[] = 'error copying "'.$from.'" to "'.$to.'"'; } } } else $errors[] = 'img/topics folder missing from old installation'; $fromDir = str_replace('//','/',$_POST['old_path']."/img/posts"); if ($fromDir) { $toDir = dirname(__FILE__)."/../img/posts"; $handle=opendir($fromDir); while ($item=readdir($handle)) { $from=str_replace('//','/',$fromDir.'/'.$item); $to=str_replace('//','/',$toDir.'/'.$item); if (strpos($item, ".php") == FALSE && is_file($from)) { if (!copy($from, $to)) $errors[] = 'error copying "'.$from.'" to "'.$to.'"'; } } } else $errors[] = 'img/posts folder missing from old installation'; } else $errors[] = 'old path provided does not exist'; // change values in ".CFG_MYSQL_TABPREFIX."preferences table $query = "update ".CFG_MYSQL_TABPREFIX."preferences set pref_value = '".$_POST['base_path']."' where pref_name = 'CFG_BASE_PATH'"; $res = mysql_query($query); $query = "update ".CFG_MYSQL_TABPREFIX."preferences set pref_value = '".$_POST['site_url']."' where pref_name = 'CFG_SITE_URL'"; $res = mysql_query($query); } if (count($errors) == 0) { Header ('Location: upgrade_3.php'); exit(); } } else { $current_path = dirname(__FILE__); $current_script = basename($_SERVER['PHP_SELF']); $AUTO_DETECTED['base_path'] = substr($current_path, 0, strlen($current_path) - strlen($current_script) + 4); $current_url = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']; $AUTO_DETECTED['site_url'] = substr($current_url, 0, strlen($current_url) - strlen('/_install/upgrade_2.php')) . '/'; } $tpl = @new XTemplate ('templates/upgrade_2.tpl.htm', 'main'); if (strtoupper($_SERVER['REQUEST_METHOD']) == 'POST') { if (count($errors) > 0) { foreach ($errors as $k => $v) { $tpl->assign('ERROR', $v); $tpl->parse('main.errors.error'); } $tpl->parse('main.errors'); } } else $tpl->assign('POST', $AUTO_DETECTED); $tpl->parse('main'); $tpl->out('main'); ?> --- NEW FILE: upgrade_3.php --- <?php require ('../include/xtemplate.inc.php'); require_once (dirname(__FILE__).'/../include/config.inc.php'); $tpl = @new XTemplate ('templates/upgrade_3.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: upgrade_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 = "0.5.1") $errors = run_script(dirname(__FILE__)."/upgrades/0.5.1_to_1.0.xml"); if (count($errors) == 0) { Header ('Location: upgrade_2.php'); } else { $tpl = @new XTemplate ('templates/upgrade_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: upgrade_0.php --- <?php require ('../include/xtemplate.inc.php'); require_once (dirname(__FILE__).'/../include/config.inc.php'); $tpl = @new XTemplate ('templates/upgrade.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]; // Check supported upgrade versions. if ($ver == "0.5.1") { $tpl->assign('VERSION', "Easymoblog 0.5.1"); $tpl->parse('main.upgrade'); } else { $tpl->parse('main.failed'); } $tpl->parse('main'); $tpl->out('main'); ?> Index: step_1.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/step_1.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- step_1.php 4 Oct 2005 03:18:29 -0000 1.3 +++ step_1.php 9 Oct 2005 14:11:35 -0000 1.4 @@ -57,8 +57,34 @@ $selectdb = @mysql_select_db ($_POST['mysql_dbname']); if (!$selectdb) - $errors[] = 'Error selecting database (check database name)'; + $errors[] = 'Error selecting database (check database name)'; + + $query = "select pref_value from ".$_POST['mysql_tabprefix']."preferences where pref_name='CFG_VERSION'"; + $res = mysql_query($query); + if ($res) + { + // Upgrade detected + + $fp = fopen('param.inc.dist', 'r'); + $config = fread($fp, filesize('param.inc.dist')); + fclose($fp); + $config = str_replace('{##MYSQL_HOST##}', $_POST['mysql_host'], $config); + $config = str_replace('{##MYSQL_USERNAME##}', $_POST['mysql_username'], $config); + $config = str_replace('{##MYSQL_PASSWORD##}', $_POST['mysql_password'], $config); + $config = str_replace('{##MYSQL_DBNAME##}', $_POST['mysql_dbname'], $config); + $config = str_replace('{##MYSQL_TABPREFIX##}', $_POST['mysql_tabprefix'], $config); + + $fp = fopen(dirname(__FILE__).'/../include/param.inc.php', 'w'); + fwrite($fp, $config); + fclose($fp); + + @chmod (dirname(__FILE__).'/../include/param.inc.php', 0600); + + header ('Location: upgrade_0.php'); + exit; + } } + if (count($errors) == 0) { require (dirname(__FILE__).'/../admin/include/xml2array.inc.php'); |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 14:11:44
|
Update of /cvsroot/comoblog/comoblog/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23647/include Modified Files: libraries.inc.php Log Message: UPGRADE component to installer added. Customed for 0.5.1->1.0 upgrade Index: libraries.inc.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/include/libraries.inc.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- libraries.inc.php 5 Oct 2005 01:38:32 -0000 1.2 +++ libraries.inc.php 9 Oct 2005 14:11:35 -0000 1.3 @@ -4,6 +4,34 @@ exit(); } +function run_script ($script_name) +{ + $errors = array(); + + require (dirname(__FILE__).'/../admin/include/xml2array.inc.php'); + + $xmlparse = &new ParseXML; + $xml = $xmlparse->GetXMLTree($script_name); + + $queryerror = false; + + $queries = $xml['COMOBLOG_UPGRADE'][0]['DBQUERY']; + for ($c = 0; $c < count($queries); $c++) + { + $query = $queries[$c]['VALUE']; + $query = trim($query); + $query = str_replace('comoblog_', CFG_MYSQL_TABPREFIX, $query); + + $res = mysql_query($query); + + if (!$res) + $errors[] = "Error running statement ".$c." in script ".$script_name; + } + + unset ($xmlparse); + + return $errors; +} function topic_details ($id) { $query = "select * from ".CFG_MYSQL_TABPREFIX."topics where topic_id = '".$id."'"; |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 14:11:44
|
Update of /cvsroot/comoblog/comoblog/_install/upgrades In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23647/_install/upgrades Added Files: 0.5.1_to_1.0.xml Log Message: UPGRADE component to installer added. Customed for 0.5.1->1.0 upgrade --- NEW FILE: 0.5.1_to_1.0.xml --- <?xml version="1.0" standalone="yes"?> <comoblog_upgrade> <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_value='1.0' where pref_name='CFG_VERSION'; </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_CALENDAR_BUTTON_CONFIG','Skip One Day', 'When pressing the next/prev buttons the function should be', 0, 'N', 'select', 'Skip One Day|Skip One Month|Skip to Next Posted Day', 'N', 'Y', 0, 'mod_calendar'); </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_CALENDAR_DAY_OFFSET','Sunday', 'Option to choose the first day of the week in the calendar', 0, 'N', 'select', 'Saturday|Sunday|Monday|Tuesday|Wednesday|Thursday|Friday', 'N', 'Y', 0, 'mod_calendar'); </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> </comoblog_upgrade> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 14:09:18
|
Update of /cvsroot/comoblog/comoblog/_install/upgrades In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23118/upgrades Log Message: Directory /cvsroot/comoblog/comoblog/_install/upgrades added to the repository |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 08:42:19
|
Update of /cvsroot/comoblog/comoblog In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27299 Modified Files: README Log Message: Search/replace comoblog.sourceforge.net to comoblog.serialmonkey.com Index: README =================================================================== RCS file: /cvsroot/comoblog/comoblog/README,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- README 2 Sep 2005 02:35:30 -0000 1.3 +++ README 9 Oct 2005 08:42:09 -0000 1.4 @@ -26,7 +26,7 @@ For further info, please visit - http://comoblog.sourceforge.net/ + http://comoblog.serialmonkey.com/ |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 08:42:19
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27299/docs Modified Files: INSTALL MODULES Log Message: Search/replace comoblog.sourceforge.net to comoblog.serialmonkey.com Index: MODULES =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/MODULES,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- MODULES 5 Oct 2005 00:45:34 -0000 1.5 +++ MODULES 9 Oct 2005 08:42:10 -0000 1.6 @@ -136,7 +136,7 @@ If you want to look at example modules source code, please download the "mod_examples" packages here: - http://comoblog.sourceforge.net/download.php + http://comoblog.serialmonkey.com/download.php Index: INSTALL =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/INSTALL,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- INSTALL 4 Oct 2005 03:23:54 -0000 1.4 +++ INSTALL 9 Oct 2005 08:42:10 -0000 1.5 @@ -40,7 +40,7 @@ 1. DOWNLOAD COMOBLOG You can obtain the latest CoMoblog release from: - http://comoblog.sourceforge.net/ + http://comoblog.serialmonkey.com/ Download the current tar.gz archive and extract the files: @@ -174,7 +174,7 @@ | MORE INFORMATION | +--------------------------------------------------------------------+ - More information on http://comoblog.sourceforge.net/ + More information on http://comoblog.serialmonkey.com/ @@ -188,7 +188,7 @@ Subscribe to CoMoblog newsletter if you want to be informed when future releases will be available. - Just go to http://comoblog.sourceforge.net/ and fill in the form + Just go to http://comoblog.serialmonkey.com/ and fill in the form with your e-mail address. |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 08:42:18
|
Update of /cvsroot/comoblog/comoblog/modules/mod_search/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27299/modules/mod_search/templates Modified Files: search_results.tpl.htm Log Message: Search/replace comoblog.sourceforge.net to comoblog.serialmonkey.com Index: search_results.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/comoblog/modules/mod_search/templates/search_results.tpl.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- search_results.tpl.htm 5 Oct 2005 00:48:16 -0000 1.1 +++ search_results.tpl.htm 9 Oct 2005 08:42:10 -0000 1.2 @@ -99,7 +99,7 @@ <div id="footer"> <!-- BEGIN: comoblogo --> - <div id="comoblogo"><a href="http://comoblog.sourceforge.net/" title="powered by CoMoblog {VERSION}"><img src="{SITE_URL}../../img/comoblogo.gif" border="0" alt="powered by CoMoblog {VERSION}" title="powered by CoMoblog {VERSION}" /></a></div> + <div id="comoblogo"><a href="http://comoblog.serialmonkey.com/" title="powered by CoMoblog {VERSION}"><img src="{SITE_URL}../../img/comoblogo.gif" border="0" alt="powered by CoMoblog {VERSION}" title="powered by CoMoblog {VERSION}" /></a></div> <!-- END: comoblogo --> <p>{FOOTER_TEXT}</p> </div> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 08:42:18
|
Update of /cvsroot/comoblog/comoblog/_install/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27299/_install/templates Modified Files: ok.tpl.htm Log Message: Search/replace comoblog.sourceforge.net to comoblog.serialmonkey.com Index: ok.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/templates/ok.tpl.htm,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ok.tpl.htm 2 Sep 2005 01:06:14 -0000 1.2 +++ ok.tpl.htm 9 Oct 2005 08:42:10 -0000 1.3 @@ -74,11 +74,11 @@ <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.sourceforge.net/" target="_blank">http://comoblog.sourceforge.net/</a></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.sourceforge.net/" target="_blank">the CoMoblog staff</a></p> +<p align="right"><a href="http://comoblog.serialmonkey.com/" target="_blank">the CoMoblog staff</a></p> </td> </tr> </table> @@ -90,4 +90,4 @@ </table> {FILE "templates/footer.tpl.htm"} -<!-- END: main --> \ No newline at end of file +<!-- END: main --> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 08:42:18
|
Update of /cvsroot/comoblog/comoblog/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27299/templates Modified Files: header.tpl.htm index.tpl.htm Log Message: Search/replace comoblog.sourceforge.net to comoblog.serialmonkey.com Index: index.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/comoblog/templates/index.tpl.htm,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- index.tpl.htm 2 Sep 2005 01:06:16 -0000 1.2 +++ index.tpl.htm 9 Oct 2005 08:42:10 -0000 1.3 @@ -99,7 +99,7 @@ <div id="footer"> <!-- BEGIN: comoblogo --> - <div id="comoblogo"><a href="http://comoblog.sourceforge.net/" title="powered by CoMoblog {VERSION}"><img src="{SITE_URL}img/comoblogo.gif" border="0" alt="powered by CoMoblog {VERSION}" title="powered by CoMoblog {VERSION}" /></a></div> + <div id="comoblogo"><a href="http://comoblog.serialmonkey.com/" title="powered by CoMoblog {VERSION}"><img src="{SITE_URL}img/comoblogo.gif" border="0" alt="powered by CoMoblog {VERSION}" title="powered by CoMoblog {VERSION}" /></a></div> <!-- END: comoblogo --> <p>{FOOTER_TEXT}</p> </div> Index: header.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/comoblog/templates/header.tpl.htm,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- header.tpl.htm 2 Sep 2005 02:35:30 -0000 1.3 +++ header.tpl.htm 9 Oct 2005 08:42:10 -0000 1.4 @@ -18,7 +18,7 @@ POWERED BY COMOBLOG {VERSION} - http://comoblog.sourceforge.net/ + http://comoblog.serialmonkey.com/ Contents of this site are generated using CoMoblog, an open source |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 08:30:37
|
Update of /cvsroot/comoblog/comoblog/modules/mod_markup/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25379 Modified Files: mod_markup.inc.php Log Message: Fix graphic resizing bug in mod_markup Index: mod_markup.inc.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/modules/mod_markup/include/mod_markup.inc.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- mod_markup.inc.php 9 Oct 2005 07:00:33 -0000 1.4 +++ mod_markup.inc.php 9 Oct 2005 08:30:29 -0000 1.5 @@ -12,9 +12,7 @@ $start = $pos; $end = strpos( $body, "]]", $start + 1); $url = substr($body, $start+8, $end-$start-8); - $html = "<table width='".CFG_IMG_MAX_W."' height='".CFG_IMG_MAX_H."'><tr><td height='100%' width='100%'>"; - $html .= "<img height='100%' width='100%' src='".$url."'>"; - $html .= "</td></tr></table>"; + $html .= "<img src='".$url."'>"; $body = substr($body, 0, $start).$html.substr($body, $end+2); $pos = strpos( $body, "[[Image:"); } |
|
From: Sarah W. <sar...@us...> - 2005-10-09 08:28:45
|
Update of /cvsroot/comoblog/comoblog/modules/mod_search In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24970 Modified Files: mod_search.php Log Message: BUG: 1314308 - Fixed I.E. formatting bug Index: mod_search.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/modules/mod_search/mod_search.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mod_search.php 5 Oct 2005 00:48:15 -0000 1.1 +++ mod_search.php 9 Oct 2005 08:28:37 -0000 1.2 @@ -2,7 +2,9 @@ $mod_contents = '<div id="mod_blog_search"><table width="100%" border="0" cellspacing="0" cellpadding="0">'; $mod_contents .= '<tr><td><p>'; $mod_contents .= '<form action="./modules/mod_search/search_results.php" method="post">'; -$mod_contents .= 'Search: <input type="text" name="search_txt"><input type="submit" name="search_but" value="search">'; +$mod_contents .= 'Search: <br>'; +$mod_contents .= '<input type="text" name="search_txt"><br>'; +$mod_contents .= '<input type="submit" name="search_but" value="search">'; $mod_contents .= '</form>'; $mod_contents .= '</p></td></tr></table></div>'; ?> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 07:52:32
|
Update of /cvsroot/comoblog/comoblog/docs/upgrades In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16954/docs/upgrades Added Files: easymoblog-0.5.1_to_comoblog-1.0.sql Removed Files: easymoblog-0.5.1_to_comoblog-0.1.sql Log Message: Version update from 0.1 to 1.0 getting ready for initial release --- NEW FILE: easymoblog-0.5.1_to_comoblog-1.0.sql --- alter table comoblog_modules modify column mod_filter_posts enum('N','Y','O') NOT NULL default 'N'; update comoblog_preferences SET pref_value='1.0' 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_CALENDAR_BUTTON_CONFIG', 'Skip One Day', 'When pressing the next/prev buttons the function should be', 0, 'N', 'select', 'Skip One Day|Skip One Month|Skip to Next Posted Day', 'N', 'Y', 0, 'mod_calendar'); 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_CALENDAR_DAY_OFFSET', 'Sunday', 'Option to choose the first day of the week in the calendar', 0, 'N', 'select', 'Saturday|Sunday|Monday|Tuesday|Wednesday|Thursday|Friday', 'N', 'Y', 0, 'mod_calendar'); 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, ''); 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, ''); 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, ''); --- easymoblog-0.5.1_to_comoblog-0.1.sql DELETED --- |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 07:52:31
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16954/docs Modified Files: CHANGELOG UPGRADE Log Message: Version update from 0.1 to 1.0 getting ready for initial release Index: UPGRADE =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/UPGRADE,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- UPGRADE 5 Oct 2005 00:45:34 -0000 1.3 +++ UPGRADE 9 Oct 2005 07:52:18 -0000 1.4 @@ -8,17 +8,17 @@ please follow each upgrade step in order to reach your final destination. -Upgrade: Easymoblog 0.5.1 -> Comoblog 0.1 +Upgrade: Easymoblog 0.5.1 -> Comoblog 1.0 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. Edit the docs/upgrades/easymoblog-0.5.1_to_comoblog-0.1.sql script +4. Edit the docs/upgrades/easymoblog-0.5.1_to_comoblog-1.0.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 + script: docs/upgrades/easymoblog-0.5.1_to_comoblog-1.0.sql 6. Update your cron job if required to run /batch/comoblog_batch.php instead of easymoblog_batch.php ______________________________________________________________________ Index: CHANGELOG =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/CHANGELOG,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- CHANGELOG 9 Oct 2005 06:53:18 -0000 1.18 +++ CHANGELOG 9 Oct 2005 07:52:18 -0000 1.19 @@ -1,4 +1,4 @@ -CoMoblog 0.1, 2005-09 +CoMoblog 1.0, 2005-10-10 ---------------------------- Initial Release. Based on the Easymoblog 0.5.1 release with the |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 07:44:20
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15540/docs Modified Files: THANKS Log Message: Icon cleanup Index: THANKS =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/THANKS,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- THANKS 5 Oct 2005 01:08:48 -0000 1.3 +++ THANKS 9 Oct 2005 07:44:08 -0000 1.4 @@ -15,7 +15,6 @@ And then, the original EasyMoblog Team * Odd Nydren - Beta testing, graphic design, Flash development - * Giampaolo "Giamas" - EasyMoblog modules development And then, @@ -23,6 +22,11 @@ * Mark Wallis - Project Leader for the CoMoblog project * IamDecal - patches and module development +With some borrowed resources from + +* Gnome-mix Icon Set - by mavvert (under GPL) + http://www.kde-look.org/content/show.php?content=27788 + And of course, * All the BETA testers who helped us get our first release |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 07:44:19
|
Update of /cvsroot/comoblog/comoblog/modules/mod_markup/img In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15540/modules/mod_markup/img Added Files: mod_markup.gif mod_markup_big.gif Log Message: Icon cleanup --- NEW FILE: mod_markup_big.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mod_markup.gif --- (This appears to be a binary file; contents omitted.) |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 07:44:19
|
Update of /cvsroot/comoblog/comoblog/modules/mod_search/img In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15540/modules/mod_search/img Modified Files: mod_search.gif mod_search_big.gif Log Message: Icon cleanup Index: mod_search.gif =================================================================== RCS file: /cvsroot/comoblog/comoblog/modules/mod_search/img/mod_search.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Binary files /tmp/cvsp31LYu and /tmp/cvsbZYYHa differ Index: mod_search_big.gif =================================================================== RCS file: /cvsroot/comoblog/comoblog/modules/mod_search/img/mod_search_big.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Binary files /tmp/cvsjQPQVv and /tmp/cvsb5PFHb differ |