Changeset 3217407
- Timestamp:
- 01/06/2025 05:44:55 AM (15 months ago)
- Location:
- upkepr-maintenance/trunk
- Files:
-
- 4 edited
-
adminpage.php (modified) (2 diffs)
-
js/upkepr_script.js (modified) (8 diffs)
-
readme.txt (modified) (2 diffs)
-
vulnerability.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
upkepr-maintenance/trunk/adminpage.php
r3194918 r3217407 121 121 </div> 122 122 <?php endif; ?> 123 <div class="health-report-banner-header" >123 <div class="health-report-banner-header" id="upkrre-Generate-kay"> 124 124 <div class="health-report-header-right"> 125 125 <?php if (empty($isConnected)) : ?> … … 129 129 <?php endif; ?> 130 130 <?php if ($tabSection == 'apikey') : ?> 131 <a href="#popup1" class="primary-btn " class="usButton">Regenerate</a>131 <a href="#popup1" class="primary-btn usButton" class="usButton">Regenerate</a> 132 132 <?php endif; ?> 133 133 </div> -
upkepr-maintenance/trunk/js/upkepr_script.js
r3202208 r3217407 2 2 document.addEventListener('DOMContentLoaded', function() { 3 3 //updateLinkActiveOnScroll(); 4 if (window.location.hash == '#popup1') { 5 scrollToPopup(); 6 } 7 8 // Add click event listener to the Regenerate button 9 const regenerateButton = document.querySelector('a.primary-btn.usButton'); 10 if (regenerateButton) { 11 regenerateButton.addEventListener('click', function (event) { 12 scrollToPopup(); 13 jQuery('a.primary-btn.usButton').trigger('click'); 14 }); 15 } 4 16 }); 17 function scrollToPopup() { 18 const popupElement = document.querySelector('#upkrre-Generate-kay'); 19 if (popupElement) { 20 popupElement.scrollIntoView({ 21 behavior: 'smooth', 22 block: 'start', 23 }); 24 } 25 } 5 26 function UPKPR_copykey() { 6 27 var copyText = document.getElementById("upkepr_maintainance_validationkey"); … … 88 109 89 110 if (respose.status == 1 && respose.type == 'get_details') { 90 var text = "Project Configured, Kindly scan now for fetch details"; 111 var text = ""; 112 113 jQuery('#upkpr-Modal .coonection-with-upkepr-outer').hide(); 114 // var text = "Project Configured, Kindly scan now for fetch details"; 91 115 jQuery('#upkpr-Modal').find('.step1').addClass('completed'); 92 116 jQuery('#upkpr-Modal').find('.step2').addClass('completed'); … … 95 119 jQuery('#upkpr-Modal').find('.step2-key').hide(); 96 120 jQuery('#upkpr-Modal').find('.step-for-link').hide(); 97 jQuery('#upkpr-Modal').find('.step3').addClass('active'); 121 //jQuery('#upkpr-Modal').find('.step3').addClass('active'); 122 jQuery('.coonection-with-upkepr-right').hide(); 123 jQuery('#upkpr-Modal .model-body').hide(); 98 124 jQuery(eventhis).hide(); 99 125 UPKPR_OpneModal(text,type, eventhis); … … 117 143 118 144 } else { 145 jQuery('#upkpr-Modal .coonection-with-upkepr-outer').show(); 119 146 jQuery('#upkpr-Modal').find('.step-for-link').hide(); 120 147 if (respose.message == 'Website is not added.') { … … 174 201 175 202 if (respose.status == 1 && respose.type == 'get_details') { 176 var text = "Project Configured, Kindly scan now for fetch details"; 203 //var text = "Project Configured, Kindly scan now for fetch details"; 204 var text = ""; 205 jQuery('.coonection-with-upkepr-right').hide(); 206 jQuery('#upkpr-Modal .model-body').hide(); 177 207 jQuery('.upkprLoadListToCheckConnected').show(); 178 208 jQuery('.upkprLoadListToCheckConnected').html(`<div class="list siteAdded"><span class="connect-list-icon check active"><i class="fa-solid fa-check"></i></span><p>Site is added on UpKepr</p></div> … … 298 328 299 329 function updateLinkActiveOnScroll(){ 330 300 331 const links = document.querySelectorAll(".vulnerabiliti-side-link a[data-class]"); 301 332 const sections = Array.from(links).map(link => … … 305 336 entries.forEach(entry => { 306 337 if (entry.isIntersecting) { 307 if(entry.intersectionRatio >= 0. 5){338 if(entry.intersectionRatio >= 0.6 ){ 308 339 309 340 const visibleThreshold = entry.intersectionRatio; … … 325 356 } 326 357 }); 327 }, { threshold: [0. 5, 0.1] });358 }, { threshold: [0.6, 0.1] }); 328 359 sections.forEach(section => { 329 360 if (section) observer.observe(section); -
upkepr-maintenance/trunk/readme.txt
r3202403 r3217407 5 5 Tested up to: 6.7.1 6 6 Requires PHP: 7.1 7 Stable tag: 1.0. 87 Stable tag: 1.0.9 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 139 139 === Changelog === 140 140 141 = 1.0.9 = 142 * Further improvements 143 * Autoscaning improvements 144 145 = 1.0.8 = 146 * Further improvements 147 * Bugs fixes 148 141 149 = 1.0.7 = 142 150 * Further improvements -
upkepr-maintenance/trunk/vulnerability.php
r3202360 r3217407 16 16 * Plugin Name: Vulnerability Detector & Plugin Manager 17 17 * Description: "Vulnerability Detector & Plugin Manager" is a WordPress plugin that allows Upkepr applications to stay connected with the website. 18 * Version: 1.0. 818 * Version: 1.0.9 19 19 * Author: Upkepr 20 20 * Author URI: https://upkepr.com/
Note: See TracChangeset
for help on using the changeset viewer.