Changeset 3411307
- Timestamp:
- 12/04/2025 06:34:12 PM (3 months ago)
- Location:
- atarim-visual-collaboration
- Files:
-
- 209 added
- 2 edited
-
tags/4.2.1 (added)
-
tags/4.2.1/atarim-visual-collaboration.php (added)
-
tags/4.2.1/css (added)
-
tags/4.2.1/css/admin-settings.css (added)
-
tags/4.2.1/css/admin.css (added)
-
tags/4.2.1/css/bootstrap.min.css (added)
-
tags/4.2.1/css/monolith.min.css (added)
-
tags/4.2.1/css/quill.css (added)
-
tags/4.2.1/css/wpf-common.css (added)
-
tags/4.2.1/css/wpf-icons.css (added)
-
tags/4.2.1/css/wpf-login.css (added)
-
tags/4.2.1/imagehelper.php (added)
-
tags/4.2.1/images (added)
-
tags/4.2.1/images/Atarim.svg (added)
-
tags/4.2.1/images/BG-pattern.png (added)
-
tags/4.2.1/images/Loader-slider-WPFeedback.svg (added)
-
tags/4.2.1/images/WPF-welcome_720.png (added)
-
tags/4.2.1/images/Websites-Mockup.png (added)
-
tags/4.2.1/images/app-project.svg (added)
-
tags/4.2.1/images/approved.svg (added)
-
tags/4.2.1/images/atarim-whitelabel.svg (added)
-
tags/4.2.1/images/atarim_favicon_white.svg (added)
-
tags/4.2.1/images/atarim_icon.svg (added)
-
tags/4.2.1/images/attachment.svg (added)
-
tags/4.2.1/images/auto-report.png (added)
-
tags/4.2.1/images/bell.svg (added)
-
tags/4.2.1/images/check-li.svg (added)
-
tags/4.2.1/images/checked.svg (added)
-
tags/4.2.1/images/comment.png (added)
-
tags/4.2.1/images/cross.svg (added)
-
tags/4.2.1/images/delete.svg (added)
-
tags/4.2.1/images/desktop.svg (added)
-
tags/4.2.1/images/docs.svg (added)
-
tags/4.2.1/images/edit-delete.png (added)
-
tags/4.2.1/images/enter.png (added)
-
tags/4.2.1/images/eye-off-white.svg (added)
-
tags/4.2.1/images/eye-off.svg (added)
-
tags/4.2.1/images/general.svg (added)
-
tags/4.2.1/images/global-settings.png (added)
-
tags/4.2.1/images/integrations-image.png (added)
-
tags/4.2.1/images/internal-task.png (added)
-
tags/4.2.1/images/link.svg (added)
-
tags/4.2.1/images/lock.svg (added)
-
tags/4.2.1/images/menu.svg (added)
-
tags/4.2.1/images/mobile.svg (added)
-
tags/4.2.1/images/multi-file.svg (added)
-
tags/4.2.1/images/no-pages.svg (added)
-
tags/4.2.1/images/no-task.svg (added)
-
tags/4.2.1/images/note.svg (added)
-
tags/4.2.1/images/nothingfound.svg (added)
-
tags/4.2.1/images/pdf.svg (added)
-
tags/4.2.1/images/placeholder-image.png (added)
-
tags/4.2.1/images/reg-logo.svg (added)
-
tags/4.2.1/images/responsive.svg (added)
-
tags/4.2.1/images/search.svg (added)
-
tags/4.2.1/images/share.svg (added)
-
tags/4.2.1/images/sidebar-left.svg (added)
-
tags/4.2.1/images/sidebarmenu.svg (added)
-
tags/4.2.1/images/tablet.svg (added)
-
tags/4.2.1/images/task-center.png (added)
-
tags/4.2.1/images/txt.svg (added)
-
tags/4.2.1/images/upload.svg (added)
-
tags/4.2.1/images/user-permissions.png (added)
-
tags/4.2.1/images/video.svg (added)
-
tags/4.2.1/images/white-labelling.png (added)
-
tags/4.2.1/images/wpf-screenshot-sound.mp3 (added)
-
tags/4.2.1/images/wpf_reconnect.png (added)
-
tags/4.2.1/images/zip.svg (added)
-
tags/4.2.1/inc (added)
-
tags/4.2.1/inc/admin (added)
-
tags/4.2.1/inc/admin/page-settings-permissions.php (added)
-
tags/4.2.1/inc/admin/page-settings.php (added)
-
tags/4.2.1/inc/admin/task-center.php (added)
-
tags/4.2.1/inc/admin/upgrade-subscription-popup.php (added)
-
tags/4.2.1/inc/admin/wpf_admin_function.php (added)
-
tags/4.2.1/inc/admin/wpf_backend_initial_setup.php (added)
-
tags/4.2.1/inc/frontend (added)
-
tags/4.2.1/inc/frontend/wpf_approve_page_modal.php (added)
-
tags/4.2.1/inc/frontend/wpf_general_task_modal.php (added)
-
tags/4.2.1/inc/frontend/wpf_login_modal.php (added)
-
tags/4.2.1/inc/frontend/wpf_responsive_page_modal.php (added)
-
tags/4.2.1/inc/frontend/wpf_restrictions_modal.php (added)
-
tags/4.2.1/inc/wpf_admin_functions.php (added)
-
tags/4.2.1/inc/wpf_ajax_functions.php (added)
-
tags/4.2.1/inc/wpf_api.php (added)
-
tags/4.2.1/inc/wpf_class.php (added)
-
tags/4.2.1/inc/wpf_email_notifications.php (added)
-
tags/4.2.1/inc/wpf_function.php (added)
-
tags/4.2.1/inc/wpf_popup_string.php (added)
-
tags/4.2.1/index.php (added)
-
tags/4.2.1/js (added)
-
tags/4.2.1/js/admin (added)
-
tags/4.2.1/js/admin.js (added)
-
tags/4.2.1/js/admin/admin_app.js (added)
-
tags/4.2.1/js/animation-complete.json (added)
-
tags/4.2.1/js/app.js (added)
-
tags/4.2.1/js/atarim-ui.js (added)
-
tags/4.2.1/js/atarim.ui.mouse.min.js (added)
-
tags/4.2.1/js/atarimjs.js (added)
-
tags/4.2.1/js/bootstrap.min.js (added)
-
tags/4.2.1/js/cpickr.js (added)
-
tags/4.2.1/js/custompopover.js (added)
-
tags/4.2.1/js/html2canvas.js (added)
-
tags/4.2.1/js/jquery.ui.touch-punch.js (added)
-
tags/4.2.1/js/jscolor.js (added)
-
tags/4.2.1/js/pickr.min.js (added)
-
tags/4.2.1/js/popper.min.js (added)
-
tags/4.2.1/js/quill.js (added)
-
tags/4.2.1/js/selectoroverlay.js (added)
-
tags/4.2.1/js/wpf-ajax-login.js (added)
-
tags/4.2.1/js/wpf_browser_info.js (added)
-
tags/4.2.1/js/wpf_common_functions.js (added)
-
tags/4.2.1/js/xyposition.js (added)
-
tags/4.2.1/languages (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-cs_CZ.mo (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-cs_CZ.po (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-de_AT.mo (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-de_AT.po (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-de_DE.mo (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-de_DE.po (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-el.mo (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-el.po (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-es_ES.mo (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-es_ES.po (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-fr_FR.mo (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-fr_FR.po (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-he_IL.mo (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-he_IL.po (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-it_IT.mo (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-it_IT.po (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-nl_NL.mo (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-nl_NL.po (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-pt_BR.mo (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-pt_BR.po (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-sv_SE.mo (added)
-
tags/4.2.1/languages/atarim-visual-collaboration-sv_SE.po (added)
-
tags/4.2.1/languages/atarim-visual-collaboration.po (added)
-
tags/4.2.1/languages/atarim-visual-collaboration.pot (added)
-
tags/4.2.1/languages/atarim-visual-collaboration.temp (added)
-
tags/4.2.1/license.txt (added)
-
tags/4.2.1/readme.txt (added)
-
tags/4.2.1/src (added)
-
tags/4.2.1/src/AccessToken (added)
-
tags/4.2.1/src/AccessToken/Revoke.php (added)
-
tags/4.2.1/src/AccessToken/Verify.php (added)
-
tags/4.2.1/src/AuthHandler (added)
-
tags/4.2.1/src/AuthHandler/AuthHandlerFactory.php (added)
-
tags/4.2.1/src/AuthHandler/Guzzle5AuthHandler.php (added)
-
tags/4.2.1/src/AuthHandler/Guzzle6AuthHandler.php (added)
-
tags/4.2.1/src/AuthHandler/Guzzle7AuthHandler.php (added)
-
tags/4.2.1/src/Client.php (added)
-
tags/4.2.1/src/Collection.php (added)
-
tags/4.2.1/src/Exception.php (added)
-
tags/4.2.1/src/Http (added)
-
tags/4.2.1/src/Http/Batch.php (added)
-
tags/4.2.1/src/Http/MediaFileUpload.php (added)
-
tags/4.2.1/src/Http/REST.php (added)
-
tags/4.2.1/src/Model.php (added)
-
tags/4.2.1/src/Service (added)
-
tags/4.2.1/src/Service.php (added)
-
tags/4.2.1/src/Service/Exception.php (added)
-
tags/4.2.1/src/Service/README.md (added)
-
tags/4.2.1/src/Service/Resource.php (added)
-
tags/4.2.1/src/Task (added)
-
tags/4.2.1/src/Task/Composer.php (added)
-
tags/4.2.1/src/Task/Exception.php (added)
-
tags/4.2.1/src/Task/Retryable.php (added)
-
tags/4.2.1/src/Task/Runner.php (added)
-
tags/4.2.1/src/Utils (added)
-
tags/4.2.1/src/Utils/UriTemplate.php (added)
-
tags/4.2.1/src/aliases.php (added)
-
tags/4.2.1/uninstall.php (added)
-
tags/4.2.1/visual-composer (added)
-
tags/4.2.1/visual-composer/LICENSE (added)
-
tags/4.2.1/visual-composer/README.md (added)
-
tags/4.2.1/visual-composer/babel.config.js (added)
-
tags/4.2.1/visual-composer/manifest.json (added)
-
tags/4.2.1/visual-composer/package-lock.json (added)
-
tags/4.2.1/visual-composer/package.json (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/ActivateAtarim.js (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/ActivateAtarimLicense.js (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/ExampleAtarimPanel.js (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/InstallAtarim.js (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/SideBar.js (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/TaskContent.js (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/component (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/component/AdditionalInfoTab.js (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/component/PriorityTab.js (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/component/ScreenshotTab.js (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/component/StatusTab.js (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/component/UserTab.js (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/dataManager.js (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/index.js (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/media (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/media/info-icon.svg (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/media/screenshot-icon.svg (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/media/status-icon.svg (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/media/trans_back_atarim.svg (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/media/urgency-icon.svg (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/media/user-icon.svg (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/services (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/services/apiPath.js (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/services/apiResquest.js (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/style (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/style/sidebar.css (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/utils (added)
-
tags/4.2.1/visual-composer/visual-composer-atarim/utils/helpers.js (added)
-
tags/4.2.1/visual-composer/yarn.lock (added)
-
trunk/atarim-visual-collaboration.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
atarim-visual-collaboration/trunk/atarim-visual-collaboration.php
r3320344 r3411307 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.2 5 * Version: 4.2.1 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.2 ' );32 define( 'WPF_VERSION', '4.2.1' ); 33 33 } 34 34 … … 47 47 define( 'WPF_CRM_API', 'https://api.atarim.io/' ); 48 48 define( 'WPF_LEARN_SITE_URL', 'https://academy.atarim.io' ); 49 50 add_filter( 'site_transient_update_plugins', function( $transient ) { 51 52 if ( ! is_admin() ) { 53 return $transient; 54 } 55 56 global $pagenow; 57 58 $plugin_file = 'atarim-visual-collaboration/atarim-visual-collaboration.php'; 59 60 if ( ! isset( $transient->response[ $plugin_file ] ) ) { 61 return $transient; 62 } 63 64 // 1) Hide notice completely on update-core.php 65 if ( $pagenow === 'update-core.php' ) { 66 if ( isset( $transient->response[ $plugin_file ]->upgrade_notice ) ) { 67 unset( $transient->response[ $plugin_file ]->upgrade_notice ); 68 } 69 return $transient; 70 } 71 72 return $transient; 73 } ); 74 75 add_action( 76 'in_plugin_update_message-' . plugin_basename( __FILE__ ), 77 'wpf_show_upgrade_notice_boxes', 78 10, 79 2 80 ); 81 82 function wpf_show_upgrade_notice_boxes( $plugin_data, $response ) { 83 84 if ( empty( $response->upgrade_notice ) ) { 85 return; 86 } 87 88 // Decode what wp.org sent. 89 $raw = html_entity_decode( 90 $response->upgrade_notice, 91 ENT_QUOTES, 92 get_bloginfo( 'charset' ) 93 ); 94 95 // Normalise newlines. 96 $raw = str_replace( array( "\r\n", "\r" ), "\n", $raw ); 97 98 // If wp.org wrapped it in <p>, flatten that to plain text with newlines. 99 if ( strpos( $raw, '<p' ) !== false ) { 100 $raw = preg_replace( '#</p>\s*<p>#i', "\n\n", $raw ); // paragraph break → blank line 101 $raw = preg_replace( '#</?p[^>]*>#i', '', $raw ); // remove remaining <p> tags 102 } 103 104 $raw = trim( $raw ); 105 if ( $raw === '' ) { 106 return; 107 } 108 109 // Find blocks of the form: **Title:** body ... (until next ** or end) 110 // Each match gives you one "notice box". 111 $pattern = '/\*\*(.+?)\*\*(.*?)(?=\n\*\*|\z)/s'; 112 if ( ! preg_match_all( $pattern, $raw, $matches, PREG_SET_ORDER ) ) { 113 // Fallback: no ** sections, treat whole thing as one block. 114 $matches = array( 115 array( 0, '', $raw ), 116 ); 117 } 118 119 foreach ( $matches as $match ) { 120 121 $title = isset( $match[1] ) ? trim( $match[1] ) : ''; 122 $body = isset( $match[2] ) ? trim( $match[2] ) : ''; 123 124 // Strip trailing colon from title if present. 125 $title = trim( $title, " \t\n\r\0\x0B:" ); 126 127 // Convert markdown-style links in title/body if present: [text](url) 128 if ( strpos( $title . $body, '[' ) !== false && strpos( $title . $body, '](' ) !== false ) { 129 $replace_links = function( $text ) { 130 return preg_replace( 131 '/\[(.+?)\]\((https?:\/\/[^\s)]+)\)/', 132 '<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>', 133 $text 134 ); 135 }; 136 $title = $replace_links( $title ); 137 $body = $replace_links( $body ); 138 } 139 140 // Convert any remaining newlines in body to <br>. 141 if ( $body !== '' ) { 142 $body = nl2br( $body ); 143 } 144 145 // Box styling: full-width-ish, default WP-ish yellow. 146 // Using <span> (phrasing content) with display:block so we stay valid inside core's <p>. 147 $style = 'display:block;'; 148 $style .= 'margin-top:8px;'; 149 $style .= 'padding:10px 14px;'; 150 $style .= 'background:#fff8e5;'; 151 $style .= 'border-left:4px solid #d63638;'; 152 $style .= 'border-radius:4px;'; 153 $style .= 'line-height:1.5;'; 154 $style .= 'box-sizing:border-box;'; 155 156 echo '<span class="atarim-upgrade-notice" style="' . esc_attr( $style ) . '">'; 157 158 if ( $title !== '' ) { 159 // Allow links inside the title, nothing else fancy. 160 echo '<strong>' . wp_kses( 161 $title, 162 array( 163 'a' => array( 164 'href' => array(), 165 'target' => array(), 166 'rel' => array(), 167 ), 168 ) 169 ) . ':</strong>'; 170 } 171 172 if ( $body !== '' ) { 173 echo '<br />'; 174 echo wp_kses( 175 $body, 176 array( 177 'br' => array(), 178 'a' => array( 179 'href' => array(), 180 'target' => array(), 181 'rel' => array(), 182 ), 183 ) 184 ); 185 } 186 187 echo '</span>'; 188 } 189 } 49 190 50 191 /* -
atarim-visual-collaboration/trunk/readme.txt
r3411268 r3411307 3 3 Tags: collaboration, feedback, bug tracking, project management, website feedback 4 4 Requires at least: 5.0 5 Tested up to: 6. 86 Stable tag: 4.2 5 Tested up to: 6.9 6 Stable tag: 4.2.1 7 7 Requires PHP: 7.4 8 8 License: GPLv3 or later … … 370 370 371 371 == Changelog == 372 373 = 4.2.1 = 374 * **Heads up** - This version is preparing the plugin for a major release on the next version: bringing deep AI collaboration to the plugin and fixing security concerns. 375 372 376 373 377 = 4.2 =
Note: See TracChangeset
for help on using the changeset viewer.