Garvin Hicking | 1 Feb 2005 11:23
Picon

serendipity/plugins/serendipity_event_spamblock serendipity_event_spamblock.php,1.43,1.44

Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_spamblock
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21324

Modified Files:
	serendipity_event_spamblock.php 
Log Message:
word filtering. may need some improvements.

Index: serendipity_event_spamblock.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- serendipity_event_spamblock.php	27 Jan 2005 12:46:33 -0000	1.43
+++ serendipity_event_spamblock.php	1 Feb 2005 10:23:04 -0000	1.44
 <at>  <at>  -75,6 +75,13  <at>  <at> 
          <at> define('PLUGIN_EVENT_SPAMBLOCK_API_REJECT', 'abweisen');
          <at> define('PLUGIN_EVENT_SPAMBLOCK_REASON_API', 'Keine API-erstellten Kommentare (u.a. Trackbacks) erlaubt');

+         <at> define('PLUGIN_EVENT_SPAMBLOCK_FILTER_ACTIVATE', 'Wortfilter aktivieren');
+         <at> define('PLUGIN_EVENT_SPAMBLOCK_FILTER_ACTIVATE_DESC', 'Durchsucht Kommentare nach speziellen
Zeichenketten und markiert diese als Spam.');
+
+         <at> define('PLUGIN_EVENT_SPAMBLOCK_FILTER_URLS', 'Wortfilter für URLs');
+         <at> define('PLUGIN_EVENT_SPAMBLOCK_FILTER_URLS_DESC', 'Reguläre Ausdrücke erlaubt,
Zeichenkennten durch Semikolon (;) trennen.');
+         <at> define('PLUGIN_EVENT_SPAMBLOCK_FILTER_AUTHORS', 'Wortfilter für Autorennamen');
+         <at> define('PLUGIN_EVENT_SPAMBLOCK_FILTER_AUTHORS_DESC', 'Reguläre Ausdrücke erlaubt,
Zeichenkennten durch Semikolon (;) trennen.');
(Continue reading)

Garvin Hicking | 1 Feb 2005 11:36
Picon

serendipity/plugins/serendipity_event_spamblock serendipity_event_spamblock.php,1.44,1.45

Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_spamblock
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24646

Modified Files:
	serendipity_event_spamblock.php 
Log Message:
missed the typo

Index: serendipity_event_spamblock.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- serendipity_event_spamblock.php	1 Feb 2005 10:23:04 -0000	1.44
+++ serendipity_event_spamblock.php	1 Feb 2005 10:36:33 -0000	1.45
 <at>  <at>  -490,7 +490,7  <at>  <at> 
                             // Filter URL
                             $filter_urls = explode(';', $this->get_config('filter_urls', $this->filter_defaults['urls']));
                             if (is_array($filter_urls)) {
-                                foreach($filter_urlss AS $filter_url) {
+                                foreach($filter_urls AS $filter_url) {
                                     if (preg_match(' <at> ' . $filter_url . ' <at> ', $eventData['url'])) {
                                         if ($filter_type == 'moderate') {
                                             $this->log($logfile, $eventData['id'], 'MODERATE', PLUGIN_EVENT_SPAMBLOCK_FILTER_URLS, $addData);

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
(Continue reading)

Tom Sommer | 1 Feb 2005 14:23
Picon

serendipity/plugins/serendipity_event_spamblock serendipity_event_spamblock.php,1.45,1.46

Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_spamblock
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29023

Modified Files:
	serendipity_event_spamblock.php 
Log Message:
- Call the vars 'contentfilter_*' and not 'filter_*', because the 'filter' is what all vars do...

Index: serendipity_event_spamblock.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- serendipity_event_spamblock.php	1 Feb 2005 10:36:33 -0000	1.45
+++ serendipity_event_spamblock.php	1 Feb 2005 13:23:45 -0000	1.46
 <at>  <at>  -186,7 +186,7  <at>  <at> 
             'frontend_comment'     => true,
             'fetchcomments'        => true
         ));
-        $propbag->add('configuration', array('killswitch', 'bodyclone', 'ipflood', 'surbl_enabled',
'rbl_enabled', 'rbllist', 'captchas', 'captchas_ttl', 'captcha_color', 'forcemoderation',
'disable_api_comments', 'links_moderate', 'links_reject', 'filter_activate', 'filter_urls',
'filter_authors', 'hide_email', 'logtype', 'logfile'));
+        $propbag->add('configuration', array('killswitch', 'bodyclone', 'ipflood', 'surbl_enabled',
'rbl_enabled', 'rbllist', 'captchas', 'captchas_ttl', 'captcha_color', 'forcemoderation',
'disable_api_comments', 'links_moderate', 'links_reject', 'contentfilter_activate',
'contentfilter_urls', 'contentfilter_authors', 'hide_email', 'logtype', 'logfile'));

         $this->filter_defaults = array(
(Continue reading)

Tom Sommer | 1 Feb 2005 18:05

serendipity/templates/default/admin/img configure.png,NONE,1.1

Update of /cvsroot/php-blog/serendipity/templates/default/admin/img
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20610/templates/default/admin/img

Added Files:
	configure.png 
Log Message:
- Add a small configure icon next to plugins that can be configured (since some users didn't know they could
configure plugins)

--- NEW FILE: configure.png ---
(This appears to be a binary file; contents omitted.)

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Tom Sommer | 1 Feb 2005 18:05
Picon

serendipity/include/admin plugins.inc.php,1.18,1.19

Update of /cvsroot/php-blog/serendipity/include/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20610/include/admin

Modified Files:
	plugins.inc.php 
Log Message:
- Add a small configure icon next to plugins that can be configured (since some users didn't know they could
configure plugins)

Index: plugins.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/plugins.inc.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- plugins.inc.php	28 Jan 2005 13:42:29 -0000	1.18
+++ plugins.inc.php	1 Feb 2005 17:05:09 -0000	1.19
 <at>  <at>  -24,7 +24,7  <at>  <at> 
     <form action="?serendipity[adminModule]=plugins" method="post">
         <table border="0" cellpadding="5" cellspacing="0" width="100%">
             <tr>
-                <td>&nbsp;</td>
+                <td colspan="2">&nbsp;</td>
                 <td><strong><?php echo TITLE; ?></strong></td>
                 <td><strong><?php echo PERMISSIONS; ?></strong></td>
 <?php
 <at>  <at>  -77,9 +77,9  <at>  <at> 
                 $title = serendipity_plugin_api::get_plugin_title($plugin, '[' . $name . ']');

                 if ($bag->is_set('configuration') && ($plugin->protected === FALSE || $plugin_data['authorid'] ==
(Continue reading)

Tom Sommer | 1 Feb 2005 18:12
Picon

serendipity/include/admin plugins.inc.php,1.19,1.20

Update of /cvsroot/php-blog/serendipity/include/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23230

Modified Files:
	plugins.inc.php 
Log Message:
- Move plugin status message to the top of the page

Index: plugins.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/plugins.inc.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- plugins.inc.php	1 Feb 2005 17:05:09 -0000	1.19
+++ plugins.inc.php	1 Feb 2005 17:12:48 -0000	1.20
 <at>  <at>  -271,9 +271,13  <at>  <at> 
         }

         $plugin->cleanup();
-        $statusMsg = sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%T'));
     }
 ?>
+
+<?php if ( isset($_POST['SAVECONF']) ) { ?>
+    <div class="serendipityAdminMsgSuccess"><?php echo DONE .': '. sprintf(SETTINGS_SAVED_AT,
serendipity_strftime('%T')); ?></div>
+<?php } ?>
+
 <form method="post" name="serendipityPluginConfigure">
(Continue reading)

Tom Sommer | 1 Feb 2005 22:05
Picon

serendipity/templates/default/admin style.css,1.25,1.26

Update of /cvsroot/php-blog/serendipity/templates/default/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13314/templates/default/admin

Modified Files:
	style.css 
Log Message:
- serendipityPrettyButton on a <input> and <a> now looks *exactly* the same
 ( Soon to replace the .button class )

Index: style.css
===================================================================
RCS file: /cvsroot/php-blog/serendipity/templates/default/admin/style.css,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- style.css	24 Jan 2005 10:47:48 -0000	1.25
+++ style.css	1 Feb 2005 21:05:18 -0000	1.26
 <at>  <at>  -163,30 +163,6  <at>  <at> 
     margin: auto;
 }

-a.button {
-    background-color: #F8F9FA;
-    border: 1px solid #294366;
-    color: #000000;
-    font-family: verdana;
-    font-size: 0.9em;
-    padding-left: 0.3em;
-    padding-right: 0.3em;
-    padding-top: 0.1em;
(Continue reading)

Garvin Hicking | 3 Feb 2005 13:28
Picon

serendipity/include/admin import.inc.php,1.5,1.6

Update of /cvsroot/php-blog/serendipity/include/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16530/include/admin

Modified Files:
	import.inc.php 
Log Message:
fix empty dropddown values

Index: import.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/import.inc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- import.inc.php	29 Jan 2005 15:44:40 -0000	1.5
+++ import.inc.php	3 Feb 2005 12:27:57 -0000	1.6
 <at>  <at>  -48,7 +48,7  <at>  <at> 
     <?php foreach ( $importer->getInputFields() as $field ) { ?>
     <tr>
       <td><?php echo $field['text'] ?></td>
-      <td><?php serendipity_guessInput($field['type'], 'serendipity[import]['. $field['name'] .']',
(isset($serendipity['POST']['import'][$field['name']]) ?
$serendipity['POST']['import'][$field['name']] : $field['default'])) ?></td>
+      <td><?php serendipity_guessInput($field['type'], 'serendipity[import]['. $field['name'] .']',
(isset($serendipity['POST']['import'][$field['name']]) ?
$serendipity['POST']['import'][$field['name']] : $field['default']), $field['default']) ?></td>
     </tr>
     <?php } ?>
     <?php if ($notes = $importer->getImportNotes()){ ?>

(Continue reading)

Tadashi Jokagi | 3 Feb 2005 16:43
Picon

serendipity/lang serendipity_lang_ja.inc.php,1.20,1.21

Update of /cvsroot/php-blog/serendipity/lang
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24468

Modified Files:
	serendipity_lang_ja.inc.php 
Log Message:
o updated japanese translation.

Index: serendipity_lang_ja.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/lang/serendipity_lang_ja.inc.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- serendipity_lang_ja.inc.php	30 Jan 2005 18:23:43 -0000	1.20
+++ serendipity_lang_ja.inc.php	3 Feb 2005 15:43:17 -0000	1.21
 <at>  <at>  -43,8 +43,8  <at>  <at> 
  <at> define('NEW_COMMENT_TO',
'新規コメントを投稿する: ');
  <at> define('RECENT', '最近の記事...');
  <at> define('OLDER', '古い記事...');
- <at> define('DONE', '実行しました');
- <at> define('WELCOME_BACK', 'Welcome back,');
+ <at> define('DONE', '実行完了');
+ <at> define('WELCOME_BACK', 'ようこそ!! ');
  <at> define('RUNNING', '実行している Serendipity のバージョン:');
  <at> define('ADD_PLUGIN', 'プラグイン追加');
  <at> define('TITLE', '題名');
 <at>  <at>  -152,7 +152,7  <at>  <at> 
  <at> define('COMMENTS_DISABLE', 'このエントリのコメントを許可しない');
(Continue reading)

Garvin Hicking | 3 Feb 2005 17:29
Picon

serendipity/plugins/serendipity_event_spamblock serendipity_event_spamblock.php,1.46,1.47

Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_spamblock
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2604

Modified Files:
	serendipity_event_spamblock.php 
Log Message:
Reverted parts of nohns commit when reordering spamblock methods:

First try to execute REJECT mechanisms, after that comes MODERATE.
Everything we want rejected should be rejected and not put into MODERATE
state because of some irrelevant "force moderation after X days". If you had
this activated, every comment that got no valid captcha would be put into
MODERATE state. Now every comment is checked for its captcha first before
auto-moderation kicks in.

Index: serendipity_event_spamblock.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- serendipity_event_spamblock.php	1 Feb 2005 13:23:45 -0000	1.46
+++ serendipity_event_spamblock.php	3 Feb 2005 16:29:21 -0000	1.47
 <at>  <at>  -507,15 +507,6  <at>  <at> 
                             }
                         }

-                        // Check for forced moderation
-                        if ($forcemoderation > 0 && $eventData['timestamp'] < (time() - ($forcemoderation * 60 * 60 * 24))) {
-                            $this->log($logfile, $eventData['id'], 'MODERATE',
(Continue reading)


Gmane