Plugin Directory

Changeset 1560006


Ignore:
Timestamp:
12/22/2016 05:56:12 PM (9 years ago)
Author:
threenine
Message:

updated release 1.3.6

Location:
stop-web-crawlers/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • stop-web-crawlers/trunk/includes/list-tables/class-swc-list-table.php

    r1508534 r1560006  
    7777        // Detect when a bulk action is being triggered.
    7878        global $wpdb;
     79        $crawlers_table = $wpdb->prefix .$this->SWC_CRAWLERS;
    7980        if ( 'Enable' === $this->current_action() ) {
    8081
    81             if(isset($_GET['bot']))
     82            if(isset($_GET['crawler']))
    8283            {
    8384                $ctd = 0;
     
    8990
    9091                    $result =   $wpdb->update (
    91                             $wpdb->prefix . $this->SWC_CRAWLERS,
     92                            $crawlers_table,
    9293                            array(
    9394                                    'status' => 'Enabled'
     
    126127
    127128                    $result =   $wpdb->update (
    128                             $wpdb->prefix . $this->SWC_CRAWLERS,
     129                            $crawlers_table,
    129130                            array(
    130131                                    'status' => 'Disabled'
     
    187188                            FROM $crawlers_table
    188189                            inner join $crawlers_type_table on $crawlers_type_table.id = $crawlers_table.typeid WHERE
    189                                     `name` LIKE  '%". $my_search . "%'
     190                                    $crawlers_table.name LIKE  '%". $my_search . "%'
    190191             order by ". $orderby ." " .$order;
    191192                           
  • stop-web-crawlers/trunk/includes/swc-core/class-swc-activator.php

    r1515827 r1560006  
    2424
    2525        // Create the database schema for the  crawlers and loggers tables
     26
    2627        require_once 'class-swc-dbcreate.php';
    2728        $dbcreate = new createSwcDatabase();
     29
    2830        $dbcreate->create();   
    2931        add_site_option('SWC_VERSION', SWC_VERSION);
  • stop-web-crawlers/trunk/includes/swc-core/class-swc-dbcreate.php

    r1508637 r1560006  
    11<?php
    2 
    3 final class createSwcDatabase {
     2    final class createSwcDatabase {
    43   
    54    private $SWC_CRAWLERS_LOG = 'swc_crawlers_log';
  • stop-web-crawlers/trunk/includes/swc-db-upgrade/dbscript/_1_3_5.php

    r1511247 r1560006  
    3030   
    3131}
     32
    3233?>
  • stop-web-crawlers/trunk/mainmenu.php

    r1508983 r1560006  
    4141       
    4242        $url =  sanitize_text_field($_POST ['swc_url']);
     43
    4344        $dal = new data_access_layer();
    4445        $dal->insert_crawler($name, $url);
  • stop-web-crawlers/trunk/readme.txt

    r1511255 r1560006  
    99Donate link:       https://www.paypal.me/geekiam
    1010Requires at least: 4.5
    11 Tested up to:      4.5.3
    12 Stable tag:        1.3.4
     11Tested up to:      4.7
     12Stable tag:        1.3.6
    1313
    1414
  • stop-web-crawlers/trunk/stop-web-crawlers.php

    r1511255 r1560006  
    44       * Plugin URI: https://threenine.co.uk/plugins/stop-web-crawlers/
    55       * Description: Blocks over 1400 known referer spammers from directly targeting your website.
    6        * Version: 1.3.5
     6       * Version: 1.3.6
    77       * Author: Three Nine Consulting
    88       * Author URI: http://threenine.co.uk
  • stop-web-crawlers/trunk/uninstall.php

    r1508534 r1560006  
    11<?php
    2 
    32/**
    43 * @author Gary Woodfine
    54 * @copyright 2016
    65 */
    7 
    86// If uninstall is not called from WordPress, exit
    97if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) {
     
    1513delete_option( $option_name );
    1614delete_site_option(SWC_VERSION);
    17 
    1815 
    1916// For site options in Multisite
     
    2320 $SWC_CRAWLER_TYPE = 'swc_crawler_type';
    2421 $SWC_BLACKLIST = 'swc_blacklist';
    25 
    2622 
    2723// Drop a custom db table
     
    3531$wpdb->query( "DROP TABLE IF EXISTS $crawlers_table" );
    3632$wpdb->query( "DROP TABLE IF EXISTS $type_table" );
    37 
    38 
    39 
    4033?>
  • stop-web-crawlers/trunk/views/dashboard.php

    r1508534 r1560006  
    1212<div class="wrap">
    1313<div class="swc_left">
     14<h4>Stop Web Crawlers is Active</h4>
     15<p>There is no further configuration required.</p>
     16<p>Your site is now protected against 1400 known bad web crawlers.</p>
    1417<h4>What's new ?</h4>
    15 <p>In this release of Stop Web Crawlers we have started work on developing our new database structure to enable
    16 the delivery of even greater protection from web bots in forthcoming releases.</p>
    17 <p>At present Stop Web Crawlers only provides protection against Referer spammers, however in later releases
    18 we will be providing protection against Scrapers, Impersonators and Crackers. All these malicious bots are a threat to your site.</p>
    19 <p>We had to carry out remedial work on the data structure and also make several improvements to our underlying code base.</p>
    20 <p>We have also started work to our automated updates feature and developing our online bot repository, which we will be releasing
    21 out Minimum Viable Product (MVP) release by end of November.</p>
    22 <p>We'd like to thank you for your support, and appreciate your continued use of our fledgling product. We would appreciate any comments
    23 , feedback, criticism, observations, feature requests or bug reports to help us improve.</p>
    24 
    25 <p>We anticipate another release of Stop Web Crawlers to be available by the end of October 2016</p>
     18<p>This release only has a few minor bug fixes. In preparation for additional planned forthcoming functionality.</p>
    2619
    2720<strong>The threenine team</strong>
Note: See TracChangeset for help on using the changeset viewer.