Plugin Directory

Changeset 3217407


Ignore:
Timestamp:
01/06/2025 05:44:55 AM (15 months ago)
Author:
webgarh
Message:

Update version 1.0.9

Location:
upkepr-maintenance/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • upkepr-maintenance/trunk/adminpage.php

    r3194918 r3217407  
    121121                                        </div>
    122122                                    <?php endif; ?>
    123                                     <div class="health-report-banner-header">
     123                                    <div class="health-report-banner-header" id="upkrre-Generate-kay">
    124124                                        <div class="health-report-header-right">
    125125                                            <?php if (empty($isConnected)) : ?>
     
    129129                                            <?php endif; ?>
    130130                                            <?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>
    132132                                            <?php endif; ?>
    133133                                        </div>
  • upkepr-maintenance/trunk/js/upkepr_script.js

    r3202208 r3217407  
    22document.addEventListener('DOMContentLoaded', function() {
    33    //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    }
    416});
     17function scrollToPopup() {
     18    const popupElement = document.querySelector('#upkrre-Generate-kay');
     19    if (popupElement) {
     20        popupElement.scrollIntoView({
     21            behavior: 'smooth',
     22            block: 'start',
     23        });
     24    }
     25}
    526function UPKPR_copykey() {
    627    var copyText = document.getElementById("upkepr_maintainance_validationkey");
     
    88109
    89110            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";
    91115                jQuery('#upkpr-Modal').find('.step1').addClass('completed');
    92116                jQuery('#upkpr-Modal').find('.step2').addClass('completed');
     
    95119                jQuery('#upkpr-Modal').find('.step2-key').hide();
    96120                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();
    98124                jQuery(eventhis).hide();
    99125                UPKPR_OpneModal(text,type, eventhis);
     
    117143
    118144            } else {
     145                jQuery('#upkpr-Modal .coonection-with-upkepr-outer').show();
    119146                jQuery('#upkpr-Modal').find('.step-for-link').hide();
    120147                if (respose.message == 'Website is not added.') {
     
    174201
    175202            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();
    177207                jQuery('.upkprLoadListToCheckConnected').show();
    178208                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>
     
    298328
    299329function updateLinkActiveOnScroll(){
     330   
    300331    const links = document.querySelectorAll(".vulnerabiliti-side-link a[data-class]");
    301332    const sections = Array.from(links).map(link =>
     
    305336        entries.forEach(entry => {
    306337            if (entry.isIntersecting) {
    307                 if(entry.intersectionRatio >= 0.5 ){
     338                if(entry.intersectionRatio >= 0.6 ){
    308339                   
    309340                    const visibleThreshold = entry.intersectionRatio;
     
    325356            }
    326357        });
    327     }, { threshold: [0.5, 0.1] });
     358    }, { threshold: [0.6, 0.1] });
    328359    sections.forEach(section => {
    329360        if (section) observer.observe(section);
  • upkepr-maintenance/trunk/readme.txt

    r3202403 r3217407  
    55Tested up to: 6.7.1
    66Requires PHP: 7.1
    7 Stable tag: 1.0.8
     7Stable tag: 1.0.9
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    139139=== Changelog ===
    140140
     141= 1.0.9 =
     142* Further improvements
     143* Autoscaning improvements
     144
     145= 1.0.8 =
     146* Further improvements
     147* Bugs fixes
     148
    141149= 1.0.7 =
    142150* Further improvements
  • upkepr-maintenance/trunk/vulnerability.php

    r3202360 r3217407  
    1616 * Plugin Name:       Vulnerability Detector & Plugin Manager
    1717 * Description:       "Vulnerability Detector & Plugin Manager" is a WordPress plugin that allows Upkepr applications to stay connected with the website.
    18  * Version:           1.0.8
     18 * Version:           1.0.9
    1919 * Author:            Upkepr
    2020 * Author URI:        https://upkepr.com/
Note: See TracChangeset for help on using the changeset viewer.