Plugin Directory

Changeset 3102160


Ignore:
Timestamp:
06/13/2024 08:29:49 AM (21 months ago)
Author:
wpfeedback
Message:

updated to 4.0

Location:
atarim-visual-collaboration
Files:
226 added
7 edited

Legend:

Unmodified
Added
Removed
  • atarim-visual-collaboration/trunk/atarim-visual-collaboration.php

    r3100890 r3102160  
    33 * Plugin Name: Atarim: Visual Website Collaboration, Feedback & Workflow Management
    44 * Description: Atarim Visual Collaboration makes it easy and efficient to collaborate on websites with your clients, internal team, contractors…anyone! It’s used by nearly 10,000 agencies and freelancers worldwide on over 120,000 websites.
    5  * Version: 3.32
     5 * Version: 4.0
    66 * Requires at least: 5.0
    77 * Require PHP: 7.4
     
    3030}
    3131if ( ! defined( 'WPF_VERSION' ) ) {
    32     define( 'WPF_VERSION', '3.31' );
     32    define( 'WPF_VERSION', '4.0' );
    3333}
    3434
  • atarim-visual-collaboration/trunk/css/admin.css

    r3090249 r3102160  
    462462    opacity: 1 !important;
    463463}
    464 select#wpf_page_list {
     464select#wpf_pages_list {
    465465    margin: 0;
    466     margin-top: -15px;
     466    margin-top: -15px !important;
    467467    position: absolute;
    468468    z-index: 10;
  • atarim-visual-collaboration/trunk/inc/wpf_ajax_functions.php

    r3100890 r3102160  
    584584        global $wpdb;
    585585        wpf_security_check();
    586         $wpf_comment = html_entity_decode( $_POST['wpf_comment'] );
    587         $wpf_comment = wpf_wp_kses_check( $wpf_comment );
     586        $s_comment_content = sanitize_textarea_field( $_POST['wpf_comment'] );
     587        $h_comment_content = html_entity_decode( $s_comment_content );
     588        $k_comment_content = wpf_wp_kses_check( $h_comment_content );
     589        $wpf_comment       = wpf_test_input( $k_comment_content );
    588590        $post_id     = sanitize_text_field(  $_POST['post_id'] );
    589591        $author_id   = sanitize_text_field(  $_POST['author_id'] );
     
    595597                $sendarr                    = array();
    596598                $sendarr["task_id"]         = $post_id;
    597                 $sendarr["comment_content"] = stripslashes( html_entity_decode( $wpf_comment, ENT_QUOTES, 'UTF-8' ) );
     599                $sendarr["comment_content"] = $wpf_comment;
    598600                $sendarr["wpf_user_id"]     = $author_id;
    599601                $sendarr["user_id"]         = "";
     
    10791081        wpf_security_check();
    10801082        $task_info = $_POST['task_info'];
    1081         $args      = array(
     1083        $s_comment_content = sanitize_textarea_field( $task_info['comment_content'] );
     1084        $h_comment_content = html_entity_decode( $s_comment_content );
     1085        $k_comment_content = wpf_wp_kses_check( $h_comment_content );
     1086        $comment_content   = wpf_test_input( $k_comment_content );
     1087        $args = array(
    10821088            'comment_id'      => sanitize_text_field( $task_info['comment_id'] ),
    1083             'comment_content' => $task_info['comment_content'],
     1089            'comment_content' => $comment_content,
    10841090        );
    1085 
    10861091        $url           = WPF_CRM_API . 'wp-api/comment/updateContent';
    10871092        $sendtocloud   = wp_json_encode( $args );
  • atarim-visual-collaboration/trunk/js/admin.js

    r3100890 r3102160  
    523523    jQuery_WPF('#wpf_message_form').html(chat_form);
    524524    var wpf_all_info_array = JSON.parse(wpf_all_pages);
    525     var wpfb_all_pages_html = '<select class="wpf_page_list" id="wpf_page_list">';
     525    var wpfb_all_pages_html = '<select class="wpf_pages_list" id="wpf_pages_list">';
    526526    wpfb_all_pages_html+='<option value="">'+wpf_general_task_option+'</option>';
    527527
  • atarim-visual-collaboration/trunk/js/app.js

    r3100890 r3102160  
    257257    id = current_bubble;
    258258    var task_info = [];
    259 
    260259    task_info['comment_id'] = comment_id;
    261260    var comment_content = jQuery_WPF("#wpfb-edit-comment-wrapper-"+comment_id+" textarea").val();
     
    264263        jQuery_WPF('#wpfb-edit-comment-wrapper-' + comment_id + ' .wpf_hide').hide();
    265264        var task_info_obj = jQuery_WPF.extend({}, task_info);
    266        
    267265        jQuery_WPF.ajax({
    268266            method : "POST",
     
    270268            data : {action: "wpfb_edit_comment",wpf_nonce:wpf_nonce,task_info:task_info_obj},
    271269            beforeSend: function(){
    272                 jQuery_WPF(current_popup).find('.wpf_loader_'+id).show();
    273             },
    274             success : function(data){
    275                 jQuery_WPF(current_popup).find('.wpf_loader_'+id).hide();
    276270                jQuery_WPF("#wpf-chat-text-"+comment_id).html(task_info['comment_content']);
    277271                jQuery_WPF("#wpfb-edit-comment-wrapper-"+comment_id).hide();
     272            },
     273            success : function(data) {
    278274            }
    279275        });
  • atarim-visual-collaboration/trunk/js/wpf_common_functions.js

    r3100890 r3102160  
    418418    var task_status = jQuery_WPF('input[name=wpfbtaskstatus'+id+']:checked').val();
    419419    var raw_comment = jQuery_WPF('textarea#comment-'+id).val();
    420     console.log(raw_comment);
    421420    var task_comment = raw_comment.replace(/(<p><br><\/p>)+$/, '');
    422421    var temp_task_text = task_comment;
     
    21292128                var isempty = isQuillEmpty( quill );
    21302129                if ( !isempty ) {
    2131                     $this.closest('.form-group').find('textarea').val(quill.root.innerHTML);
     2130                    $this.closest('.wpf-comment-container').find('textarea').val(quill.root.innerHTML);
    21322131                } else {
    2133                     $this.closest('.form-group').find('textarea').val('');
     2132                    $this.closest('.wpf-comment-container').find('textarea').val('');
    21342133                }
    21352134            });
     
    21372136                // Check if the pressed key is Enter (keyCode 13 or key "Enter")
    21382137                if ( (event.keyCode == 13 || event.key === "Enter") && !event.shiftKey ) {
    2139                     $this.closest('.form-group').find('.wpf_comment_btn.task_comment').trigger('click');
     2138                    $this.closest('.wpf-comment-container').find('.wpf_comment_btn.task_comment').trigger('click');
    21402139                }
    21412140            });
  • atarim-visual-collaboration/trunk/readme.txt

    r3100890 r3102160  
    44Requires at least: 5.0
    55Tested up to: 6.5.3
    6 Stable tag: 3.32
     6Stable tag: 4.0
    77Requires PHP: 7.4
    88License: GPLv3 or later
     
    372372
    373373== Changelog ==
     374
     375= v4.0 =
     376* **Optimization**
     377  - Modified page tab integration to optimize the page loading speed.
     378
     379* **Compatibility**
     380  - Added support to resolve Bootstrap conflict with Woodmart themes.
     381
     382* **Code Cleanup**
     383  - Removed code that was not needed after UX changes.
     384
     385* **Feature Enhancements**
     386  - Implemented auto-closing of open task popup on creation of a new one.
     387  - Auto login is now enabled by default instead of disabled.
     388
     389* **Bug Fixes**
     390  - Fixed an issue where remapping a task was triggering the open task action.
     391  - Resolved the issue where users were unable to delete new tasks without a page refresh.
     392
     393* **Security**
     394  - Improved overall security of the plugin.
     395
     396* **Other Changes**
     397  - Removed EDD license key dependency from the code.
    374398
    375399= v3.32 =
Note: See TracChangeset for help on using the changeset viewer.