Changeset 3320344
- Timestamp:
- 07/01/2025 07:03:03 AM (8 months ago)
- Location:
- atarim-visual-collaboration
- Files:
-
- 209 added
- 8 edited
-
tags/4.2 (added)
-
tags/4.2/atarim-visual-collaboration.php (added)
-
tags/4.2/css (added)
-
tags/4.2/css/admin-settings.css (added)
-
tags/4.2/css/admin.css (added)
-
tags/4.2/css/bootstrap.min.css (added)
-
tags/4.2/css/monolith.min.css (added)
-
tags/4.2/css/quill.css (added)
-
tags/4.2/css/wpf-common.css (added)
-
tags/4.2/css/wpf-icons.css (added)
-
tags/4.2/css/wpf-login.css (added)
-
tags/4.2/imagehelper.php (added)
-
tags/4.2/images (added)
-
tags/4.2/images/Atarim.svg (added)
-
tags/4.2/images/BG-pattern.png (added)
-
tags/4.2/images/Loader-slider-WPFeedback.svg (added)
-
tags/4.2/images/WPF-welcome_720.png (added)
-
tags/4.2/images/Websites-Mockup.png (added)
-
tags/4.2/images/app-project.svg (added)
-
tags/4.2/images/approved.svg (added)
-
tags/4.2/images/atarim-whitelabel.svg (added)
-
tags/4.2/images/atarim_favicon_white.svg (added)
-
tags/4.2/images/atarim_icon.svg (added)
-
tags/4.2/images/attachment.svg (added)
-
tags/4.2/images/auto-report.png (added)
-
tags/4.2/images/bell.svg (added)
-
tags/4.2/images/check-li.svg (added)
-
tags/4.2/images/checked.svg (added)
-
tags/4.2/images/comment.png (added)
-
tags/4.2/images/cross.svg (added)
-
tags/4.2/images/delete.svg (added)
-
tags/4.2/images/desktop.svg (added)
-
tags/4.2/images/docs.svg (added)
-
tags/4.2/images/edit-delete.png (added)
-
tags/4.2/images/enter.png (added)
-
tags/4.2/images/eye-off-white.svg (added)
-
tags/4.2/images/eye-off.svg (added)
-
tags/4.2/images/general.svg (added)
-
tags/4.2/images/global-settings.png (added)
-
tags/4.2/images/integrations-image.png (added)
-
tags/4.2/images/internal-task.png (added)
-
tags/4.2/images/link.svg (added)
-
tags/4.2/images/lock.svg (added)
-
tags/4.2/images/menu.svg (added)
-
tags/4.2/images/mobile.svg (added)
-
tags/4.2/images/multi-file.svg (added)
-
tags/4.2/images/no-pages.svg (added)
-
tags/4.2/images/no-task.svg (added)
-
tags/4.2/images/note.svg (added)
-
tags/4.2/images/nothingfound.svg (added)
-
tags/4.2/images/pdf.svg (added)
-
tags/4.2/images/placeholder-image.png (added)
-
tags/4.2/images/reg-logo.svg (added)
-
tags/4.2/images/responsive.svg (added)
-
tags/4.2/images/search.svg (added)
-
tags/4.2/images/share.svg (added)
-
tags/4.2/images/sidebar-left.svg (added)
-
tags/4.2/images/sidebarmenu.svg (added)
-
tags/4.2/images/tablet.svg (added)
-
tags/4.2/images/task-center.png (added)
-
tags/4.2/images/txt.svg (added)
-
tags/4.2/images/upload.svg (added)
-
tags/4.2/images/user-permissions.png (added)
-
tags/4.2/images/video.svg (added)
-
tags/4.2/images/white-labelling.png (added)
-
tags/4.2/images/wpf-screenshot-sound.mp3 (added)
-
tags/4.2/images/wpf_reconnect.png (added)
-
tags/4.2/images/zip.svg (added)
-
tags/4.2/inc (added)
-
tags/4.2/inc/admin (added)
-
tags/4.2/inc/admin/page-settings-permissions.php (added)
-
tags/4.2/inc/admin/page-settings.php (added)
-
tags/4.2/inc/admin/task-center.php (added)
-
tags/4.2/inc/admin/upgrade-subscription-popup.php (added)
-
tags/4.2/inc/admin/wpf_admin_function.php (added)
-
tags/4.2/inc/admin/wpf_backend_initial_setup.php (added)
-
tags/4.2/inc/frontend (added)
-
tags/4.2/inc/frontend/wpf_approve_page_modal.php (added)
-
tags/4.2/inc/frontend/wpf_general_task_modal.php (added)
-
tags/4.2/inc/frontend/wpf_login_modal.php (added)
-
tags/4.2/inc/frontend/wpf_responsive_page_modal.php (added)
-
tags/4.2/inc/frontend/wpf_restrictions_modal.php (added)
-
tags/4.2/inc/wpf_admin_functions.php (added)
-
tags/4.2/inc/wpf_ajax_functions.php (added)
-
tags/4.2/inc/wpf_api.php (added)
-
tags/4.2/inc/wpf_class.php (added)
-
tags/4.2/inc/wpf_email_notifications.php (added)
-
tags/4.2/inc/wpf_function.php (added)
-
tags/4.2/inc/wpf_popup_string.php (added)
-
tags/4.2/index.php (added)
-
tags/4.2/js (added)
-
tags/4.2/js/admin (added)
-
tags/4.2/js/admin.js (added)
-
tags/4.2/js/admin/admin_app.js (added)
-
tags/4.2/js/animation-complete.json (added)
-
tags/4.2/js/app.js (added)
-
tags/4.2/js/atarim-ui.js (added)
-
tags/4.2/js/atarim.ui.mouse.min.js (added)
-
tags/4.2/js/atarimjs.js (added)
-
tags/4.2/js/bootstrap.min.js (added)
-
tags/4.2/js/cpickr.js (added)
-
tags/4.2/js/custompopover.js (added)
-
tags/4.2/js/html2canvas.js (added)
-
tags/4.2/js/jquery.ui.touch-punch.js (added)
-
tags/4.2/js/jscolor.js (added)
-
tags/4.2/js/pickr.min.js (added)
-
tags/4.2/js/popper.min.js (added)
-
tags/4.2/js/quill.js (added)
-
tags/4.2/js/selectoroverlay.js (added)
-
tags/4.2/js/wpf-ajax-login.js (added)
-
tags/4.2/js/wpf_browser_info.js (added)
-
tags/4.2/js/wpf_common_functions.js (added)
-
tags/4.2/js/xyposition.js (added)
-
tags/4.2/languages (added)
-
tags/4.2/languages/atarim-visual-collaboration-cs_CZ.mo (added)
-
tags/4.2/languages/atarim-visual-collaboration-cs_CZ.po (added)
-
tags/4.2/languages/atarim-visual-collaboration-de_AT.mo (added)
-
tags/4.2/languages/atarim-visual-collaboration-de_AT.po (added)
-
tags/4.2/languages/atarim-visual-collaboration-de_DE.mo (added)
-
tags/4.2/languages/atarim-visual-collaboration-de_DE.po (added)
-
tags/4.2/languages/atarim-visual-collaboration-el.mo (added)
-
tags/4.2/languages/atarim-visual-collaboration-el.po (added)
-
tags/4.2/languages/atarim-visual-collaboration-es_ES.mo (added)
-
tags/4.2/languages/atarim-visual-collaboration-es_ES.po (added)
-
tags/4.2/languages/atarim-visual-collaboration-fr_FR.mo (added)
-
tags/4.2/languages/atarim-visual-collaboration-fr_FR.po (added)
-
tags/4.2/languages/atarim-visual-collaboration-he_IL.mo (added)
-
tags/4.2/languages/atarim-visual-collaboration-he_IL.po (added)
-
tags/4.2/languages/atarim-visual-collaboration-it_IT.mo (added)
-
tags/4.2/languages/atarim-visual-collaboration-it_IT.po (added)
-
tags/4.2/languages/atarim-visual-collaboration-nl_NL.mo (added)
-
tags/4.2/languages/atarim-visual-collaboration-nl_NL.po (added)
-
tags/4.2/languages/atarim-visual-collaboration-pt_BR.mo (added)
-
tags/4.2/languages/atarim-visual-collaboration-pt_BR.po (added)
-
tags/4.2/languages/atarim-visual-collaboration-sv_SE.mo (added)
-
tags/4.2/languages/atarim-visual-collaboration-sv_SE.po (added)
-
tags/4.2/languages/atarim-visual-collaboration.po (added)
-
tags/4.2/languages/atarim-visual-collaboration.pot (added)
-
tags/4.2/languages/atarim-visual-collaboration.temp (added)
-
tags/4.2/license.txt (added)
-
tags/4.2/readme.txt (added)
-
tags/4.2/src (added)
-
tags/4.2/src/AccessToken (added)
-
tags/4.2/src/AccessToken/Revoke.php (added)
-
tags/4.2/src/AccessToken/Verify.php (added)
-
tags/4.2/src/AuthHandler (added)
-
tags/4.2/src/AuthHandler/AuthHandlerFactory.php (added)
-
tags/4.2/src/AuthHandler/Guzzle5AuthHandler.php (added)
-
tags/4.2/src/AuthHandler/Guzzle6AuthHandler.php (added)
-
tags/4.2/src/AuthHandler/Guzzle7AuthHandler.php (added)
-
tags/4.2/src/Client.php (added)
-
tags/4.2/src/Collection.php (added)
-
tags/4.2/src/Exception.php (added)
-
tags/4.2/src/Http (added)
-
tags/4.2/src/Http/Batch.php (added)
-
tags/4.2/src/Http/MediaFileUpload.php (added)
-
tags/4.2/src/Http/REST.php (added)
-
tags/4.2/src/Model.php (added)
-
tags/4.2/src/Service (added)
-
tags/4.2/src/Service.php (added)
-
tags/4.2/src/Service/Exception.php (added)
-
tags/4.2/src/Service/README.md (added)
-
tags/4.2/src/Service/Resource.php (added)
-
tags/4.2/src/Task (added)
-
tags/4.2/src/Task/Composer.php (added)
-
tags/4.2/src/Task/Exception.php (added)
-
tags/4.2/src/Task/Retryable.php (added)
-
tags/4.2/src/Task/Runner.php (added)
-
tags/4.2/src/Utils (added)
-
tags/4.2/src/Utils/UriTemplate.php (added)
-
tags/4.2/src/aliases.php (added)
-
tags/4.2/uninstall.php (added)
-
tags/4.2/visual-composer (added)
-
tags/4.2/visual-composer/LICENSE (added)
-
tags/4.2/visual-composer/README.md (added)
-
tags/4.2/visual-composer/babel.config.js (added)
-
tags/4.2/visual-composer/manifest.json (added)
-
tags/4.2/visual-composer/package-lock.json (added)
-
tags/4.2/visual-composer/package.json (added)
-
tags/4.2/visual-composer/visual-composer-atarim (added)
-
tags/4.2/visual-composer/visual-composer-atarim/ActivateAtarim.js (added)
-
tags/4.2/visual-composer/visual-composer-atarim/ActivateAtarimLicense.js (added)
-
tags/4.2/visual-composer/visual-composer-atarim/ExampleAtarimPanel.js (added)
-
tags/4.2/visual-composer/visual-composer-atarim/InstallAtarim.js (added)
-
tags/4.2/visual-composer/visual-composer-atarim/SideBar.js (added)
-
tags/4.2/visual-composer/visual-composer-atarim/TaskContent.js (added)
-
tags/4.2/visual-composer/visual-composer-atarim/component (added)
-
tags/4.2/visual-composer/visual-composer-atarim/component/AdditionalInfoTab.js (added)
-
tags/4.2/visual-composer/visual-composer-atarim/component/PriorityTab.js (added)
-
tags/4.2/visual-composer/visual-composer-atarim/component/ScreenshotTab.js (added)
-
tags/4.2/visual-composer/visual-composer-atarim/component/StatusTab.js (added)
-
tags/4.2/visual-composer/visual-composer-atarim/component/UserTab.js (added)
-
tags/4.2/visual-composer/visual-composer-atarim/dataManager.js (added)
-
tags/4.2/visual-composer/visual-composer-atarim/index.js (added)
-
tags/4.2/visual-composer/visual-composer-atarim/media (added)
-
tags/4.2/visual-composer/visual-composer-atarim/media/info-icon.svg (added)
-
tags/4.2/visual-composer/visual-composer-atarim/media/screenshot-icon.svg (added)
-
tags/4.2/visual-composer/visual-composer-atarim/media/status-icon.svg (added)
-
tags/4.2/visual-composer/visual-composer-atarim/media/trans_back_atarim.svg (added)
-
tags/4.2/visual-composer/visual-composer-atarim/media/urgency-icon.svg (added)
-
tags/4.2/visual-composer/visual-composer-atarim/media/user-icon.svg (added)
-
tags/4.2/visual-composer/visual-composer-atarim/services (added)
-
tags/4.2/visual-composer/visual-composer-atarim/services/apiPath.js (added)
-
tags/4.2/visual-composer/visual-composer-atarim/services/apiResquest.js (added)
-
tags/4.2/visual-composer/visual-composer-atarim/style (added)
-
tags/4.2/visual-composer/visual-composer-atarim/style/sidebar.css (added)
-
tags/4.2/visual-composer/visual-composer-atarim/utils (added)
-
tags/4.2/visual-composer/visual-composer-atarim/utils/helpers.js (added)
-
tags/4.2/visual-composer/yarn.lock (added)
-
trunk/atarim-visual-collaboration.php (modified) (11 diffs)
-
trunk/inc/wpf_ajax_functions.php (modified) (1 diff)
-
trunk/js/admin.js (modified) (16 diffs)
-
trunk/js/admin/admin_app.js (modified) (5 diffs)
-
trunk/js/app.js (modified) (6 diffs)
-
trunk/js/wpf-ajax-login.js (modified) (1 diff)
-
trunk/js/wpf_common_functions.js (modified) (26 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
atarim-visual-collaboration/trunk/atarim-visual-collaboration.php
r3255717 r3320344 3 3 * Plugin Name: Atarim: Visual Website Collaboration, Feedback & Workflow Management 4 4 * 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: 4. 1.35 * Version: 4.2 6 6 * Requires at least: 5.0 7 7 * Require PHP: 7.4 … … 30 30 } 31 31 if ( ! defined( 'WPF_VERSION' ) ) { 32 define( 'WPF_VERSION', '4. 1.3' );32 define( 'WPF_VERSION', '4.2' ); 33 33 } 34 34 … … 729 729 var wpf_display_all_taskmeta_tasktab = jQuery('#wpf_display_all_taskmeta_tasktab').prop("checked") ? 1 : 0; 730 730 jQuery.ajax({ 731 method: "POST", 731 method : 'POST', 732 type: 'POST', 732 733 url: ajaxurl, 733 734 data: { … … 775 776 function load_task_center_all_tasks() { 776 777 jQuery.ajax({ 777 method: "POST", 778 method : 'POST', 779 type: 'POST', 778 780 url: ajaxurl, 779 781 data: { … … 837 839 if ( jQuery('#wpf_comment').val().trim().length > 0 ) { 838 840 jQuery.ajax({ 839 method: "POST", 841 method : 'POST', 842 type: 'POST', 840 843 url: ajaxurl, 841 844 data: { … … 919 922 var task_info_obj = jQuery_WPF.extend({}, task_info); 920 923 jQuery_WPF.ajax({ 921 method : "POST", 924 method : 'POST', 925 type: 'POST', 922 926 url : ajaxurl, 923 927 data : { … … 964 968 jQuery.ajax({ 965 969 url: '<?php echo admin_url('admin-ajax.php'); ?>', 970 method : 'POST', 966 971 type: 'POST', 967 972 data: { … … 1046 1051 let sticker_permission = wpf_tab_permission_display_stickers; 1047 1052 jQuery.ajax({ 1048 method: "POST", 1053 method : 'POST', 1054 type: 'POST', 1049 1055 url: "<?php echo admin_url('admin-ajax.php'); ?>", 1050 1056 data: { … … 1104 1110 task_notify_users.push(jQuery(this).val()); 1105 1111 }); 1106 task_notify_users = task_notify_users.join(","); 1112 task_notify_users = task_notify_users.join(","); 1113 if( current_task < 1 ) { 1114 console.log( 'Invalid task id: ' + current_task ); 1115 return; 1116 } 1107 1117 task_info['task_id'] = current_task; 1108 1118 task_info['task_notify_users'] = task_notify_users; … … 1110 1120 1111 1121 jQuery.ajax({ 1112 method: "POST", 1122 method : 'POST', 1123 type: 'POST', 1113 1124 url: "<?php echo admin_url('admin-ajax.php'); ?>", 1114 1125 data: { … … 1164 1175 var additional_info_html = '<p><span class="wpf_task_ad_info_title">' + wpf_resolution + '</span> ' +''+ task_config_author_res + '</p><p><span class="wpf_task_ad_info_title">' + wpf_browser + '</span> ' + task_config_author_browser + ' ' + task_config_author_browserversion + '</p><p><span class="wpf_task_ad_info_title">' + wpf_user_name + '</span> ' + task_author_name + '</p><p><span class="wpf_task_ad_info_title">' + wpf_task_id + '</span> ' + post_id + '</p>'; 1165 1176 jQuery.ajax({ 1166 method: "POST", 1177 method : 'POST', 1178 type: 'POST', 1167 1179 url: ajaxurl, 1168 1180 data: { -
atarim-visual-collaboration/trunk/inc/wpf_ajax_functions.php
r3225314 r3320344 1283 1283 function wpfb_delete_task() { 1284 1284 wpf_security_check(); 1285 $ids = []; 1286 foreach ( $_POST['task_info'] as $value ) { 1287 array_push( $ids, $value ); 1288 } 1285 $site_id = get_option( 'wpf_site_id' ); 1286 $taskid = array($_POST['task_info']['task_id']); 1289 1287 $args = array( 1290 'task_id' => $ids 1288 'wpf_site_id' => $site_id, 1289 'task_id' => $taskid 1291 1290 ); 1292 1291 -
atarim-visual-collaboration/trunk/js/admin.js
r3255717 r3320344 98 98 jQuery_WPF.ajax({ 99 99 url:ajaxurl, 100 method: 'POST', 100 method : 'POST', 101 type: 'POST', 101 102 data:{ 102 103 action: 'wpf_create_account', … … 255 256 jQuery_WPF.ajax({ 256 257 url:ajaxurl, 257 method: 'POST', 258 data:{action: 'wpf_global_settings',wpf_nonce:wpf_nonce,wpf_global_settings:wpf_global_settings}, 258 method : 'POST', 259 type: 'POST', 260 data:{ 261 action: 'wpf_global_settings', 262 wpf_nonce: wpf_nonce, 263 wpf_global_settings: wpf_global_settings 264 }, 259 265 beforeSend: function(){ 260 266 jQuery_WPF('.wpf_loader_admin').show(); … … 287 293 jQuery_WPF.ajax({ 288 294 url:ajaxurl, 289 method: 'POST', 295 method : 'POST', 296 type: 'POST', 290 297 data:{ 291 298 action: 'remove_feedbacktool_notice', … … 336 343 function wpfeedback_reset_setting() { 337 344 jQuery_WPF.ajax({ 338 method: "POST", 345 method : 'POST', 346 type: 'POST', 339 347 url: ajaxurl, 340 data: {action: "wpfeedback_reset_setting",wpf_nonce:wpf_nonce}, 348 data: { 349 action: "wpfeedback_reset_setting", 350 wpf_nonce: wpf_nonce 351 }, 341 352 success: function (data) { 342 353 if (data == 1) { … … 354 365 var wpf_task_num_top= jQuery_WPF('wpf_task_details .wpf_task_num_top').text(); 355 366 jQuery_WPF.ajax({ 356 method : "POST", 367 method : 'POST', 368 type: 'POST', 357 369 url : ajaxurl, 358 data : {action: "wpfb_delete_task",wpf_nonce:wpf_nonce,task_info:task_info_obj}, 370 data : { 371 action: "wpfb_delete_task", 372 wpf_nonce: wpf_nonce, 373 task_info: task_info_obj 374 }, 359 375 beforeSend: function(){ 360 376 jQuery_WPF('.wpf_loader_admin').show(); … … 379 395 function wpf_send_report(type) { 380 396 jQuery_WPF.ajax({ 381 method: "POST", 397 method : 'POST', 398 type: 'POST', 382 399 url: ajaxurl, 383 data: {action: "wpf_send_email_report",wpf_nonce:wpf_nonce, type:type, forced: "yes"}, 400 data: { 401 action: "wpf_send_email_report", 402 wpf_nonce: wpf_nonce, 403 type: type, 404 forced: "yes" 405 }, 384 406 beforeSend: function(){ 385 407 jQuery_WPF('.wpf_loader_admin').show(); … … 397 419 function wpf_restore_orphan() { 398 420 jQuery_WPF.ajax({ 399 method: "POST", 421 method : 'POST', 422 type: 'POST', 400 423 url: ajaxurl, 401 data: {action: "wpf_set_task_element",wpf_nonce:wpf_nonce, wpf_task_ids:wpf_orphan_tasks}, 424 data: { 425 action: "wpf_set_task_element", 426 wpf_nonce: wpf_nonce, 427 wpf_task_ids: wpf_orphan_tasks 428 }, 402 429 beforeSend: function(){ 403 430 jQuery_WPF('.wpf_loader_admin').show(); … … 412 439 }, 3000); 413 440 jQuery_WPF.ajax({ 414 method: "POST", 441 method : 'POST', 442 type: 'POST', 415 443 url: ajaxurl, 416 444 data: { … … 452 480 if(wpf_file){ 453 481 jQuery_WPF.ajax({ 482 method : 'POST', 454 483 type: 'POST', 455 484 url: ajaxurl, … … 626 655 if ( jQuery_WPF('#wpf_comment').val().trim().length > 0 && task_notify_users.length > 0 && jQuery_WPF('#wpf_pages_list').val() && !note ) { 627 656 jQuery_WPF.ajax({ 628 method : "POST", 657 method : 'POST', 658 type: 'POST', 629 659 url : ajaxurl, 630 data : {action: "wpf_add_new_task",wpf_nonce:wpf_nonce,new_task:new_task_obj}, 660 data : { 661 action: "wpf_add_new_task", 662 wpf_nonce: wpf_nonce, 663 new_task: new_task_obj 664 }, 631 665 beforeSend: function(){ 632 666 jQuery_WPF('.wpf_loader_admin').show(); … … 681 715 function wpf_resync_dashboard() { 682 716 jQuery_WPF.ajax({ 683 method: "POST", 717 method : 'POST', 718 type: 'POST', 684 719 url: ajaxurl, 685 data: {action: "wpf_resync_dashboard",wpf_nonce:wpf_nonce}, 720 data: { 721 action: "wpf_resync_dashboard", 722 wpf_nonce: wpf_nonce 723 }, 686 724 beforeSend: function(){ 687 725 jQuery_WPF('.wpf_loader_admin').show(); … … 708 746 if(wpf_new_task_title !='' && wpf_task_id !=''){ 709 747 jQuery_WPF.ajax({ 710 method: "POST", 711 url: ajaxurl, 712 data: {action: "wpf_update_title",wpf_new_task_title:wpf_new_task_title,wpf_task_id:wpf_task_id,wpf_nonce:wpf_nonce}, 748 method : 'POST', 749 type: 'POST', 750 url: ajaxurl, 751 data: { 752 action: "wpf_update_title", 753 wpf_new_task_title: wpf_new_task_title, 754 wpf_task_id: wpf_task_id, 755 wpf_nonce: wpf_nonce 756 }, 713 757 success: function (data) { 714 758 var wpf_task_info = JSON.parse(data); … … 738 782 if(task_id !='' && tag_name !=''){ 739 783 jQuery_WPF.ajax({ 740 method : "POST", 784 method : 'POST', 785 type: 'POST', 741 786 url : ajaxurl, 742 data : {action: "wpfb_set_task_tag",wpf_nonce:wpf_nonce,wpf_task_tag_info:wpf_task_tag_info_obj}, 787 data : { 788 action: "wpfb_set_task_tag", 789 wpf_nonce: wpf_nonce, 790 wpf_task_tag_info: wpf_task_tag_info_obj 791 }, 743 792 beforeSend: function(){ 744 793 jQuery_WPF('.wpf_loader_admin').show(); … … 772 821 if(id !='' && wpf_task_tag_slug !=''){ 773 822 jQuery_WPF.ajax({ 774 method : "POST", 823 method : 'POST', 824 type: 'POST', 775 825 url : ajaxurl, 776 data : {action: "wpfb_delete_task_tag",wpf_nonce:wpf_nonce,wpf_task_tag_info:wpf_task_tag_info_obj}, 826 data : { 827 action: "wpfb_delete_task_tag", 828 wpf_nonce: wpf_nonce, 829 wpf_task_tag_info: wpf_task_tag_info_obj 830 }, 777 831 beforeSend: function(){ 778 832 jQuery_WPF('.wpf_loader_'+id).show(); … … 956 1010 if(wpf_task_ids != '' && (wpf_task_priority_attr != '' || wpf_task_task_status_attr != '')){ 957 1011 jQuery_WPF.ajax({ 958 method : "POST", 1012 method : 'POST', 1013 type: 'POST', 959 1014 url : ajaxurl, 960 data : {action: "wpf_bulk_update_tasks",wpf_nonce:wpf_nonce,wpf_task_task_status_attr:wpf_task_task_status_attr,wpf_task_priority_attr:wpf_task_priority_attr,wpf_task_ids:wpf_task_ids}, 1015 data : { 1016 action: "wpf_bulk_update_tasks", 1017 wpf_nonce: wpf_nonce, 1018 wpf_task_task_status_attr: wpf_task_task_status_attr, 1019 wpf_task_priority_attr: wpf_task_priority_attr, 1020 wpf_task_ids: wpf_task_ids 1021 }, 961 1022 beforeSend: function(){ 962 1023 jQuery_WPF('.wpf_loader_admin').show(); … … 966 1027 if(task_response_info.wpf_msg == 1 ){ 967 1028 jQuery_WPF.ajax({ 968 method: "POST", 1029 method : 'POST', 1030 type: 'POST', 969 1031 url: ajaxurl, 970 1032 data: { -
atarim-visual-collaboration/trunk/js/admin/admin_app.js
r3116009 r3320344 50 50 jQuery_WPF.ajax({ 51 51 url: ajaxurl, 52 method : 'POST', 52 53 type: 'POST', 53 data: {action:'push_to_media',wpf_nonce:wpf_nonce,media_link:media_link }, 54 data: { 55 action: 'push_to_media', 56 wpf_nonce: wpf_nonce, 57 media_link: media_link 58 }, 54 59 beforeSend: function(){ 55 60 if ( !curElement.parents('.chat_author').length ) … … 168 173 jQuery_WPF.ajax({ 169 174 url: ajaxurl, 175 method : 'POST', 170 176 type: 'POST', 171 data: {action:'wpfb_save_screenshot',wpf_nonce:wpf_nonce, task_screenshot:new_task_screenshot_obj, image: base64URL}, 177 data: { 178 action: 'wpfb_save_screenshot', 179 wpf_nonce: wpf_nonce, 180 task_screenshot: new_task_screenshot_obj, 181 image: base64URL 182 }, 172 183 beforeSend: function(){ 173 184 jQuery_WPF('.wpf_loader_'+id).show(); … … 256 267 257 268 jQuery_WPF.ajax({ 258 method : "POST", 269 method : 'POST', 270 type: 'POST', 259 271 url : ajaxurl, 260 data : {action: "wpfb_edit_comment",wpf_nonce:wpf_nonce,task_info:task_info_obj}, 272 data : { 273 action: "wpfb_edit_comment", 274 wpf_nonce: wpf_nonce, 275 task_info: task_info_obj 276 }, 261 277 beforeSend: function(){ 262 278 … … 468 484 if(id !='' && tag_name !=''){ 469 485 jQuery_WPF.ajax({ 470 method : "POST", 486 method : 'POST', 487 type: 'POST', 471 488 url : ajaxurl, 472 data : {action: "wpfb_set_task_tag",wpf_nonce:wpf_nonce,wpf_task_tag_info:wpf_task_tag_info_obj}, 489 data : { 490 action: "wpfb_set_task_tag", 491 wpf_nonce: wpf_nonce, 492 wpf_task_tag_info: wpf_task_tag_info_obj 493 }, 473 494 beforeSend: function(){ 474 495 jQuery_WPF('.wpf_loader_'+task_id).show(); … … 502 523 if(id !='' && wpf_task_tag_slug !=''){ 503 524 jQuery_WPF.ajax({ 504 method : "POST", 525 method : 'POST', 526 type: 'POST', 505 527 url : ajaxurl, 506 data : {action: "wpfb_delete_task_tag",wpf_nonce:wpf_nonce,wpf_task_tag_info:wpf_task_tag_info_obj}, 528 data : { 529 action: "wpfb_delete_task_tag", 530 wpf_nonce: wpf_nonce, 531 wpf_task_tag_info: wpf_task_tag_info_obj 532 }, 507 533 beforeSend: function(){ 508 534 jQuery_WPF('.wpf_loader_'+id).show(); -
atarim-visual-collaboration/trunk/js/app.js
r3116009 r3320344 74 74 jQuery_WPF.ajax({ 75 75 url: ajaxurl, 76 method : 'POST', 76 77 type: 'POST', 77 data: {action:'push_to_media',wpf_nonce:wpf_nonce,media_link:media_link }, 78 data: { 79 action: 'push_to_media', 80 wpf_nonce: wpf_nonce, 81 media_link: media_link 82 }, 78 83 beforeSend: function(){ 79 84 if ( !curElement.parents('.chat_author').length ) … … 184 189 jQuery_WPF.ajax({ 185 190 url: ajaxurl, 191 method : 'POST', 186 192 type: 'POST', 187 data: {action:'wpfb_save_screenshot',wpf_nonce:wpf_nonce,task_screenshot:new_task_screenshot_obj, image: base64URL}, 193 data: { 194 action: 'wpfb_save_screenshot', 195 wpf_nonce: wpf_nonce, 196 task_screenshot: new_task_screenshot_obj, 197 image: base64URL 198 }, 188 199 beforeSend: function(){ 189 200 jQuery_WPF('.wpf_loader_'+id).show(); … … 264 275 var task_info_obj = jQuery_WPF.extend({}, task_info); 265 276 jQuery_WPF.ajax({ 266 method : "POST", 277 method : 'POST', 278 type: 'POST', 267 279 url : ajaxurl, 268 data : {action: "wpfb_edit_comment",wpf_nonce:wpf_nonce,task_info:task_info_obj}, 280 data : { 281 action: "wpfb_edit_comment", 282 wpf_nonce: wpf_nonce, 283 task_info: task_info_obj 284 }, 269 285 beforeSend: function(){ 270 286 jQuery_WPF("#wpf-chat-text-"+comment_id).html(task_info['comment_content']); … … 413 429 function wpf_send_report(type) { 414 430 jQuery_WPF.ajax({ 415 method: "POST", 431 method : 'POST', 432 type: 'POST', 416 433 url: ajaxurl, 417 data: {action: "wpf_send_email_report", wpf_nonce: wpf_nonce, type:type, forced: "yes"}, 434 data: { 435 action: "wpf_send_email_report", 436 wpf_nonce: wpf_nonce, 437 type: type, 438 forced: "yes" 439 }, 418 440 beforeSend: function(){ 419 441 jQuery_WPF('.wpf_sidebar_loader').show(); … … 533 555 if(id !='' && tag_name !=''){ 534 556 jQuery_WPF.ajax({ 535 method : "POST", 557 method : 'POST', 558 type: 'POST', 536 559 url : ajaxurl, 537 data : {action: "wpfb_set_task_tag",wpf_nonce:wpf_nonce,wpf_task_tag_info:wpf_task_tag_info_obj}, 560 data : { 561 action: "wpfb_set_task_tag", 562 wpf_nonce: wpf_nonce, 563 wpf_task_tag_info: wpf_task_tag_info_obj 564 }, 538 565 beforeSend: function(){ 539 566 jQuery_WPF('.wpf_loader_'+commentid).show(); … … 567 594 if(id !='' && wpf_task_tag_slug !=''){ 568 595 jQuery_WPF.ajax({ 569 method : "POST", 596 method : 'POST', 597 type: 'POST', 570 598 url : ajaxurl, 571 data : {action: "wpfb_delete_task_tag",wpf_nonce:wpf_nonce,wpf_task_tag_info:wpf_task_tag_info_obj}, 599 data : { 600 action: "wpfb_delete_task_tag", 601 wpf_nonce: wpf_nonce, 602 wpf_task_tag_info: wpf_task_tag_info_obj 603 }, 572 604 beforeSend: function(){ 573 605 jQuery_WPF('.wpf_loader').show(); -
atarim-visual-collaboration/trunk/js/wpf-ajax-login.js
r3022786 r3320344 25 25 jQuery('form#wpf_login p.wpf_status').show().text( checkinguser ); 26 26 jQuery.ajax({ 27 method : 'POST', 27 28 type: 'POST', 28 29 dataType: 'json', -
atarim-visual-collaboration/trunk/js/wpf_common_functions.js
r3255717 r3320344 93 93 jQuery_WPF.ajax({ 94 94 url: ajaxurl, 95 method : 'POST', 95 96 type: 'POST', 96 97 data: {action:'wpf_is_internal_allowed' }, … … 283 284 284 285 jQuery_WPF.ajax({ 285 method : "POST", 286 method : 'POST', 287 type: 'POST', 286 288 url : ajaxurl, 287 289 data: wpf_upload_form, … … 566 568 // Send the AJAX request to add the comment 567 569 jQuery_WPF.ajax({ 568 method: "POST", 570 method : 'POST', 571 type: 'POST', 569 572 url: ajaxurl, 570 573 data: wpf_upload_form, … … 774 777 var task_info_obj = jQuery_WPF.extend({}, task_info); 775 778 jQuery_WPF.ajax({ 776 method : "POST", 779 method : 'POST', 780 type: 'POST', 777 781 url : ajaxurl, 778 782 data : { … … 1048 1052 } 1049 1053 jQuery_WPF.ajax({ 1050 method:"POST", 1054 method : 'POST', 1055 type: 'POST', 1051 1056 url: ajaxurl, 1052 1057 data: { … … 1246 1251 } 1247 1252 jQuery_WPF.ajax({ 1248 method:"POST", 1253 method : 'POST', 1254 type: 'POST', 1249 1255 url: ajaxurl, 1250 1256 data: { … … 1262 1268 jQuery_WPF.ajax({ 1263 1269 url:ajaxurl, 1264 method:'POST', 1270 method : 'POST', 1271 type: 'POST', 1265 1272 data: { 1266 1273 action:'load_wpfb_tasks', … … 1453 1460 function load_all_page_tasks(){ 1454 1461 jQuery_WPF.ajax({ 1455 method:"POST", 1462 method : 'POST', 1463 type: 'POST', 1456 1464 url: ajaxurl, 1457 1465 data: { … … 1955 1963 function load_popover_content(element){ 1956 1964 jQuery_WPF.ajax({ 1957 method:"POST", 1965 method : 'POST', 1966 type: 'POST', 1958 1967 url: ajaxurl, 1959 1968 data: { … … 2381 2390 jQuery_WPF.ajax({ 2382 2391 url: ajaxurl, 2392 method : 'POST', 2383 2393 type: 'POST', 2384 2394 data: {action:'wpfb_save_screenshot',wpf_nonce:wpf_nonce,task_screenshot:new_task_screenshot_obj, image: base64URL, autoscreen:1}, … … 2403 2413 2404 2414 jQuery_WPF.ajax({ 2405 method : "POST", 2415 method : 'POST', 2416 type: 'POST', 2406 2417 url : ajaxurl, 2407 2418 data : { … … 2441 2452 var task_info_obj = jQuery_WPF.extend({}, task_info); 2442 2453 jQuery_WPF.ajax({ 2443 method : "POST", 2454 method : 'POST', 2455 type: 'POST', 2444 2456 url : ajaxurl, 2445 2457 data : {action: "wpfb_set_task_priority",wpf_nonce:wpf_nonce,task_info:task_info_obj}, … … 2512 2524 var task_info_obj = jQuery_WPF.extend({}, task_info); 2513 2525 jQuery_WPF.ajax({ 2514 method : "POST", 2526 method : 'POST', 2527 type: 'POST', 2515 2528 url : ajaxurl, 2516 2529 data : { … … 2611 2624 }); 2612 2625 task_notify_users = task_notify_users.join(","); 2626 if( tasks_on_page[id] < 1 ) { 2627 console.log( 'Invalid task id: ' + tasks_on_page[id] ); 2628 return; 2629 } 2613 2630 task_info['task_id'] = tasks_on_page[id]; 2614 2631 task_info['task_notify_users'] = task_notify_users; … … 2616 2633 2617 2634 jQuery_WPF.ajax({ 2618 method : "POST", 2635 method : 'POST', 2636 type: 'POST', 2619 2637 url : ajaxurl, 2620 2638 data : { … … 3364 3382 var task_info_obj = jQuery_WPF.extend({}, task_info); 3365 3383 jQuery_WPF.ajax({ 3366 method : "POST", 3384 method : 'POST', 3385 type: 'POST', 3367 3386 url : ajaxurl, 3368 3387 data : {action: "wpfb_delete_task",wpf_nonce:wpf_nonce,task_info:task_info_obj}, … … 3392 3411 localStorage.setItem('wpf_comment_mode', 'no'); 3393 3412 jQuery_WPF('.wpf_bottom_middle .wpf_bc_switch_slider').addClass('active_browse'); 3394 jQuery_WPF('.wpf_bottombar_section').addClass('wpf_hide');3395 3413 jQuery_WPF('.wpf_launch_comment_mode').removeClass('hide_comment_mode'); 3396 3414 disable_comment(); … … 3483 3501 var new_reconnect_obj = jQuery_WPF.extend({}, wpf_reconnect_meta); 3484 3502 jQuery_WPF.ajax({ 3485 method:"POST", 3503 method : 'POST', 3504 type: 'POST', 3486 3505 url: ajaxurl, 3487 3506 data: {action:'wpf_reconnect_task',wpf_nonce:wpf_nonce,new_reconnect_obj:new_reconnect_obj}, … … 3628 3647 jQuery_WPF.ajax({ 3629 3648 url: ajaxurl, 3649 method : 'POST', 3630 3650 type: 'POST', 3631 3651 data: {action:'wpfb_approve_page',wpf_nonce:wpf_nonce,page_id:current_page_id,complete_tasks:complete_tasks,current_user_id:current_user_id}, … … 3821 3841 var comment_id = comment_li.data('comment_id'); 3822 3842 jQuery_WPF.ajax({ 3843 method : 'POST', 3823 3844 type: 'POST', 3824 3845 url: ajaxurl, … … 3982 4003 jQuery_WPF.ajax({ 3983 4004 url: ajaxurl, 4005 method : 'POST', 3984 4006 type: 'POST', 3985 4007 data: {action:'wpf_fetch_milestones', wpf_nonce: wpf_nonce }, … … 4214 4236 jQuery_WPF.ajax({ 4215 4237 url: ajaxurl, 4238 method : 'POST', 4216 4239 type: 'POST', 4217 4240 data: { … … 4280 4303 jQuery_WPF.ajax({ 4281 4304 url: ajaxurl, 4305 method : 'POST', 4282 4306 type: 'POST', 4283 4307 data: { … … 4324 4348 jQuery_WPF.ajax({ 4325 4349 url: ajaxurl, 4350 method : 'POST', 4326 4351 type: 'POST', 4327 4352 data: { … … 4348 4373 jQuery_WPF.ajax({ 4349 4374 url: ajaxurl, 4375 method : 'POST', 4350 4376 type: 'POST', 4351 4377 data: { … … 4410 4436 jQuery_WPF.ajax({ 4411 4437 url: ajaxurl, 4438 method : 'POST', 4412 4439 type: 'POST', 4413 4440 data: { -
atarim-visual-collaboration/trunk/readme.txt
r3255717 r3320344 3 3 Tags: collaboration, feedback, bug tracking, project management, website feedback 4 4 Requires at least: 5.0 5 Tested up to: 6. 76 Stable tag: 4. 1.35 Tested up to: 6.8 6 Stable tag: 4.2 7 7 Requires PHP: 7.4 8 8 License: GPLv3 or later … … 56 56 * **Automated Screenshots**: Requests automatically generate a screenshot with the current view. See exactly what they see and debug problems easier. 57 57 58 * **File Uploads** : Upload images, PDF's and all file types to a request that can then be pushed to the Media Folder with one click, keeping your Media Folder clean. 59 60 * **Push To Media Folder**: Automatically optimise images for web and push to the WordPress media folder with one click. 58 * **File Uploads** : Upload images, PDF's and all file types to a request with one click, keeping your Media Folder clean. 61 59 62 60 * **Technical Info**: Requests contain technical information like the browser version, screen resolution and the exact page URL about the request creator. So you spend less time debugging and figuring out what the request creator meant. … … 150 148 * **File Uploads** 151 149 Upload files to requests, including images, PDF's, zips and more... 152 153 * **1 Click "Push To Media Folder"**154 Minify and push images straight to the WordPress media library with one click.155 150 156 151 * **Grouped Email Notifications"** … … 375 370 376 371 == Changelog == 372 373 = 4.2 = 374 * **ESC key conflict** – Fixed an issue where toggling between browse and comment modes using the ESC key caused the collaboration bar to not appear. 375 * **Legacy jQuery override** – Resolved a conflict where older jQuery versions (below 2.0) loaded by some themes caused AJAX POST requests to degrade to GET, breaking functionality. 376 377 377 378 378 = 4.1.3 =
Note: See TracChangeset
for help on using the changeset viewer.