Plugin Directory

Changeset 2822852


Ignore:
Timestamp:
11/23/2022 12:13:15 PM (3 years ago)
Author:
supportcandy
Message:

version 3.1.0

Location:
supportcandy
Files:
623 added
1 deleted
64 edited

Legend:

Unmodified
Added
Removed
  • supportcandy/trunk/class-wpsc-installation.php

    r2798663 r2822852  
    295295                    bcc_email TEXT NULL DEFAULT NULL,
    296296                    attachments TEXT NULL DEFAULT NULL,
     297                    priority INT(1) NOT NULL DEFAULT 1,
    297298                    attempt INT(1) DEFAULT 0,
    298299                    PRIMARY KEY (id)
  • supportcandy/trunk/framework/scripts.js

    r2767919 r2822852  
    25312531    jQuery( '.wpsc-ticket-list' ).html( supportcandy.loader_html );
    25322532
    2533     wpsc_scroll_top();
    2534 
    25352533    var data = {
    25362534        action: 'wpsc_get_tickets',
  • supportcandy/trunk/includes/admin/agent-settings/class-wpsc-agent-leaves.php

    r2793251 r2822852  
    4242            <div class="wpsc-setting-header"><h2><?php esc_attr_e( 'Leaves', 'supportcandy' ); ?></h2></div>
    4343            <div class="wpsc-setting-section-body">
     44                <div class="wpsc-dock-container">
     45                    <?php
     46                    printf(
     47                        /* translators: Click here to see the documentation */
     48                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     49                        '<a href="https://supportcandy.net/docs/working-hours/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     50                    );
     51                    ?>
     52                </div>
    4453                <div id="wpsc-calendar"></div>
    4554                <script>
  • supportcandy/trunk/includes/admin/agent-settings/class-wpsc-agent-roles.php

    r2793251 r2822852  
    4646            </div>
    4747            <div class="wpsc-setting-section-body">
     48                <div class="wpsc-dock-container">
     49                    <?php
     50                    printf(
     51                        /* translators: Click here to see the documentation */
     52                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     53                        '<a href="https://supportcandy.net/docs/add-new-agent-role/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     54                    );
     55                    ?>
     56                </div>
    4857                <div class="wpsc-setting-cards-container">
    4958                    <div style="width: 100%;">
  • supportcandy/trunk/includes/admin/agent-settings/class-wpsc-agent-settings.php

    r2793251 r2822852  
    7373
    7474            <div class="wpsc-setting-section-body">
     75                <div class="wpsc-dock-container">
     76                    <?php
     77                    printf(
     78                        /* translators: Click here to see the documentation */
     79                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     80                        '<a href="https://supportcandy.net/docs/add-new-agent/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     81                    );
     82                    ?>
     83                </div>
    7584                <div class="wpsc-setting-cards-container">
    7685                    <div style="width: 100%;">
  • supportcandy/trunk/includes/admin/agent-settings/class-wpsc-agent-working-hrs.php

    r2793251 r2822852  
    179179
    180180            <form action="#" onsubmit="return false;" class="wpsc-frm-agent-wh">
     181                <div class="wpsc-dock-container">
     182                    <?php
     183                    printf(
     184                        /* translators: Click here to see the documentation */
     185                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     186                        '<a href="https://supportcandy.net/docs/working-hours/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     187                    );
     188                    ?>
     189                </div>
    181190                <table class="wpsc-working-hrs">
    182191                <?php
     
    362371            ?>
    363372
     373            <div class="wpsc-dock-container">
     374                <?php
     375                printf(
     376                    /* translators: Click here to see the documentation */
     377                    esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     378                    '<a href="https://supportcandy.net/docs/working-hours/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     379                );
     380                ?>
     381            </div>
    364382            <table class="wpsc-setting-tbl <?php echo esc_attr( $unique_id ); ?>">
    365383                <thead>
  • supportcandy/trunk/includes/admin/class-wpsc-admin.php

    r2793251 r2822852  
    7171
    7272            // selectWoo.
    73             wp_enqueue_script( 'selectWoo', WPSC_PLUGIN_URL . 'asset/js/selectWoo.full.min.js', array( 'jquery' ), WPSC_VERSION, true );
     73            wp_enqueue_script( 'selectWoo', WPSC_PLUGIN_URL . 'asset/js/selectWoo/selectWoo.full.min.js', array( 'jquery' ), WPSC_VERSION, true );
     74            if ( file_exists( WPSC_ABSPATH . 'asset/js/selectWoo/i18n/' . get_locale() . '.js' ) ) {
     75                wp_enqueue_script( 'selectWoo-lang', WPSC_PLUGIN_URL . 'asset/js/selectWoo/i18n/' . get_locale() . '.js', array( 'jquery' ), WPSC_VERSION, true );
     76            }
    7477            wp_enqueue_style( 'select2', WPSC_PLUGIN_URL . 'asset/css/select2.css', array(), WPSC_VERSION );
    7578
     
    257260                ),
    258261                'temp'                    => array(),
     262                'home_url'                => home_url(),
    259263            );
    260264
  • supportcandy/trunk/includes/admin/custom-fields/class-wpsc-aof.php

    r2793251 r2822852  
    6969            </div>
    7070            <div class="wpsc-setting-section-body">
     71                <div class="wpsc-dock-container">
     72                    <?php
     73                    printf(
     74                        /* translators: Click here to see the documentation */
     75                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     76                        '<a href="https://supportcandy.net/docs/agent-only-fields/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     77                    );
     78                    ?>
     79                </div>
    7180                <table class="ticket-fields wpsc-setting-tbl">
    7281                    <thead>
  • supportcandy/trunk/includes/admin/custom-fields/class-wpsc-cf.php

    r2793251 r2822852  
    6969            </div>
    7070            <div class="wpsc-setting-section-body">
     71                <div class="wpsc-dock-container">
     72                    <?php
     73                    printf(
     74                        /* translators: Click here to see the documentation */
     75                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     76                        '<a href="https://supportcandy.net/docs/customer-fields/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     77                    );
     78                    ?>
     79                </div>
    7180                <table class="ticket-fields wpsc-setting-tbl">
    7281                    <thead>
  • supportcandy/trunk/includes/admin/custom-fields/class-wpsc-tf.php

    r2793251 r2822852  
    6666
    6767            <div class="wpsc-setting-section-body">
     68                <div class="wpsc-dock-container">
     69                    <?php
     70                    printf(
     71                        /* translators: Click here to see the documentation */
     72                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     73                        '<a href="https://supportcandy.net/docs/ticket-fields/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     74                    );
     75                    ?>
     76                </div>
    6877                <table class="ticket-fields wpsc-setting-tbl">
    6978                    <thead>
  • supportcandy/trunk/includes/admin/custom-fields/class-wpsc-tff.php

    r2793251 r2822852  
    5656            </div>
    5757            <div class="wpsc-setting-section-body">
     58                <div class="wpsc-dock-container">
     59                    <?php
     60                    printf(
     61                        /* translators: Click here to see the documentation */
     62                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     63                        '<a href="https://supportcandy.net/docs/ticket-form-fields/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     64                    );
     65                    ?>
     66                </div>
    5867                <table class="form-fields wpsc-setting-tbl">
    5968                    <thead>
  • supportcandy/trunk/includes/admin/customers/class-wpsc-customers.php

    r2793251 r2822852  
    538538                <div class="thread-avatar">
    539539                    <?php
    540                     echo get_avatar( $customer->email, 32, 'gravatar_default' );
     540                    echo get_avatar( $customer->email, 32 );
    541541                    ?>
    542542                </div>
  • supportcandy/trunk/includes/admin/email-notifications/class-wpsc-en-add-private-note.php

    r2763565 r2822852  
    141141                        'bcc_email'   => implode( '|', $en->bcc ),
    142142                        'attachments' => implode( '|', $attachment_ids ),
     143                        'priority'    => 1,
    143144                    )
    144145                );
  • supportcandy/trunk/includes/admin/email-notifications/class-wpsc-en-assign-agent.php

    r2763565 r2822852  
    115115                        'cc_email'   => implode( '|', $en->cc ),
    116116                        'bcc_email'  => implode( '|', $en->bcc ),
     117                        'priority'   => 2,
    117118                    )
    118119                );
  • supportcandy/trunk/includes/admin/email-notifications/class-wpsc-en-change-ticket-category.php

    r2763565 r2822852  
    110110                        'cc_email'   => implode( '|', $en->cc ),
    111111                        'bcc_email'  => implode( '|', $en->bcc ),
     112                        'priority'   => 2,
    112113                    )
    113114                );
  • supportcandy/trunk/includes/admin/email-notifications/class-wpsc-en-change-ticket-priority.php

    r2763565 r2822852  
    110110                        'cc_email'   => implode( '|', $en->cc ),
    111111                        'bcc_email'  => implode( '|', $en->bcc ),
     112                        'priority'   => 2,
    112113                    )
    113114                );
  • supportcandy/trunk/includes/admin/email-notifications/class-wpsc-en-change-ticket-status.php

    r2763565 r2822852  
    109109                        'cc_email'   => implode( '|', $en->cc ),
    110110                        'bcc_email'  => implode( '|', $en->bcc ),
     111                        'priority'   => 2,
    111112                    )
    112113                );
  • supportcandy/trunk/includes/admin/email-notifications/class-wpsc-en-create-ticket.php

    r2773484 r2822852  
    132132                        'bcc_email'   => implode( '|', $en->bcc ),
    133133                        'attachments' => implode( '|', $attachment_ids ),
     134                        'priority'    => 1,
    134135                    )
    135136                );
  • supportcandy/trunk/includes/admin/email-notifications/class-wpsc-en-delete-ticket.php

    r2763565 r2822852  
    9191                        'cc_email'   => implode( '|', $en->cc ),
    9292                        'bcc_email'  => implode( '|', $en->bcc ),
     93                        'priority'   => 2,
    9394                    )
    9495                );
  • supportcandy/trunk/includes/admin/email-notifications/class-wpsc-en-guest-login-otp.php

    r2793251 r2822852  
    5656            <div class="wpsc-setting-section-body">
    5757                <form action="#" onsubmit="return false;" class="wpsc-frm-en-guest-login-otp">
     58                    <div class="wpsc-dock-container">
     59                        <?php
     60                        printf(
     61                            /* translators: Click here to see the documentation */
     62                            esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     63                            '<a href="https://supportcandy.net/docs/guest-login-otp/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     64                        );
     65                        ?>
     66                    </div>
    5867                    <div class="wpsc-input-group">
    5968                        <div class="label-container"><label for=""><?php esc_attr_e( 'Subject', 'supportcandy' ); ?></label></div>
  • supportcandy/trunk/includes/admin/email-notifications/class-wpsc-en-reply-ticket.php

    r2763565 r2822852  
    141141                        'bcc_email'   => implode( '|', $en->bcc ),
    142142                        'attachments' => implode( '|', $attachment_ids ),
     143                        'priority'    => 1,
    143144                    )
    144145                );
  • supportcandy/trunk/includes/admin/email-notifications/class-wpsc-en-settings-gs.php

    r2793251 r2822852  
    5454            </div>
    5555            <div class="wpsc-setting-section-body">
     56                <div class="wpsc-dock-container">
     57                    <?php
     58                    printf(
     59                        /* translators: Click here to see the documentation */
     60                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     61                        '<a href="https://supportcandy.net/docs/email-notification-settings/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     62                    );
     63                    ?>
     64                </div>
    5665                <form action="#" onsubmit="return false;" class="wpsc-frm-en-general">
    5766                    <div class="wpsc-input-group">
  • supportcandy/trunk/includes/admin/email-notifications/class-wpsc-en-settings-tn.php

    r2793251 r2822852  
    106106            </div>
    107107            <div class="wpsc-setting-section-body">
     108                <div class="wpsc-dock-container">
     109                    <?php
     110                    printf(
     111                        /* translators: Click here to see the documentation */
     112                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     113                        '<a href="https://supportcandy.net/docs/ticket-notifications/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     114                    );
     115                    ?>
     116                </div>
    108117                <table class="ticket-notification-list wpsc-setting-tbl">
    109118                    <thead>
  • supportcandy/trunk/includes/admin/email-notifications/class-wpsc-en-user-reg-otp.php

    r2793251 r2822852  
    5656            <div class="wpsc-setting-section-body">
    5757                <form action="#" onsubmit="return false;" class="wpsc-frm-en-user-reg-otp">
     58                    <div class="wpsc-dock-container">
     59                        <?php
     60                        printf(
     61                            /* translators: Click here to see the documentation */
     62                            esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     63                            '<a href="https://supportcandy.net/docs/user-registration-otp/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     64                        );
     65                        ?>
     66                    </div>
    5867                    <div class="wpsc-input-group">
    5968                        <div class="label-container"><label for=""><?php esc_attr_e( 'Subject', 'supportcandy' ); ?></label></div>
  • supportcandy/trunk/includes/admin/misc/class-wpsc-license.php

    r2763565 r2822852  
    1313         * @return void
    1414         */
    15         public static function init() {}
     15        public static function init() {
     16
     17            add_action( 'wp_ajax_wpsc_license_sync', array( __CLASS__, 'sync_licenses' ) );
     18        }
    1619
    1720        /**
     
    2528                <hr class="wp-header-end">
    2629                <div id="wpsc-container">
    27                     <h1><?php esc_attr_e( 'Licenses', 'supportcandy' ); ?></h1>
     30                    <h1>
     31                        <?php esc_attr_e( 'Licenses', 'supportcandy' ); ?>
     32                        <button class="sync page-title-action"><?php esc_attr_e( 'Sync', 'supportcandy' ); ?></button>
     33                    </h1>
    2834                </div>
    2935                <p><?php esc_attr_e( 'Activate license keys for add-ons in order to get support and updates.', 'supportcandy' ); ?></p>
     
    3238                </div>
    3339            </div>
     40            <script>
     41                jQuery(document).ready(function(){
     42                    jQuery('button.sync').click(function(){
     43                        jQuery(this).text(supportcandy.translations.please_wait);
     44                        const data = { action: 'wpsc_license_sync' };
     45                        jQuery.post(supportcandy.ajax_url, data, function (response) {
     46                            window.location.reload();
     47                        });
     48                    });
     49                });
     50            </script>
    3451            <?php
     52        }
     53
     54        /**
     55         * Sync licenses
     56         *
     57         * @return void
     58         */
     59        public static function sync_licenses() {
     60
     61            if ( ! WPSC_Functions::is_site_admin() ) {
     62                wp_send_json_error( __( 'Unauthorized access!', 'supportcandy' ) );
     63            }
     64
     65            do_action( 'wpsc_license_checker' );
     66            wp_die();
    3567        }
    3668    }
  • supportcandy/trunk/includes/admin/settings/class-wpsc-ticket-categories.php

    r2793251 r2822852  
    4646            </div>
    4747            <div class="wpsc-setting-section-body">
     48                <div class="wpsc-dock-container">
     49                    <?php
     50                    printf(
     51                        /* translators: Click here to see the documentation */
     52                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     53                        '<a href="https://supportcandy.net/docs/ticket-categories/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     54                    );
     55                    ?>
     56                </div>
    4857                <table class="wpsc-ticket-categories wpsc-setting-tbl">
    4958                    <thead>
  • supportcandy/trunk/includes/admin/settings/class-wpsc-ticket-priorities.php

    r2793251 r2822852  
    4747            </div>
    4848            <div class="wpsc-setting-section-body">
    49 
     49                <div class="wpsc-dock-container">
     50                    <?php
     51                    printf(
     52                        /* translators: Click here to see the documentation */
     53                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     54                        '<a href="https://supportcandy.net/docs/ticket-priorities/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     55                    );
     56                    ?>
     57                </div>
    5058                <table class="wpsc-ticket-priorities wpsc-setting-tbl">
    5159                    <thead>
  • supportcandy/trunk/includes/admin/settings/class-wpsc-ticket-statuses.php

    r2793251 r2822852  
    5050            </div>
    5151            <div class="wpsc-setting-section-body">
     52                <div class="wpsc-dock-container">
     53                    <?php
     54                    printf(
     55                        /* translators: Click here to see the documentation */
     56                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     57                        '<a href="https://supportcandy.net/docs/ticket-statuses/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     58                    );
     59                    ?>
     60                </div>
    5261                <table class="wpsc-ticket-statuses wpsc-setting-tbl">
    5362                    <thead>
  • supportcandy/trunk/includes/admin/settings/class-wpsc-ticket-widgets.php

    r2793251 r2822852  
    3737            </div>
    3838            <div class="wpsc-setting-section-body">
     39                <div class="wpsc-dock-container">
     40                    <?php
     41                    printf(
     42                        /* translators: Click here to see the documentation */
     43                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     44                        '<a href="https://supportcandy.net/docs/ticket-widget-settings/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     45                    );
     46                    ?>
     47                </div>
    3948                <div class="wpsc-setting-cards-container ui-sortable">
    4049                    <?php
  • supportcandy/trunk/includes/admin/settings/general-settings/class-wpsc-gs-file-attachments.php

    r2793251 r2822852  
    5858
    5959            <form action="#" onsubmit="return false;" class="wpsc-frm-gs-fa">
     60                <div class="wpsc-dock-container">
     61                    <?php
     62                    printf(
     63                        /* translators: Click here to see the documentation */
     64                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     65                        '<a href="https://supportcandy.net/docs/file-attachments/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     66                    );
     67                    ?>
     68                </div>
    6069                <div class="wpsc-input-group">
    6170                    <div class="label-container">
  • supportcandy/trunk/includes/admin/settings/general-settings/class-wpsc-gs-general.php

    r2793251 r2822852  
    9191
    9292            <form action="#" onsubmit="return false;" class="wpsc-frm-gs-general">
     93                <div class="wpsc-dock-container">
     94                    <?php
     95                    printf(
     96                        /* translators: Click here to see the documentation */
     97                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     98                        '<a href="https://supportcandy.net/docs/general-settings/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     99                    );
     100                    ?>
     101                </div>
    93102                <div class="wpsc-input-group">
    94103                    <div class="label-container">
  • supportcandy/trunk/includes/admin/settings/general-settings/class-wpsc-gs-page-settings.php

    r2793251 r2822852  
    7070
    7171            <form action="#" onsubmit="return false;" class="wpsc-frm-gs-ps">
     72                <div class="wpsc-dock-container">
     73                    <?php
     74                    printf(
     75                        /* translators: Click here to see the documentation */
     76                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     77                        '<a href="https://supportcandy.net/docs/page-settings/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     78                    );
     79                    ?>
     80                </div>
    7281                <div class="wpsc-input-group">
    7382                    <div class="label-container">
  • supportcandy/trunk/includes/admin/settings/general-settings/class-wpsc-gs-thankyou-page-settings.php

    r2793251 r2822852  
    5555
    5656            <form action="#" onsubmit="return false;" class="wpsc-frm-gs-thankyoupage">
     57                <div class="wpsc-dock-container">
     58                    <?php
     59                    printf(
     60                        /* translators: Click here to see the documentation */
     61                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     62                        '<a href="https://supportcandy.net/docs/thank-you-page/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     63                    );
     64                    ?>
     65                </div>
    5766                <div class="wpsc-input-group">
    5867                    <div class="label-container">
  • supportcandy/trunk/includes/admin/settings/miscellaneous-settings/class-wpsc-ms-advanced.php

    r2793251 r2822852  
    8686
    8787            <form action="#" onsubmit="return false;" class="wpsc-frm-ms-advanced">
     88                <div class="wpsc-dock-container">
     89                    <?php
     90                    printf(
     91                        /* translators: Click here to see the documentation */
     92                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     93                        '<a href="https://supportcandy.net/docs/advanced-settings/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     94                    );
     95                    ?>
     96                </div>
    8897                <div class="wpsc-input-group">
    8998                    <div class="label-container">
  • supportcandy/trunk/includes/admin/settings/miscellaneous-settings/class-wpsc-ms-gdpr.php

    r2793251 r2822852  
    6969
    7070            <form action="#" onsubmit="return false;" class="wpsc-frm-ms-gdpr">
     71                <div class="wpsc-dock-container">
     72                    <?php
     73                    printf(
     74                        /* translators: Click here to see the documentation */
     75                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     76                        '<a href="https://supportcandy.net/docs/gdpr/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     77                    );
     78                    ?>
     79                </div>
    7180                <div class="wpsc-input-group">
    7281                    <div class="label-container">
  • supportcandy/trunk/includes/admin/settings/miscellaneous-settings/class-wpsc-ms-recaptcha.php

    r2793251 r2822852  
    6060
    6161            <form action="#" onsubmit="return false;" class="wpsc-frm-ms-recaptcha">
     62                <div class="wpsc-dock-container">
     63                    <?php
     64                    printf(
     65                        /* translators: Click here to see the documentation */
     66                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     67                        '<a href="https://supportcandy.net/docs/google-recaptcha/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     68                    );
     69                    ?>
     70                </div>
    6271                <div class="wpsc-input-group">
    6372                    <div class="label-container">
  • supportcandy/trunk/includes/admin/settings/miscellaneous-settings/class-wpsc-ms-tac.php

    r2793251 r2822852  
    6060
    6161            <form action="#" onsubmit="return false;" class="wpsc-frm-ms-tandc">
     62                <div class="wpsc-dock-container">
     63                    <?php
     64                    printf(
     65                        /* translators: Click here to see the documentation */
     66                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     67                        '<a href="https://supportcandy.net/docs/terms-conditions/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     68                    );
     69                    ?>
     70                </div>
    6271                <div class="wpsc-input-group">
    6372                    <div class="label-container">
  • supportcandy/trunk/includes/admin/settings/text-editor-settings/class-wpsc-te-advanced.php

    r2793251 r2822852  
    5050
    5151            <form action="#" onsubmit="return false;" class="wpsc-frm-te-advanced">
     52                <div class="wpsc-dock-container">
     53                    <?php
     54                    printf(
     55                        /* translators: Click here to see the documentation */
     56                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     57                        '<a href="https://supportcandy.net/docs/rich-text-editor/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     58                    );
     59                    ?>
     60                </div>
    5261                <div class="wpsc-input-group">
    5362                    <div class="label-container">
  • supportcandy/trunk/includes/admin/settings/text-editor-settings/class-wpsc-te-agent.php

    r2793251 r2822852  
    6363
    6464            <form action="#" onsubmit="return false;" class="wpsc-frm-te-agent">
     65                <div class="wpsc-dock-container">
     66                    <?php
     67                    printf(
     68                        /* translators: Click here to see the documentation */
     69                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     70                        '<a href="https://supportcandy.net/docs/rich-text-editor/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     71                    );
     72                    ?>
     73                </div>
    6574                <div class="wpsc-input-group">
    6675                    <div class="label-container">
  • supportcandy/trunk/includes/admin/settings/text-editor-settings/class-wpsc-te-guest-user.php

    r2793251 r2822852  
    6363
    6464            <form action="#" onsubmit="return false;" class="wpsc-frm-te-guest-user">
     65                <div class="wpsc-dock-container">
     66                    <?php
     67                    printf(
     68                        /* translators: Click here to see the documentation */
     69                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     70                        '<a href="https://supportcandy.net/docs/rich-text-editor/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     71                    );
     72                    ?>
     73                </div>
    6574                <div class="wpsc-input-group">
    6675                    <div class="label-container">
  • supportcandy/trunk/includes/admin/settings/text-editor-settings/class-wpsc-te-registered-user.php

    r2793251 r2822852  
    6363
    6464            <form action="#" onsubmit="return false;" class="wpsc-frm-te-registered-user">
     65                <div class="wpsc-dock-container">
     66                    <?php
     67                    printf(
     68                        /* translators: Click here to see the documentation */
     69                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     70                        '<a href="https://supportcandy.net/docs/rich-text-editor/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     71                    );
     72                    ?>
     73                </div>
    6574                <div class="wpsc-input-group">
    6675                    <div class="label-container">
  • supportcandy/trunk/includes/admin/settings/working-hrs/class-wpsc-wh-settings.php

    r2793251 r2822852  
    5151
    5252            <form action="#" onsubmit="return false;" class="wpsc-frm-wh-settings">
     53                <div class="wpsc-dock-container">
     54                    <?php
     55                    printf(
     56                        /* translators: Click here to see the documentation */
     57                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     58                        '<a href="https://supportcandy.net/docs/working-hours/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     59                    );
     60                    ?>
     61                </div>
    5362                <div class="wpsc-input-group">
    5463                    <div class="label-container">
  • supportcandy/trunk/includes/admin/ticket-list/class-wpsc-agent-ticket-list-settings.php

    r2793251 r2822852  
    155155            ?>
    156156
     157            <div class="wpsc-dock-container">
     158                <?php
     159                printf(
     160                    /* translators: Click here to see the documentation */
     161                    esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     162                    '<a href="https://supportcandy.net/docs/ticket-list-items/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     163                );
     164                ?>
     165            </div>
    157166            <table class="wpsc-atl wpsc-setting-tbl">
    158167                <thead>
     
    383392            ?>
    384393
     394            <div class="wpsc-dock-container">
     395                <?php
     396                printf(
     397                    /* translators: Click here to see the documentation */
     398                    esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     399                    '<a href="https://supportcandy.net/docs/default-filters/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     400                );
     401                ?>
     402            </div>
    385403            <div class="wpsc-setting-cards-container ui-sortable">
    386404                <?php
     
    10031021            ?>
    10041022
     1023            <div class="wpsc-dock-container">
     1024                <?php
     1025                printf(
     1026                    /* translators: Click here to see the documentation */
     1027                    esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     1028                    '<a href="https://supportcandy.net/docs/ticket-list-filter-items/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     1029                );
     1030                ?>
     1031            </div>
    10051032            <table class="wpsc-afl wpsc-setting-tbl">
    10061033                <thead>
  • supportcandy/trunk/includes/admin/ticket-list/class-wpsc-customer-ticket-list-settings.php

    r2793251 r2822852  
    154154            ?>
    155155
     156            <div class="wpsc-dock-container">
     157                <?php
     158                printf(
     159                    /* translators: Click here to see the documentation */
     160                    esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     161                    '<a href="https://supportcandy.net/docs/ticket-list-items/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     162                );
     163                ?>
     164            </div>
    156165            <table class="wpsc-atl wpsc-setting-tbl">
    157166                <thead>
     
    384393            ?>
    385394
     395            <div class="wpsc-dock-container">
     396                <?php
     397                printf(
     398                    /* translators: Click here to see the documentation */
     399                    esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     400                    '<a href="https://supportcandy.net/docs/default-filters/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     401                );
     402                ?>
     403            </div>
    386404            <div class="wpsc-setting-cards-container ui-sortable">
    387405                <?php
     
    10001018            ?>
    10011019
     1020            <div class="wpsc-dock-container">
     1021                <?php
     1022                printf(
     1023                    /* translators: Click here to see the documentation */
     1024                    esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     1025                    '<a href="https://supportcandy.net/docs/ticket-list-filter-items/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     1026                );
     1027                ?>
     1028            </div>
    10021029            <table class="wpsc-cfl wpsc-setting-tbl">
    10031030                <thead>
  • supportcandy/trunk/includes/admin/ticket-list/class-wpsc-ticket-list-more-settings.php

    r2793251 r2822852  
    579579
    580580            <form action="#" onsubmit="return false;" class="wpsc-frm-advanced-settings">
     581                <div class="wpsc-dock-container">
     582                    <?php
     583                    printf(
     584                        /* translators: Click here to see the documentation */
     585                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     586                        '<a href="https://supportcandy.net/docs/ticket-list-advance-settings/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     587                    );
     588                    ?>
     589                </div>
    581590                <div class="wpsc-input-group">
    582591                    <div class="label-container">
  • supportcandy/trunk/includes/admin/tickets/class-wpsc-current-agent-profile.php

    r2793251 r2822852  
    444444            <h2 class="wpsc-section-header"><?php esc_attr_e( 'Leaves', 'supportcandy' ); ?></h2>
    445445            <div class="wpsc-section-container" style="padding: 15px !important;">
     446                <div class="wpsc-dock-container">
     447                    <?php
     448                    printf(
     449                        /* translators: Click here to see the documentation */
     450                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     451                        '<a href="https://supportcandy.net/docs/working-hours/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     452                    );
     453                    ?>
     454                </div>
    446455                <div id="wpsc-calendar"></div>
    447456                <script>
  • supportcandy/trunk/includes/admin/tickets/class-wpsc-individual-ticket.php

    r2798663 r2822852  
    986986
    987987                <div class="thread-avatar">
    988                     <?php echo get_avatar( $thread->customer->email, 32, 'gravatar_default' ); ?>
     988                    <?php echo get_avatar( $thread->customer->email, 32 ); ?>
    989989                </div>
    990990
     
    11941194                        <?php
    11951195                        if ( $thread->customer ) {
    1196                             echo get_avatar( $thread->customer->email, 32, 'gravatar_default' );
     1196                            echo get_avatar( $thread->customer->email, 32 );
    11971197                        } else {
    11981198                            WPSC_Icons::get( 'cog' );
  • supportcandy/trunk/includes/admin/tickets/widgets/class-wpsc-itw-raisedby.php

    r2793251 r2822852  
    8888                <div class="wpsc-widget-body">
    8989                    <div class="user-list-item raised-by">
    90                         <?php echo get_avatar( $ticket->customer->email, 40, 'gravatar_default' ); ?>
     90                        <?php echo get_avatar( $ticket->customer->email, 40 ); ?>
    9191                        <div class="ul-body">
    9292                            <div class="ul-label"><?php echo esc_attr( $ticket->customer->name ); ?></div>
  • supportcandy/trunk/includes/class-wpsc-cron.php

    r2798663 r2822852  
    7878                    'daily',
    7979                    'wpsc_cron_daily'
     80                );
     81            }
     82
     83            // license checker.
     84            if ( ! wp_next_scheduled( 'wpsc_license_checker' ) ) {
     85                wp_schedule_event(
     86                    self::get_midnight_timestamp(),
     87                    'daily',
     88                    'wpsc_license_checker'
    8089                );
    8190            }
  • supportcandy/trunk/includes/class-wpsc-current-user.php

    r2793251 r2822852  
    630630                )
    631631            );
    632 
    633632            if ( is_wp_error( $user_id ) ) {
    634633                wp_send_json( array( 'isSuccess' => 0 ) );
     
    642641                )
    643642            );
    644 
     643            wp_new_user_notification( $user_id, null, 'admin' );
    645644            wp_send_json( array( 'isSuccess' => 1 ) );
    646645        }
  • supportcandy/trunk/includes/class-wpsc-email-notifications.php

    r2769683 r2822852  
    114114                array(
    115115                    'items_per_page' => $count,
     116                    'orderby'        => 'priority',
     117                    'order'          => 'ASC',
    116118                )
    117119            )['results'];
     
    173175            // Remove temp files & directories.
    174176            foreach ( $attachments as $filepath ) {
    175                 unlink( $filepath );
     177                if ( file_exists( $filepath ) ) {
     178                    unlink( $filepath );
     179                }
    176180            }
    177181            foreach ( $this->attachments as $attachment ) {
    178                 rmdir( $upload_dir['basedir'] . '/wpsc/temp/' . $attachment->id );
     182                if ( is_dir( $upload_dir['basedir'] . '/wpsc/temp/' . $attachment->id ) ) {
     183                    rmdir( $upload_dir['basedir'] . '/wpsc/temp/' . $attachment->id );
     184                }
    179185            }
    180186
  • supportcandy/trunk/includes/custom-field-types/class-wpsc-df-assigned-agent.php

    r2793251 r2822852  
    11371137                        <?php
    11381138                        $email = ! $agent->is_agentgroup ? $agent->customer->email : '';
    1139                         echo get_avatar( $email, 40, 'gravatar_default' );
     1139                        echo get_avatar( $email, 40 );
    11401140                        ?>
    11411141                        <div class="ul-body">
  • supportcandy/trunk/includes/custom-field-types/class-wpsc-df-category.php

    r2793251 r2822852  
    706706        public static function get_orderby_string( $cf ) {
    707707
    708             return 'ct.name';
     708            $categories = implode(
     709                ',',
     710                array_map(
     711                    fn( $category ) => $category->id,
     712                    WPSC_Category::find( array( 'items_per_page' => 0 ) )['results']
     713                )
     714            );
     715            return 'FIELD( t.category, ' . $categories . ' )';
    709716        }
    710717
  • supportcandy/trunk/includes/custom-field-types/class-wpsc-df-customer.php

    r2793251 r2822852  
    390390                );
    391391                $user_id  = wp_insert_user( $userdata );
     392                wp_new_user_notification( $user_id, null, 'both' );
    392393                $customer = ! $customer->id ? WPSC_Customer::get_by_email( $email ) : $customer;
    393394
  • supportcandy/trunk/includes/custom-field-types/class-wpsc-df-priority.php

    r2793251 r2822852  
    704704        public static function get_orderby_string( $cf ) {
    705705
    706             return 'pr.name';
     706            $priorities = implode(
     707                ',',
     708                array_map(
     709                    fn( $priority ) => $priority->id,
     710                    WPSC_Priority::find( array( 'items_per_page' => 0 ) )['results']
     711                )
     712            );
     713            return 'FIELD( t.priority, ' . $priorities . ' )';
    707714        }
    708715
  • supportcandy/trunk/includes/custom-field-types/class-wpsc-df-status.php

    r2793251 r2822852  
    627627        public static function get_orderby_string( $cf ) {
    628628
    629             return 'st.name';
     629            $statuses = implode(
     630                ',',
     631                array_map(
     632                    fn( $status ) => $status->id,
     633                    WPSC_Status::find( array( 'items_per_page' => 0 ) )['results']
     634                )
     635            );
     636            return 'FIELD( t.status, ' . $statuses . ' )';
    630637        }
    631638
  • supportcandy/trunk/includes/frontend/class-wpsc-frontend.php

    r2793251 r2822852  
    8080
    8181            // selectWoo.
    82             wp_enqueue_script( 'selectWoo', WPSC_PLUGIN_URL . 'asset/js/selectWoo.full.min.js', array( 'jquery' ), WPSC_VERSION, true );
     82            wp_enqueue_script( 'selectWoo', WPSC_PLUGIN_URL . 'asset/js/selectWoo/selectWoo.full.min.js', array( 'jquery' ), WPSC_VERSION, true );
     83            if ( file_exists( WPSC_ABSPATH . 'asset/js/selectWoo/i18n/' . get_locale() . '.js' ) ) {
     84                wp_enqueue_script( 'selectWoo-lang', WPSC_PLUGIN_URL . 'asset/js/selectWoo/i18n/' . get_locale() . '.js', array( 'jquery' ), WPSC_VERSION, true );
     85            }
    8386            wp_enqueue_style( 'select2', WPSC_PLUGIN_URL . 'asset/css/select2.css', array(), WPSC_VERSION );
    8487
     
    156159                ),
    157160                'temp'                    => array(),
     161                'home_url'                => home_url(),
    158162            );
    159163
  • supportcandy/trunk/includes/models/class-wpsc-background-email.php

    r2763565 r2822852  
    109109                ),
    110110                'attempt'     => array( // Used for check how many time this mail is send after mail sending fail.
     111                    'has_ref'          => false,
     112                    'ref_class'        => '',
     113                    'has_multiple_val' => false,
     114                ),
     115                'priority' => array(
    111116                    'has_ref'          => false,
    112117                    'ref_class'        => '',
     
    319324            global $wpdb;
    320325
    321             $sql   = 'SELECT SQL_CALC_FOUND_ROWS * FROM ' . $wpdb->prefix . 'psmsc_email_notifications ';
    322             $where = self::get_where( $filter );
     326            $sql = 'SELECT SQL_CALC_FOUND_ROWS * FROM ' . $wpdb->prefix . 'psmsc_email_notifications ';
    323327
    324328            $filter['items_per_page'] = isset( $filter['items_per_page'] ) ? $filter['items_per_page'] : 5;
     
    326330            $filter['order']          = isset( $filter['order'] ) ? $filter['order'] : 'ASC';
    327331
     332            $where = self::get_where( $filter );
    328333            $order = WPSC_Functions::parse_order( $filter );
    329 
    330             $sql = $sql . $where . $order;
     334            $limit = WPSC_Functions::parse_limit( $filter );
     335
     336            $sql = $sql . $where . $order . $limit;
    331337
    332338            $results     = $wpdb->get_results( $sql, ARRAY_A );
  • supportcandy/trunk/includes/models/class-wpsc-customer.php

    r2769683 r2822852  
    741741        public static function register_customer( $user_id, $user_data ) {
    742742
    743             $name = isset( $user_data['display_name'] ) ? $user_data['display_name'] : $user_data['user_login'];
     743            $user = get_user_by( 'ID', $user_id );
     744            $name = isset( $user->display_name ) ? $user->display_name : $user_data['user_login'];
    744745
    745746            $customer = self::get_by_email( $user_data['user_email'] );
  • supportcandy/trunk/includes/models/class-wpsc-holiday.php

    r2793251 r2822852  
    404404            $locale = explode( '_', get_locale() );?>
    405405
     406            <div class="wpsc-dock-container">
     407                <?php
     408                printf(
     409                    /* translators: Click here to see the documentation */
     410                    esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     411                    '<a href="https://supportcandy.net/docs/working-hours/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     412                );
     413                ?>
     414            </div>
    406415            <div id="wpsc-calendar"></div>
    407416            <script>
  • supportcandy/trunk/includes/models/class-wpsc-wh-exception.php

    r2793251 r2822852  
    411411            )['results'];?>
    412412
     413            <div class="wpsc-dock-container">
     414                <?php
     415                printf(
     416                    /* translators: Click here to see the documentation */
     417                    esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     418                    '<a href="https://supportcandy.net/docs/working-hours/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     419                );
     420                ?>
     421            </div>
    413422            <table class="wpsc-setting-tbl wpsc-wh-exceptions">
    414423                <thead>
  • supportcandy/trunk/includes/models/class-wpsc-working-hour.php

    r2793251 r2822852  
    423423
    424424            <form onsubmit="return false;" class="wpsc-wh-settings">
     425                <div class="wpsc-dock-container">
     426                    <?php
     427                    printf(
     428                        /* translators: Click here to see the documentation */
     429                        esc_attr__( '%s to see the documentation!', 'supportcandy' ),
     430                        '<a href="https://supportcandy.net/docs/working-hours/" target="_blank">' . esc_attr__( 'Click here', 'supportcandy' ) . '</a>'
     431                    );
     432                    ?>
     433                </div>
    425434                <table class="wpsc-working-hrs">
    426435                <?php
  • supportcandy/trunk/readme.txt

    r2811676 r2822852  
    66Tested up to: 6.1
    77Requires PHP: 7.4
    8 Stable tag: 3.0.9
     8Stable tag: 3.1.0
    99
    1010== Description ==
     
    8181* Hebrew
    8282* Greek
     83* Portuguese (Brazil)
    8384
    8485If you are a translator, you can get free access to all premium add-ons for a year in exchange for translating them into your language if it is not available already. We will renew the Premium subscription next year if you continue contributing to the translation. If interested, don't hesitate to contact us via our [support page](https://supportcandy.net/support-ticket/).
     
    101102
    102103== Changelog ==
     104
     105= 3.1.0 (November 23, 2022) =
     106* Fix: User registration emails not sending if user is registered via SupportCandy.
     107* Fix: Ordering with status, category and priority is not working as per the set order.
     108* Fix: Notice generating if attachment file not exists.
     109* Fix: Scrolling to the top in the frontend if ticket list button is clicked.
     110* Fix: Do not load correct display name of the user when he is registered with WordPress default functionality.
     111* Fix: Gravtar default setting not getting applied from WordPress.
     112* Fix: Dropdown translation not loading.
     113* Fix: Documentation links added.
    103114
    104115= 3.0.9 (October 14, 2022) =
  • supportcandy/trunk/supportcandy.php

    r2811676 r2822852  
    44 * Plugin URI: https://wordpress.org/plugins/supportcandy/
    55 * Description: Easy & Powerful support ticket system for WordPress
    6  * Version: 3.0.9
     6 * Version: 3.1.0
    77 * Author: SupportCandy
    88 * Author URI: https://supportcandy.net/
     
    3131         * @var string
    3232         */
    33         public static $version = '3.0.9';
     33        public static $version = '3.1.0';
    3434
    3535        /**
Note: See TracChangeset for help on using the changeset viewer.