Changeset 1560006
- Timestamp:
- 12/22/2016 05:56:12 PM (9 years ago)
- Location:
- stop-web-crawlers/trunk
- Files:
-
- 9 edited
-
includes/list-tables/class-swc-list-table.php (modified) (4 diffs)
-
includes/swc-core/class-swc-activator.php (modified) (1 diff)
-
includes/swc-core/class-swc-dbcreate.php (modified) (1 diff)
-
includes/swc-db-upgrade/dbscript/_1_3_5.php (modified) (1 diff)
-
mainmenu.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
stop-web-crawlers.php (modified) (1 diff)
-
uninstall.php (modified) (4 diffs)
-
views/dashboard.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
stop-web-crawlers/trunk/includes/list-tables/class-swc-list-table.php
r1508534 r1560006 77 77 // Detect when a bulk action is being triggered. 78 78 global $wpdb; 79 $crawlers_table = $wpdb->prefix .$this->SWC_CRAWLERS; 79 80 if ( 'Enable' === $this->current_action() ) { 80 81 81 if(isset($_GET[' bot']))82 if(isset($_GET['crawler'])) 82 83 { 83 84 $ctd = 0; … … 89 90 90 91 $result = $wpdb->update ( 91 $ wpdb->prefix . $this->SWC_CRAWLERS,92 $crawlers_table, 92 93 array( 93 94 'status' => 'Enabled' … … 126 127 127 128 $result = $wpdb->update ( 128 $ wpdb->prefix . $this->SWC_CRAWLERS,129 $crawlers_table, 129 130 array( 130 131 'status' => 'Disabled' … … 187 188 FROM $crawlers_table 188 189 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 . "%' 190 191 order by ". $orderby ." " .$order; 191 192 -
stop-web-crawlers/trunk/includes/swc-core/class-swc-activator.php
r1515827 r1560006 24 24 25 25 // Create the database schema for the crawlers and loggers tables 26 26 27 require_once 'class-swc-dbcreate.php'; 27 28 $dbcreate = new createSwcDatabase(); 29 28 30 $dbcreate->create(); 29 31 add_site_option('SWC_VERSION', SWC_VERSION); -
stop-web-crawlers/trunk/includes/swc-core/class-swc-dbcreate.php
r1508637 r1560006 1 1 <?php 2 3 final class createSwcDatabase { 2 final class createSwcDatabase { 4 3 5 4 private $SWC_CRAWLERS_LOG = 'swc_crawlers_log'; -
stop-web-crawlers/trunk/includes/swc-db-upgrade/dbscript/_1_3_5.php
r1511247 r1560006 30 30 31 31 } 32 32 33 ?> -
stop-web-crawlers/trunk/mainmenu.php
r1508983 r1560006 41 41 42 42 $url = sanitize_text_field($_POST ['swc_url']); 43 43 44 $dal = new data_access_layer(); 44 45 $dal->insert_crawler($name, $url); -
stop-web-crawlers/trunk/readme.txt
r1511255 r1560006 9 9 Donate link: https://www.paypal.me/geekiam 10 10 Requires at least: 4.5 11 Tested up to: 4. 5.312 Stable tag: 1.3. 411 Tested up to: 4.7 12 Stable tag: 1.3.6 13 13 14 14 -
stop-web-crawlers/trunk/stop-web-crawlers.php
r1511255 r1560006 4 4 * Plugin URI: https://threenine.co.uk/plugins/stop-web-crawlers/ 5 5 * Description: Blocks over 1400 known referer spammers from directly targeting your website. 6 * Version: 1.3. 56 * Version: 1.3.6 7 7 * Author: Three Nine Consulting 8 8 * Author URI: http://threenine.co.uk -
stop-web-crawlers/trunk/uninstall.php
r1508534 r1560006 1 1 <?php 2 3 2 /** 4 3 * @author Gary Woodfine 5 4 * @copyright 2016 6 5 */ 7 8 6 // If uninstall is not called from WordPress, exit 9 7 if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) { … … 15 13 delete_option( $option_name ); 16 14 delete_site_option(SWC_VERSION); 17 18 15 19 16 // For site options in Multisite … … 23 20 $SWC_CRAWLER_TYPE = 'swc_crawler_type'; 24 21 $SWC_BLACKLIST = 'swc_blacklist'; 25 26 22 27 23 // Drop a custom db table … … 35 31 $wpdb->query( "DROP TABLE IF EXISTS $crawlers_table" ); 36 32 $wpdb->query( "DROP TABLE IF EXISTS $type_table" ); 37 38 39 40 33 ?> -
stop-web-crawlers/trunk/views/dashboard.php
r1508534 r1560006 12 12 <div class="wrap"> 13 13 <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> 14 17 <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> 26 19 27 20 <strong>The threenine team</strong>
Note: See TracChangeset
for help on using the changeset viewer.