Changeset 2313427
- Timestamp:
- 05/27/2020 11:16:07 PM (6 years ago)
- Location:
- bad-ip-wp
- Files:
-
- 1 deleted
- 6 edited
- 15 copied
-
assets/screenshot-1.png (modified) (previous)
-
tags/1.0.2/trunk (copied) (copied from bad-ip-wp/trunk)
-
tags/1.0.2/trunk/README.txt (copied) (copied from bad-ip-wp/trunk/README.txt) (2 diffs)
-
tags/1.0.2/trunk/admin/class-bad_ip_wp-admin.php (copied) (copied from bad-ip-wp/trunk/admin/class-bad_ip_wp-admin.php)
-
tags/1.0.2/trunk/admin/js/bad_ip_wp-admin.js (copied) (copied from bad-ip-wp/trunk/admin/js/bad_ip_wp-admin.js)
-
tags/1.0.2/trunk/admin/partials/bad_ip_404_hook.php (copied) (copied from bad-ip-wp/trunk/admin/partials/bad_ip_404_hook.php)
-
tags/1.0.2/trunk/admin/partials/bad_ip_admin_dashboard_page.php (copied) (copied from bad-ip-wp/trunk/admin/partials/bad_ip_admin_dashboard_page.php)
-
tags/1.0.2/trunk/admin/partials/bad_ip_admin_menu_actions.php (copied) (copied from bad-ip-wp/trunk/admin/partials/bad_ip_admin_menu_actions.php)
-
tags/1.0.2/trunk/admin/partials/bad_ip_admin_settings_page.php (copied) (copied from bad-ip-wp/trunk/admin/partials/bad_ip_admin_settings_page.php)
-
tags/1.0.2/trunk/admin/partials/bad_ip_head_hook.php (copied) (copied from bad-ip-wp/trunk/admin/partials/bad_ip_head_hook.php)
-
tags/1.0.2/trunk/admin/partials/bad_ip_login_hook.php (copied) (copied from bad-ip-wp/trunk/admin/partials/bad_ip_login_hook.php)
-
tags/1.0.2/trunk/admin/partials/class-bad_ip_actions.php (copied) (copied from bad-ip-wp/trunk/admin/partials/class-bad_ip_actions.php)
-
tags/1.0.2/trunk/admin/partials/views (copied) (copied from bad-ip-wp/trunk/admin/partials/views)
-
tags/1.0.2/trunk/admin/partials/views/page-dashboard.twig (copied) (copied from bad-ip-wp/trunk/admin/partials/views/page-dashboard.twig) (1 diff)
-
tags/1.0.2/trunk/admin/partials/views/page-settings.twig (modified) (8 diffs)
-
tags/1.0.2/trunk/admin/views (deleted)
-
tags/1.0.2/trunk/bad_ip_wp.php (copied) (copied from bad-ip-wp/trunk/bad_ip_wp.php) (2 diffs)
-
tags/1.0.2/trunk/screenshot-1.png (copied) (copied from bad-ip-wp/trunk/screenshot-1.png)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/partials/views/page-dashboard.twig (modified) (1 diff)
-
trunk/admin/partials/views/page-settings.twig (modified) (8 diffs)
-
trunk/bad_ip_wp.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bad-ip-wp/tags/1.0.2/trunk/README.txt
r2312970 r2313427 4 4 Requires at least: 3.0.1 5 5 Tested up to: 5.4.1 6 Stable tag: 1.0. 136 Stable tag: 1.0.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 53 53 54 54 == Changelog == 55 56 = 1.0.2 = 57 * Regular refactoring and optimisation 55 58 56 59 = 1.0.13 = -
bad-ip-wp/tags/1.0.2/trunk/admin/partials/views/page-dashboard.twig
r2312968 r2313427 6 6 7 7 <div class="container-fluid"> 8 {#{{ bad_ips_report_pm|length }}#}9 10 <!-- Page Heading -->11 {#<div class="d-sm-flex align-items-center justify-content-between mb-4">#}12 {#<h1 class="h3 mb-0 text-gray-800">Cards</h1>#}13 {#</div>#}14 8 15 9 <div class="row"> -
bad-ip-wp/tags/1.0.2/trunk/admin/partials/views/page-settings.twig
r2247105 r2313427 5 5 6 6 <div class="container-fluid" style="margin-top: 15px;"> 7 {#{{ bad_ips_report_pm|length }}#}8 9 10 7 11 8 <!-- Page Heading --> 12 {#<div class="d-sm-flex align-items-center justify-content-between mb-4">#}13 {#<h1 class="h3 mb-0 text-gray-800">Cards</h1>#}14 {#</div>#}15 9 <h1 class="h3 mb-4 text-gray-800">Settings</h1> 16 10 17 {#{{ settings|print_r }}#}18 11 <div class="row"> 19 12 … … 56 49 57 50 <form id="form-bad_queries" action=" " method="POST"> 58 {#<input type="checkbox" name="bad_queries" id="bad_queries" checked hidden>#}59 51 <input type="text" name="bad_queries" id="bad_queries" value="{{ settings.bad_queries }}" hidden> 60 52 </form> … … 83 75 84 76 <form id="form-tor" action=" " method="POST"> 85 {#<input type="checkbox" name="tor_block" id="tor_block" checked hidden>#}86 77 <input type="text" name="tor_block" id="tor_block" value="{{ settings.tor_block }}" hidden> 87 78 </form> … … 106 97 107 98 <form id="form-deny-access" action=" " method="POST"> 108 {#<input type="checkbox" name="deny_access" id="deny_access" value="{{ settings.deny_access }}" checked hidden>#}109 99 <input type="text" name="deny_access" id="deny_access" value="{{ settings.deny_access }}" hidden> 110 100 </form> … … 161 151 </a> 162 152 <form id="form-origin" action=" " method="POST"> 163 {#<input type="checkbox" name="deny_access" id="deny_access" value="{{ settings.deny_access }}" checked hidden>#}164 153 <input type="text" name="origin" id="origin" value="{{ settings.origin }}" hidden> 165 154 </form> … … 176 165 </a> 177 166 <form id="form-bot_access" action=" " method="POST"> 178 {#<input type="checkbox" name="deny_access" id="deny_access" value="{{ settings.deny_access }}" checked hidden>#}179 167 <input type="text" name="bot_access" id="bot_access" value="{{ settings.bot_access }}" hidden> 180 168 </form> … … 213 201 214 202 <div class="col-lg-6"> 215 <div class="card col-lg-12"> 203 204 <div class="card col-lg-12"> 216 205 <div class="card-header py-3 d-flex bg-dark flex-row align-items-center justify-content-between"> 217 206 <h6 class="m-0 font-weight-bold text-white">Whitelist | Blacklist</h6> … … 223 212 <span class="text">Save</span> 224 213 </a> 225 226 {# <input type="text" name="origin" id="origin" value="{{ settings.origin }}" hidden> #} 227 </div> 228 <div class="card-body"> 214 215 </div> 216 <div class="card-body"> 229 217 <form id="form-lists" action=" " method="POST"> 230 <div class="row"> 231 <div class="card col-lg-6"> 232 <p>Add IP's that you trust that cannot be reported or blocked</p> 233 <textarea id="whiteListTXT" name="whiteListText" rows="13" class="whitelisttxt" placeholder="Separate IP addresses by space or new line">{% if whiteList %}{{ whiteList }}{% endif %}</textarea> 234 </div> 235 <div class="card col-lg-6"> 236 <p>Add IP's that you want to block from accessing your website</p> 237 <textarea id="blackListTXT" name="blackListText" rows="13" class="blacklisttxt text-white" placeholder="Separate IP addresses by space or new line" style="background-color:black;">{% if blackList %}{{ blackList }}{% endif %}</textarea> 238 </div> 239 </div> 240 </row> 241 </form> 242 </div> 243 </div> 218 <div class="row"> 219 <div class="card col-lg-6"> 220 <p>Add IP's that you trust that cannot be reported or blocked</p> 221 <textarea id="whiteListTXT" name="whiteListText" rows="13" class="whitelisttxt" placeholder="Separate IP addresses by space or new line">{% if whiteList %}{{ whiteList }}{% endif %}</textarea> 222 </div> 223 <div class="card col-lg-6"> 224 <p>Add IP's that you want to block from accessing your website</p> 225 <textarea id="blackListTXT" name="blackListText" rows="13" class="blacklisttxt text-white" placeholder="Separate IP addresses by space or new line" style="background-color:black;">{% if blackList %}{{ blackList }}{% endif %}</textarea> 226 </div> 227 </div> 228 </form> 229 </div> 230 </div> 244 231 245 232 </div> -
bad-ip-wp/tags/1.0.2/trunk/bad_ip_wp.php
r2312970 r2313427 11 11 * Plugin URI: https://bad-ip.iridiumintel.com 12 12 * Description: Protecting from malicious IP addresses visiting and trying to exploit your website with addition to block Tor endpoints 13 * Version: 1.0. 1313 * Version: 1.0.2 14 14 * Author: Iridium Intelligence 15 15 * Author URI: https://iridiumintel.com … … 35 35 * Rename this for your plugin and update it as you release new versions. 36 36 */ 37 define( 'BAD_IP_WP_VERSION', '1.0. 13' );37 define( 'BAD_IP_WP_VERSION', '1.0.2' ); 38 38 define( 'BAD_IP_WP_NAME', trim(dirname(plugin_basename(__FILE__)), '/')); 39 39 define( 'BAD_IP_WP_URL', plugins_url( basename( plugin_dir_path(__FILE__) ), basename( __FILE__ ) )); -
bad-ip-wp/trunk/README.txt
r2312970 r2313427 4 4 Requires at least: 3.0.1 5 5 Tested up to: 5.4.1 6 Stable tag: 1.0. 136 Stable tag: 1.0.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 53 53 54 54 == Changelog == 55 56 = 1.0.2 = 57 * Regular refactoring and optimisation 55 58 56 59 = 1.0.13 = -
bad-ip-wp/trunk/admin/partials/views/page-dashboard.twig
r2312968 r2313427 6 6 7 7 <div class="container-fluid"> 8 {#{{ bad_ips_report_pm|length }}#}9 10 <!-- Page Heading -->11 {#<div class="d-sm-flex align-items-center justify-content-between mb-4">#}12 {#<h1 class="h3 mb-0 text-gray-800">Cards</h1>#}13 {#</div>#}14 8 15 9 <div class="row"> -
bad-ip-wp/trunk/admin/partials/views/page-settings.twig
r2247105 r2313427 5 5 6 6 <div class="container-fluid" style="margin-top: 15px;"> 7 {#{{ bad_ips_report_pm|length }}#}8 9 10 7 11 8 <!-- Page Heading --> 12 {#<div class="d-sm-flex align-items-center justify-content-between mb-4">#}13 {#<h1 class="h3 mb-0 text-gray-800">Cards</h1>#}14 {#</div>#}15 9 <h1 class="h3 mb-4 text-gray-800">Settings</h1> 16 10 17 {#{{ settings|print_r }}#}18 11 <div class="row"> 19 12 … … 56 49 57 50 <form id="form-bad_queries" action=" " method="POST"> 58 {#<input type="checkbox" name="bad_queries" id="bad_queries" checked hidden>#}59 51 <input type="text" name="bad_queries" id="bad_queries" value="{{ settings.bad_queries }}" hidden> 60 52 </form> … … 83 75 84 76 <form id="form-tor" action=" " method="POST"> 85 {#<input type="checkbox" name="tor_block" id="tor_block" checked hidden>#}86 77 <input type="text" name="tor_block" id="tor_block" value="{{ settings.tor_block }}" hidden> 87 78 </form> … … 106 97 107 98 <form id="form-deny-access" action=" " method="POST"> 108 {#<input type="checkbox" name="deny_access" id="deny_access" value="{{ settings.deny_access }}" checked hidden>#}109 99 <input type="text" name="deny_access" id="deny_access" value="{{ settings.deny_access }}" hidden> 110 100 </form> … … 161 151 </a> 162 152 <form id="form-origin" action=" " method="POST"> 163 {#<input type="checkbox" name="deny_access" id="deny_access" value="{{ settings.deny_access }}" checked hidden>#}164 153 <input type="text" name="origin" id="origin" value="{{ settings.origin }}" hidden> 165 154 </form> … … 176 165 </a> 177 166 <form id="form-bot_access" action=" " method="POST"> 178 {#<input type="checkbox" name="deny_access" id="deny_access" value="{{ settings.deny_access }}" checked hidden>#}179 167 <input type="text" name="bot_access" id="bot_access" value="{{ settings.bot_access }}" hidden> 180 168 </form> … … 213 201 214 202 <div class="col-lg-6"> 215 <div class="card col-lg-12"> 203 204 <div class="card col-lg-12"> 216 205 <div class="card-header py-3 d-flex bg-dark flex-row align-items-center justify-content-between"> 217 206 <h6 class="m-0 font-weight-bold text-white">Whitelist | Blacklist</h6> … … 223 212 <span class="text">Save</span> 224 213 </a> 225 226 {# <input type="text" name="origin" id="origin" value="{{ settings.origin }}" hidden> #} 227 </div> 228 <div class="card-body"> 214 215 </div> 216 <div class="card-body"> 229 217 <form id="form-lists" action=" " method="POST"> 230 <div class="row"> 231 <div class="card col-lg-6"> 232 <p>Add IP's that you trust that cannot be reported or blocked</p> 233 <textarea id="whiteListTXT" name="whiteListText" rows="13" class="whitelisttxt" placeholder="Separate IP addresses by space or new line">{% if whiteList %}{{ whiteList }}{% endif %}</textarea> 234 </div> 235 <div class="card col-lg-6"> 236 <p>Add IP's that you want to block from accessing your website</p> 237 <textarea id="blackListTXT" name="blackListText" rows="13" class="blacklisttxt text-white" placeholder="Separate IP addresses by space or new line" style="background-color:black;">{% if blackList %}{{ blackList }}{% endif %}</textarea> 238 </div> 239 </div> 240 </row> 241 </form> 242 </div> 243 </div> 218 <div class="row"> 219 <div class="card col-lg-6"> 220 <p>Add IP's that you trust that cannot be reported or blocked</p> 221 <textarea id="whiteListTXT" name="whiteListText" rows="13" class="whitelisttxt" placeholder="Separate IP addresses by space or new line">{% if whiteList %}{{ whiteList }}{% endif %}</textarea> 222 </div> 223 <div class="card col-lg-6"> 224 <p>Add IP's that you want to block from accessing your website</p> 225 <textarea id="blackListTXT" name="blackListText" rows="13" class="blacklisttxt text-white" placeholder="Separate IP addresses by space or new line" style="background-color:black;">{% if blackList %}{{ blackList }}{% endif %}</textarea> 226 </div> 227 </div> 228 </form> 229 </div> 230 </div> 244 231 245 232 </div> -
bad-ip-wp/trunk/bad_ip_wp.php
r2312970 r2313427 11 11 * Plugin URI: https://bad-ip.iridiumintel.com 12 12 * Description: Protecting from malicious IP addresses visiting and trying to exploit your website with addition to block Tor endpoints 13 * Version: 1.0. 1313 * Version: 1.0.2 14 14 * Author: Iridium Intelligence 15 15 * Author URI: https://iridiumintel.com … … 35 35 * Rename this for your plugin and update it as you release new versions. 36 36 */ 37 define( 'BAD_IP_WP_VERSION', '1.0. 13' );37 define( 'BAD_IP_WP_VERSION', '1.0.2' ); 38 38 define( 'BAD_IP_WP_NAME', trim(dirname(plugin_basename(__FILE__)), '/')); 39 39 define( 'BAD_IP_WP_URL', plugins_url( basename( plugin_dir_path(__FILE__) ), basename( __FILE__ ) ));
Note: See TracChangeset
for help on using the changeset viewer.