Changeset 3461476
- Timestamp:
- 02/14/2026 07:07:57 PM (6 weeks ago)
- Location:
- spamanvil
- Files:
-
- 8 edited
- 1 copied
-
tags/1.1.2 (copied) (copied from spamanvil/trunk)
-
tags/1.1.2/admin/css/admin.css (modified) (2 diffs)
-
tags/1.1.2/admin/views/settings-stats.php (modified) (1 diff)
-
tags/1.1.2/readme.txt (modified) (2 diffs)
-
tags/1.1.2/spamanvil.php (modified) (2 diffs)
-
trunk/admin/css/admin.css (modified) (2 diffs)
-
trunk/admin/views/settings-stats.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/spamanvil.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spamanvil/tags/1.1.2/admin/css/admin.css
r3461369 r3461476 66 66 color: #646970; 67 67 margin-top: 4px; 68 } 69 70 /* Hero Banner */ 71 .spamanvil-hero-banner { 72 background: linear-gradient(135deg, #1d2327 0%, #2c3338 100%); 73 border-radius: 8px; 74 padding: 40px 30px; 75 text-align: center; 76 margin-bottom: 30px; 77 } 78 79 .spamanvil-hero-number { 80 font-size: 72px; 81 font-weight: 800; 82 color: #fff; 83 line-height: 1; 84 letter-spacing: -2px; 85 } 86 87 .spamanvil-hero-label { 88 font-size: 20px; 89 font-weight: 600; 90 color: #d63638; 91 margin-top: 8px; 92 text-transform: uppercase; 93 letter-spacing: 2px; 94 } 95 96 .spamanvil-hero-breakdown { 97 font-size: 14px; 98 color: #a7aaad; 99 margin-top: 16px; 100 } 101 102 .spamanvil-hero-breakdown strong { 103 color: #fff; 68 104 } 69 105 … … 350 386 /* Responsive */ 351 387 @media screen and (max-width: 782px) { 388 .spamanvil-hero-banner { 389 padding: 30px 20px; 390 } 391 392 .spamanvil-hero-number { 393 font-size: 48px; 394 } 395 396 .spamanvil-hero-label { 397 font-size: 16px; 398 } 399 400 .spamanvil-hero-breakdown { 401 font-size: 12px; 402 } 403 352 404 .spamanvil-stats-grid { 353 405 grid-template-columns: repeat(2, 1fr); -
spamanvil/tags/1.1.2/admin/views/settings-stats.php
r3461369 r3461476 9 9 $summary = $this->stats->get_summary( 30 ); 10 10 $daily = $this->stats->get_daily( 30 ); 11 12 $alltime_spam = $this->stats->get_total( 'spam_detected' ); 13 $alltime_heuristic = $this->stats->get_total( 'heuristic_blocked' ); 14 $alltime_ip = $this->stats->get_total( 'ip_blocked' ); 15 $alltime_blocked = $alltime_spam + $alltime_heuristic + $alltime_ip; 11 16 ?> 17 18 <div class="spamanvil-hero-banner"> 19 <div class="spamanvil-hero-number"><?php echo esc_html( number_format_i18n( $alltime_blocked ) ); ?></div> 20 <div class="spamanvil-hero-label"><?php esc_html_e( 'Spam Comments Blocked', 'spamanvil' ); ?></div> 21 <div class="spamanvil-hero-breakdown"> 22 <?php 23 printf( 24 /* translators: 1: LLM spam count, 2: heuristic count, 3: IP blocked count */ 25 esc_html__( '%1$s by AI | %2$s by Heuristics | %3$s by IP Blocking', 'spamanvil' ), 26 '<strong>' . esc_html( number_format_i18n( $alltime_spam ) ) . '</strong>', 27 '<strong>' . esc_html( number_format_i18n( $alltime_heuristic ) ) . '</strong>', 28 '<strong>' . esc_html( number_format_i18n( $alltime_ip ) ) . '</strong>' 29 ); 30 ?> 31 </div> 32 </div> 33 34 <h2><?php esc_html_e( 'Last 30 Days', 'spamanvil' ); ?></h2> 12 35 13 36 <div class="spamanvil-stats-grid"> -
spamanvil/tags/1.1.2/readme.txt
r3461389 r3461476 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 1.1. 18 Stable tag: 1.1.2 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 211 211 == Changelog == 212 212 213 = 1.1.2 = 214 * Feature: All-time "Spam Comments Blocked" hero banner on Statistics page with AI, heuristic, and IP blocking breakdown 215 * Enhancement: 30-day stats now clearly labeled under a "Last 30 Days" heading 216 213 217 = 1.1.1 = 214 218 * Feature: Data preservation on uninstall — settings, stats, logs, and blocked IPs are kept by default when reinstalling -
spamanvil/tags/1.1.2/spamanvil.php
r3461389 r3461476 4 4 * Plugin URI: https://software.amato.com.br/spamanvil-antispam-plugin-for-wordpress/ 5 5 * Description: Blocks comment spam using AI/LLM services with support for multiple providers, async processing, and intelligent heuristics. 6 * Version: 1.1. 16 * Version: 1.1.2 7 7 * Requires at least: 5.8 8 8 * Requires PHP: 7.4 … … 19 19 } 20 20 21 define( 'SPAMANVIL_VERSION', '1.1. 1' );21 define( 'SPAMANVIL_VERSION', '1.1.2' ); 22 22 define( 'SPAMANVIL_DB_VERSION', '1.0.0' ); 23 23 define( 'SPAMANVIL_PLUGIN_FILE', __FILE__ ); -
spamanvil/trunk/admin/css/admin.css
r3461369 r3461476 66 66 color: #646970; 67 67 margin-top: 4px; 68 } 69 70 /* Hero Banner */ 71 .spamanvil-hero-banner { 72 background: linear-gradient(135deg, #1d2327 0%, #2c3338 100%); 73 border-radius: 8px; 74 padding: 40px 30px; 75 text-align: center; 76 margin-bottom: 30px; 77 } 78 79 .spamanvil-hero-number { 80 font-size: 72px; 81 font-weight: 800; 82 color: #fff; 83 line-height: 1; 84 letter-spacing: -2px; 85 } 86 87 .spamanvil-hero-label { 88 font-size: 20px; 89 font-weight: 600; 90 color: #d63638; 91 margin-top: 8px; 92 text-transform: uppercase; 93 letter-spacing: 2px; 94 } 95 96 .spamanvil-hero-breakdown { 97 font-size: 14px; 98 color: #a7aaad; 99 margin-top: 16px; 100 } 101 102 .spamanvil-hero-breakdown strong { 103 color: #fff; 68 104 } 69 105 … … 350 386 /* Responsive */ 351 387 @media screen and (max-width: 782px) { 388 .spamanvil-hero-banner { 389 padding: 30px 20px; 390 } 391 392 .spamanvil-hero-number { 393 font-size: 48px; 394 } 395 396 .spamanvil-hero-label { 397 font-size: 16px; 398 } 399 400 .spamanvil-hero-breakdown { 401 font-size: 12px; 402 } 403 352 404 .spamanvil-stats-grid { 353 405 grid-template-columns: repeat(2, 1fr); -
spamanvil/trunk/admin/views/settings-stats.php
r3461369 r3461476 9 9 $summary = $this->stats->get_summary( 30 ); 10 10 $daily = $this->stats->get_daily( 30 ); 11 12 $alltime_spam = $this->stats->get_total( 'spam_detected' ); 13 $alltime_heuristic = $this->stats->get_total( 'heuristic_blocked' ); 14 $alltime_ip = $this->stats->get_total( 'ip_blocked' ); 15 $alltime_blocked = $alltime_spam + $alltime_heuristic + $alltime_ip; 11 16 ?> 17 18 <div class="spamanvil-hero-banner"> 19 <div class="spamanvil-hero-number"><?php echo esc_html( number_format_i18n( $alltime_blocked ) ); ?></div> 20 <div class="spamanvil-hero-label"><?php esc_html_e( 'Spam Comments Blocked', 'spamanvil' ); ?></div> 21 <div class="spamanvil-hero-breakdown"> 22 <?php 23 printf( 24 /* translators: 1: LLM spam count, 2: heuristic count, 3: IP blocked count */ 25 esc_html__( '%1$s by AI | %2$s by Heuristics | %3$s by IP Blocking', 'spamanvil' ), 26 '<strong>' . esc_html( number_format_i18n( $alltime_spam ) ) . '</strong>', 27 '<strong>' . esc_html( number_format_i18n( $alltime_heuristic ) ) . '</strong>', 28 '<strong>' . esc_html( number_format_i18n( $alltime_ip ) ) . '</strong>' 29 ); 30 ?> 31 </div> 32 </div> 33 34 <h2><?php esc_html_e( 'Last 30 Days', 'spamanvil' ); ?></h2> 12 35 13 36 <div class="spamanvil-stats-grid"> -
spamanvil/trunk/readme.txt
r3461389 r3461476 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 1.1. 18 Stable tag: 1.1.2 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 211 211 == Changelog == 212 212 213 = 1.1.2 = 214 * Feature: All-time "Spam Comments Blocked" hero banner on Statistics page with AI, heuristic, and IP blocking breakdown 215 * Enhancement: 30-day stats now clearly labeled under a "Last 30 Days" heading 216 213 217 = 1.1.1 = 214 218 * Feature: Data preservation on uninstall — settings, stats, logs, and blocked IPs are kept by default when reinstalling -
spamanvil/trunk/spamanvil.php
r3461389 r3461476 4 4 * Plugin URI: https://software.amato.com.br/spamanvil-antispam-plugin-for-wordpress/ 5 5 * Description: Blocks comment spam using AI/LLM services with support for multiple providers, async processing, and intelligent heuristics. 6 * Version: 1.1. 16 * Version: 1.1.2 7 7 * Requires at least: 5.8 8 8 * Requires PHP: 7.4 … … 19 19 } 20 20 21 define( 'SPAMANVIL_VERSION', '1.1. 1' );21 define( 'SPAMANVIL_VERSION', '1.1.2' ); 22 22 define( 'SPAMANVIL_DB_VERSION', '1.0.0' ); 23 23 define( 'SPAMANVIL_PLUGIN_FILE', __FILE__ );
Note: See TracChangeset
for help on using the changeset viewer.