Plugin Directory

Changeset 1481612


Ignore:
Timestamp:
08/23/2016 02:08:22 PM (10 years ago)
Author:
EdHynan
Message:

Release 1.0.8: check with WordPress 4.6

Location:
spam-blip
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • spam-blip/tags/1.0.8/Makefile

    r1397813 r1481612  
    22# License: GNU GPLv3 (see http://www.gnu.org/licenses/gpl-3.0.html)
    33
    4 PRJVERS = 1.0.7.1
     4PRJVERS = 1.0.8
    55PRJSTEM = Spam_BLIP
    66PRJNAME = $(PRJSTEM)-$(PRJVERS)
     
    6161
    6262# NOTE: Non-trivial JS broken by perl 'JavaScript::Packer'
    63 # (another package) so its use is remove; JavaScript::Minifier::XS
     63# (another package) so its use is removed; JavaScript::Minifier::XS
    6464# is new here (Ubuntu GNU/Linux)
    6565${JSBIN}: ${JSSRC}
  • spam-blip/tags/1.0.8/Spam_BLIP.php

    r1397813 r1481612  
    44Plugin URI: //agalena.nfshost.com/b1/software/spam-blip-wordpress-comment-spam-plugin/
    55Description: Stop comment spam before it is posted.
    6 Version: 1.0.7.1
     6Version: 1.0.8
    77Author: Ed Hynan
    88Author URI: //agalena.nfshost.com/b1/
     
    129129   
    130130    // this version
    131     const plugin_version = '1.0.7.1';
     131    const plugin_version = '1.0.8';
    132132   
    133133    // the widget class name
     
    344344        // that alone does not work.  IAC administrative
    345345        // {de,}activate also controls the widget
    346         add_action('widgets_init', array($cl, 'regi_widget'));//, 1);
     346        add_action('widgets_init', array($cl, 'regi_widget'));
    347347    }
    348348
     
    35993599        global $wpdb;
    36003600        $tbl = $this->db_tablename();
    3601         // 'IF EXISTS' should suppress error if never created
    3602         // drop table removes associated files and data,
    3603         // indices and format, too
    36043601        return $wpdb->query("DROP TABLE IF EXISTS {$tbl}");
    36053602    }
     
    38563853    }
    38573854
    3858     // delete record from address -- uses method
    3859     // added in WP 3.4.0
     3855    // delete record from address
    38603856    protected function db_remove_address($addr, $lock = true) {
    38613857        if ( $this->db_get_addr_cache !== null
     
    42184214        }
    42194215
    4220         // use no class, but do use deprecated align
    42214216        $code = sprintf('Spam_BLIP_widget_%06u', rand());
    42224217        // overdue: 1.0.4 removed deprecated align
     
    43794374        }
    43804375        if ( $cap ) {
    4381             // overdue: 1.0.4 removed deprecated align
    43824376            echo '<p><span>' . $wt($cap) . '</span></p>';
    43834377        }
  • spam-blip/tags/1.0.8/js/screens.min.js

    r1397813 r1481612  
    1 function addto_evhplg_obj_screenopt(t,e){void 0==evhplg_obj_screenopt[t]&&(evhplg_obj_screenopt[t]=new evhplg_ctl_screenopt(t)),evhplg_obj_screenopt[t].add(e)}var evhplg_ctl_screenopt=function(t){this.chk=document.getElementById(t),this.ihid=document.getElementById("screen_opts_1_ini"),this.chk.spbl=this,this.chk.addEventListener("click",this.clk,!1)};evhplg_ctl_screenopt.prototype={chk:null,hid:null,ihid:null,all:{},add:function(t){this.all[t]=document.getElementById(t),null!=this.ihid&&(this.chk.checked="false"==this.ihid.value?"":"CHECKED",this.tog(this.chk.checked?!1:!0)),this.hid=document.getElementById("screen_opts_1")},tog:function(t){var e=t?"none":"block";for(var l in this.all)this.all[l].style.display=e},clk:function(){return this.spbl.tog(this.checked?!1:!0),null!=this.spbl.hid&&(this.spbl.hid.value=this.checked?"true":"false"),!1}};var evhplg_obj_screenopt={},evhplg_ctl_textpair=function(t,e,l,n,i){this.tx_l=document.getElementById(t),this.tx_l.spbl=this,this.tx_l.addEventListener("dblclick",this.clk_tx,!1),this.tx_r=document.getElementById(e),this.tx_r.spbl=this,this.tx_r.addEventListener("dblclick",this.clk_tx,!1),this.bt_l=document.getElementById(l),this.bt_l.spbl=this,this.bt_l.addEventListener("click",this.clk_btl,!1),this.bt_r=document.getElementById(n),this.bt_r.spbl=this,this.bt_r.addEventListener("click",this.clk_btr,!1),null!==i&&""!=i&&(this.dbg=document.getElementById(i))};evhplg_ctl_textpair.prototype={tx_l:null,tx_r:null,bt_l:null,bt_r:null,clk_btl:function(){var t=this.spbl,e=t.tx_l,l=t.tx_r,n=t.movcur(e,l);return n&&l.focus(),n},clk_btr:function(){var t=this.spbl,e=t.tx_l,l=t.tx_r,n=t.movcur(l,e);return n&&e.focus(),n},clk_tx:function(){var t=this.spbl;t.selcur(this),this.focus()},movcur:function(t,e){return l=this.cutcur(t),l!==!1?this.putcur(e,l):!1},cutcur:function(t){this.selcur(t);var e,l,n,i=this.sanitx(t.value);return(l=t.selectionStart)||(l=0),(n=t.selectionEnd)||0===n||(n=l),l>n&&(e=l,l=n,n=e),l===n?!1:(e=i.slice(l,n),t.value=i.slice(0,l)+i.substring(n),e)},putcur:function(t,e){var l,n=this.sanitx(t.value);for((l=t.selectionStart)||(l=0);l>0;){if("\n"===n.charAt(l)){++l;break}--l}return t.value=n.slice(0,l)+this.sanitx(e)+n.substring(l),t.selectionStart=l,t.selectionEnd=l+e.length,!0},selcur:function(t){var e,l,n=t.value;(e=t.selectionStart)||(e=0),(l=t.selectionEnd)||(l=e),e>l&&(e=l);for(var i=e,s=n.length;--i>=0&&"\n"!==n.charAt(i););for(e=i+1,i=l=e;++i<s&&"\n"!==n.charAt(i););l=i,s>l&&l++,t.selectionStart=e,t.selectionEnd=l},sanitx:function(t){var e=t.length;return 1>e||"\n"==t.charAt(e-1)?t:t+"\n"},dbg:null,dbg_msg:function(t){null!==this.dbg&&(this.dbg.innerHTML+="<br/>"+t)}};var evhplg_ctl_textpair_objmap={form_1:null,form_2:null,form_3:null,form_4:null,form_5:null,form_6:null,fpo:null};
     1function addto_evhplg_obj_screenopt(t,e){void 0==evhplg_obj_screenopt[t]&&(evhplg_obj_screenopt[t]=new evhplg_ctl_screenopt(t)),evhplg_obj_screenopt[t].add(e)}var evhplg_ctl_screenopt=function(t){this.chk=document.getElementById(t),this.ihid=document.getElementById("screen_opts_1_ini"),this.chk.spbl=this,this.chk.addEventListener("click",this.clk,!1)};evhplg_ctl_screenopt.prototype={chk:null,hid:null,ihid:null,all:{},add:function(t){this.all[t]=document.getElementById(t),null!=this.ihid&&(this.chk.checked="false"==this.ihid.value?"":"CHECKED",this.tog(!this.chk.checked)),this.hid=document.getElementById("screen_opts_1")},tog:function(t){var e=t?"none":"block";for(var l in this.all)this.all[l].style.display=e},clk:function(){return this.spbl.tog(!this.checked),null!=this.spbl.hid&&(this.spbl.hid.value=this.checked?"true":"false"),!1}};var evhplg_obj_screenopt={},evhplg_ctl_textpair=function(t,e,l,n,i){this.tx_l=document.getElementById(t),this.tx_l.spbl=this,this.tx_l.addEventListener("dblclick",this.clk_tx,!1),this.tx_r=document.getElementById(e),this.tx_r.spbl=this,this.tx_r.addEventListener("dblclick",this.clk_tx,!1),this.bt_l=document.getElementById(l),this.bt_l.spbl=this,this.bt_l.addEventListener("click",this.clk_btl,!1),this.bt_r=document.getElementById(n),this.bt_r.spbl=this,this.bt_r.addEventListener("click",this.clk_btr,!1),null!==i&&""!=i&&(this.dbg=document.getElementById(i))};evhplg_ctl_textpair.prototype={tx_l:null,tx_r:null,bt_l:null,bt_r:null,clk_btl:function(){var t=this.spbl,e=t.tx_l,l=t.tx_r,n=t.movcur(e,l);return n&&l.focus(),n},clk_btr:function(){var t=this.spbl,e=t.tx_l,l=t.tx_r,n=t.movcur(l,e);return n&&e.focus(),n},clk_tx:function(){var t=this.spbl;t.selcur(this),this.focus()},movcur:function(t,e){return l=this.cutcur(t),l!==!1?this.putcur(e,l):!1},cutcur:function(t){this.selcur(t);var e,l,n,i=this.sanitx(t.value);return(l=t.selectionStart)||(l=0),(n=t.selectionEnd)||0===n||(n=l),l>n&&(e=l,l=n,n=e),l===n?!1:(e=i.slice(l,n),t.value=i.slice(0,l)+i.substring(n),e)},putcur:function(t,e){var l,n=this.sanitx(t.value);for((l=t.selectionStart)||(l=0);l>0;){if("\n"===n.charAt(l)){++l;break}--l}return t.value=n.slice(0,l)+this.sanitx(e)+n.substring(l),t.selectionStart=l,t.selectionEnd=l+e.length,!0},selcur:function(t){var e,l,n=t.value;(e=t.selectionStart)||(e=0),(l=t.selectionEnd)||(l=e),e>l&&(e=l);for(var i=e,s=n.length;--i>=0&&"\n"!==n.charAt(i););for(e=i+1,i=l=e;++i<s&&"\n"!==n.charAt(i););l=i,s>l&&l++,t.selectionStart=e,t.selectionEnd=l},sanitx:function(t){var e=t.length;return 1>e||"\n"==t.charAt(e-1)?t:t+"\n"},dbg:null,dbg_msg:function(t){null!==this.dbg&&(this.dbg.innerHTML+="<br/>"+t)}};var evhplg_ctl_textpair_objmap={form_1:null,form_2:null,form_3:null,form_4:null,form_5:null,form_6:null,fpo:null};
  • spam-blip/tags/1.0.8/locale/spambl_l10n-en_US.po

    r1397813 r1481612  
    1 # Spam_BLIP 1.0.7.1 Pot Source
     1# Spam_BLIP 1.0.8 Pot Source
    22# Copyright (C) 2013 Ed Hynan
    33# This file is distributed under the same license as the Spam_BLIP package.
     
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: Spam_BLIP 1.0.7.1\n"
     9"Project-Id-Version: Spam_BLIP 1.0.8\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2016-04-17 11:07-0400\n"
    12 "PO-Revision-Date: 2016-04-17 11:07 EDT\n"
     11"POT-Creation-Date: 2016-08-23 09:37-0400\n"
     12"PO-Revision-Date: 2016-08-23 09:37 EDT\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    1414"Language-Team: LANGUAGE <LL@li.org>\n"
     
    12601260
    12611261#. Label shown on widgets page
    1262 #: Spam_BLIP.php:4139
     1262#: Spam_BLIP.php:4135
    12631263msgid "Spam BLIP"
    12641264msgstr "Spam BLIP"
    12651265
    12661266#. Description shown under label shown on widgets page
    1267 #: Spam_BLIP.php:4141
     1267#: Spam_BLIP.php:4137
    12681268msgid ""
    12691269"Display comment and ping spam hit information, and database table row "
     
    12731273"count"
    12741274
    1275 #: Spam_BLIP.php:4232
     1275#: Spam_BLIP.php:4227
    12761276msgid "Options:"
    12771277msgstr "Options:"
    12781278
    1279 #: Spam_BLIP.php:4238
     1279#: Spam_BLIP.php:4233
    12801280msgid "Checking user registration"
    12811281msgstr "Checking user registration"
    12821282
    1283 #: Spam_BLIP.php:4243
     1283#: Spam_BLIP.php:4238
    12841284msgid "Checking in saved spam"
    12851285msgstr "Checking in saved spam"
    12861286
    1287 #: Spam_BLIP.php:4248
     1287#: Spam_BLIP.php:4243
    12881288msgid "Saving non-hits"
    12891289msgstr "Saving non-hits"
    12901290
    1291 #: Spam_BLIP.php:4253
     1291#: Spam_BLIP.php:4248
    12921292msgid "Whitelisting TOR exits"
    12931293msgstr "Whitelisting TOR exits"
    12941294
    1295 #: Spam_BLIP.php:4258
     1295#: Spam_BLIP.php:4253
    12961296msgid "Not rejecting hits"
    12971297msgstr "Not rejecting hits"
    12981298
    1299 #: Spam_BLIP.php:4266
     1299#: Spam_BLIP.php:4261
    13001300msgid "Records:"
    13011301msgstr "Records:"
    13021302
    1303 #: Spam_BLIP.php:4282
     1303#: Spam_BLIP.php:4277
    13041304#, possible-php-format
    13051305msgid "%d address listed"
     
    13081308msgstr[1] "%d addresses listed"
    13091309
    1310 #: Spam_BLIP.php:4289
     1310#: Spam_BLIP.php:4284
    13111311#, possible-php-format
    13121312msgid "%d user whitelist address"
     
    13151315msgstr[1] "%d user whitelist addresses"
    13161316
    1317 #: Spam_BLIP.php:4296
     1317#: Spam_BLIP.php:4291
    13181318#, possible-php-format
    13191319msgid "%d user blacklist address"
     
    13221322msgstr[1] "%d user blacklist addresses"
    13231323
    1324 #: Spam_BLIP.php:4303
     1324#: Spam_BLIP.php:4298
    13251325#, possible-php-format
    13261326msgid "%d non-hit address"
     
    13291329msgstr[1] "%d non-hit addresses"
    13301330
    1331 #: Spam_BLIP.php:4310
     1331#: Spam_BLIP.php:4305
    13321332#, possible-php-format
    13331333msgid "%d tor exit node"
     
    13361336msgstr[1] "%d tor exit nodes"
    13371337
    1338 #: Spam_BLIP.php:4317
     1338#: Spam_BLIP.php:4312
    13391339#, possible-php-format
    13401340msgid "%d address in the past hour"
     
    13431343msgstr[1] "%d addresses in the past hour"
    13441344
    1345 #: Spam_BLIP.php:4324
     1345#: Spam_BLIP.php:4319
    13461346#, possible-php-format
    13471347msgid "%d new address in the past hour"
     
    13501350msgstr[1] "%d new addresses in the past hour"
    13511351
    1352 #: Spam_BLIP.php:4331
     1352#: Spam_BLIP.php:4326
    13531353#, possible-php-format
    13541354msgid "%d address in the past day"
     
    13571357msgstr[1] "%d addresses in the past day"
    13581358
    1359 #: Spam_BLIP.php:4338
     1359#: Spam_BLIP.php:4333
    13601360#, possible-php-format
    13611361msgid "%d new address in the past day"
     
    13641364msgstr[1] "%d new addresses in the past day"
    13651365
    1366 #: Spam_BLIP.php:4345
     1366#: Spam_BLIP.php:4340
    13671367#, possible-php-format
    13681368msgid "%d address in the past week"
     
    13711371msgstr[1] "%d addresses in the past week"
    13721372
    1373 #: Spam_BLIP.php:4352
     1373#: Spam_BLIP.php:4347
    13741374#, possible-php-format
    13751375msgid "%d new address in the past week"
     
    13781378msgstr[1] "%d new addresses in the past week"
    13791379
    1380 #: Spam_BLIP.php:4359
     1380#: Spam_BLIP.php:4354
    13811381#, possible-php-format
    13821382msgid "%d hit in all records"
     
    13851385msgstr[1] "total of %d hits in all records"
    13861386
    1387 #: Spam_BLIP.php:4372
     1387#: Spam_BLIP.php:4367
    13881388#, possible-php-format
    13891389msgid ""
     
    14001400"\t\t\t\t</p>"
    14011401
    1402 #: Spam_BLIP.php:4450
     1402#: Spam_BLIP.php:4444
    14031403msgid "Widget title:"
    14041404msgstr "Widget title:"
    14051405
    1406 #: Spam_BLIP.php:4465
     1406#: Spam_BLIP.php:4459
    14071407msgid "Caption:"
    14081408msgstr "Caption:"
    14091409
    1410 #: Spam_BLIP.php:4480
     1410#: Spam_BLIP.php:4474
    14111411msgid "Show <em>Spam BLIP</em> options:&nbsp;"
    14121412msgstr "Show <em>Spam BLIP</em> options:&nbsp;"
    14131413
    1414 #: Spam_BLIP.php:4493
     1414#: Spam_BLIP.php:4487
    14151415msgid "Show <em>Spam BLIP</em> link:&nbsp;"
    14161416msgstr "Show <em>Spam BLIP</em> link:&nbsp;"
  • spam-blip/tags/1.0.8/locale/spambl_l10n.pot

    r1397813 r1481612  
    1 # Spam_BLIP 1.0.7.1 Pot Source
     1# Spam_BLIP 1.0.8 Pot Source
    22# Copyright (C) 2013 Ed Hynan
    33# This file is distributed under the same license as the Spam_BLIP package.
     
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: Spam_BLIP 1.0.7.1\n"
     9"Project-Id-Version: Spam_BLIP 1.0.8\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2016-04-17 11:07-0400\n"
     11"POT-Creation-Date: 2016-08-23 09:37-0400\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    941941
    942942#. Label shown on widgets page
    943 #: Spam_BLIP.php:4139
     943#: Spam_BLIP.php:4135
    944944msgid "Spam BLIP"
    945945msgstr ""
    946946
    947947#. Description shown under label shown on widgets page
    948 #: Spam_BLIP.php:4141
     948#: Spam_BLIP.php:4137
    949949msgid ""
    950950"Display comment and ping spam hit information, and database table row "
     
    952952msgstr ""
    953953
    954 #: Spam_BLIP.php:4232
     954#: Spam_BLIP.php:4227
    955955msgid "Options:"
    956956msgstr ""
    957957
     958#: Spam_BLIP.php:4233
     959msgid "Checking user registration"
     960msgstr ""
     961
    958962#: Spam_BLIP.php:4238
    959 msgid "Checking user registration"
     963msgid "Checking in saved spam"
    960964msgstr ""
    961965
    962966#: Spam_BLIP.php:4243
    963 msgid "Checking in saved spam"
     967msgid "Saving non-hits"
    964968msgstr ""
    965969
    966970#: Spam_BLIP.php:4248
    967 msgid "Saving non-hits"
     971msgid "Whitelisting TOR exits"
    968972msgstr ""
    969973
    970974#: Spam_BLIP.php:4253
    971 msgid "Whitelisting TOR exits"
    972 msgstr ""
    973 
    974 #: Spam_BLIP.php:4258
    975975msgid "Not rejecting hits"
    976976msgstr ""
    977977
    978 #: Spam_BLIP.php:4266
     978#: Spam_BLIP.php:4261
    979979msgid "Records:"
    980980msgstr ""
    981981
    982 #: Spam_BLIP.php:4282
     982#: Spam_BLIP.php:4277
    983983#, possible-php-format
    984984msgid "%d address listed"
     
    987987msgstr[1] ""
    988988
    989 #: Spam_BLIP.php:4289
     989#: Spam_BLIP.php:4284
    990990#, possible-php-format
    991991msgid "%d user whitelist address"
     
    994994msgstr[1] ""
    995995
    996 #: Spam_BLIP.php:4296
     996#: Spam_BLIP.php:4291
    997997#, possible-php-format
    998998msgid "%d user blacklist address"
     
    10011001msgstr[1] ""
    10021002
    1003 #: Spam_BLIP.php:4303
     1003#: Spam_BLIP.php:4298
    10041004#, possible-php-format
    10051005msgid "%d non-hit address"
     
    10081008msgstr[1] ""
    10091009
    1010 #: Spam_BLIP.php:4310
     1010#: Spam_BLIP.php:4305
    10111011#, possible-php-format
    10121012msgid "%d tor exit node"
     
    10151015msgstr[1] ""
    10161016
    1017 #: Spam_BLIP.php:4317
     1017#: Spam_BLIP.php:4312
    10181018#, possible-php-format
    10191019msgid "%d address in the past hour"
     
    10221022msgstr[1] ""
    10231023
    1024 #: Spam_BLIP.php:4324
     1024#: Spam_BLIP.php:4319
    10251025#, possible-php-format
    10261026msgid "%d new address in the past hour"
     
    10291029msgstr[1] ""
    10301030
    1031 #: Spam_BLIP.php:4331
     1031#: Spam_BLIP.php:4326
    10321032#, possible-php-format
    10331033msgid "%d address in the past day"
     
    10361036msgstr[1] ""
    10371037
    1038 #: Spam_BLIP.php:4338
     1038#: Spam_BLIP.php:4333
    10391039#, possible-php-format
    10401040msgid "%d new address in the past day"
     
    10431043msgstr[1] ""
    10441044
    1045 #: Spam_BLIP.php:4345
     1045#: Spam_BLIP.php:4340
    10461046#, possible-php-format
    10471047msgid "%d address in the past week"
     
    10501050msgstr[1] ""
    10511051
    1052 #: Spam_BLIP.php:4352
     1052#: Spam_BLIP.php:4347
    10531053#, possible-php-format
    10541054msgid "%d new address in the past week"
     
    10571057msgstr[1] ""
    10581058
    1059 #: Spam_BLIP.php:4359
     1059#: Spam_BLIP.php:4354
    10601060#, possible-php-format
    10611061msgid "%d hit in all records"
     
    10641064msgstr[1] ""
    10651065
    1066 #: Spam_BLIP.php:4372
     1066#: Spam_BLIP.php:4367
    10671067#, possible-php-format
    10681068msgid ""
     
    10741074msgstr ""
    10751075
    1076 #: Spam_BLIP.php:4450
     1076#: Spam_BLIP.php:4444
    10771077msgid "Widget title:"
    10781078msgstr ""
    10791079
    1080 #: Spam_BLIP.php:4465
     1080#: Spam_BLIP.php:4459
    10811081msgid "Caption:"
    10821082msgstr ""
    10831083
    1084 #: Spam_BLIP.php:4480
     1084#: Spam_BLIP.php:4474
    10851085msgid "Show <em>Spam BLIP</em> options:&nbsp;"
    10861086msgstr ""
    10871087
    1088 #: Spam_BLIP.php:4493
     1088#: Spam_BLIP.php:4487
    10891089msgid "Show <em>Spam BLIP</em> link:&nbsp;"
    10901090msgstr ""
  • spam-blip/tags/1.0.8/readme.txt

    r1397813 r1481612  
    44Tags: anti-spam, comment spam, spam comments, blog spam, spam, blog, comment, comments, content, links, network
    55Requires at least: 3.0.2
    6 Tested up to: 4.5
    7 Stable tag: 1.0.7.1
     6Tested up to: 4.6
     7Stable tag: 1.0.8
    88Text Domain: spambl_l10n
    99License: GPLv3 or later
     
    115115== Changelog ==
    116116
     117= 1.0.8 =
     118* Check with WordPress 4.6.
     119* Misc. cleanups in code.
     120
    117121= 1.0.7.1 =
    118122* Correct error in repository checkin of 1.0.7.
     
    181185== Upgrade Notice ==
    182186
     187= 1.0.8 =
     188* Check with WordPress 4.6.
     189* Misc. cleanups in code.
     190
    183191= 1.0.7.1 =
    184192* Correct error in repository checkin of 1.0.7.
  • spam-blip/trunk/Makefile

    r1397813 r1481612  
    22# License: GNU GPLv3 (see http://www.gnu.org/licenses/gpl-3.0.html)
    33
    4 PRJVERS = 1.0.7.1
     4PRJVERS = 1.0.8
    55PRJSTEM = Spam_BLIP
    66PRJNAME = $(PRJSTEM)-$(PRJVERS)
     
    6161
    6262# NOTE: Non-trivial JS broken by perl 'JavaScript::Packer'
    63 # (another package) so its use is remove; JavaScript::Minifier::XS
     63# (another package) so its use is removed; JavaScript::Minifier::XS
    6464# is new here (Ubuntu GNU/Linux)
    6565${JSBIN}: ${JSSRC}
  • spam-blip/trunk/Spam_BLIP.php

    r1397813 r1481612  
    44Plugin URI: //agalena.nfshost.com/b1/software/spam-blip-wordpress-comment-spam-plugin/
    55Description: Stop comment spam before it is posted.
    6 Version: 1.0.7.1
     6Version: 1.0.8
    77Author: Ed Hynan
    88Author URI: //agalena.nfshost.com/b1/
     
    129129   
    130130    // this version
    131     const plugin_version = '1.0.7.1';
     131    const plugin_version = '1.0.8';
    132132   
    133133    // the widget class name
     
    344344        // that alone does not work.  IAC administrative
    345345        // {de,}activate also controls the widget
    346         add_action('widgets_init', array($cl, 'regi_widget'));//, 1);
     346        add_action('widgets_init', array($cl, 'regi_widget'));
    347347    }
    348348
     
    35993599        global $wpdb;
    36003600        $tbl = $this->db_tablename();
    3601         // 'IF EXISTS' should suppress error if never created
    3602         // drop table removes associated files and data,
    3603         // indices and format, too
    36043601        return $wpdb->query("DROP TABLE IF EXISTS {$tbl}");
    36053602    }
     
    38563853    }
    38573854
    3858     // delete record from address -- uses method
    3859     // added in WP 3.4.0
     3855    // delete record from address
    38603856    protected function db_remove_address($addr, $lock = true) {
    38613857        if ( $this->db_get_addr_cache !== null
     
    42184214        }
    42194215
    4220         // use no class, but do use deprecated align
    42214216        $code = sprintf('Spam_BLIP_widget_%06u', rand());
    42224217        // overdue: 1.0.4 removed deprecated align
     
    43794374        }
    43804375        if ( $cap ) {
    4381             // overdue: 1.0.4 removed deprecated align
    43824376            echo '<p><span>' . $wt($cap) . '</span></p>';
    43834377        }
  • spam-blip/trunk/js/screens.min.js

    r1397813 r1481612  
    1 function addto_evhplg_obj_screenopt(t,e){void 0==evhplg_obj_screenopt[t]&&(evhplg_obj_screenopt[t]=new evhplg_ctl_screenopt(t)),evhplg_obj_screenopt[t].add(e)}var evhplg_ctl_screenopt=function(t){this.chk=document.getElementById(t),this.ihid=document.getElementById("screen_opts_1_ini"),this.chk.spbl=this,this.chk.addEventListener("click",this.clk,!1)};evhplg_ctl_screenopt.prototype={chk:null,hid:null,ihid:null,all:{},add:function(t){this.all[t]=document.getElementById(t),null!=this.ihid&&(this.chk.checked="false"==this.ihid.value?"":"CHECKED",this.tog(this.chk.checked?!1:!0)),this.hid=document.getElementById("screen_opts_1")},tog:function(t){var e=t?"none":"block";for(var l in this.all)this.all[l].style.display=e},clk:function(){return this.spbl.tog(this.checked?!1:!0),null!=this.spbl.hid&&(this.spbl.hid.value=this.checked?"true":"false"),!1}};var evhplg_obj_screenopt={},evhplg_ctl_textpair=function(t,e,l,n,i){this.tx_l=document.getElementById(t),this.tx_l.spbl=this,this.tx_l.addEventListener("dblclick",this.clk_tx,!1),this.tx_r=document.getElementById(e),this.tx_r.spbl=this,this.tx_r.addEventListener("dblclick",this.clk_tx,!1),this.bt_l=document.getElementById(l),this.bt_l.spbl=this,this.bt_l.addEventListener("click",this.clk_btl,!1),this.bt_r=document.getElementById(n),this.bt_r.spbl=this,this.bt_r.addEventListener("click",this.clk_btr,!1),null!==i&&""!=i&&(this.dbg=document.getElementById(i))};evhplg_ctl_textpair.prototype={tx_l:null,tx_r:null,bt_l:null,bt_r:null,clk_btl:function(){var t=this.spbl,e=t.tx_l,l=t.tx_r,n=t.movcur(e,l);return n&&l.focus(),n},clk_btr:function(){var t=this.spbl,e=t.tx_l,l=t.tx_r,n=t.movcur(l,e);return n&&e.focus(),n},clk_tx:function(){var t=this.spbl;t.selcur(this),this.focus()},movcur:function(t,e){return l=this.cutcur(t),l!==!1?this.putcur(e,l):!1},cutcur:function(t){this.selcur(t);var e,l,n,i=this.sanitx(t.value);return(l=t.selectionStart)||(l=0),(n=t.selectionEnd)||0===n||(n=l),l>n&&(e=l,l=n,n=e),l===n?!1:(e=i.slice(l,n),t.value=i.slice(0,l)+i.substring(n),e)},putcur:function(t,e){var l,n=this.sanitx(t.value);for((l=t.selectionStart)||(l=0);l>0;){if("\n"===n.charAt(l)){++l;break}--l}return t.value=n.slice(0,l)+this.sanitx(e)+n.substring(l),t.selectionStart=l,t.selectionEnd=l+e.length,!0},selcur:function(t){var e,l,n=t.value;(e=t.selectionStart)||(e=0),(l=t.selectionEnd)||(l=e),e>l&&(e=l);for(var i=e,s=n.length;--i>=0&&"\n"!==n.charAt(i););for(e=i+1,i=l=e;++i<s&&"\n"!==n.charAt(i););l=i,s>l&&l++,t.selectionStart=e,t.selectionEnd=l},sanitx:function(t){var e=t.length;return 1>e||"\n"==t.charAt(e-1)?t:t+"\n"},dbg:null,dbg_msg:function(t){null!==this.dbg&&(this.dbg.innerHTML+="<br/>"+t)}};var evhplg_ctl_textpair_objmap={form_1:null,form_2:null,form_3:null,form_4:null,form_5:null,form_6:null,fpo:null};
     1function addto_evhplg_obj_screenopt(t,e){void 0==evhplg_obj_screenopt[t]&&(evhplg_obj_screenopt[t]=new evhplg_ctl_screenopt(t)),evhplg_obj_screenopt[t].add(e)}var evhplg_ctl_screenopt=function(t){this.chk=document.getElementById(t),this.ihid=document.getElementById("screen_opts_1_ini"),this.chk.spbl=this,this.chk.addEventListener("click",this.clk,!1)};evhplg_ctl_screenopt.prototype={chk:null,hid:null,ihid:null,all:{},add:function(t){this.all[t]=document.getElementById(t),null!=this.ihid&&(this.chk.checked="false"==this.ihid.value?"":"CHECKED",this.tog(!this.chk.checked)),this.hid=document.getElementById("screen_opts_1")},tog:function(t){var e=t?"none":"block";for(var l in this.all)this.all[l].style.display=e},clk:function(){return this.spbl.tog(!this.checked),null!=this.spbl.hid&&(this.spbl.hid.value=this.checked?"true":"false"),!1}};var evhplg_obj_screenopt={},evhplg_ctl_textpair=function(t,e,l,n,i){this.tx_l=document.getElementById(t),this.tx_l.spbl=this,this.tx_l.addEventListener("dblclick",this.clk_tx,!1),this.tx_r=document.getElementById(e),this.tx_r.spbl=this,this.tx_r.addEventListener("dblclick",this.clk_tx,!1),this.bt_l=document.getElementById(l),this.bt_l.spbl=this,this.bt_l.addEventListener("click",this.clk_btl,!1),this.bt_r=document.getElementById(n),this.bt_r.spbl=this,this.bt_r.addEventListener("click",this.clk_btr,!1),null!==i&&""!=i&&(this.dbg=document.getElementById(i))};evhplg_ctl_textpair.prototype={tx_l:null,tx_r:null,bt_l:null,bt_r:null,clk_btl:function(){var t=this.spbl,e=t.tx_l,l=t.tx_r,n=t.movcur(e,l);return n&&l.focus(),n},clk_btr:function(){var t=this.spbl,e=t.tx_l,l=t.tx_r,n=t.movcur(l,e);return n&&e.focus(),n},clk_tx:function(){var t=this.spbl;t.selcur(this),this.focus()},movcur:function(t,e){return l=this.cutcur(t),l!==!1?this.putcur(e,l):!1},cutcur:function(t){this.selcur(t);var e,l,n,i=this.sanitx(t.value);return(l=t.selectionStart)||(l=0),(n=t.selectionEnd)||0===n||(n=l),l>n&&(e=l,l=n,n=e),l===n?!1:(e=i.slice(l,n),t.value=i.slice(0,l)+i.substring(n),e)},putcur:function(t,e){var l,n=this.sanitx(t.value);for((l=t.selectionStart)||(l=0);l>0;){if("\n"===n.charAt(l)){++l;break}--l}return t.value=n.slice(0,l)+this.sanitx(e)+n.substring(l),t.selectionStart=l,t.selectionEnd=l+e.length,!0},selcur:function(t){var e,l,n=t.value;(e=t.selectionStart)||(e=0),(l=t.selectionEnd)||(l=e),e>l&&(e=l);for(var i=e,s=n.length;--i>=0&&"\n"!==n.charAt(i););for(e=i+1,i=l=e;++i<s&&"\n"!==n.charAt(i););l=i,s>l&&l++,t.selectionStart=e,t.selectionEnd=l},sanitx:function(t){var e=t.length;return 1>e||"\n"==t.charAt(e-1)?t:t+"\n"},dbg:null,dbg_msg:function(t){null!==this.dbg&&(this.dbg.innerHTML+="<br/>"+t)}};var evhplg_ctl_textpair_objmap={form_1:null,form_2:null,form_3:null,form_4:null,form_5:null,form_6:null,fpo:null};
  • spam-blip/trunk/locale/spambl_l10n-en_US.po

    r1397813 r1481612  
    1 # Spam_BLIP 1.0.7.1 Pot Source
     1# Spam_BLIP 1.0.8 Pot Source
    22# Copyright (C) 2013 Ed Hynan
    33# This file is distributed under the same license as the Spam_BLIP package.
     
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: Spam_BLIP 1.0.7.1\n"
     9"Project-Id-Version: Spam_BLIP 1.0.8\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2016-04-17 11:07-0400\n"
    12 "PO-Revision-Date: 2016-04-17 11:07 EDT\n"
     11"POT-Creation-Date: 2016-08-23 09:37-0400\n"
     12"PO-Revision-Date: 2016-08-23 09:37 EDT\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    1414"Language-Team: LANGUAGE <LL@li.org>\n"
     
    12601260
    12611261#. Label shown on widgets page
    1262 #: Spam_BLIP.php:4139
     1262#: Spam_BLIP.php:4135
    12631263msgid "Spam BLIP"
    12641264msgstr "Spam BLIP"
    12651265
    12661266#. Description shown under label shown on widgets page
    1267 #: Spam_BLIP.php:4141
     1267#: Spam_BLIP.php:4137
    12681268msgid ""
    12691269"Display comment and ping spam hit information, and database table row "
     
    12731273"count"
    12741274
    1275 #: Spam_BLIP.php:4232
     1275#: Spam_BLIP.php:4227
    12761276msgid "Options:"
    12771277msgstr "Options:"
    12781278
    1279 #: Spam_BLIP.php:4238
     1279#: Spam_BLIP.php:4233
    12801280msgid "Checking user registration"
    12811281msgstr "Checking user registration"
    12821282
    1283 #: Spam_BLIP.php:4243
     1283#: Spam_BLIP.php:4238
    12841284msgid "Checking in saved spam"
    12851285msgstr "Checking in saved spam"
    12861286
    1287 #: Spam_BLIP.php:4248
     1287#: Spam_BLIP.php:4243
    12881288msgid "Saving non-hits"
    12891289msgstr "Saving non-hits"
    12901290
    1291 #: Spam_BLIP.php:4253
     1291#: Spam_BLIP.php:4248
    12921292msgid "Whitelisting TOR exits"
    12931293msgstr "Whitelisting TOR exits"
    12941294
    1295 #: Spam_BLIP.php:4258
     1295#: Spam_BLIP.php:4253
    12961296msgid "Not rejecting hits"
    12971297msgstr "Not rejecting hits"
    12981298
    1299 #: Spam_BLIP.php:4266
     1299#: Spam_BLIP.php:4261
    13001300msgid "Records:"
    13011301msgstr "Records:"
    13021302
    1303 #: Spam_BLIP.php:4282
     1303#: Spam_BLIP.php:4277
    13041304#, possible-php-format
    13051305msgid "%d address listed"
     
    13081308msgstr[1] "%d addresses listed"
    13091309
    1310 #: Spam_BLIP.php:4289
     1310#: Spam_BLIP.php:4284
    13111311#, possible-php-format
    13121312msgid "%d user whitelist address"
     
    13151315msgstr[1] "%d user whitelist addresses"
    13161316
    1317 #: Spam_BLIP.php:4296
     1317#: Spam_BLIP.php:4291
    13181318#, possible-php-format
    13191319msgid "%d user blacklist address"
     
    13221322msgstr[1] "%d user blacklist addresses"
    13231323
    1324 #: Spam_BLIP.php:4303
     1324#: Spam_BLIP.php:4298
    13251325#, possible-php-format
    13261326msgid "%d non-hit address"
     
    13291329msgstr[1] "%d non-hit addresses"
    13301330
    1331 #: Spam_BLIP.php:4310
     1331#: Spam_BLIP.php:4305
    13321332#, possible-php-format
    13331333msgid "%d tor exit node"
     
    13361336msgstr[1] "%d tor exit nodes"
    13371337
    1338 #: Spam_BLIP.php:4317
     1338#: Spam_BLIP.php:4312
    13391339#, possible-php-format
    13401340msgid "%d address in the past hour"
     
    13431343msgstr[1] "%d addresses in the past hour"
    13441344
    1345 #: Spam_BLIP.php:4324
     1345#: Spam_BLIP.php:4319
    13461346#, possible-php-format
    13471347msgid "%d new address in the past hour"
     
    13501350msgstr[1] "%d new addresses in the past hour"
    13511351
    1352 #: Spam_BLIP.php:4331
     1352#: Spam_BLIP.php:4326
    13531353#, possible-php-format
    13541354msgid "%d address in the past day"
     
    13571357msgstr[1] "%d addresses in the past day"
    13581358
    1359 #: Spam_BLIP.php:4338
     1359#: Spam_BLIP.php:4333
    13601360#, possible-php-format
    13611361msgid "%d new address in the past day"
     
    13641364msgstr[1] "%d new addresses in the past day"
    13651365
    1366 #: Spam_BLIP.php:4345
     1366#: Spam_BLIP.php:4340
    13671367#, possible-php-format
    13681368msgid "%d address in the past week"
     
    13711371msgstr[1] "%d addresses in the past week"
    13721372
    1373 #: Spam_BLIP.php:4352
     1373#: Spam_BLIP.php:4347
    13741374#, possible-php-format
    13751375msgid "%d new address in the past week"
     
    13781378msgstr[1] "%d new addresses in the past week"
    13791379
    1380 #: Spam_BLIP.php:4359
     1380#: Spam_BLIP.php:4354
    13811381#, possible-php-format
    13821382msgid "%d hit in all records"
     
    13851385msgstr[1] "total of %d hits in all records"
    13861386
    1387 #: Spam_BLIP.php:4372
     1387#: Spam_BLIP.php:4367
    13881388#, possible-php-format
    13891389msgid ""
     
    14001400"\t\t\t\t</p>"
    14011401
    1402 #: Spam_BLIP.php:4450
     1402#: Spam_BLIP.php:4444
    14031403msgid "Widget title:"
    14041404msgstr "Widget title:"
    14051405
    1406 #: Spam_BLIP.php:4465
     1406#: Spam_BLIP.php:4459
    14071407msgid "Caption:"
    14081408msgstr "Caption:"
    14091409
    1410 #: Spam_BLIP.php:4480
     1410#: Spam_BLIP.php:4474
    14111411msgid "Show <em>Spam BLIP</em> options:&nbsp;"
    14121412msgstr "Show <em>Spam BLIP</em> options:&nbsp;"
    14131413
    1414 #: Spam_BLIP.php:4493
     1414#: Spam_BLIP.php:4487
    14151415msgid "Show <em>Spam BLIP</em> link:&nbsp;"
    14161416msgstr "Show <em>Spam BLIP</em> link:&nbsp;"
  • spam-blip/trunk/locale/spambl_l10n.pot

    r1397813 r1481612  
    1 # Spam_BLIP 1.0.7.1 Pot Source
     1# Spam_BLIP 1.0.8 Pot Source
    22# Copyright (C) 2013 Ed Hynan
    33# This file is distributed under the same license as the Spam_BLIP package.
     
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: Spam_BLIP 1.0.7.1\n"
     9"Project-Id-Version: Spam_BLIP 1.0.8\n"
    1010"Report-Msgid-Bugs-To: edhynan@gmail.com\n"
    11 "POT-Creation-Date: 2016-04-17 11:07-0400\n"
     11"POT-Creation-Date: 2016-08-23 09:37-0400\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    941941
    942942#. Label shown on widgets page
    943 #: Spam_BLIP.php:4139
     943#: Spam_BLIP.php:4135
    944944msgid "Spam BLIP"
    945945msgstr ""
    946946
    947947#. Description shown under label shown on widgets page
    948 #: Spam_BLIP.php:4141
     948#: Spam_BLIP.php:4137
    949949msgid ""
    950950"Display comment and ping spam hit information, and database table row "
     
    952952msgstr ""
    953953
    954 #: Spam_BLIP.php:4232
     954#: Spam_BLIP.php:4227
    955955msgid "Options:"
    956956msgstr ""
    957957
     958#: Spam_BLIP.php:4233
     959msgid "Checking user registration"
     960msgstr ""
     961
    958962#: Spam_BLIP.php:4238
    959 msgid "Checking user registration"
     963msgid "Checking in saved spam"
    960964msgstr ""
    961965
    962966#: Spam_BLIP.php:4243
    963 msgid "Checking in saved spam"
     967msgid "Saving non-hits"
    964968msgstr ""
    965969
    966970#: Spam_BLIP.php:4248
    967 msgid "Saving non-hits"
     971msgid "Whitelisting TOR exits"
    968972msgstr ""
    969973
    970974#: Spam_BLIP.php:4253
    971 msgid "Whitelisting TOR exits"
    972 msgstr ""
    973 
    974 #: Spam_BLIP.php:4258
    975975msgid "Not rejecting hits"
    976976msgstr ""
    977977
    978 #: Spam_BLIP.php:4266
     978#: Spam_BLIP.php:4261
    979979msgid "Records:"
    980980msgstr ""
    981981
    982 #: Spam_BLIP.php:4282
     982#: Spam_BLIP.php:4277
    983983#, possible-php-format
    984984msgid "%d address listed"
     
    987987msgstr[1] ""
    988988
    989 #: Spam_BLIP.php:4289
     989#: Spam_BLIP.php:4284
    990990#, possible-php-format
    991991msgid "%d user whitelist address"
     
    994994msgstr[1] ""
    995995
    996 #: Spam_BLIP.php:4296
     996#: Spam_BLIP.php:4291
    997997#, possible-php-format
    998998msgid "%d user blacklist address"
     
    10011001msgstr[1] ""
    10021002
    1003 #: Spam_BLIP.php:4303
     1003#: Spam_BLIP.php:4298
    10041004#, possible-php-format
    10051005msgid "%d non-hit address"
     
    10081008msgstr[1] ""
    10091009
    1010 #: Spam_BLIP.php:4310
     1010#: Spam_BLIP.php:4305
    10111011#, possible-php-format
    10121012msgid "%d tor exit node"
     
    10151015msgstr[1] ""
    10161016
    1017 #: Spam_BLIP.php:4317
     1017#: Spam_BLIP.php:4312
    10181018#, possible-php-format
    10191019msgid "%d address in the past hour"
     
    10221022msgstr[1] ""
    10231023
    1024 #: Spam_BLIP.php:4324
     1024#: Spam_BLIP.php:4319
    10251025#, possible-php-format
    10261026msgid "%d new address in the past hour"
     
    10291029msgstr[1] ""
    10301030
    1031 #: Spam_BLIP.php:4331
     1031#: Spam_BLIP.php:4326
    10321032#, possible-php-format
    10331033msgid "%d address in the past day"
     
    10361036msgstr[1] ""
    10371037
    1038 #: Spam_BLIP.php:4338
     1038#: Spam_BLIP.php:4333
    10391039#, possible-php-format
    10401040msgid "%d new address in the past day"
     
    10431043msgstr[1] ""
    10441044
    1045 #: Spam_BLIP.php:4345
     1045#: Spam_BLIP.php:4340
    10461046#, possible-php-format
    10471047msgid "%d address in the past week"
     
    10501050msgstr[1] ""
    10511051
    1052 #: Spam_BLIP.php:4352
     1052#: Spam_BLIP.php:4347
    10531053#, possible-php-format
    10541054msgid "%d new address in the past week"
     
    10571057msgstr[1] ""
    10581058
    1059 #: Spam_BLIP.php:4359
     1059#: Spam_BLIP.php:4354
    10601060#, possible-php-format
    10611061msgid "%d hit in all records"
     
    10641064msgstr[1] ""
    10651065
    1066 #: Spam_BLIP.php:4372
     1066#: Spam_BLIP.php:4367
    10671067#, possible-php-format
    10681068msgid ""
     
    10741074msgstr ""
    10751075
    1076 #: Spam_BLIP.php:4450
     1076#: Spam_BLIP.php:4444
    10771077msgid "Widget title:"
    10781078msgstr ""
    10791079
    1080 #: Spam_BLIP.php:4465
     1080#: Spam_BLIP.php:4459
    10811081msgid "Caption:"
    10821082msgstr ""
    10831083
    1084 #: Spam_BLIP.php:4480
     1084#: Spam_BLIP.php:4474
    10851085msgid "Show <em>Spam BLIP</em> options:&nbsp;"
    10861086msgstr ""
    10871087
    1088 #: Spam_BLIP.php:4493
     1088#: Spam_BLIP.php:4487
    10891089msgid "Show <em>Spam BLIP</em> link:&nbsp;"
    10901090msgstr ""
  • spam-blip/trunk/readme.txt

    r1397813 r1481612  
    44Tags: anti-spam, comment spam, spam comments, blog spam, spam, blog, comment, comments, content, links, network
    55Requires at least: 3.0.2
    6 Tested up to: 4.5
    7 Stable tag: 1.0.7.1
     6Tested up to: 4.6
     7Stable tag: 1.0.8
    88Text Domain: spambl_l10n
    99License: GPLv3 or later
     
    115115== Changelog ==
    116116
     117= 1.0.8 =
     118* Check with WordPress 4.6.
     119* Misc. cleanups in code.
     120
    117121= 1.0.7.1 =
    118122* Correct error in repository checkin of 1.0.7.
     
    181185== Upgrade Notice ==
    182186
     187= 1.0.8 =
     188* Check with WordPress 4.6.
     189* Misc. cleanups in code.
     190
    183191= 1.0.7.1 =
    184192* Correct error in repository checkin of 1.0.7.
Note: See TracChangeset for help on using the changeset viewer.