garvinhicking at BerliOS | 3 Mar 2010 11:46
Picon

r2641 - in trunk: docs plugins/serendipity_plugin_recententries

Author: garvinhicking
Date: 2010-03-03 11:46:12 +0100 (Wed, 03 Mar 2010)
New Revision: 2641

Modified:
   trunk/docs/NEWS
   trunk/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php
Log:
categoryid enhancement

Modified: trunk/docs/NEWS
===================================================================
--- trunk/docs/NEWS	2010-02-28 19:27:58 UTC (rev 2640)
+++ trunk/docs/NEWS	2010-03-03 10:46:12 UTC (rev 2641)
 <at>  <at>  -3,6 +3,9  <at>  <at> 
 Version 1.6 ()
 ------------------------------------------------------------------------

+    * Recent entries plugin can now fetch the associated categoryid,
+      when a single entry is displayed. (Garvinhicking)
+
     * Stricter check for sqlite3 extension, only functional interface
       instead of OOP currently supported (garvinhicking)

Modified: trunk/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php
===================================================================
---
trunk/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php	2010-02-28
19:27:58 UTC (rev 2640)
+++
(Continue reading)

garvinhicking at BerliOS | 9 Mar 2010 14:18
Picon

r2642 - trunk/plugins/serendipity_event_xhtmlcleanup

Author: garvinhicking
Date: 2010-03-09 14:18:41 +0100 (Tue, 09 Mar 2010)
New Revision: 2642

Modified:
   trunk/plugins/serendipity_event_xhtmlcleanup/serendipity_event_xhtmlcleanup.php
Log:
disable youtube by default
http://board.s9y.org/posting.php?mode=quote&f=2&p=94277

Modified: trunk/plugins/serendipity_event_xhtmlcleanup/serendipity_event_xhtmlcleanup.php
===================================================================
---
trunk/plugins/serendipity_event_xhtmlcleanup/serendipity_event_xhtmlcleanup.php	2010-03-03
10:46:12 UTC (rev 2641)
+++
trunk/plugins/serendipity_event_xhtmlcleanup/serendipity_event_xhtmlcleanup.php	2010-03-09
13:18:41 UTC (rev 2642)
 <at>  <at>  -32,7 +32,7  <at>  <at> 
         $propbag->add('description',   PLUGIN_EVENT_XHTMLCLEANUP_DESC);
         $propbag->add('stackable',     false);
         $propbag->add('author',        'Garvin Hicking');
-        $propbag->add('version',       '1.6');
+        $propbag->add('version',       '1.7');
         $propbag->add('requirements',  array(
             'serendipity' => '0.8',
             'smarty'      => '2.6.7',
 <at>  <at>  -104,7 +104,7  <at>  <at> 
             $propbag->add('type',        'boolean');
             $propbag->add('name',        PLUGIN_EVENT_XHTMLCLEANUP_YOUTUBE);
(Continue reading)

garvinhicking at BerliOS | 10 Mar 2010 13:37
Picon

r2643 - in trunk: docs include

Author: garvinhicking
Date: 2010-03-10 13:37:19 +0100 (Wed, 10 Mar 2010)
New Revision: 2643

Modified:
   trunk/docs/NEWS
   trunk/include/functions_entries.inc.php
Log:
    * Fix SQLite substring search to use % instead of * for secondary
      matches (SvOlli)

Modified: trunk/docs/NEWS
===================================================================
--- trunk/docs/NEWS	2010-03-09 13:18:41 UTC (rev 2642)
+++ trunk/docs/NEWS	2010-03-10 12:37:19 UTC (rev 2643)
 <at>  <at>  -3,6 +3,9  <at>  <at> 
 Version 1.6 ()
 ------------------------------------------------------------------------

+    * Fix SQLite substring search to use % instead of * for secondary
+      matches (SvOlli)
+
     * Recent entries plugin can now fetch the associated categoryid,
       when a single entry is displayed. (Garvinhicking)

Modified: trunk/include/functions_entries.inc.php
===================================================================
--- trunk/include/functions_entries.inc.php	2010-03-09 13:18:41 UTC (rev 2642)
+++ trunk/include/functions_entries.inc.php	2010-03-10 12:37:19 UTC (rev 2643)
 <at>  <at>  -773,6 +773,7  <at>  <at> 
(Continue reading)

garvinhicking at BerliOS | 11 Mar 2010 10:14
Picon

r2644 - trunk/include

Author: garvinhicking
Date: 2010-03-11 10:14:42 +0100 (Thu, 11 Mar 2010)
New Revision: 2644

Modified:
   trunk/include/functions_entries.inc.php
Log:
better patch

Modified: trunk/include/functions_entries.inc.php
===================================================================
--- trunk/include/functions_entries.inc.php	2010-03-10 12:37:19 UTC (rev 2643)
+++ trunk/include/functions_entries.inc.php	2010-03-11 09:14:42 UTC (rev 2644)
 <at>  <at>  -864,7 +864,7  <at>  <at> 

     //if * wasn't already appended and if there are none or not enough
     //results, search again for entries containing the searchterm as a part  
-    if (strpos($term, '*') === false && strpos($term, '%') === false) {
+    if (strpos($term, '*') === false && $serendipity['dbType'] != 'sqlite' && $serendipity['dbType'] !=
'sqlite3') {
         if (! is_array($search)) {
             return serendipity_searchEntries($term.'*', $orig_limit);
         }else if (count($search) < 4){

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
(Continue reading)

garvinhicking at BerliOS | 13 Mar 2010 09:45
Picon

r2645 - trunk/plugins/serendipity_plugin_recententries

Author: garvinhicking
Date: 2010-03-13 09:45:30 +0100 (Sat, 13 Mar 2010)
New Revision: 2645

Modified:
   trunk/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php
Log:
SQL fix for duplucate alias

Modified: trunk/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php
===================================================================
---
trunk/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php	2010-03-11
09:14:42 UTC (rev 2644)
+++
trunk/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php	2010-03-13
08:45:30 UTC (rev 2645)
 <at>  <at>  -152,10 +152,6  <at>  <at> 
         $sql_condition['joins'] = '';
         $sql_condition['and']   = '';

-        $sql_condition['joins'] .= 
-            'LEFT OUTER JOIN ' . $serendipity['dbPrefix'] . 'entrycat AS ec ON id = ec.entryid
-             LEFT OUTER JOIN ' . $serendipity['dbPrefix'] . 'category AS c  ON ec.categoryid = c.categoryid';
-
         if ($category != 'none' && !empty($category)) {

             $sql_categories = array();
 <at>  <at>  -203,6 +199,14  <at>  <at> 
         $sql_condition['and'] .= "AND timestamp <= " . time();
(Continue reading)

garvinhicking at BerliOS | 13 Mar 2010 21:20
Picon

r2646 - trunk/plugins/serendipity_plugin_recententries

Author: garvinhicking
Date: 2010-03-13 21:20:29 +0100 (Sat, 13 Mar 2010)
New Revision: 2646

Modified:
   trunk/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php
Log:
another bug bites the dust. hopefully.

Modified: trunk/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php
===================================================================
---
trunk/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php	2010-03-13
08:45:30 UTC (rev 2645)
+++
trunk/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php	2010-03-13
20:20:29 UTC (rev 2646)
 <at>  <at>  -21,7 +21,7  <at>  <at> 
         $propbag->add('description',   PLUGIN_RECENTENTRIES_BLAHBLAH);
         $propbag->add('stackable',     true);
         $propbag->add('author',        'Christian Machmeier, Christian Brabandt, Judebert, Don Chambers');
-        $propbag->add('version',       '2.2');
+        $propbag->add('version',       '2.3');
         $propbag->add('requirements',  array(
             'serendipity' => '0.8',
             'smarty'      => '2.6.7',
 <at>  <at>  -199,14 +199,15  <at>  <at> 
         $sql_condition['and'] .= "AND timestamp <= " . time();
         serendipity_ACL_SQL($sql_condition, $category == 'none');

(Continue reading)

garvinhicking at BerliOS | 26 Mar 2010 14:55
Picon

r2647 - in trunk: . docs

Author: garvinhicking
Date: 2010-03-26 14:55:04 +0100 (Fri, 26 Mar 2010)
New Revision: 2647

Modified:
   trunk/docs/NEWS
   trunk/index.php
Log:
fix ategory for pathnames startin gwith a number

Modified: trunk/docs/NEWS
===================================================================
--- trunk/docs/NEWS	2010-03-13 20:20:29 UTC (rev 2646)
+++ trunk/docs/NEWS	2010-03-26 13:55:04 UTC (rev 2647)
 <at>  <at>  -3,6 +3,9  <at>  <at> 
 Version 1.6 ()
 ------------------------------------------------------------------------

+    * Fix "viewAuthor" URL detection routine if the path name of a
+      domain begins with a number. (garvinhicking)
+
     * Fix SQLite substring search to use % instead of * for secondary
       matches (SvOlli)

Modified: trunk/index.php
===================================================================
--- trunk/index.php	2010-03-13 20:20:29 UTC (rev 2646)
+++ trunk/index.php	2010-03-26 13:55:04 UTC (rev 2647)
 <at>  <at>  -465,9 +465,11  <at>  <at> 
         $serendipity['GET']['viewAuthor'] = implode(';', $serendipity['POST']['multiAuth']);
(Continue reading)

garvinhicking at BerliOS | 30 Mar 2010 12:47
Picon

r2648 - in trunk: docs include

Author: garvinhicking
Date: 2010-03-30 12:47:15 +0200 (Tue, 30 Mar 2010)
New Revision: 2648

Modified:
   trunk/docs/NEWS
   trunk/include/functions.inc.php
Log:
truncate to 255

Modified: trunk/docs/NEWS
===================================================================
--- trunk/docs/NEWS	2010-03-26 13:55:04 UTC (rev 2647)
+++ trunk/docs/NEWS	2010-03-30 10:47:15 UTC (rev 2648)
 <at>  <at>  -3,6 +3,9  <at>  <at> 
 Version 1.6 ()
 ------------------------------------------------------------------------

+    * Truncate suppressed referrer's query string to 255 characters
+      (ads)
+
     * Fix "viewAuthor" URL detection routine if the path name of a
       domain begins with a number. (garvinhicking)

Modified: trunk/include/functions.inc.php
===================================================================
--- trunk/include/functions.inc.php	2010-03-26 13:55:04 UTC (rev 2647)
+++ trunk/include/functions.inc.php	2010-03-30 10:47:15 UTC (rev 2648)
 <at>  <at>  -739,6 +739,8  <at>  <at> 

(Continue reading)

garvinhicking at BerliOS | 30 Mar 2010 13:24
Picon

r2649 - trunk/include

Author: garvinhicking
Date: 2010-03-30 13:24:12 +0200 (Tue, 30 Mar 2010)
New Revision: 2649

Modified:
   trunk/include/functions.inc.php
Log:
apply also to trackurl

Modified: trunk/include/functions.inc.php
===================================================================
--- trunk/include/functions.inc.php	2010-03-30 10:47:15 UTC (rev 2648)
+++ trunk/include/functions.inc.php	2010-03-30 11:24:12 UTC (rev 2649)
 <at>  <at>  -816,6 +816,7  <at>  <at> 
     global $serendipity;

     $url_parts = parse_url($url);
+    $url_parts['query'] = substr($url_parts['query'], 0, 255);

     serendipity_db_query(
        <at> sprintf(

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

Gmane